/* ==========================================================================
   Afrinno Technologies Limited — stylesheet
   ========================================================================== */

:root {
  --navy-900: #071a3c;
  --navy-800: #0b2a5c;
  --navy-700: #123a78;
  --navy-600: #1a4a96;
  --teal-500: #00a676;
  --teal-400: #10c98e;
  --teal-050: #e6f9f2;
  --amber-500: #f5a623;

  --gray-900: #10151f;
  --gray-800: #1c2433;
  --gray-700: #364152;
  --gray-600: #545f70;
  --gray-500: #7a8496;
  --gray-300: #cfd6e0;
  --gray-200: #e4e9f0;
  --gray-100: #f2f5f9;
  --white: #ffffff;

  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --font-heading: 'Poppins', var(--font-body);

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;

  --shadow-sm: 0 2px 10px rgba(11, 42, 92, 0.07);
  --shadow-md: 0 10px 30px rgba(11, 42, 92, 0.12);
  --shadow-lg: 0 20px 50px rgba(11, 42, 92, 0.18);

  --container: 1180px;
}

/* ---------- reset ---------- */
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  color: var(--gray-700);
  background: var(--white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; }
h1, h2, h3, h4 {
  font-family: var(--font-heading);
  color: var(--navy-900);
  font-weight: 600;
  line-height: 1.25;
}
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}
section { padding: 88px 0; }
@media (max-width: 768px) { section { padding: 56px 0; } }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--teal-500);
  margin-bottom: 14px;
}
.eyebrow::before {
  content: "";
  width: 26px;
  height: 3px;
  border-radius: 2px;
  background: var(--teal-500);
}
.section-head { max-width: 640px; margin-bottom: 48px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head h2 { font-size: clamp(1.7rem, 3vw, 2.3rem); margin-bottom: 14px; }
.section-head p { color: var(--gray-600); font-size: 1.05rem; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.95rem;
  border: 2px solid transparent;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease;
  white-space: nowrap;
}
.btn-primary {
  background: linear-gradient(135deg, var(--teal-400), var(--teal-500));
  color: var(--white);
  box-shadow: var(--shadow-sm);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn-outline {
  border-color: rgba(255,255,255,0.4);
  color: var(--white);
}
.btn-outline:hover { background: rgba(255,255,255,0.12); transform: translateY(-2px); }
.btn-outline.dark { border-color: var(--navy-800); color: var(--navy-800); }
.btn-outline.dark:hover { background: var(--navy-800); color: var(--white); }
.btn-block { width: 100%; justify-content: center; }

/* ---------- header / nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid var(--gray-200);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
  max-width: var(--container);
  margin: 0 auto;
}
.brand { display: flex; align-items: center; gap: 10px; font-family: var(--font-heading); }
.brand-logo { height: 44px; width: auto; display: block; }
.footer-brand .brand-logo-wrap {
  display: inline-flex;
  align-items: center;
  background: var(--white);
  padding: 10px 16px;
  border-radius: 10px;
}
.footer-brand .brand-logo { height: 40px; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 34px;
}
.nav-links a {
  font-weight: 500;
  color: var(--gray-700);
  font-size: 0.95rem;
  position: relative;
  padding: 6px 0;
  transition: color 0.2s ease;
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0; bottom: -2px;
  width: 0; height: 2px;
  background: var(--teal-500);
  transition: width 0.2s ease;
}
.nav-links a:hover, .nav-links a.active { color: var(--navy-900); }
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }

.nav-cta { display: flex; align-items: center; gap: 18px; }
.nav-cta .btn-primary { padding: 11px 22px; font-size: 0.9rem; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: 6px;
}
.nav-toggle span { width: 24px; height: 2px; background: var(--navy-900); border-radius: 2px; transition: 0.25s ease; }
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 900px) {
  .nav-toggle { display: flex; }
  .nav-links {
    position: fixed;
    top: 73px; left: 0; right: 0;
    background: var(--white);
    flex-direction: column;
    align-items: flex-start;
    padding: 20px 24px 30px;
    gap: 18px;
    border-bottom: 1px solid var(--gray-200);
    box-shadow: var(--shadow-md);
    transform: translateY(-130%);
    opacity: 0;
    transition: transform 0.3s ease, opacity 0.3s ease;
  }
  .nav-links.open { transform: translateY(0); opacity: 1; }
  .nav-cta .btn-outline { display: none; }
}

/* ---------- hero ---------- */
.hero {
  position: relative;
  background: radial-gradient(circle at 15% 20%, var(--navy-700), var(--navy-900) 60%);
  color: var(--white);
  overflow: hidden;
  padding: 110px 0 100px;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 85% 15%, rgba(16, 201, 142, 0.25), transparent 45%),
    radial-gradient(circle at 90% 80%, rgba(245, 166, 35, 0.15), transparent 40%);
  pointer-events: none;
}
.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 50px;
  align-items: center;
}
.hero h1 {
  color: var(--white);
  font-size: clamp(2.1rem, 4.4vw, 3.3rem);
  margin-bottom: 20px;
  letter-spacing: -0.01em;
}
.hero h1 em { color: var(--teal-400); font-style: normal; }
.hero p { color: rgba(255,255,255,0.82); font-size: 1.12rem; max-width: 520px; margin-bottom: 34px; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-stats {
  display: flex;
  gap: 34px;
  margin-top: 46px;
  flex-wrap: wrap;
}
.hero-stats div strong { display: block; font-size: 1.7rem; color: var(--white); font-family: var(--font-heading); }
.hero-stats div span { font-size: 0.83rem; color: rgba(255,255,255,0.65); }

.hero-art {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-panel {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: var(--radius-lg);
  padding: 30px;
  width: 100%;
  max-width: 400px;
  backdrop-filter: blur(6px);
}
.hero-panel-row {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.hero-panel-row:last-child { border-bottom: none; }
.hero-panel-icon {
  width: 42px; height: 42px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--teal-400), var(--teal-500));
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.hero-panel-row strong { display: block; color: var(--white); font-size: 0.95rem; font-weight: 600; }
.hero-panel-row span { color: rgba(255,255,255,0.6); font-size: 0.8rem; }

@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-art { order: -1; }
  .hero-panel { max-width: 100%; }
}

/* ---------- logo / trust strip ---------- */
.trust-strip { padding: 40px 0; border-bottom: 1px solid var(--gray-200); }
.trust-strip p { text-align: center; font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--gray-500); margin-bottom: 22px; }
.trust-row { display: flex; justify-content: center; gap: 46px; flex-wrap: wrap; color: var(--gray-500); font-weight: 600; font-family: var(--font-heading); opacity: 0.75; }

