/* ================================================================
   JOSHUA C. TERRELL — PERSONAL TRAINER · DUBLIN, OHIO
   style.css  |  Shared across all pages
   ================================================================ */

/* ------------------------------------------------------------------
   CSS CUSTOM PROPERTIES (Design Tokens)
------------------------------------------------------------------ */
:root {
  /* Palette */
  --blue:       #9ECAD6;
  --indigo:     #748DAE;
  --blush:      #F5CBCB;
  --rose:       #FFEAEA;
  --white:      #FFFFFF;
  --dark:       #1C2340;
  --mid:        #3E4C6D;
  --muted:      #6B7A99;
  --line:       #E4EBF0;

  /* Typography */
  --font-display: 'Bebas Neue', sans-serif;
  --font-body:    'Inter', sans-serif;

  /* Spacing */
  --section-pad: 72px;
  --card-rad:    14px;
  --nav-h:       68px;

  /* Shadows */
  --shadow-sm:   0 2px 8px rgba(116,141,174,.12);
  --shadow-md:   0 6px 24px rgba(116,141,174,.18);
  --shadow-lg:   0 12px 40px rgba(116,141,174,.22);

  /* Transitions */
  --ease: cubic-bezier(.25,.8,.25,1);
}

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

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

body {
  font-family: var(--font-body);
  color: var(--dark);
  background: var(--white);
  line-height: 1.65;
  overflow-x: hidden;
}

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

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

ul { list-style: none; }

/* ------------------------------------------------------------------
   UTILITY CLASSES
------------------------------------------------------------------ */
.container {
  width: 92%;
  max-width: 1160px;
  margin-inline: auto;
}

.section-label {
  font-family: var(--font-body);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--indigo);
  margin-bottom: 10px;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  letter-spacing: .03em;
  line-height: 1.05;
  color: var(--dark);
}

.section-sub {
  font-size: .97rem;
  color: var(--muted);
  max-width: 520px;
  margin-top: 12px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 28px;
  border-radius: 50px;
  font-family: var(--font-body);
  font-size: .88rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: transform .18s var(--ease), box-shadow .18s var(--ease), background .18s;
}
.btn:hover  { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn:active { transform: translateY(0); }

.btn-primary { background: var(--indigo); color: var(--white); }
.btn-primary:hover { background: var(--mid); }

.btn-outline { background: transparent; color: var(--indigo); border: 2px solid var(--indigo); }
.btn-outline:hover { background: var(--indigo); color: var(--white); }

.btn-light { background: var(--white); color: var(--indigo); }
.btn-light:hover { background: var(--rose); }

/* Scroll-triggered fade-in */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .55s var(--ease), transform .55s var(--ease);
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger children via --i custom property */
.stagger > * { transition-delay: calc(var(--i, 0) * 80ms); }

/* ------------------------------------------------------------------
   NAVIGATION
------------------------------------------------------------------ */
#navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-h);
  background: rgba(255,255,255,.94);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
  z-index: 1000;
  transition: box-shadow .25s;
}
#navbar.scrolled { box-shadow: var(--shadow-md); }

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

.nav-logo { display: flex; flex-direction: column; line-height: 1; }
.nav-logo .name {
  font-family: var(--font-display);
  font-size: 1.45rem;
  letter-spacing: .05em;
  color: var(--dark);
}
.nav-logo .tagline {
  font-size: .68rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--indigo);
}

.nav-links { display: flex; align-items: center; gap: 32px; }

.nav-links a {
  font-size: .88rem;
  font-weight: 500;
  color: var(--mid);
  position: relative;
  padding-bottom: 3px;
  transition: color .18s;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 0; height: 2px;
  background: var(--blue);
  border-radius: 2px;
  transition: width .22s var(--ease);
}
.nav-links a:hover,
.nav-links a.active { color: var(--dark); }
.nav-links a:hover::after,
.nav-links a.active::after { width: 100%; }

