/* Paula V Digital — Design System */

@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,300;0,9..40,400;0,9..40,500;0,9..40,600;0,9..40,700&family=Fraunces:ital,opsz,wght@0,9..144,400;0,9..144,600;0,9..144,700&display=swap');

:root {
  --color-primary: #0f4c3a;
  --color-primary-light: #1a6b52;
  --color-primary-dark: #0a3328;
  --color-accent: #d4a853;
  --color-accent-light: #e8c87a;
  --color-accent-dark: #b8923f;
  --color-bg: #faf9f6;
  --color-bg-alt: #f0ede6;
  --color-surface: #ffffff;
  --color-text: #1a1a1a;
  --color-text-muted: #5c5c5c;
  --color-border: #e5e2db;
  --font-body: 'DM Sans', system-ui, sans-serif;
  --font-display: 'Fraunces', Georgia, serif;
  --header-height: 72px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --max-width: 1200px;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-full: 9999px;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.06);
  --shadow-md: 0 4px 16px rgba(0,0,0,0.08);
  --shadow-lg: 0 12px 40px rgba(0,0,0,0.12);
  --shadow-xl: 0 24px 60px rgba(15,76,58,0.15);
}

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

html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }

body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--color-text);
  background: var(--color-bg);
  overflow-x: hidden;
  -webkit-tap-highlight-color: transparent;
}

body.menu-open { overflow: hidden; touch-action: none; }

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button, input, textarea, select { font: inherit; color: inherit; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.2;
  color: var(--color-primary-dark);
}

h1 { font-size: clamp(2.25rem, 5vw, 3.75rem); }
h2 { font-size: clamp(1.75rem, 3.5vw, 2.75rem); }
h3 { font-size: clamp(1.25rem, 2.5vw, 1.5rem); }
p + p { margin-top: 1rem; }

.text-muted { color: var(--color-text-muted); }
.text-accent { color: var(--color-accent-dark); }

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-primary-light);
  margin-bottom: 1rem;
}

.section-label::before {
  content: '';
  width: 24px;
  height: 2px;
  background: var(--color-accent);
  border-radius: 2px;
}

.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.25rem;
  padding-left: max(1.25rem, env(safe-area-inset-left));
  padding-right: max(1.25rem, env(safe-area-inset-right));
}

.section { padding: 5rem 0; }
.section--alt { background: var(--color-bg-alt); }

.section--dark {
  background: linear-gradient(135deg, var(--color-primary-dark) 0%, var(--color-primary) 50%, #145a45 100%);
  color: #fff;
}

.section--dark h2, .section--dark h3 { color: #fff; }
.section--dark .text-muted { color: rgba(255,255,255,0.75); }

.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 3.5rem;
}

.section-header p {
  margin-top: 1rem;
  color: var(--color-text-muted);
  font-size: 1.125rem;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 48px;
  padding: 0.875rem 1.75rem;
  font-weight: 600;
  font-size: 0.9375rem;
  border-radius: var(--radius-full);
  border: 2px solid transparent;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4,0,0.2,1);
  white-space: nowrap;
  -webkit-user-select: none;
  user-select: none;
}

.btn--primary {
  background: linear-gradient(135deg, var(--color-accent) 0%, var(--color-accent-dark) 100%);
  color: var(--color-primary-dark);
  box-shadow: 0 4px 14px rgba(212,168,83,0.4);
}

.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(212,168,83,0.5);
}

.btn--secondary {
  background: transparent;
  color: var(--color-primary);
  border-color: var(--color-primary);
}

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

.btn--white { background: #fff; color: var(--color-primary-dark); }
.btn--white:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }

.btn--ghost-white {
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,0.4);
}

.btn--ghost-white:hover {
  background: rgba(255,255,255,0.1);
  border-color: #fff;
}

.btn-group { display: flex; flex-wrap: wrap; gap: 1rem; }

/* Header */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: var(--header-height);
  background: rgba(250,249,246,0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid transparent;
  transition: all 0.3s ease;
}

.header.scrolled {
  background: rgba(250,249,246,0.95);
  border-bottom-color: var(--color-border);
  box-shadow: var(--shadow-sm);
}

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

