/* ============================================================
   FELIPE RAMALHO — PSICÓLOGO
   style.css · Digital Bloom
   ============================================================ */

/* ============================================================
   1. CUSTOM PROPERTIES
   ============================================================ */
:root {
  /* Colors */
  --navy:          #0B1F38;
  --primary:       #1D3557;
  --primary-light: #2A4A7A;
  --accent:        #4A8FA3;
  --accent-light:  #6BAFC4;
  --gold:          #C8A96E;
  --gold-light:    #DEC290;
  --gold-muted:    #EDD9B0;

  --bg:            #F7F6F2;
  --bg-alt:        #EEF1F7;
  --bg-dark:       #0B1F38;

  --text:          #1A2332;
  --text-mid:      #445566;
  --text-light:    #7A8A9A;

  --white:         #FFFFFF;
  --border:        #DDE3EC;
  --border-light:  #ECF0F6;

  --success:       #2E9E6B;
  --error:         #C94040;

  /* Typography */
  --font-serif:    'Playfair Display', Georgia, 'Times New Roman', serif;
  --font-sans:     'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  /* Spacing */
  --section-py:    100px;
  --container:     1200px;
  --container-sm:  900px;
  --gap:           32px;

  /* Shadows */
  --shadow-xs:     0 1px 4px rgba(11, 31, 56, 0.06);
  --shadow-sm:     0 2px 10px rgba(11, 31, 56, 0.08);
  --shadow-md:     0 6px 24px rgba(11, 31, 56, 0.10);
  --shadow-lg:     0 12px 48px rgba(11, 31, 56, 0.14);
  --shadow-xl:     0 24px 72px rgba(11, 31, 56, 0.18);

  /* Radii */
  --radius-sm:     6px;
  --radius:        12px;
  --radius-lg:     20px;
  --radius-xl:     32px;
  --radius-full:   9999px;

  /* Transitions */
  --ease:          cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --ease-out:      cubic-bezier(0.0, 0.0, 0.2, 1);
  --duration:      0.3s;
  --duration-slow: 0.5s;

  /* Header height */
  --header-h:      76px;
}


/* ============================================================
   2. RESET & BASE
   ============================================================ */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h);
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--text);
  background-color: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img, svg, video {
  display: block;
  max-width: 100%;
}

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

ul, ol {
  list-style: none;
}

button, input, textarea, select {
  font-family: inherit;
  font-size: inherit;
}

button {
  cursor: pointer;
  border: none;
  background: none;
}

/* Focus ring for accessibility */
:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
  border-radius: 4px;
}


/* ============================================================
   3. UTILITY CLASSES
   ============================================================ */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 clamp(20px, 5vw, 48px);
}

.section {
  padding: var(--section-py) 0;
}

.section--bg {
  background-color: var(--bg-alt);
}

.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 64px;
}

.section-label {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
}

.section-title {
  font-family: var(--font-serif);
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 600;
  color: var(--primary);
  line-height: 1.25;
  margin-bottom: 16px;
}

.section-subtitle {
  font-size: 1.0625rem;
  color: var(--text-mid);
  line-height: 1.65;
}


/* ============================================================
   4. BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius-full);
  font-family: var(--font-sans);
  font-size: 0.9375rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  line-height: 1;
  cursor: pointer;
  transition: all var(--duration) var(--ease);
  white-space: nowrap;
}

/* Primary */
.btn--primary {
  background-color: var(--primary);
  color: var(--white);
  box-shadow: 0 4px 16px rgba(29, 53, 87, 0.25);
}
.btn--primary:hover {
  background-color: var(--primary-light);
  box-shadow: 0 6px 24px rgba(29, 53, 87, 0.35);
  transform: translateY(-1px);
}
.btn--primary:active {
  transform: translateY(0);
}

/* Ghost */
.btn--ghost {
  background: transparent;
  color: var(--white);
  border: 1.5px solid rgba(255, 255, 255, 0.4);
}
.btn--ghost:hover {
  border-color: var(--white);
  background: rgba(255, 255, 255, 0.08);
}

/* Header CTA */
.btn--header {
  background-color: var(--gold);
  color: var(--primary);
  font-weight: 600;
  font-size: 0.875rem;
  padding: 11px 22px;
  box-shadow: 0 2px 10px rgba(200, 169, 110, 0.3);
}
.btn--header:hover {
  background-color: var(--gold-light);
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(200, 169, 110, 0.4);
}

