/* ============================================
   Dr. Alina Trifu — Botanical Medical Theme
   ============================================ */

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

:root {
  --green-deep: #2D5016;
  --green-mid: #4A7A2E;
  --green-soft: #6B9B4E;
  --green-pale: #E8EFE3;
  --green-wash: #F3F7F0;
  --cream: #FDFCF7;
  --cream-warm: #F5F0E8;
  --brown-warm: #8B7355;
  --brown-light: #C4A882;
  --terracotta: #C47B5A;
  --terracotta-soft: #E8A98A;
  --text-primary: #2C2C2C;
  --text-secondary: #5A5A5A;
  --text-light: #8A8A8A;
  --white: #FFFFFF;
  --shadow-sm: 0 1px 3px rgba(45,80,22,0.08);
  --shadow-md: 0 4px 16px rgba(45,80,22,0.1);
  --shadow-lg: 0 8px 32px rgba(45,80,22,0.12);
  --shadow-hover: 0 12px 40px rgba(45,80,22,0.16);
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 32px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --font-display: 'Fraunces', Georgia, serif;
  --font-body: 'DM Sans', -apple-system, sans-serif;
}

/* ---- Reset & Base ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  color: var(--text-primary);
  background: var(--cream);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: var(--green-deep); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--terracotta); }

h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 500; line-height: 1.25; }

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---- Botanical decoration SVGs ---- */
.leaf-decoration {
  position: absolute;
  opacity: 0.06;
  pointer-events: none;
  z-index: 0;
}

/* ---- Navigation ---- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(253,252,247,0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(45,80,22,0.08);
  transition: all var(--transition);
}

.nav.scrolled {
  background: rgba(253,252,247,0.95);
  box-shadow: var(--shadow-sm);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-logo-icon {
  width: 40px;
  height: 40px;
  background: var(--green-deep);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.nav-logo-icon svg {
  width: 22px;
  height: 22px;
  fill: var(--white);
}

.nav-logo-text {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--green-deep);
  line-height: 1.2;
}

.nav-logo-text span {
  display: block;
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 400;
  color: var(--text-light);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
  list-style: none;
}

.nav-links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-secondary);
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  transition: all var(--transition);
  position: relative;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--green-deep);
  background: var(--green-pale);
}

.nav-cta {
  background: var(--green-deep) !important;
  color: var(--white) !important;
  border-radius: var(--radius-xl) !important;
  padding: 10px 20px !important;
  font-weight: 600 !important;
}

.nav-cta:hover {
  background: var(--green-mid) !important;
  color: var(--white) !important;
  transform: translateY(-1px);
}

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

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: all var(--transition);
}

.nav-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ---- Hero Section ---- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 72px;
  overflow: hidden;
  background: linear-gradient(135deg, var(--cream) 0%, var(--green-wash) 50%, var(--cream-warm) 100%);
}

.hero::before {
  content: '';
  position: absolute;
  top: -20%;
  right: -10%;
  width: 60%;
  height: 80%;
  background: radial-gradient(ellipse, rgba(45,80,22,0.04) 0%, transparent 70%);
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -10%;
  left: -5%;
  width: 40%;
  height: 50%;
  background: radial-gradient(ellipse, rgba(196,123,90,0.05) 0%, transparent 70%);
  pointer-events: none;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-content {
  animation: fadeInUp 0.8s ease-out;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--white);
  border: 1px solid var(--green-pale);
  border-radius: var(--radius-xl);
  padding: 6px 16px 6px 8px;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--green-deep);
  margin-bottom: 24px;
  box-shadow: var(--shadow-sm);
}

.hero-badge-dot {
  width: 8px;
  height: 8px;
  background: var(--green-soft);
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
}

.hero h1 {
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  color: var(--green-deep);
  margin-bottom: 8px;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.hero-subtitle {
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 2vw, 1.4rem);
  color: var(--brown-warm);
  font-weight: 400;
  font-style: italic;
  margin-bottom: 24px;
}

.hero-description {
  font-size: 1.05rem;
  color: var(--text-secondary);
  max-width: 480px;
  margin-bottom: 36px;
  line-height: 1.8;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: var(--radius-xl);
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
}

.btn-primary {
  background: var(--green-deep);
  color: var(--white);
  box-shadow: 0 4px 16px rgba(45,80,22,0.25);
}

.btn-primary:hover {
  background: var(--green-mid);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(45,80,22,0.3);
}

.btn-secondary {
  background: var(--white);
  color: var(--green-deep);
  border: 1.5px solid rgba(45,80,22,0.2);
}

.btn-secondary:hover {
  background: var(--green-pale);
  border-color: var(--green-deep);
  transform: translateY(-2px);
}

.btn svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

/* Hero visual side */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  animation: fadeInUp 0.8s ease-out 0.2s both;
}