.logo { display: flex; flex-direction: column; line-height: 1.1; }

.logo__name {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-primary-dark);
}

.logo__tagline {
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-text-muted);
}

.nav { display: flex; align-items: center; gap: 2rem; }

.nav__link {
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--color-text-muted);
  transition: color 0.3s;
  position: relative;
}

.nav__link::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0;
  width: 0; height: 2px;
  background: var(--color-accent);
  transition: width 0.3s;
}

.nav__link:hover, .nav__link.active { color: var(--color-primary); }
.nav__link:hover::after, .nav__link.active::after { width: 100%; }
.nav__cta { margin-left: 0.5rem; }

.header__actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
}

.lang-switch {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.8125rem;
  font-weight: 600;
}

.lang-switch__link {
  color: var(--color-text-muted);
  padding: 0.35rem 0.4rem;
  border-radius: var(--radius-sm);
  transition: color 0.2s, background 0.2s;
}

.lang-switch__link:hover { color: var(--color-primary); }

.lang-switch__link.is-active {
  color: var(--color-primary);
  background: rgba(15, 76, 58, 0.08);
}

.lang-switch__sep {
  color: var(--color-border);
  font-weight: 400;
  user-select: none;
}

.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  background: none;
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  padding: 0;
  z-index: 1002;
  -webkit-tap-highlight-color: transparent;
}

.menu-toggle:active { background: rgba(15,76,58,0.08); }

.menu-toggle span {
  display: block;
  width: 24px; height: 2px;
  background: var(--color-primary-dark);
  border-radius: 2px;
  transition: all 0.3s;
}

.menu-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle.active span:nth-child(2) { opacity: 0; }
.menu-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile nav backdrop */
.nav-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(10, 51, 40, 0.5);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  z-index: 999;
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
}

.nav-backdrop.open {
  opacity: 1;
  visibility: visible;
}

/* Hero */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: var(--header-height);
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 70% 20%, rgba(15,76,58,0.08) 0%, transparent 60%),
    radial-gradient(ellipse 60% 50% at 20% 80%, rgba(212,168,83,0.1) 0%, transparent 50%),
    var(--color-bg);
}

.hero__pattern {
  position: absolute;
  inset: 0;
  opacity: 0.03;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%230f4c3a'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/svg%3E");
}

.hero__content {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  padding: 4rem 0;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: rgba(15,76,58,0.08);
  border: 1px solid rgba(15,76,58,0.12);
  border-radius: var(--radius-full);
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--color-primary);
  margin-bottom: 1.5rem;
}

.hero__badge-dot {
  width: 8px; height: 8px;
  background: #22c55e;
  border-radius: 50%;
  animation: pulse 2s infinite;
}

@keyframes pulse { 0%,100%{opacity:1} 50%{opacity:0.5} }

.hero__title { margin-bottom: 1.5rem; }
.hero__title em { font-style: normal; color: var(--color-primary-light); }

.hero__subtitle {
  font-size: 1.1875rem;
  color: var(--color-text-muted);
  max-width: 520px;
  margin-bottom: 2rem;
  line-height: 1.8;
}

.hero__stats {
  display: flex;
  gap: 2.5rem;
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--color-border);
}

.hero__stat-value {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--color-primary);
}

.hero__stat-label { font-size: 0.8125rem; color: var(--color-text-muted); margin-top: 0.25rem; }

.hero__visual {
  position: relative;
  display: flex;
  justify-content: center;
  padding-bottom: 3rem;
}

.hero__card {
  background: var(--color-surface);
  border-radius: var(--radius-xl);
  padding: 2rem;
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--color-border);
  max-width: 420px;
  width: 100%;
}

.hero__card-header { display: flex; align-items: center; gap: 1rem; margin-bottom: 1.5rem; }

.hero__avatar {
  width: 64px; height: 64px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-primary), var(--color-primary-light));
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: #fff;
  flex-shrink: 0;
}