.nav-cta { margin-left: 8px; }

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 6px;
  background: none;
  border: none;
}
.hamburger span {
  display: block;
  width: 24px; height: 2px;
  background: var(--dark);
  border-radius: 2px;
  transition: transform .25s var(--ease), opacity .25s;
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile drawer */
.mobile-menu {
  display: none;
  position: fixed;
  top: var(--nav-h);
  left: 0; right: 0;
  background: var(--white);
  border-bottom: 1px solid var(--line);
  padding: 20px 5%;
  flex-direction: column;
  gap: 16px;
  z-index: 999;
  box-shadow: var(--shadow-md);
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  font-size: 1rem;
  font-weight: 500;
  color: var(--mid);
  padding: 8px 0;
  border-bottom: 1px solid var(--line);
}
.mobile-menu a:last-child { border-bottom: none; }

/* ------------------------------------------------------------------
   SHARED: CTA BAND
------------------------------------------------------------------ */
.cta-band {
  padding: 64px 0;
  background: var(--indigo);
  text-align: center;
}
.cta-band h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.8rem);
  color: var(--white);
  letter-spacing: .04em;
  margin-bottom: 12px;
}
.cta-band p {
  color: rgba(255,255,255,.72);
  font-size: .97rem;
  margin-bottom: 28px;
}

/* ------------------------------------------------------------------
   SHARED: SOCIAL ICONS
------------------------------------------------------------------ */
.social-row { display: flex; gap: 12px; }

.social-icon {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--rose);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--indigo);
  font-size: .95rem;
  transition: background .18s, color .18s, transform .18s;
}
.social-icon:hover { background: var(--indigo); color: var(--white); transform: translateY(-3px); }

/* ------------------------------------------------------------------
   FOOTER
------------------------------------------------------------------ */
footer { background: var(--dark); padding: 26px 0; }

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}
.footer-copy { font-size: .8rem; color: rgba(255,255,255,.45); }

.footer-social { display: flex; gap: 14px; }
.footer-social a { color: rgba(255,255,255,.45); font-size: .95rem; transition: color .18s; }
.footer-social a:hover { color: var(--blue); }

.footer-links { display: flex; gap: 20px; }
.footer-links a { font-size: .8rem; color: rgba(255,255,255,.45); transition: color .18s; }
.footer-links a:hover { color: var(--white); }

/* ------------------------------------------------------------------
   HOME — HERO
------------------------------------------------------------------ */
.hero {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  padding-top: var(--nav-h);
  background: linear-gradient(135deg, var(--rose) 0%, #fff 60%);
  overflow: hidden;
}

.hero-text { padding: 60px 5% 60px 8%; }

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--blush);
  color: var(--mid);
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 50px;
  margin-bottom: 20px;
}

.hero-h1 {
  font-family: var(--font-display);
  font-size: clamp(3rem, 6.5vw, 5.2rem);
  line-height: .96;
  letter-spacing: .03em;
  color: var(--dark);
  margin-bottom: 20px;
}
.hero-h1 .accent { color: var(--indigo); }

.hero-desc {
  font-size: 1.05rem;
  color: var(--muted);
  max-width: 420px;
  margin-bottom: 36px;
  line-height: 1.7;
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }

.hero-stats {
  display: flex;
  gap: 32px;
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid var(--line);
}
.stat-item .num {
  font-family: var(--font-display);
  font-size: 2.1rem;
  color: var(--indigo);
  letter-spacing: .04em;
}
.stat-item .lbl {
  font-size: .77rem;
  font-weight: 600;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: .08em;
}

.hero-image { position: relative; height: 100%; min-height: 580px; }
.hero-image img { width: 100%; height: 100%; object-fit: cover; object-position: center top; }

.hero-badge {
  position: absolute;
  bottom: 40px; left: -24px;
  background: var(--white);
  border-radius: var(--card-rad);
  box-shadow: var(--shadow-lg);
  padding: 16px 20px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.hero-badge .icon-wrap {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--blush);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  color: var(--indigo);
}
.hero-badge .badge-text strong { display: block; font-size: .92rem; font-weight: 700; color: var(--dark); }
.hero-badge .badge-text span   { font-size: .75rem; color: var(--muted); }

/* ------------------------------------------------------------------
   HOME — SERVICES TEASER
------------------------------------------------------------------ */
.services-section { padding: var(--section-pad) 0; background: var(--white); }

.services-header { text-align: center; margin-bottom: 48px; }
.services-header .section-sub { margin-inline: auto; }

.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }

.service-card {
  background: var(--rose);
  border-radius: var(--card-rad);
  padding: 32px 28px;
  position: relative;
  overflow: hidden;
  transition: transform .22s var(--ease), box-shadow .22s var(--ease);
  cursor: default;
}
.service-card::before {
  content: '';
  position: absolute;
  top: -30px; right: -30px;
  width: 100px; height: 100px;
  border-radius: 50%;
  background: var(--blush);
  opacity: .6;
}
.service-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }

.service-icon {
  width: 52px; height: 52px;
  border-radius: 12px;
  background: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  color: var(--indigo);
  margin-bottom: 20px;
  box-shadow: var(--shadow-sm);
}

.service-card h3 {
  font-family: var(--font-display);
  font-size: 1.4rem;
  letter-spacing: .04em;
  color: var(--dark);
  margin-bottom: 10px;
}
.service-card p { font-size: .88rem; color: var(--muted); line-height: 1.65; }

.service-card .card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: .82rem;
  font-weight: 600;
  color: var(--indigo);
  margin-top: 18px;
  transition: gap .18s;
}
.service-card:hover .card-link { gap: 10px; }

/* ------------------------------------------------------------------
   HOME — TESTIMONIALS CAROUSEL
------------------------------------------------------------------ */
.testimonials-section { padding: var(--section-pad) 0; background: var(--line); }
.testimonials-header  { text-align: center; margin-bottom: 40px; }

.carousel-wrap { position: relative; overflow: hidden; }
.carousel-track { display: flex; transition: transform .45s var(--ease); }
.testimonial-slide { min-width: 100%; padding: 0 4px; }

.testimonial-card {
  background: var(--white);
  border-radius: var(--card-rad);
  padding: 36px 40px;
  max-width: 700px;
  margin-inline: auto;
  text-align: center;
  box-shadow: var(--shadow-sm);
}

.stars { color: #F4B942; font-size: 1rem; margin-bottom: 18px; letter-spacing: 4px; }

.testimonial-card blockquote {
  font-size: 1.05rem;
  color: var(--mid);
  line-height: 1.75;
  font-style: italic;
  margin-bottom: 24px;
}

.reviewer { display: flex; align-items: center; justify-content: center; gap: 12px; }
.reviewer img { width: 46px; height: 46px; border-radius: 50%; object-fit: cover; }
.reviewer-info strong { display: block; font-size: .9rem; font-weight: 700; color: var(--dark); }
.reviewer-info span   { font-size: .77rem; color: var(--muted); }

.carousel-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 32px;
}
.carousel-btn {
  width: 40px; height: 40px;
  border-radius: 50%;
  border: 2px solid var(--indigo);
  background: transparent;
  color: var(--indigo);
  font-size: .9rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .18s, color .18s;
}
.carousel-btn:hover { background: var(--indigo); color: var(--white); }

.carousel-dots { display: flex; gap: 8px; }
.dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--blue);
  opacity: .4;
  cursor: pointer;
  border: none;
  transition: opacity .2s, transform .2s;
}
.dot.active { opacity: 1; transform: scale(1.3); }

/* ------------------------------------------------------------------
   ABOUT — HERO SPLIT
------------------------------------------------------------------ */
.about-hero {
  padding: calc(var(--nav-h) + 60px) 0 60px;
  background: linear-gradient(135deg, var(--blue) 0%, var(--white) 70%);
}

.about-split { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }

.about-img-wrap { position: relative; border-radius: 20px; overflow: hidden; box-shadow: var(--shadow-lg); }
.about-img-wrap img { width: 100%; height: 480px; object-fit: cover; object-position: top center; }

.cert-badge {
  position: absolute;
  bottom: 24px; right: 24px;
  background: var(--white);
  border-radius: 12px;
  padding: 12px 16px;
  box-shadow: var(--shadow-md);
  text-align: center;
}
.cert-badge i { font-size: 1.4rem; color: var(--indigo); }
.cert-badge p { font-size: .72rem; font-weight: 700; color: var(--mid); margin-top: 4px; }

.about-content h1 {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  color: var(--dark);
  letter-spacing: .04em;
  line-height: 1.05;
  margin-bottom: 16px;
}
.about-content .lead { font-size: 1.05rem; color: var(--muted); line-height: 1.75; margin-bottom: 20px; }

/* Specialty chips */
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin: 24px 0; }
.chip {
  background: var(--blush);
  color: var(--mid);
  font-size: .8rem;
  font-weight: 600;
  padding: 7px 15px;
  border-radius: 50px;
  display: flex;
  align-items: center;
  gap: 6px;
}

/* ------------------------------------------------------------------
   ABOUT — TIMELINE
------------------------------------------------------------------ */
.timeline-section { padding: var(--section-pad) 0; background: var(--white); }