.hero-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-lg);
  position: relative;
  width: 100%;
  max-width: 420px;
  overflow: hidden;
}

.hero-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--green-deep), var(--green-soft), var(--terracotta-soft));
}

.hero-card-icon {
  width: 64px;
  height: 64px;
  background: var(--green-wash);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
}

.hero-card-icon svg {
  width: 32px;
  height: 32px;
  fill: var(--green-deep);
}

.hero-schedule {
  margin-top: 20px;
}

.hero-schedule h3 {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-light);
  font-family: var(--font-body);
  font-weight: 600;
  margin-bottom: 12px;
}

.schedule-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid var(--green-pale);
  font-size: 0.9rem;
}

.schedule-row:last-child { border-bottom: none; }

.schedule-day {
  font-weight: 600;
  color: var(--text-primary);
}

.schedule-time {
  color: var(--green-mid);
  font-weight: 500;
  font-variant-numeric: tabular-nums;
}

.hero-phones {
  margin-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.hero-phone-link {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--green-deep);
}

.hero-phone-link svg {
  width: 18px;
  height: 18px;
  fill: var(--terracotta);
}

/* ---- Floating decorative elements ---- */
.hero-float {
  position: absolute;
  animation: float 6s ease-in-out infinite;
}

.hero-float-1 {
  top: 10%;
  right: 5%;
  width: 80px;
  height: 80px;
  background: var(--green-pale);
  border-radius: 50%;
  opacity: 0.5;
  animation-delay: 0s;
}

.hero-float-2 {
  bottom: 15%;
  left: 3%;
  width: 50px;
  height: 50px;
  background: var(--terracotta-soft);
  border-radius: 50%;
  opacity: 0.3;
  animation-delay: 2s;
}

.hero-float-3 {
  top: 30%;
  left: 10%;
  width: 30px;
  height: 30px;
  background: var(--brown-light);
  border-radius: 50%;
  opacity: 0.25;
  animation-delay: 4s;
}

/* ---- Section Styles ---- */
.section {
  padding: 100px 0;
  position: relative;
}

.section-alt {
  background: var(--green-wash);
}

.section-warm {
  background: var(--cream-warm);
}

.section-header {
  text-align: center;
  margin-bottom: 64px;
}

.section-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--terracotta);
  margin-bottom: 12px;
  background: rgba(196,123,90,0.1);
  padding: 6px 16px;
  border-radius: var(--radius-xl);
}

.section-title {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  color: var(--green-deep);
  margin-bottom: 16px;
}

.section-description {
  font-size: 1.05rem;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.8;
}

/* ---- About Section ---- */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}

.about-text p {
  font-size: 1.05rem;
  color: var(--text-secondary);
  line-height: 1.9;
  margin-bottom: 20px;
}

.about-quote {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.15rem;
  color: var(--green-deep);
  border-left: 3px solid var(--terracotta);
  padding-left: 20px;
  margin: 32px 0;
  line-height: 1.7;
}

.team-cards {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.team-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 28px;
  box-shadow: var(--shadow-sm);
  display: flex;
  align-items: center;
  gap: 20px;
  transition: all var(--transition);
  border: 1px solid transparent;
}

.team-card:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--green-pale);
  transform: translateY(-2px);
}

.team-avatar {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--white);
}

.team-avatar-doctor {
  background: linear-gradient(135deg, var(--green-deep), var(--green-mid));
}

.team-avatar-assistant {
  background: linear-gradient(135deg, var(--terracotta), var(--terracotta-soft));
}