.hero__card-name { font-weight: 600; font-size: 1.0625rem; }
.hero__card-role { font-size: 0.8125rem; color: var(--color-text-muted); }
.hero__card-services { display: flex; flex-direction: column; gap: 0.75rem; }

.hero__service-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  background: var(--color-bg);
  border-radius: var(--radius-md);
  font-size: 0.875rem;
  font-weight: 500;
}

.hero__service-icon {
  width: 32px; height: 32px;
  background: rgba(15,76,58,0.1);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
}

.hero__floating-badge {
  position: absolute;
  background: var(--color-surface);
  border-radius: var(--radius-md);
  padding: 0.75rem 1.25rem;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--color-border);
  font-size: 0.8125rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.hero__floating-badge--top { top: -1rem; right: -1rem; }
.hero__floating-badge--bottom { bottom: calc(2rem + 0.3rem); left: -2rem; }

/* Services grid */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.service-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: all 0.3s;
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--color-primary), var(--color-accent));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s;
}

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

.service-card:hover::before { transform: scaleX(1); }

.service-card__icon {
  width: 48px; height: 48px;
  background: linear-gradient(135deg, rgba(15,76,58,0.1), rgba(212,168,83,0.15));
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1.25rem;
}

.service-card__title { margin-bottom: 0.75rem; }
.service-card__text { color: var(--color-text-muted); font-size: 0.9375rem; }

/* Feature rows */
.feature-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.feature-row--reverse { direction: rtl; }
.feature-row--reverse > * { direction: ltr; }

.feature-content p { color: var(--color-text-muted); font-size: 1.0625rem; margin-top: 1rem; }

.feature-visual {
  background: var(--color-surface);
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-md);
}

.benefits-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1rem;
  margin-top: 2rem;
}

.benefit-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 1rem 1.25rem;
  background: var(--color-surface);
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
  font-size: 0.9375rem;
  font-weight: 500;
  transition: all 0.3s;
}

.benefit-item:hover { border-color: var(--color-primary-light); box-shadow: var(--shadow-sm); }

.benefit-item__icon {
  width: 24px; height: 24px;
  background: rgba(15,76,58,0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-primary);
  font-size: 0.75rem;
  flex-shrink: 0;
  margin-top: 2px;
}

/* Audience tags */
.audience-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.audience-tag {
  padding: 0.625rem 1.25rem;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: var(--radius-full);
  font-size: 0.9375rem;
  transition: all 0.3s;
}

.audience-tag:hover { background: rgba(255,255,255,0.2); }

/* About preview */
.about-preview {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 2.5rem;
  align-items: center;
  max-width: 800px;
  margin: 0 auto;
  text-align: left;
}

.about-preview__avatar {
  width: 120px; height: 120px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-primary), var(--color-accent));
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 700;
  color: #fff;
  flex-shrink: 0;
  box-shadow: var(--shadow-md);
}

.about-preview__text { color: var(--color-text-muted); font-size: 1.0625rem; }

/* Reviews */
.reviews-section { text-align: center; }

.reviews-card {
  background: var(--color-surface);
  border-radius: var(--radius-xl);
  padding: 3rem;
  max-width: 600px;
  margin: 0 auto 3rem;
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-md);
}

.reviews-card__stars {
  font-size: 1.5rem;
  letter-spacing: 0.25rem;
  color: var(--color-accent);
  margin-top: 0.5rem;
}

.reviews-card__rating {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-top: 1rem;
}

.reviews-card__text { color: var(--color-text-muted); margin: 1rem 0 2rem; }

/* CTA section */
.cta-section {
  text-align: center;
  padding: 5rem 0;
  background: linear-gradient(135deg, var(--color-bg-alt) 0%, var(--color-bg) 100%);
}

.cta-section h2 { margin-bottom: 1rem; }
.cta-section p { color: var(--color-text-muted); font-size: 1.125rem; max-width: 560px; margin: 0 auto 2rem; }
.cta-note { font-size: 0.875rem; color: var(--color-text-muted); margin-top: 1.5rem; }

/* Contact cards */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-bottom: 3rem;
}

.contact-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  text-align: center;
  transition: box-shadow 0.3s;
}