/* WhatsApp */
.btn--whatsapp {
  background-color: #25D366;
  color: var(--white);
  font-weight: 600;
  box-shadow: 0 4px 16px rgba(37, 211, 102, 0.3);
}
.btn--whatsapp:hover {
  background-color: #1cb85a;
  box-shadow: 0 6px 24px rgba(37, 211, 102, 0.4);
  transform: translateY(-1px);
}

/* CTA Banner */
.btn--cta-banner {
  background-color: var(--white);
  color: var(--primary);
  font-weight: 600;
  padding: 16px 32px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}
.btn--cta-banner:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

.btn--cta-ghost {
  background: transparent;
  color: rgba(255, 255, 255, 0.85);
  border: 1.5px solid rgba(255, 255, 255, 0.35);
  padding: 15px 32px;
}
.btn--cta-ghost:hover {
  border-color: var(--white);
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
}

/* Footer WA */
.btn--footer-wa {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: var(--radius-full);
  background-color: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: var(--white);
  font-size: 0.9375rem;
  font-weight: 500;
  transition: all var(--duration) var(--ease);
  margin-top: 20px;
}
.btn--footer-wa:hover {
  background-color: #25D366;
  border-color: #25D366;
}

/* Form button */
.btn--form {
  width: 100%;
  background-color: var(--primary);
  color: var(--white);
  font-size: 1rem;
  font-weight: 600;
  padding: 16px 28px;
  border-radius: var(--radius);
  box-shadow: 0 4px 16px rgba(29, 53, 87, 0.25);
  transition: all var(--duration) var(--ease);
  position: relative;
  overflow: hidden;
}
.btn--form:hover {
  background-color: var(--primary-light);
  box-shadow: 0 6px 24px rgba(29, 53, 87, 0.35);
  transform: translateY(-1px);
}
.btn--form:active {
  transform: translateY(0);
}
.btn--form.loading {
  pointer-events: none;
  opacity: 0.7;
}


/* ============================================================
   5. HEADER
   ============================================================ */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--header-h);
  background: transparent;
  transition: background var(--duration) var(--ease),
              box-shadow var(--duration) var(--ease),
              backdrop-filter var(--duration) var(--ease);
}

/* Scrolled state */
.header.scrolled {
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 1px 0 var(--border), 0 4px 24px rgba(11, 31, 56, 0.06);
}

.header.scrolled .nav__link {
  color: var(--text-mid);
}
.header.scrolled .nav__link:hover,
.header.scrolled .nav__link.active {
  color: var(--primary);
}

.header.scrolled .logo__name {
  color: var(--primary);
}
.header.scrolled .logo__title {
  color: var(--text-light);
}

.header__inner {
  display: flex;
  align-items: center;
  gap: 32px;
  height: var(--header-h);
}

/* Logo */
.logo {
  display: flex;
  flex-direction: column;
  line-height: 1;
  flex-shrink: 0;
}
.logo__name {
  font-family: var(--font-serif);
  font-size: 1.1875rem;
  font-weight: 600;
  color: var(--white);
  transition: color var(--duration) var(--ease);
  letter-spacing: -0.01em;
}
.logo__title {
  font-size: 0.6875rem;
  font-weight: 400;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.6);
  margin-top: 2px;
  transition: color var(--duration) var(--ease);
}

/* Nav */
.nav {
  flex: 1;
}
.nav__list {
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav__link {
  display: inline-block;
  padding: 6px 12px;
  font-size: 0.875rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.8);
  border-radius: var(--radius-sm);
  transition: color var(--duration) var(--ease), background var(--duration) var(--ease);
}
.nav__link:hover,
.nav__link.active {
  color: var(--white);
  background: rgba(255, 255, 255, 0.1);
}

.header.scrolled .nav__link:hover,
.header.scrolled .nav__link.active {
  background: var(--bg-alt);
  color: var(--primary);
}

/* Mobile toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  margin-left: auto;
  border-radius: var(--radius-sm);
  transition: background var(--duration);
}
.nav-toggle:hover {
  background: rgba(255, 255, 255, 0.1);
}
.header.scrolled .nav-toggle:hover {
  background: var(--bg-alt);
}
.nav-toggle__bar {
  display: block;
  width: 22px;
  height: 2px;
  background-color: var(--white);
  border-radius: 2px;
  transition: all var(--duration) var(--ease);
}
.header.scrolled .nav-toggle__bar {
  background-color: var(--primary);
}

/* Toggle open state */
.nav-toggle.open .nav-toggle__bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav-toggle.open .nav-toggle__bar:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}
.nav-toggle.open .nav-toggle__bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}