/* ---------- services grid ---------- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}
@media (max-width: 960px) { .services-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .services-grid { grid-template-columns: 1fr; } }

.service-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  padding: 32px 28px;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
}
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: transparent; }
.service-icon {
  width: 54px; height: 54px;
  border-radius: 14px;
  background: var(--teal-050);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
  color: var(--teal-500);
}
.service-card h3 { font-size: 1.15rem; margin-bottom: 10px; }
.service-card p { color: var(--gray-600); font-size: 0.95rem; margin-bottom: 18px; flex-grow: 1; }
.service-card ul li { font-size: 0.88rem; color: var(--gray-600); padding-left: 22px; position: relative; margin-bottom: 8px; }
.service-card ul li::before { content: "✓"; position: absolute; left: 0; color: var(--teal-500); font-weight: 700; }
.service-link { font-weight: 600; font-size: 0.9rem; color: var(--navy-800); display: inline-flex; align-items: center; gap: 6px; margin-top: auto; }
.service-link svg { transition: transform 0.2s ease; }
.service-card:hover .service-link svg { transform: translateX(4px); }

/* ---------- alt background section ---------- */
.section-alt { background: var(--gray-100); }

/* ---------- process / why us ---------- */
.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
@media (max-width: 960px) { .why-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .why-grid { grid-template-columns: 1fr; } }
.why-card { text-align: left; }
.why-num {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.6rem;
  color: var(--teal-500);
  display: inline-flex;
  align-items: center; justify-content: center;
  width: 56px; height: 56px;
  border-radius: 50%;
  border: 2px solid var(--teal-050);
  margin-bottom: 16px;
}
.why-card h3 { font-size: 1.05rem; margin-bottom: 8px; }
.why-card p { color: var(--gray-600); font-size: 0.92rem; }