.contact-card:hover { box-shadow: var(--shadow-md); }

.contact-card__icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 1.5rem;
  font-size: 1.5rem;
  color: var(--color-accent);
}

.contact-card__label {
  font-size: 0.8125rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-text-muted);
  margin-bottom: 0.5rem;
}

.contact-card__value { font-weight: 500; color: var(--color-primary-dark); }
.contact-card__value a { color: var(--color-primary); transition: color 0.3s; }
.contact-card__value a:hover { color: var(--color-accent-dark); }

/* Form */
.form-wrapper {
  background: var(--color-surface);
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-md);
  max-width: 640px;
  margin: 0 auto;
}

.form-group { margin-bottom: 1.25rem; }

.form-group label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-primary-dark);
  margin-bottom: 0.5rem;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.875rem 1rem;
  font-size: 16px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background: var(--color-bg);
  transition: border-color 0.3s, box-shadow 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--color-primary-light);
  box-shadow: 0 0 0 3px rgba(15,76,58,0.1);
}

.form-group textarea { min-height: 140px; resize: vertical; }

.form-captcha {
  margin-bottom: 1.25rem;
  display: flex;
  justify-content: center;
  width: 100%;
  min-height: 78px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.form-captcha--footer {
  grid-column: 1 / -1;
  justify-self: center;
}

.form-success {
  display: none;
  text-align: center;
  padding: 2rem;
  background: rgba(34,197,94,0.1);
  border: 1px solid rgba(34,197,94,0.3);
  border-radius: var(--radius-md);
  color: var(--color-primary-dark);
  font-weight: 500;
}

.form-success.visible { display: block; }

.form-error {
  display: none;
  text-align: center;
  padding: 1rem 1.25rem;
  margin-top: 1rem;
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.3);
  border-radius: var(--radius-md);
  color: #b91c1c;
  font-size: 0.9375rem;
}

.form-error.visible { display: block; }

.btn:disabled {
  opacity: 0.7;
  cursor: not-allowed;
  transform: none !important;
}

/* Footer email box */
.footer-email-section {
  padding: 3rem 0 4rem;
  background: var(--color-bg-alt);
}

.footer-email-box {
  max-width: 720px;
  margin: 0 auto;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: 2rem 2.5rem;
  box-shadow: var(--shadow-md);
}

.footer-email-box__header {
  text-align: center;
  margin-bottom: 1.75rem;
}

.footer-email-box__header h3 {
  margin-bottom: 0.35rem;
}

.footer-email-box__header p {
  font-size: 0.9375rem;
}

.footer-email-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.footer-email-form .form-group--full {
  grid-column: 1 / -1;
}

.footer-email-form .form-group {
  margin-bottom: 0;
}

.footer-email-form .form-group textarea {
  min-height: 100px;
}

.footer-email-form .btn {
  grid-column: 1 / -1;
  justify-self: center;
  min-width: 200px;
}

/* Footer */
.footer {
  background: var(--color-primary-dark);
  color: rgba(255,255,255,0.8);
  padding: 4rem 0 2rem;
}

.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer__brand p { margin-top: 1rem; font-size: 0.9375rem; line-height: 1.7; max-width: 320px; }
.footer__brand .logo__name { color: #fff; }
.footer__brand .logo__tagline { color: rgba(255,255,255,0.5); }

.footer__heading {
  font-family: var(--font-body);
  font-size: 0.8125rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #fff;
  margin-bottom: 1.25rem;
}

.footer__links { display: flex; flex-direction: column; gap: 0.75rem; }

.footer__link {
  font-size: 0.9375rem;
  color: rgba(255,255,255,0.7);
  transition: color 0.3s;
}

.footer__link:hover { color: #fff; }

.footer__contact-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
  font-size: 0.9375rem;
}

.footer__bottom {
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.8125rem;
  color: rgba(255,255,255,0.5);
}

.page-hero {
  padding: calc(var(--header-height) + 4rem) 0 3rem;
  background: linear-gradient(135deg, var(--color-primary-dark) 0%, var(--color-primary) 100%);
  color: #fff;
  text-align: center;
}

.page-hero h1 { color: #fff; margin-bottom: 1rem; }

.page-hero p {
  font-size: 1.125rem;
  color: rgba(255,255,255,0.85);
  max-width: 600px;
  margin: 0 auto;
}

.page-content { padding: 4rem 0 5rem; }

.content-block { max-width: 720px; margin: 0 auto; }
.content-block p { color: var(--color-text-muted); font-size: 1.0625rem; margin-bottom: 1.25rem; }

.services-detail-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
  margin: 2rem 0;
}

.service-detail-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: all 0.3s;
}