/* ============================================================
   6. HERO
   ============================================================ */
.hero {
  position: relative;
  height: 100vh;
  background-color: var(--navy);
  background-image: url('../images/header.jpg');
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  overflow: hidden;
  display: flex;
  align-items: center;
}

/* Overlay escuro para legibilidade */
.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(11, 31, 56, 0.82) 0%,
    rgba(29, 53, 87, 0.70) 60%,
    rgba(11, 31, 56, 0.75) 100%
  );
  z-index: 0;
}

.hero .container {
  position: relative;
  z-index: 1;
}

.hero__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: clamp(60px, 8vw, 100px) 0;
}

/* Hero content */
.hero__content {
  max-width: 700px;
}

.hero__title {
  font-family: var(--font-serif);
  font-size: clamp(2.5rem, 5.5vw, 4rem);
  font-weight: 600;
  color: var(--white);
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 24px;
}
.hero__title em {
  font-style: normal;
  color: var(--white);
}

.hero__text {
  font-size: clamp(1rem, 1.5vw, 1.125rem);
  color: rgba(255, 255, 255, 0.80);
  line-height: 1.75;
  max-width: 580px;
  margin: 0 auto 40px;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
}

/* Scroll indicator */
.hero__scroll-indicator {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  z-index: 1;
}
.hero__scroll-indicator span {
  display: block;
  width: 1.5px;
  height: 56px;
  background: linear-gradient(to bottom, rgba(255,255,255,0.4), transparent);
  animation: scrollLine 2s ease-in-out infinite;
}
@keyframes scrollLine {
  0%   { transform: scaleY(0); transform-origin: top; opacity: 1; }
  50%  { transform: scaleY(1); transform-origin: top; opacity: 1; }
  51%  { transform: scaleY(1); transform-origin: bottom; opacity: 1; }
  100% { transform: scaleY(0); transform-origin: bottom; opacity: 0; }
}


/* ============================================================
   7. ABOUT / SOBRE
   ============================================================ */
.about__inner {
  display: grid;
  grid-template-columns: 1fr 1.35fr;
  gap: 80px;
  align-items: center;
}

/* Image column */
.about__image-col {
  position: relative;
}

.about__photo-wrapper {
  position: relative;
}

.about__photo {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background-color: var(--bg-alt);
  aspect-ratio: 4 / 5;
  box-shadow: var(--shadow-lg);
}
.about__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}

/* Placeholder when no image */
.about__photo.no-image .about__photo-placeholder,
.about__photo:not(:has(img[src])) .about__photo-placeholder {
  display: flex;
}
.about__photo-placeholder {
  display: none;
  position: absolute;
  inset: 0;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 12px;
  color: var(--text-light);
  background: linear-gradient(135deg, var(--bg-alt), #DDE8F4);
}

/* Show placeholder by default (image will hide it when loaded) */
.about__photo::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    #C8D8EC 0%,
    #EEF3FA 40%,
    #D8E5F3 100%
  );
  z-index: 0;
}
.about__photo img {
  position: relative;
  z-index: 1;
}
.about__photo-placeholder {
  display: flex;
  position: absolute;
  inset: 0;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 12px;
  color: var(--accent);
  z-index: 1;
}
/* Hide placeholder when image loads successfully */
.about__photo img:not([src=""]) + .about__photo-placeholder {
  display: none;
}

/* Credentials badge */
.about__badge-credentials {
  position: absolute;
  bottom: -20px;
  right: -20px;
  background: var(--white);
  border-radius: var(--radius);
  padding: 16px 20px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-light);
  max-width: 240px;
}
.about__badge-credentials svg {
  color: var(--gold);
  flex-shrink: 0;
}
.about__badge-credentials div {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.about__badge-credentials strong {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--primary);
}
.about__badge-credentials span {
  font-size: 0.75rem;
  color: var(--text-light);
}

/* About content */
.about__content .section-title {
  text-align: left;
}
.about__content .section-label {
  display: block;
  text-align: left;
  margin-bottom: 8px;
}

