/* ===== Snowball Consultancy – Modern Professional Styles ===== */
:root {
  --primary: #0ea5e9;
  --primary-dark: #0284c7;
  --primary-light: #38bdf8;
  --navy: #0c4a6e;
  --navy-deep: #082f49;
  --slate: #334155;
  --slate-light: #64748b;
  --bg: #f8fafc;
  --bg-alt: #f1f5f9;
  --white: #ffffff;
  --border: #e2e8f0;
  --shadow: 0 4px 6px -1px rgb(0 0 0 / 0.07), 0 2px 4px -2px rgb(0 0 0 / 0.05);
  --shadow-lg: 0 20px 25px -5px rgb(0 0 0 / 0.08), 0 8px 10px -6px rgb(0 0 0 / 0.05);
  --radius: 12px;
  --radius-lg: 20px;
  --font: 'Inter', system-ui, -apple-system, sans-serif;
  --header-h: 72px;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h);
}

body {
  font-family: var(--font);
  color: var(--slate);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ===== Header ===== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-h);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  z-index: 1000;
  transition: box-shadow 0.2s;
}

.header.scrolled {
  box-shadow: var(--shadow);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.logo-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--navy);
}

.logo-img {
  width: 42px;
  height: 42px;
  object-fit: contain;
}

.logo-text {
  display: none;
}

@media (min-width: 480px) {
  .logo-text {
    display: inline;
  }
}

.nav {
  display: none;
  align-items: center;
  gap: 0.25rem;
}

@media (min-width: 900px) {
  .nav {
    display: flex;
  }
}

.nav-link {
  padding: 0.5rem 0.9rem;
  font-size: 0.925rem;
  font-weight: 500;
  color: var(--slate);
  border-radius: 8px;
  transition: color 0.15s, background 0.15s;
}

.nav-link:hover {
  color: var(--primary-dark);
  background: #e0f2fe;
}

.cta-nav {
  background: var(--primary);
  color: white !important;
  margin-left: 0.5rem;
}

.cta-nav:hover {
  background: var(--primary-dark) !important;
  color: white !important;
}

.menu-toggle {
  display: flex;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

@media (min-width: 900px) {
  .menu-toggle {
    display: none;
  }
}

.menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--navy);
  border-radius: 2px;
  transition: 0.2s;
}

/* Mobile nav */
.nav.open {
  display: flex;
  flex-direction: column;
  position: absolute;
  top: var(--header-h);
  left: 0;
  right: 0;
  background: white;
  padding: 1rem;
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow-lg);
  gap: 0.25rem;
}

/* ===== Hero ===== */
.hero {
  position: relative;
  padding: calc(var(--header-h) + 3rem) 0 4rem;
  overflow: hidden;
  background: linear-gradient(160deg, #f0f9ff 0%, #e0f2fe 40%, #f8fafc 100%);
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 80% 20%, rgba(14, 165, 233, 0.12) 0%, transparent 50%),
    radial-gradient(circle at 10% 80%, rgba(56, 189, 248, 0.1) 0%, transparent 40%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  display: grid;
  gap: 2.5rem;
  align-items: center;
}

@media (min-width: 900px) {
  .hero-content {
    grid-template-columns: 1.2fr 0.8fr;
    gap: 3rem;
  }
}

.eyebrow {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--primary-dark);
  margin-bottom: 0.75rem;
}

.hero h1 {
  font-size: clamp(1.9rem, 4.5vw, 2.85rem);
  font-weight: 800;
  line-height: 1.2;
  color: var(--navy-deep);
  margin-bottom: 1.25rem;
}

.highlight {
  color: var(--primary-dark);
  background: linear-gradient(120deg, #0ea5e9, #0284c7);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-sub {
  font-size: 1.1rem;
  color: var(--slate-light);
  max-width: 520px;
  margin-bottom: 2rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.5rem;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: 10px;
  border: none;
  cursor: pointer;
  transition: transform 0.15s, box-shadow 0.15s, background 0.15s;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--primary);
  color: white;
  box-shadow: 0 4px 14px rgba(14, 165, 233, 0.35);
}

.btn-primary:hover {
  background: var(--primary-dark);
  box-shadow: 0 6px 20px rgba(14, 165, 233, 0.4);
}

.btn-secondary {
  background: white;
  color: var(--navy);
  border: 1.5px solid var(--border);
}

.btn-secondary:hover {
  border-color: var(--primary);
  color: var(--primary-dark);
  background: #f0f9ff;
}

.btn-full {
  width: 100%;
}