.service-detail-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }

.service-detail-card__number {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  color: var(--color-accent);
  opacity: 0.7;
  margin-bottom: 0.75rem;
}

.service-detail-card h3 { margin-bottom: 0.75rem; }
.service-detail-card p { color: var(--color-text-muted); font-size: 0.9375rem; }

.check-list { margin: 1.5rem 0; }

.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.625rem 0;
  font-size: 1rem;
  color: var(--color-text-muted);
}

.check-list li::before {
  content: '✓';
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  background: rgba(15,76,58,0.1);
  color: var(--color-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.6875rem;
  font-weight: 700;
  margin-top: 2px;
}

/* Animations */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible { opacity: 1; transform: translateY(0); }

/* ============================================
   Tablet (641px – 1024px)
   ============================================ */
@media (max-width: 1024px) {
  .section { padding: 4rem 0; }
  .section-header { margin-bottom: 2.5rem; }
  .section-header p { font-size: 1.0625rem; }

  .hero__content {
    grid-template-columns: 1fr;
    gap: 2.5rem;
    padding: 2.5rem 0 3rem;
  }

  .hero__text { text-align: center; }
  .hero__subtitle { margin-left: auto; margin-right: auto; }
  .hero__stats {
    justify-content: center;
    flex-wrap: wrap;
    gap: 1.5rem 2rem;
  }

  .hero__visual {
    max-width: 440px;
    margin: 0 auto;
    width: 100%;
    padding-bottom: 2.5rem;
    flex-direction: column;
    align-items: stretch;
  }

  .hero__floating-badge { display: none; }

  .feature-row,
  .feature-row--reverse {
    grid-template-columns: 1fr;
    gap: 2rem;
    direction: ltr;
  }

  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .services-detail-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: repeat(2, 1fr); }
  .benefits-list { grid-template-columns: repeat(2, 1fr); }

  .footer__grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .about-preview { gap: 2rem; }

  .page-hero { padding: calc(var(--header-height) + 3rem) 0 2.5rem; }
  .page-content { padding: 3rem 0 4rem; }

  .cta-section { padding: 4rem 0; }
}

/* ============================================
   Mobile (max 900px) — drawer navigation
   ============================================ */
@media (max-width: 900px) {
  :root { --header-height: 64px; }

  .logo__name { font-size: 1.125rem; }

  .menu-toggle { display: flex; }

  .nav {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: auto;
    width: min(320px, 88vw);
    height: 100dvh;
    height: 100vh;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    padding: calc(var(--header-height) + 1.25rem) 1.5rem 2rem;
    padding-bottom: max(2rem, env(safe-area-inset-bottom));
    background: var(--color-surface);
    box-shadow: -8px 0 32px rgba(0,0,0,0.12);
    transform: translateX(100%);
    opacity: 1;
    visibility: visible;
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    z-index: 1001;
    gap: 0;
    border: none;
  }

  .nav.open { transform: translateX(0); }

  .nav__link {
    padding: 1rem 0;
    min-height: 48px;
    display: flex;
    align-items: center;
    font-size: 1rem;
    border-bottom: 1px solid var(--color-border);
  }

  .nav__link::after { display: none; }
  .nav__link:active { background: rgba(15,76,58,0.05); margin: 0 -1.5rem; padding-left: 1.5rem; padding-right: 1.5rem; }

  .nav__cta {
    margin: 1.25rem 0 0;
    width: 100%;
    padding-top: 0.5rem;
  }

  .nav__cta .btn {
    width: 100%;
    white-space: normal;
    text-align: center;
  }
}