.about__lead {
  font-family: var(--font-serif);
  font-size: 1.1875rem;
  font-weight: 400;
  font-style: italic;
  color: var(--text-mid);
  line-height: 1.6;
  margin-bottom: 20px;
  border-left: 3px solid var(--gold);
  padding-left: 20px;
}

.about__text {
  font-size: 1rem;
  color: var(--text-mid);
  line-height: 1.75;
  margin-bottom: 16px;
}

.about__highlights {
  display: flex;
  gap: 32px;
  margin: 32px 0;
  padding: 24px 0;
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
}
.about__highlight-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.about__highlight-item strong {
  font-family: var(--font-serif);
  font-size: 1.375rem;
  font-weight: 600;
  color: var(--primary);
}
.about__highlight-item span {
  font-size: 0.8125rem;
  color: var(--text-light);
  line-height: 1.4;
}


/* ============================================================
   8. SERVICES
   ============================================================ */
.services__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--gap);
}

.service-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  transition: transform var(--duration) var(--ease), box-shadow var(--duration) var(--ease);
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--border-light);
  transition: background var(--duration) var(--ease);
}
.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.service-card:hover::before {
  background: var(--accent);
}

.service-card--featured {
  background: var(--primary);
  border-color: var(--primary);
}
.service-card--featured::before {
  background: var(--gold);
}
.service-card--featured:hover::before {
  background: var(--gold-light);
}
.service-card--featured .service-card__icon {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.15);
  color: var(--gold-light);
}
.service-card--featured .service-card__number {
  color: rgba(255,255,255,0.12);
}
.service-card--featured .service-card__title {
  color: var(--white);
}
.service-card--featured .service-card__text {
  color: rgba(255, 255, 255, 0.72);
}
.service-card--featured .service-card__list li {
  color: rgba(255, 255, 255, 0.72);
  border-color: rgba(255,255,255,0.12);
}
.service-card--featured .service-card__list li::before {
  color: var(--gold);
}
.service-card--featured .service-card__cta {
  color: var(--gold-light);
}
.service-card--featured .service-card__cta:hover {
  color: var(--white);
}

.service-card__icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius);
  background: var(--bg-alt);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  margin-bottom: 28px;
}

.service-card__number {
  position: absolute;
  top: 32px;
  right: 36px;
  font-family: var(--font-serif);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--border);
  line-height: 1;
  user-select: none;
}

.service-card__title {
  font-family: var(--font-serif);
  font-size: 1.375rem;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 16px;
  line-height: 1.3;
}

.service-card__text {
  font-size: 0.9375rem;
  color: var(--text-mid);
  line-height: 1.7;
  margin-bottom: 24px;
}

.service-card__list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 28px;
}
.service-card__list li {
  font-size: 0.875rem;
  color: var(--text-mid);
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  gap: 10px;
}
.service-card__list li:last-child {
  border-bottom: none;
  padding-bottom: 0;
}
.service-card__list li::before {
  content: '–';
  color: var(--accent);
  font-weight: 700;
  flex-shrink: 0;
}

.service-card__cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--accent);
  letter-spacing: 0.02em;
  transition: gap var(--duration) var(--ease), color var(--duration) var(--ease);
}
.service-card__cta:hover {
  gap: 10px;
  color: var(--primary-light);
}


/* ============================================================
   9. SPECIALTIES
   ============================================================ */
.specialties__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--gap);
}

.specialty-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 32px;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-xs);
  transition: transform var(--duration) var(--ease), box-shadow var(--duration) var(--ease), border-color var(--duration) var(--ease);
  position: relative;
}
.specialty-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--accent-light);
}

.specialty-card--highlight {
  border-color: var(--gold);
  background: linear-gradient(135deg, #FEFDF8 0%, var(--white) 100%);
}
.specialty-card--highlight .specialty-card__icon {
  background: rgba(200, 169, 110, 0.1);
  border-color: rgba(200, 169, 110, 0.2);
  color: var(--gold);
}
.specialty-card--highlight::after {
  content: 'Foco especial';
  position: absolute;
  top: 16px;
  right: 16px;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold);
  background: rgba(200, 169, 110, 0.1);
  border: 1px solid rgba(200, 169, 110, 0.2);
  border-radius: var(--radius-full);
  padding: 3px 10px;
}

.specialty-card__icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius);
  background: var(--bg-alt);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  margin-bottom: 20px;
}