.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-logo {
  width: min(280px, 70vw);
  filter: drop-shadow(0 20px 40px rgba(14, 165, 233, 0.25));
  animation: float 5s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

/* ===== Sections ===== */
.section {
  padding: 5rem 0;
}

.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-header h2 {
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 800;
  color: var(--navy-deep);
  margin-bottom: 0.75rem;
}

.section-desc {
  color: var(--slate-light);
  max-width: 540px;
  margin: 0 auto;
  font-size: 1.05rem;
}

/* ===== About ===== */
.about {
  background: var(--white);
}

.about-grid {
  display: grid;
  gap: 2.5rem;
}

@media (min-width: 800px) {
  .about-grid {
    grid-template-columns: 1.5fr 1fr;
    align-items: start;
  }
}

.about-content p {
  margin-bottom: 1.1rem;
  font-size: 1.05rem;
}

.company-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
}

.meta-label {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--slate-light);
  margin-bottom: 0.25rem;
}

.meta-value {
  font-weight: 700;
  color: var(--navy);
  font-size: 1.05rem;
}

.about-card {
  background: linear-gradient(145deg, #0c4a6e, #0ea5e9);
  color: white;
  padding: 2rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

.about-card h3 {
  font-size: 1rem;
  font-weight: 600;
  opacity: 0.85;
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.about-card p {
  font-size: 1.05rem;
  line-height: 1.7;
  font-weight: 500;
}

/* ===== Services ===== */
.services {
  background: var(--bg-alt);
}

.services-grid {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .services-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.service-card {
  background: white;
  border-radius: var(--radius-lg);
  padding: 2rem;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  transition: transform 0.2s, box-shadow 0.2s;
  display: flex;
  flex-direction: column;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.service-card.featured {
  border-color: var(--primary);
  box-shadow: 0 8px 30px rgba(14, 165, 233, 0.15);
}

.service-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: #e0f2fe;
  color: var(--primary-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
}

.service-card.featured .service-icon {
  background: var(--primary);
  color: white;
}

.service-card h3 {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--navy-deep);
  margin-bottom: 0.75rem;
}

.service-card > p {
  color: var(--slate-light);
  font-size: 0.95rem;
  margin-bottom: 1.25rem;
  flex-grow: 1;
}

.service-card ul {
  margin-top: auto;
}

.service-card li {
  position: relative;
  padding-left: 1.25rem;
  font-size: 0.9rem;
  color: var(--slate);
  margin-bottom: 0.45rem;
}

.service-card li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--primary);
}

/* ===== Approach ===== */
.approach {
  background: white;
}

.approach-grid {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 700px) {
  .approach-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1000px) {
  .approach-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.approach-step {
  padding: 1.75rem;
  border-radius: var(--radius);
  background: var(--bg);
  border: 1px solid var(--border);
  transition: border-color 0.2s;
}

.approach-step:hover {
  border-color: var(--primary-light);
}

.step-number {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--primary);
  opacity: 0.7;
  margin-bottom: 0.75rem;
  line-height: 1;
}

.approach-step h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--navy-deep);
  margin-bottom: 0.5rem;
}

.approach-step p {
  font-size: 0.925rem;
  color: var(--slate-light);
}

/* ===== Contact ===== */
.contact {
  background: linear-gradient(160deg, #0c4a6e 0%, #0369a1 60%, #0ea5e9 100%);
  color: white;
  padding: 5rem 0;
}

.contact .eyebrow {
  color: #bae6fd;
}

.contact h2 {
  color: white;
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  font-weight: 800;
  margin-bottom: 1rem;
}

.contact-card {
  display: grid;
  gap: 2.5rem;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
}

@media (min-width: 800px) {
  .contact-card {
    grid-template-columns: 1fr 1fr;
    padding: 3rem;
  }
}

.contact-info p {
  opacity: 0.9;
  margin-bottom: 0.75rem;
}

.contact-details {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  font-size: 0.95rem;
}

.contact-details p {
  margin-bottom: 0.4rem;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 0.4rem;
  opacity: 0.95;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  border: 1.5px solid rgba(255, 255, 255, 0.25);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.12);
  color: white;
  font-family: inherit;
  font-size: 0.95rem;
  transition: border-color 0.15s, background 0.15s;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: white;
  background: rgba(255, 255, 255, 0.18);
}

.contact .btn-primary {
  background: white;
  color: var(--navy);
  box-shadow: none;
  margin-top: 0.5rem;
}

.contact .btn-primary:hover {
  background: #e0f2fe;
  color: var(--navy-deep);
}

.form-note {
  font-size: 0.9rem;
  text-align: center;
  min-height: 1.4em;
}

.form-note.success {
  color: #bbf7d0;
}

/* ===== Footer ===== */
.footer {
  background: var(--navy-deep);
  color: rgba(255, 255, 255, 0.7);
  padding: 2.5rem 0;
}

.footer-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
  text-align: center;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 600;
  color: white;
  font-size: 0.95rem;
}

.footer-logo {
  width: 36px;
  height: 36px;
  object-fit: contain;
}

.footer-legal {
  font-size: 0.8rem;
  line-height: 1.6;
}