.team-info h3 {
  font-size: 1.1rem;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.team-info p {
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.team-info .team-role {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--green-mid);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* Location card */
.location-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 28px;
  box-shadow: var(--shadow-sm);
  margin-top: 24px;
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.location-card svg {
  width: 24px;
  height: 24px;
  fill: var(--terracotta);
  flex-shrink: 0;
  margin-top: 2px;
}

.location-card p {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.location-card strong {
  color: var(--text-primary);
}

/* ---- Services Section ---- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
  margin-bottom: 64px;
}

.service-item {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 24px;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
  border: 1px solid transparent;
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.service-item:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--green-pale);
  transform: translateY(-2px);
}

.service-icon {
  width: 40px;
  height: 40px;
  background: var(--green-wash);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.service-icon svg {
  width: 20px;
  height: 20px;
  fill: var(--green-deep);
}

.service-item h3 {
  font-size: 0.95rem;
  font-weight: 600;
  font-family: var(--font-body);
  color: var(--text-primary);
  line-height: 1.4;
}

/* Pricing table */
.pricing-section {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 48px;
  box-shadow: var(--shadow-md);
  max-width: 800px;
  margin: 0 auto;
}

.pricing-section h3 {
  font-size: 1.5rem;
  color: var(--green-deep);
  margin-bottom: 8px;
}

.pricing-subtitle {
  font-size: 0.9rem;
  color: var(--text-light);
  margin-bottom: 32px;
}

.pricing-table {
  width: 100%;
  border-collapse: collapse;
}

.pricing-table tr {
  border-bottom: 1px solid var(--green-pale);
  transition: background var(--transition);
}

.pricing-table tr:hover {
  background: var(--green-wash);
}

.pricing-table tr:last-child {
  border-bottom: none;
}

.pricing-table td {
  padding: 16px 0;
  font-size: 0.95rem;
}

.pricing-table td:first-child {
  color: var(--text-primary);
  padding-right: 24px;
}

.pricing-table td:last-child {
  text-align: right;
  font-weight: 700;
  color: var(--green-deep);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.pricing-note {
  margin-top: 24px;
  padding: 16px 20px;
  background: var(--cream-warm);
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  color: var(--text-secondary);
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.pricing-note svg {
  width: 20px;
  height: 20px;
  fill: var(--terracotta);
  flex-shrink: 0;
  margin-top: 2px;
}

/* ---- Articles Section ---- */
.articles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 24px;
}

.article-card {
  background: var(--white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
  border: 1px solid transparent;
  display: flex;
  flex-direction: column;
}

.article-card:hover {
  box-shadow: var(--shadow-hover);
  border-color: var(--green-pale);
  transform: translateY(-4px);
}

.article-card-header {
  padding: 28px 28px 0;
}

.article-card-tag {
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--white);
  background: var(--green-mid);
  padding: 4px 10px;
  border-radius: var(--radius-xl);
  display: inline-block;
  margin-bottom: 12px;
}

.article-card-tag.tag-pediatrie { background: var(--terracotta); }
.article-card-tag.tag-vaccinare { background: var(--green-deep); }
.article-card-tag.tag-adult { background: var(--brown-warm); }
.article-card-tag.tag-info { background: var(--text-light); }

.article-card h3 {
  font-size: 1.15rem;
  color: var(--text-primary);
  margin-bottom: 8px;
  line-height: 1.35;
}

.article-card-body {
  padding: 12px 28px 28px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.article-card-body p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.7;
  flex: 1;
}

.article-card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 16px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--green-deep);
  transition: all var(--transition);
}

.article-card-link:hover {
  color: var(--terracotta);
  gap: 10px;
}

.article-card-link svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
  transition: transform var(--transition);
}

.article-card-link:hover svg {
  transform: translateX(3px);
}

/* ---- Contact Section ---- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

.contact-info-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.contact-icon {
  width: 48px;
  height: 48px;
  background: var(--green-wash);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-icon svg {
  width: 22px;
  height: 22px;
  fill: var(--green-deep);
}

.contact-item h4 {
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-light);
  margin-bottom: 4px;
}

.contact-item p, .contact-item a {
  font-size: 1rem;
  color: var(--text-primary);
  line-height: 1.6;
}

.contact-item a {
  color: var(--green-deep);
  font-weight: 500;
}

.contact-item a:hover {
  color: var(--terracotta);
}

.contact-schedule-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 8px;
}

.contact-schedule-table td {
  padding: 8px 0;
  font-size: 0.9rem;
  border-bottom: 1px solid var(--green-pale);
}

.contact-schedule-table tr:last-child td {
  border-bottom: none;
}

.contact-schedule-table td:first-child {
  font-weight: 600;
  color: var(--text-primary);
  width: 120px;
}

.contact-schedule-table td:last-child {
  color: var(--green-mid);
  font-weight: 500;
  font-variant-numeric: tabular-nums;
}

.contact-map {
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  height: 100%;
  min-height: 400px;
}

.contact-map iframe {
  width: 100%;
  height: 100%;
  min-height: 400px;
  border: none;
}

.transport-info {
  background: var(--cream-warm);
  border-radius: var(--radius-sm);
  padding: 16px 20px;
  margin-top: 8px;
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

.transport-info strong {
  color: var(--text-primary);
}

/* ---- Footer ---- */
.footer {
  background: var(--green-deep);
  color: rgba(255,255,255,0.7);
  padding: 48px 0 24px;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 32px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}

.footer-brand {
  max-width: 320px;
}

.footer-brand h3 {
  font-size: 1.2rem;
  color: var(--white);
  margin-bottom: 8px;
}

.footer-brand p {
  font-size: 0.9rem;
  line-height: 1.7;
}

.footer-links {
  display: flex;
  gap: 48px;
}

.footer-links-col h4 {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.5);
  margin-bottom: 12px;
}