.timeline {
  display: flex;
  flex-direction: column;
  max-width: 680px;
  margin-inline: auto;
  position: relative;
}
.timeline::before {
  content: '';
  position: absolute;
  left: 19px; top: 0; bottom: 0;
  width: 2px;
  background: var(--line);
}
.timeline-item { display: flex; gap: 24px; align-items: flex-start; padding-bottom: 36px; }

.timeline-dot {
  flex-shrink: 0;
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--rose);
  border: 3px solid var(--blue);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .9rem;
  color: var(--indigo);
  z-index: 1;
}
.timeline-body .year {
  font-size: .75rem;
  font-weight: 600;
  color: var(--indigo);
  text-transform: uppercase;
  letter-spacing: .08em;
  margin-bottom: 4px;
}
.timeline-body h4 { font-size: 1rem; font-weight: 700; color: var(--dark); }
.timeline-body p  { font-size: .88rem; color: var(--muted); line-height: 1.65; margin-top: 6px; }

/* ------------------------------------------------------------------
   ABOUT — VALUES GRID
------------------------------------------------------------------ */
.values-section { padding: var(--section-pad) 0; background: var(--rose); }

.values-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }

.value-card {
  background: var(--white);
  border-radius: var(--card-rad);
  padding: 28px 22px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: transform .22s;
}
.value-card:hover { transform: translateY(-4px); }
.value-card i  { font-size: 1.7rem; color: var(--indigo); margin-bottom: 14px; }
.value-card h4 { font-weight: 700; font-size: .95rem; margin-bottom: 8px; color: var(--dark); }
.value-card p  { font-size: .82rem; color: var(--muted); line-height: 1.55; }

/* ------------------------------------------------------------------
   SERVICES PAGE — HERO
------------------------------------------------------------------ */
.services-page-hero {
  padding: calc(var(--nav-h) + 60px) 0 60px;
  background: linear-gradient(135deg, var(--blush) 0%, var(--white) 65%);
  text-align: center;
}
.services-page-hero .section-sub { margin-inline: auto; }

/* ------------------------------------------------------------------
   SERVICES PAGE — DETAIL CARDS
------------------------------------------------------------------ */
.services-full-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; padding: var(--section-pad) 0; }

.service-full-card {
  border-radius: var(--card-rad);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform .22s, box-shadow .22s;
  background: var(--white);
  border: 1px solid var(--line);
}
.service-full-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }

.service-img { width: 100%; height: 210px; object-fit: cover; }

.service-body { padding: 28px; }
.service-body h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  letter-spacing: .04em;
  color: var(--dark);
  margin-bottom: 10px;
}
.service-body p  { font-size: .88rem; color: var(--muted); line-height: 1.65; margin-bottom: 18px; }
.service-body ul { margin-bottom: 20px; }
.service-body ul li {
  font-size: .85rem;
  color: var(--mid);
  padding: 5px 0;
  display: flex;
  align-items: center;
  gap: 8px;
}
.service-body ul li i { color: var(--blue); font-size: .8rem; }

/* ------------------------------------------------------------------
   SERVICES PAGE — PRICING
------------------------------------------------------------------ */
.pricing-section { padding: var(--section-pad) 0; background: var(--rose); }

.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 48px; }

.pricing-card {
  background: var(--white);
  border-radius: var(--card-rad);
  padding: 36px 28px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  position: relative;
  transition: transform .22s, box-shadow .22s;
}
.pricing-card.featured {
  background: var(--indigo);
  color: var(--white);
  transform: scale(1.04);
  box-shadow: var(--shadow-lg);
}
.pricing-card:hover { box-shadow: var(--shadow-md); }
.pricing-card.featured:hover { transform: scale(1.06); }

.pricing-badge {
  position: absolute;
  top: -12px; left: 50%; transform: translateX(-50%);
  background: var(--blush);
  color: var(--mid);
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: 4px 14px;
  border-radius: 50px;
}

.pricing-card h3    { font-family: var(--font-display); font-size: 1.4rem; letter-spacing: .04em; margin-bottom: 12px; }
.pricing-card .price { font-family: var(--font-display); font-size: 2.8rem; letter-spacing: .04em; color: var(--indigo); line-height: 1; margin-bottom: 4px; }
.pricing-card.featured .price { color: var(--white); }
.pricing-card .price-note     { font-size: .75rem; color: var(--muted); margin-bottom: 24px; }
.pricing-card.featured .price-note { color: rgba(255,255,255,.65); }