.specialty-card__title {
  font-family: var(--font-serif);
  font-size: 1.0625rem;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 10px;
  line-height: 1.3;
}

.specialty-card__text {
  font-size: 0.875rem;
  color: var(--text-mid);
  line-height: 1.7;
}


/* ============================================================
   10. HOW IT WORKS
   ============================================================ */
.steps {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr;
  gap: 0;
  align-items: start;
  max-width: 900px;
  margin: 0 auto 40px;
}

.step {
  text-align: center;
  padding: 0 16px;
}

.step__number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--primary);
  color: var(--white);
  font-family: var(--font-serif);
  font-size: 1.125rem;
  font-weight: 600;
  margin: 0 auto 20px;
  box-shadow: 0 4px 16px rgba(29, 53, 87, 0.2);
}

.step__content {
  text-align: center;
}

.step__title {
  font-family: var(--font-serif);
  font-size: 1.0625rem;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 10px;
}

.step__text {
  font-size: 0.875rem;
  color: var(--text-mid);
  line-height: 1.7;
}

.step__connector {
  align-self: center;
  height: 2px;
  width: 40px;
  background: linear-gradient(to right, var(--border), var(--accent-light), var(--border));
  margin-top: -36px;
  flex-shrink: 0;
}

.how-it-works__note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 0.875rem;
  color: var(--text-light);
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-full);
  padding: 12px 24px;
  max-width: fit-content;
  margin: 0 auto;
  box-shadow: var(--shadow-xs);
}
.how-it-works__note svg {
  color: var(--accent);
  flex-shrink: 0;
}


/* ============================================================
   11. DIFFERENTIALS
   ============================================================ */
.differentials__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--gap);
}

.diff-item {
  padding: 36px 32px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-light);
  background: var(--white);
  transition: transform var(--duration) var(--ease), box-shadow var(--duration) var(--ease);
}
.diff-item:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.diff-item__icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius);
  background: linear-gradient(135deg, rgba(74, 143, 163, 0.1), rgba(74, 143, 163, 0.05));
  border: 1px solid rgba(74, 143, 163, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  margin-bottom: 20px;
}

.diff-item__title {
  font-family: var(--font-serif);
  font-size: 1.0625rem;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 10px;
  line-height: 1.3;
}

.diff-item__text {
  font-size: 0.875rem;
  color: var(--text-mid);
  line-height: 1.7;
}


/* ============================================================
   12. CTA BANNER
   ============================================================ */
.cta-banner {
  position: relative;
  padding: 100px 0;
  overflow: hidden;
}

.cta-banner__bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 80% at 80% 50%, rgba(74, 143, 163, 0.2) 0%, transparent 60%),
    linear-gradient(135deg, #0A1929 0%, #1D3557 50%, #122847 100%);
}

.cta-banner > .container {
  position: relative;
  z-index: 1;
}

.cta-banner__inner {
  text-align: center;
  max-width: 640px;
  margin: 0 auto;
}

.cta-banner__label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 16px;
}

.cta-banner__title {
  font-family: var(--font-serif);
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 600;
  color: var(--white);
  margin-bottom: 20px;
  line-height: 1.25;
}

.cta-banner__text {
  font-size: 1.0625rem;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.7;
  margin-bottom: 40px;
}

.cta-banner__actions {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 16px;
}


/* ============================================================
   13. CONTACT / FORM
   ============================================================ */
.contact__inner {
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  gap: 80px;
  align-items: start;
}

.contact__text {
  font-size: 1rem;
  color: var(--text-mid);
  line-height: 1.7;
  margin-bottom: 32px;
}

.contact__details {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 32px;
}
.contact__detail-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}
.contact__detail-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  background: var(--bg-alt);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  flex-shrink: 0;
}
.contact__detail-item div {
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.contact__detail-item strong {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--primary);
}
.contact__detail-item span,
.contact__detail-item a {
  font-size: 0.9375rem;
  color: var(--text-mid);
}
.contact__detail-item a:hover {
  color: var(--accent);
}

/* Contact Info heading alignment */
.contact__info .section-title,
.contact__info .section-label {
  text-align: left;
}

/* Form */
.contact-form {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 44px;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-light);
}

.form-group {
  margin-bottom: 20px;
}

.form-label {
  display: block;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text);
  margin-bottom: 8px;
  letter-spacing: 0.01em;
}
.required {
  color: var(--accent);
  margin-left: 2px;
}