.footer-links-col a {
  display: block;
  color: rgba(255,255,255,0.7);
  font-size: 0.9rem;
  padding: 4px 0;
  transition: color var(--transition);
}

.footer-links-col a:hover {
  color: var(--white);
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 24px;
  font-size: 0.8rem;
  text-align: center;
  color: rgba(255,255,255,0.4);
}

/* ---- Animations ---- */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

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

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

/* Scroll-triggered animations */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

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

.fade-in-delay-1 { transition-delay: 0.1s; }
.fade-in-delay-2 { transition-delay: 0.2s; }
.fade-in-delay-3 { transition-delay: 0.3s; }

/* ---- Responsive ---- */
@media (max-width: 968px) {
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }

  .hero-description { margin: 0 auto 36px; }
  .hero-actions { justify-content: center; }

  .hero-visual { order: -1; }
  .hero-card { max-width: 380px; margin: 0 auto; }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

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

  .footer-inner { flex-direction: column; }
  .footer-links { gap: 32px; }
}

@media (max-width: 768px) {
  .section { padding: 64px 0; }

  .nav-links {
    display: none;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: var(--cream);
    flex-direction: column;
    padding: 16px 24px;
    box-shadow: var(--shadow-md);
    border-top: 1px solid var(--green-pale);
    gap: 4px;
  }

  .nav-links.open { display: flex; }

  .nav-links a {
    width: 100%;
    padding: 12px 16px;
  }

  .nav-toggle { display: flex; }

  .hero { min-height: auto; padding: 100px 0 64px; }
  .hero-float { display: none; }

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

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

  .pricing-section { padding: 28px; }

  .hero-actions { flex-direction: column; align-items: center; }
  .btn { width: 100%; justify-content: center; }
}

@media (max-width: 480px) {
  html { font-size: 15px; }
  .container { padding: 0 16px; }
  .hero-card { padding: 24px; }
}

/* ---- Article Page Styles ---- */
.article-page {
  padding-top: 72px;
}

.article-hero {
  background: linear-gradient(135deg, var(--green-wash) 0%, var(--cream-warm) 100%);
  padding: 64px 0;
  text-align: center;
}

.article-hero .section-label {
  margin-bottom: 16px;
}

.article-hero h1 {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  color: var(--green-deep);
  max-width: 700px;
  margin: 0 auto 16px;
}

.article-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-secondary);
  margin-bottom: 24px;
  transition: all var(--transition);
}

.article-back:hover {
  color: var(--green-deep);
  gap: 12px;
}

.article-back svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

.article-content {
  max-width: 760px;
  margin: 0 auto;
  padding: 64px 24px;
}

.article-content h2 {
  font-size: 1.6rem;
  color: var(--green-deep);
  margin: 48px 0 16px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--green-pale);
}

.article-content h2:first-child {
  margin-top: 0;
}

.article-content h3 {
  font-size: 1.2rem;
  color: var(--text-primary);
  margin: 32px 0 12px;
}

.article-content p {
  font-size: 1.05rem;
  color: var(--text-secondary);
  line-height: 1.9;
  margin-bottom: 16px;
}

.article-content ul, .article-content ol {
  margin: 16px 0;
  padding-left: 24px;
}

.article-content li {
  font-size: 1.05rem;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 8px;
}

.article-content strong {
  color: var(--text-primary);
  font-weight: 600;
}

.article-content .highlight-box {
  background: var(--green-wash);
  border-left: 4px solid var(--green-deep);
  padding: 20px 24px;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  margin: 24px 0;
}

.article-content .highlight-box p {
  margin-bottom: 0;
  color: var(--text-primary);
}

.article-content .warning-box {
  background: #FFF8F0;
  border-left: 4px solid var(--terracotta);
  padding: 20px 24px;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  margin: 24px 0;
}

.article-content .warning-box p {
  margin-bottom: 0;
  color: var(--text-primary);
}

.article-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 24px 0;
  font-size: 0.95rem;
}

.article-content table th {
  background: var(--green-deep);
  color: var(--white);
  padding: 12px 16px;
  text-align: left;
  font-weight: 600;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.article-content table th:first-child {
  border-radius: var(--radius-sm) 0 0 0;
}

.article-content table th:last-child {
  border-radius: 0 var(--radius-sm) 0 0;
}

.article-content table td {
  padding: 12px 16px;
  border-bottom: 1px solid var(--green-pale);
  color: var(--text-secondary);
}

.article-content table tr:hover td {
  background: var(--green-wash);
}

/* Related articles at bottom of article page */
.related-articles {
  background: var(--green-wash);
  padding: 64px 0;
}

.related-articles h2 {
  text-align: center;
  font-size: 1.6rem;
  color: var(--green-deep);
  margin-bottom: 32px;
}