.pricing-features { text-align: left; margin-bottom: 28px; }
.pricing-features li {
  font-size: .85rem;
  padding: 7px 0;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  gap: 8px;
}
.pricing-card.featured .pricing-features li { border-bottom-color: rgba(255,255,255,.15); color: rgba(255,255,255,.9); }
.pricing-features li i { color: var(--blue); }
.pricing-card.featured .pricing-features li i { color: var(--blush); }

/* ------------------------------------------------------------------
   CONTACT PAGE
------------------------------------------------------------------ */
.contact-page { padding: calc(var(--nav-h) + 60px) 0 var(--section-pad); background: var(--white); }

.contact-grid { display: grid; grid-template-columns: 1fr 1.3fr; gap: 60px; align-items: start; }

.contact-info h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--dark);
  letter-spacing: .04em;
  line-height: 1.05;
  margin-bottom: 16px;
}
.contact-info p { font-size: .95rem; color: var(--muted); line-height: 1.7; margin-bottom: 32px; }

.contact-details { display: flex; flex-direction: column; gap: 18px; margin-bottom: 36px; }

.contact-detail { display: flex; align-items: center; gap: 14px; }
.contact-detail .icon {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--rose);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .9rem;
  color: var(--indigo);
  flex-shrink: 0;
}
.contact-detail .text strong { display: block; font-size: .82rem; font-weight: 700; color: var(--dark); text-transform: uppercase; letter-spacing: .07em; }
.contact-detail .text span   { font-size: .88rem; color: var(--muted); }

/* Contact form card */
.contact-form-wrap { background: var(--rose); border-radius: 20px; padding: 40px; }

.form-title { font-family: var(--font-display); font-size: 1.6rem; letter-spacing: .04em; color: var(--dark); margin-bottom: 28px; }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { margin-bottom: 18px; }

.form-group label {
  display: block;
  font-size: .8rem;
  font-weight: 600;
  color: var(--mid);
  text-transform: uppercase;
  letter-spacing: .07em;
  margin-bottom: 7px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid var(--line);
  border-radius: 10px;
  background: var(--white);
  font-family: var(--font-body);
  font-size: .9rem;
  color: var(--dark);
  transition: border-color .18s, box-shadow .18s;
  outline: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(158,202,214,.25);
}
.form-group input.error,
.form-group select.error,
.form-group textarea.error { border-color: #e07070; }

.form-group .error-msg { font-size: .75rem; color: #c0392b; margin-top: 5px; display: none; }
.form-group .error-msg.show { display: block; }

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

/* Form success state */
.form-success { display: none; text-align: center; padding: 40px; }
.form-success.show { display: block; }
.form-success i  { font-size: 2.5rem; color: var(--indigo); margin-bottom: 16px; }
.form-success h3 { font-family: var(--font-display); font-size: 1.6rem; letter-spacing: .04em; color: var(--dark); margin-bottom: 8px; }
.form-success p  { font-size: .9rem; color: var(--muted); }

/* Map section */
.map-section { padding: var(--section-pad) 0 0; }
.map-wrap { border-radius: 20px; overflow: hidden; box-shadow: var(--shadow-md); height: 360px; }
.map-wrap iframe { width: 100%; height: 100%; border: 0; }

/* ------------------------------------------------------------------
   RESPONSIVE BREAKPOINTS
------------------------------------------------------------------ */
@media (max-width: 1024px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .values-grid   { grid-template-columns: repeat(2, 1fr); }
  .pricing-grid  { grid-template-columns: 1fr; max-width: 400px; margin-inline: auto; }
  .pricing-card.featured { transform: none; }
}

@media (max-width: 860px) {
  .nav-links, .nav-cta { display: none; }
  .hamburger { display: flex; }

  .hero { grid-template-columns: 1fr; min-height: auto; padding-bottom: 0; }
  .hero-text { padding: 50px 5%; }
  .hero-image { min-height: 340px; }
  .hero-badge { left: 16px; bottom: 20px; }
  .hero-stats { gap: 20px; }

  .about-split { grid-template-columns: 1fr; }
  .about-img-wrap img { height: 320px; }

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

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

  .footer-links { display: none; }
}

@media (max-width: 600px) {
  :root { --section-pad: 52px; }

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

  .hero-h1 { font-size: 2.6rem; }
  .hero-stats { flex-wrap: wrap; gap: 16px; }

  .testimonial-card { padding: 28px 20px; }
  .contact-form-wrap { padding: 24px 20px; }
}