/* ---------- CTA banner ---------- */
.cta-banner {
  background: linear-gradient(120deg, var(--navy-900), var(--navy-700));
  border-radius: var(--radius-lg);
  padding: 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  flex-wrap: wrap;
  color: var(--white);
}
.cta-banner h2 { color: var(--white); font-size: clamp(1.4rem, 3vw, 1.9rem); margin-bottom: 8px; }
.cta-banner p { color: rgba(255,255,255,0.78); }
@media (max-width: 640px) { .cta-banner { padding: 36px 26px; text-align: center; justify-content: center; } }

/* ---------- testimonials ---------- */
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}
@media (max-width: 960px) { .testimonial-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .testimonial-grid { grid-template-columns: 1fr; } }
.testimonial-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  padding: 28px;
}
.testimonial-stars { color: var(--amber-500); margin-bottom: 14px; letter-spacing: 2px; }
.testimonial-card p.quote { color: var(--gray-700); font-size: 0.96rem; margin-bottom: 20px; }
.testimonial-person { display: flex; align-items: center; gap: 12px; }
.testimonial-avatar {
  width: 42px; height: 42px; border-radius: 50%;
  background: linear-gradient(135deg, var(--navy-700), var(--teal-500));
  color: var(--white);
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 0.9rem;
}
.testimonial-person strong { display: block; font-size: 0.92rem; color: var(--navy-900); }
.testimonial-person span { font-size: 0.8rem; color: var(--gray-500); }

/* ---------- footer ---------- */
.site-footer { background: var(--navy-900); color: rgba(255,255,255,0.72); padding: 70px 0 0; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.9fr 0.9fr 1.1fr;
  gap: 40px;
  padding-bottom: 50px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }
.site-footer h4 { color: var(--white); font-size: 0.95rem; margin-bottom: 20px; }
.footer-brand p { font-size: 0.9rem; margin: 16px 0 20px; max-width: 300px; }
.footer-links li { margin-bottom: 12px; }
.footer-links a { font-size: 0.9rem; transition: color 0.2s ease; }
.footer-links a:hover { color: var(--teal-400); }
.footer-contact li { display: flex; gap: 10px; font-size: 0.9rem; margin-bottom: 16px; align-items: flex-start; }
.footer-contact svg { flex-shrink: 0; margin-top: 3px; color: var(--teal-400); }
.social-row { display: flex; gap: 10px; margin-top: 20px; }
.social-row a {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  display: flex; align-items: center; justify-content: center;
  transition: background 0.2s ease, transform 0.2s ease;
}
.social-row a:hover { background: var(--teal-500); transform: translateY(-3px); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 22px 0;
  font-size: 0.82rem;
  flex-wrap: wrap;
  gap: 10px;
}
.footer-bottom a:hover { color: var(--teal-400); }

/* ---------- page hero (inner pages) ---------- */
.page-hero {
  background: radial-gradient(circle at 20% 30%, var(--navy-700), var(--navy-900) 65%);
  color: var(--white);
  padding: 80px 0 70px;
  text-align: center;
}
.page-hero .eyebrow { justify-content: center; color: var(--teal-400); }
.page-hero h1 { color: var(--white); font-size: clamp(1.9rem, 4vw, 2.6rem); margin-bottom: 14px; }
.page-hero p { color: rgba(255,255,255,0.78); max-width: 560px; margin: 0 auto; }
.breadcrumb { display: flex; justify-content: center; gap: 8px; font-size: 0.85rem; color: rgba(255,255,255,0.55); margin-bottom: 18px; }
.breadcrumb a:hover { color: var(--teal-400); }