/* ============================================
   Mobile (max 640px)
   ============================================ */
@media (max-width: 640px) {
  .section { padding: 2.75rem 0; }
  .section-header { margin-bottom: 2rem; }

  .hero {
    min-height: auto;
    padding-top: var(--header-height);
  }

  .hero__content {
    padding: 1.5rem 0 2.5rem;
    gap: 1.75rem;
  }

  .hero__badge { font-size: 0.75rem; padding: 0.4rem 0.875rem; margin-bottom: 1rem; }
  .hero__title { margin-bottom: 1rem; }
  .hero__subtitle { font-size: 1.0625rem; margin-bottom: 1.25rem; line-height: 1.7; }

  .hero__visual {
    order: 0;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    max-width: none;
    margin: 0;
    padding-bottom: 0;
  }

  .hero__floating-badge { display: none; }

  .hero__card {
    padding: 1.25rem;
    border-radius: var(--radius-lg);
    max-width: none;
    box-shadow: var(--shadow-md);
  }

  .hero__card-header { margin-bottom: 1rem; }
  .hero__avatar { width: 48px; height: 48px; font-size: 1.125rem; }
  .hero__card-name { font-size: 1rem; }
  .hero__card-role { font-size: 0.75rem; }
  .hero__card-services { gap: 0.5rem; }
  .hero__service-item { font-size: 0.8125rem; padding: 0.625rem 0.875rem; }
  .hero__service-icon { width: 28px; height: 28px; font-size: 0.875rem; }

  .hero__stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.5rem;
    margin-top: 0;
    padding-top: 1.25rem;
    text-align: center;
  }

  .hero__stat-value { font-size: 1.25rem; }
  .hero__stat-label { font-size: 0.6875rem; line-height: 1.3; }

  .btn-group {
    flex-direction: column;
    width: 100%;
  }

  .btn-group .btn { width: 100%; }

  .services-grid,
  .services-detail-grid,
  .contact-grid,
  .benefits-list {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .service-card,
  .service-detail-card,
  .contact-card,
  .feature-visual {
    padding: 1.5rem;
  }

  .about-preview {
    grid-template-columns: 1fr;
    text-align: center;
    justify-items: center;
    gap: 1.5rem;
  }

  .about-preview__avatar { width: 100px; height: 100px; font-size: 2rem; }

  .audience-grid { justify-content: center; }
  .audience-tag { font-size: 0.875rem; padding: 0.5rem 1rem; text-align: center; }

  .reviews-card { padding: 2rem 1.5rem; margin-bottom: 2rem; }
  .reviews-card__rating { font-size: 1.625rem; }

  .cta-section { padding: 2.75rem 0; }
  .cta-section p { font-size: 1rem; padding: 0 0.5rem; }

  .footer { padding: 3rem 0 1.5rem; padding-bottom: max(1.5rem, env(safe-area-inset-bottom)); }
  .footer__grid { grid-template-columns: 1fr; gap: 2rem; margin-bottom: 2rem; }
  .footer__brand p { max-width: none; }
  .footer__bottom { flex-direction: column; text-align: center; gap: 0.5rem; }

  .page-hero { padding: calc(var(--header-height) + 2rem) 0 2rem; }
  .page-hero p { font-size: 1rem; padding: 0 0.5rem; }
  .page-content { padding: 2.5rem 0 3rem; }

  .form-wrapper,
  .footer-email-box {
    padding: 1.25rem;
    border-radius: var(--radius-lg);
  }

  .footer-email-form { grid-template-columns: 1fr; }
  .footer-email-form .btn { width: 100%; min-width: unset; }

  .content-block p { font-size: 1rem; }

  /* Disable hover lift on touch devices */
  .service-card:hover,
  .service-detail-card:hover {
    transform: none;
  }
}

/* Small phones */
@media (max-width: 380px) {
  .hero__stats { grid-template-columns: 1fr; gap: 1rem; }
  .logo__tagline { display: none; }
  h1 { font-size: 1.875rem; }
}