.form-input {
  width: 100%;
  padding: 13px 16px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  background-color: var(--bg);
  color: var(--text);
  font-size: 0.9375rem;
  transition: border-color var(--duration) var(--ease), box-shadow var(--duration) var(--ease), background var(--duration) var(--ease);
  appearance: none;
  -webkit-appearance: none;
}
.form-input::placeholder {
  color: var(--text-light);
}
.form-input:focus {
  outline: none;
  border-color: var(--accent);
  background-color: var(--white);
  box-shadow: 0 0 0 3px rgba(74, 143, 163, 0.12);
}
.form-input.error {
  border-color: var(--error);
  box-shadow: 0 0 0 3px rgba(201, 64, 64, 0.1);
}
.form-textarea {
  resize: vertical;
  min-height: 120px;
  line-height: 1.6;
}

.form-error {
  display: block;
  font-size: 0.8125rem;
  color: var(--error);
  margin-top: 6px;
  min-height: 18px;
}

.form-note {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 0.8125rem;
  color: var(--text-light);
  line-height: 1.5;
  margin-top: 14px;
}
.form-note svg {
  flex-shrink: 0;
  color: var(--accent);
  margin-top: 1px;
}


/* ============================================================
   14. FOOTER
   ============================================================ */
.footer {
  background-color: var(--navy);
  color: var(--white);
}

.footer__top {
  padding: 72px 0 56px;
}

.footer__inner {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 56px;
  align-items: start;
}

.footer__logo {
  display: flex;
  flex-direction: column;
  line-height: 1;
  margin-bottom: 16px;
}
.footer__logo-name {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--white);
}
.footer__logo-title {
  font-size: 0.6875rem;
  font-weight: 400;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
  margin-top: 3px;
}

.footer__tagline {
  font-size: 0.9375rem;
  color: rgba(255,255,255,0.55);
  line-height: 1.65;
  max-width: 280px;
}

.footer__nav-title {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  margin-bottom: 20px;
}

.footer__nav-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.footer__nav-list a {
  font-size: 0.9375rem;
  color: rgba(255,255,255,0.65);
  transition: color var(--duration) var(--ease);
}
.footer__nav-list a:hover {
  color: var(--white);
}

.footer__info-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.footer__info-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9375rem;
  color: rgba(255,255,255,0.65);
}
.footer__info-list svg {
  color: rgba(255,255,255,0.3);
  flex-shrink: 0;
}

.footer__bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 24px 0;
}
.footer__bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}
.footer__copy {
  font-size: 0.8125rem;
  color: rgba(255,255,255,0.35);
}
.footer__credit {
  font-size: 0.8125rem;
  color: rgba(255,255,255,0.35);
}
.footer__credit a {
  color: rgba(255,255,255,0.55);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color var(--duration) var(--ease);
}
.footer__credit a:hover {
  color: var(--gold-light);
}


/* ============================================================
   15. SCROLL ANIMATIONS
   ============================================================ */
[data-animate] {
  opacity: 0;
  transition: opacity 0.6s var(--ease-out), transform 0.6s var(--ease-out);
}
[data-animate="fade-up"] {
  transform: translateY(32px);
}
[data-animate="fade-right"] {
  transform: translateX(-32px);
}
[data-animate="fade-left"] {
  transform: translateX(32px);
}
[data-animate].animated {
  opacity: 1;
  transform: none;
}

/* Delay variants */
[data-delay="80"]  { transition-delay: 80ms; }
[data-delay="100"] { transition-delay: 100ms; }
[data-delay="160"] { transition-delay: 160ms; }
[data-delay="200"] { transition-delay: 200ms; }
[data-delay="240"] { transition-delay: 240ms; }
[data-delay="300"] { transition-delay: 300ms; }
[data-delay="320"] { transition-delay: 320ms; }
[data-delay="400"] { transition-delay: 400ms; }


/* ============================================================
   16. RESPONSIVE — TABLET (≤ 1024px)
   ============================================================ */