/* ---------- about page ---------- */
.about-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 60px;
  align-items: center;
}
@media (max-width: 900px) { .about-grid { grid-template-columns: 1fr; gap: 36px; } }
.about-art {
  background: linear-gradient(135deg, var(--navy-800), var(--navy-900));
  border-radius: var(--radius-lg);
  padding: 40px;
  color: var(--white);
  position: relative;
  overflow: hidden;
}
.about-art::after {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(circle at 80% 20%, rgba(16,201,142,0.25), transparent 50%);
}
.about-art-grid { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.about-stat { background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.12); border-radius: var(--radius-sm); padding: 20px; }
.about-stat strong { display: block; font-size: 1.7rem; font-family: var(--font-heading); color: var(--teal-400); }
.about-stat span { font-size: 0.82rem; color: rgba(255,255,255,0.7); }

.mv-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; margin-top: 20px; }
@media (max-width: 640px) { .mv-grid { grid-template-columns: 1fr; } }
.mv-card { background: var(--white); border: 1px solid var(--gray-200); border-radius: var(--radius-md); padding: 30px; }
.mv-card .service-icon { margin-bottom: 16px; }
.mv-card h3 { margin-bottom: 10px; }
.mv-card p { color: var(--gray-600); font-size: 0.95rem; }

.values-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
@media (max-width: 960px) { .values-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .values-grid { grid-template-columns: 1fr; } }
.value-card {
  text-align: center;
  padding: 30px 20px;
  border-radius: var(--radius-md);
  border: 1px solid var(--gray-200);
  background: var(--white);
}
.value-card .service-icon { margin: 0 auto 16px; }
.value-card h3 { font-size: 1rem; margin-bottom: 8px; }
.value-card p { font-size: 0.88rem; color: var(--gray-600); }

/* ---------- services page detail ---------- */
.service-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
  padding: 60px 0;
  border-bottom: 1px solid var(--gray-200);
}
.service-detail:last-child { border-bottom: none; }
.service-detail.reverse .service-detail-media { order: 2; }
@media (max-width: 900px) {
  .service-detail { grid-template-columns: 1fr; gap: 30px; }
  .service-detail.reverse .service-detail-media { order: -1; }
}
.service-detail-media {
  background: linear-gradient(135deg, var(--navy-800), var(--navy-900));
  border-radius: var(--radius-lg);
  padding: 44px;
  color: var(--white);
  min-height: 260px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.service-detail-media::after {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(circle at 20% 80%, rgba(16,201,142,0.3), transparent 55%);
}
.service-detail-media svg { position: relative; width: 96px; height: 96px; color: var(--teal-400); }
.service-detail-body .eyebrow { color: var(--teal-500); }
.service-detail-body h2 { margin-bottom: 14px; font-size: clamp(1.4rem, 2.6vw, 1.9rem); }
.service-detail-body p { color: var(--gray-600); margin-bottom: 18px; }
.feature-list { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 20px; margin-bottom: 24px; }
@media (max-width: 480px) { .feature-list { grid-template-columns: 1fr; } }
.feature-list li { font-size: 0.92rem; color: var(--gray-700); padding-left: 24px; position: relative; }
.feature-list li::before {
  content: "";
  position: absolute; left: 0; top: 7px;
  width: 14px; height: 14px;
  border-radius: 50%;
  background: var(--teal-050);
  box-shadow: inset 0 0 0 3px var(--teal-500);
}

/* ---------- process steps (services page) ---------- */
.process-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; counter-reset: step; }
@media (max-width: 900px) { .process-row { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .process-row { grid-template-columns: 1fr; } }
.process-step { position: relative; padding: 30px 24px; background: var(--white); border: 1px solid var(--gray-200); border-radius: var(--radius-md); }
.process-step::before {
  counter-increment: step;
  content: counter(step, decimal-leading-zero);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--white);
  background: var(--teal-500);
  width: 34px; height: 34px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px;
}
.process-step h3 { font-size: 1rem; margin-bottom: 8px; }
.process-step p { font-size: 0.88rem; color: var(--gray-600); }

/* ---------- FAQ ---------- */
.faq-list { max-width: 780px; margin: 0 auto; }
.faq-item { border: 1px solid var(--gray-200); border-radius: var(--radius-sm); margin-bottom: 14px; overflow: hidden; }
.faq-question {
  display: flex; align-items: center; justify-content: space-between;
  width: 100%; text-align: left;
  padding: 20px 24px;
  background: var(--white);
  border: none;
  font-weight: 600;
  color: var(--navy-900);
  font-size: 0.98rem;
}
.faq-question svg { transition: transform 0.25s ease; flex-shrink: 0; color: var(--teal-500); }
.faq-item.open .faq-question svg { transform: rotate(45deg); }
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  background: var(--gray-100);
}
.faq-answer p { padding: 0 24px 20px; color: var(--gray-600); font-size: 0.92rem; }
.faq-item.open .faq-answer { max-height: 240px; }

/* ---------- contact page ---------- */
.contact-grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 46px; align-items: flex-start; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-cards { display: flex; flex-direction: column; gap: 18px; }
.contact-card {
  display: flex; gap: 16px;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  padding: 24px;
}
.contact-card .service-icon { margin-bottom: 0; flex-shrink: 0; }
.contact-card h3 { font-size: 0.98rem; margin-bottom: 6px; }
.contact-card p, .contact-card a { font-size: 0.9rem; color: var(--gray-600); }
.contact-card p + p { margin-top: 4px; }
.contact-card a:hover { color: var(--teal-500); }

.contact-form-wrap {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 40px;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 560px) { .form-row { grid-template-columns: 1fr; } }
.field { margin-bottom: 20px; }
.field label { display: block; font-size: 0.85rem; font-weight: 600; color: var(--navy-900); margin-bottom: 8px; }
.field input, .field select, .field textarea {
  width: 100%;
  padding: 13px 16px;
  border-radius: 10px;
  border: 1.5px solid var(--gray-200);
  font-family: inherit;
  font-size: 0.94rem;
  color: var(--gray-800);
  background: var(--gray-100);
  transition: border-color 0.2s ease, background 0.2s ease;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--teal-500);
  background: var(--white);
}
.field textarea { resize: vertical; min-height: 130px; }
.field.error input, .field.error select, .field.error textarea { border-color: #e0563f; }
.field-error { display: none; color: #e0563f; font-size: 0.78rem; margin-top: 6px; }
.field.error .field-error { display: block; }
.form-note { font-size: 0.82rem; color: var(--gray-500); margin-top: 14px; }
.form-success {
  display: none;
  align-items: center;
  gap: 12px;
  background: var(--teal-050);
  border: 1px solid var(--teal-400);
  color: #056a4a;
  padding: 16px 18px;
  border-radius: 10px;
  font-size: 0.9rem;
  margin-bottom: 20px;
}
.form-success.show { display: flex; }
.form-error {
  display: none;
  align-items: center;
  gap: 12px;
  background: #fdf1ee;
  border: 1px solid #e0563f;
  color: #b3391f;
  padding: 16px 18px;
  border-radius: 10px;
  font-size: 0.9rem;
  margin-bottom: 20px;
}
.form-error.show { display: flex; }

.map-wrap { border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--gray-200); margin-top: 40px; }
.map-wrap iframe { width: 100%; height: 340px; border: 0; display: block; }

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

/* ---------- misc ---------- */
.back-top {
  position: fixed;
  right: 22px; bottom: 22px;
  width: 46px; height: 46px;
  border-radius: 50%;
  background: var(--navy-900);
  color: var(--white);
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-md);
  opacity: 0; visibility: hidden;
  transform: translateY(10px);
  transition: all 0.25s ease;
  z-index: 900;
  border: none;
}
.back-top.show { opacity: 1; visibility: visible; transform: translateY(0); }