@media (max-width: 1024px) {
  :root {
    --section-py: 80px;
  }

  .hero__inner {
    grid-template-columns: 1fr;
    gap: 48px;
    text-align: center;
  }
  .hero__content {
    max-width: 100%;
  }
  .hero__badge {
    justify-content: center;
  }
  .hero__text {
    margin-left: auto;
    margin-right: auto;
  }
  .hero__actions {
    justify-content: center;
  }
  .hero__tags {
    justify-content: center;
  }
  .hero__visual {
    max-width: 480px;
    margin: 0 auto;
  }

  .about__inner {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .about__image-col {
    max-width: 400px;
    margin: 0 auto;
  }
  .about__badge-credentials {
    position: static;
    margin-top: 16px;
  }

  .specialties__grid {
    grid-template-columns: 1fr 1fr;
  }

  .differentials__grid {
    grid-template-columns: 1fr 1fr;
  }

  .steps {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }
  .step__connector {
    display: none;
  }

  .contact__inner {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .footer__inner {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }
  .footer__brand {
    grid-column: 1 / -1;
  }
}


/* ============================================================
   17. RESPONSIVE — MOBILE (≤ 768px)
   ============================================================ */
@media (max-width: 768px) {
  :root {
    --section-py: 64px;
    --header-h: 68px;
  }

  /* Header */
  .nav {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    background: rgba(11, 31, 56, 0.97);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 20px;
    transform: translateY(-20px);
    opacity: 0;
    pointer-events: none;
    transition: transform var(--duration) var(--ease), opacity var(--duration) var(--ease);
    border-top: 1px solid rgba(255,255,255,0.08);
    z-index: 999;
  }
  .nav.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: all;
  }
  .nav__list {
    flex-direction: column;
    gap: 4px;
  }
  .nav__link {
    display: block;
    padding: 12px 16px;
    font-size: 1rem;
    border-radius: var(--radius);
    color: rgba(255,255,255,0.85);
  }
  .nav__link:hover,
  .nav__link.active {
    background: rgba(255,255,255,0.08);
    color: var(--white);
  }
  .header.scrolled .nav {
    background: rgba(255,255,255,0.98);
  }
  .header.scrolled .nav .nav__link {
    color: var(--text-mid);
  }
  .header.scrolled .nav .nav__link:hover,
  .header.scrolled .nav .nav__link.active {
    background: var(--bg-alt);
    color: var(--primary);
  }

  .btn--header {
    display: none;
  }
  .nav-toggle {
    display: flex;
  }

  /* Hero */
  .hero__visual {
    display: none;
  }
  .hero__scroll-indicator {
    display: none;
  }

  /* Services */
  .services__grid {
    grid-template-columns: 1fr;
  }

  /* Specialties */
  .specialties__grid {
    grid-template-columns: 1fr;
  }

  /* Steps */
  .steps {
    grid-template-columns: 1fr;
    gap: 28px;
    max-width: 400px;
  }
  .step {
    text-align: left;
    display: flex;
    gap: 20px;
    align-items: flex-start;
    padding: 0;
  }
  .step__number {
    margin: 0;
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    font-size: 1rem;
  }
  .step__content {
    text-align: left;
  }

  /* Differentials */
  .differentials__grid {
    grid-template-columns: 1fr;
  }

  /* CTA Banner */
  .cta-banner__actions {
    flex-direction: column;
    align-items: stretch;
  }
  .btn--cta-banner,
  .btn--cta-ghost {
    width: 100%;
  }

  /* Contact form */
  .contact-form {
    padding: 28px 24px;
  }

  /* Footer */
  .footer__inner {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .footer__brand {
    grid-column: auto;
  }
  .footer__bottom-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  /* About highlights */
  .about__highlights {
    flex-wrap: wrap;
    gap: 20px;
  }

  /* Section header */
  .section-header {
    margin-bottom: 44px;
  }
}


/* ============================================================
   18. RESPONSIVE — SMALL MOBILE (≤ 420px)
   ============================================================ */
@media (max-width: 420px) {
  .hero__actions {
    flex-direction: column;
  }
  .hero__actions .btn {
    width: 100%;
  }

  .about__badge-credentials {
    right: 0;
  }

  .service-card {
    padding: 28px 24px;
  }
  .service-card__number {
    top: 20px;
    right: 20px;
    font-size: 2rem;
  }

  .specialty-card {
    padding: 24px;
  }

  .diff-item {
    padding: 24px;
  }

  .contact-form {
    padding: 24px 20px;
    border-radius: var(--radius-lg);
  }
}


/* ============================================================
   19. PRINT
   ============================================================ */
@media print {
  .header,
  .hero__scroll-indicator,
  .cta-banner,
  .btn {
    display: none !important;
  }
}
