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

:root {
  --primary:       #2563eb;
  --primary-dark:  #1d4ed8;
  --primary-light: #eff6ff;
  --accent:        #059669;
  --accent-light:  #ecfdf5;
  --dark:          #0f172a;
  --gray-800:      #1e293b;
  --gray-700:      #334155;
  --gray-600:      #475569;
  --gray-400:      #94a3b8;
  --gray-200:      #e2e8f0;
  --gray-100:      #f1f5f9;
  --white:         #ffffff;
  --hero-bg:       #0c1a3a;
  --nav-h:         64px;
  --radius:        12px;
  --radius-lg:     20px;
  --shadow-sm:     0 1px 4px rgba(0,0,0,.08);
  --shadow:        0 4px 20px rgba(0,0,0,.10);
  --shadow-lg:     0 12px 40px rgba(0,0,0,.15);
  --ease:          0.2s ease;
  --font:          'Inter', system-ui, -apple-system, sans-serif;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
  html { scroll-behavior: auto; }
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--gray-800);
  background: var(--white);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a  { color: var(--primary); text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; font-family: inherit; }

:focus-visible {
  outline: 3px solid var(--primary);
  outline-offset: 3px;
  border-radius: 4px;
}


/* ============================================================
   LAYOUT
============================================================ */
.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Mobile-first section rhythm */
.section { padding: 56px 0; }

@media (min-width: 768px)  { .section { padding: 80px 0; } }
@media (min-width: 1024px) { .section { padding: 96px 0; } }

.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 40px;
}
.section-header h2 {
  font-size: clamp(1.5rem, 5vw, 2.5rem);
  font-weight: 800;
  color: var(--dark);
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}
.section-header p {
  font-size: clamp(1rem, 2.5vw, 1.125rem);
  color: var(--gray-600);
  line-height: 1.6;
}

@media (min-width: 768px) { .section-header { margin-bottom: 56px; } }


/* ============================================================
   NAVIGATION  — mobile-first (hamburger default)
============================================================ */
#navbar {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 1000;
  height: var(--nav-h);
  background: transparent;
  transition: background var(--ease), box-shadow var(--ease);
}
#navbar.scrolled {
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: var(--shadow-sm);
}

.nav-inner {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 20px;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--white);
  letter-spacing: -0.01em;
  flex-shrink: 0;
  min-height: 44px;
  transition: color var(--ease);
}
.logo strong { font-weight: 800; }
.logo-icon { width: 20px; height: 20px; flex-shrink: 0; }
#navbar.scrolled .logo { color: var(--dark); }

/* Hamburger — visible by default */
.nav-toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  background: none;
  border: none;
  padding: 8px;
  flex-shrink: 0;
}
.nav-toggle span {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--white);
  border-radius: 2px;
  transition: transform var(--ease), opacity var(--ease), background var(--ease);
}
#navbar.scrolled .nav-toggle span,
#navbar.menu-open .nav-toggle span { background: var(--dark); }

.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); }

/* Mobile nav — hidden until .menu-open */
nav {
  display: none;
  position: fixed;
  top: var(--nav-h);
  left: 0; right: 0;
  background: var(--white);
  border-top: 1px solid var(--gray-200);
  box-shadow: var(--shadow);
  padding: 12px 20px 20px;
}
#navbar.menu-open nav { display: block; }

.nav-links {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.nav-links a {
  display: flex;
  align-items: center;
  min-height: 48px;
  padding: 10px 16px;
  font-size: 1rem;
  font-weight: 500;
  color: var(--gray-800);
  border-radius: 8px;
  transition: background var(--ease), color var(--ease);
}
.nav-links a:hover { background: var(--gray-100); color: var(--primary); }

.btn-demo {
  background: var(--primary) !important;
  color: var(--white) !important;
  font-weight: 700 !important;
  justify-content: center;
  margin-top: 8px;
}
.btn-demo:hover { background: var(--primary-dark) !important; color: var(--white) !important; }

/* Desktop nav — show at ≥768px, reset mobile overrides */
@media (min-width: 768px) {
  .nav-toggle { display: none; }

  nav {
    display: block !important;
    position: static;
    background: transparent;
    border: none;
    box-shadow: none;
    padding: 0;
  }

  .nav-links {
    flex-direction: row;
    align-items: center;
    gap: 2px;
  }

  .nav-links a {
    min-height: 36px;
    padding: 8px 12px;
    font-size: 0.875rem;
    color: rgba(255,255,255,0.88);
    border-radius: 8px;
  }
  .nav-links a:hover { background: rgba(255,255,255,0.12); color: var(--white); }

  #navbar.scrolled .nav-links a { color: var(--gray-800); }
  #navbar.scrolled .nav-links a:hover { background: var(--gray-100); color: var(--primary); }

  .btn-demo {
    background: var(--white) !important;
    color: var(--primary) !important;
    padding: 8px 18px !important;
    margin-top: 0 !important;
    font-size: 0.875rem;
  }
  .btn-demo:hover {
    background: var(--primary-light) !important;
    color: var(--primary) !important;
    box-shadow: 0 0 0 2px var(--primary) !important;
  }
}

@media (min-width: 1024px) {
  .nav-links a { padding: 8px 14px; font-size: 0.9rem; }
  .btn-demo { padding: 8px 20px !important; }
}


/* ============================================================
   BUTTONS
============================================================ */
.btn-primary,
.btn-outline,
.btn-price,
.btn-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 24px;
  border-radius: 10px;
  font-weight: 700;
  font-size: 0.95rem;
  font-family: inherit;
  border: 2px solid transparent;
  transition: background var(--ease), color var(--ease),
              border-color var(--ease), transform var(--ease), box-shadow var(--ease);
  cursor: pointer;
}

.btn-primary {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
}
.btn-primary:hover {
  background: var(--primary-dark);
  border-color: var(--primary-dark);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(37,99,235,.35);
  color: var(--white);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,.4);
}
.btn-outline:hover {
  background: rgba(255,255,255,.1);
  border-color: rgba(255,255,255,.7);
  color: var(--white);
}

.btn-price {
  display: block;
  width: 100%;
  text-align: center;
  background: transparent;
  color: var(--primary);
  border-color: var(--primary);
  margin-top: auto;
}
.btn-price:hover,
.pricing-card.featured .btn-price {
  background: var(--primary);
  color: var(--white);
}
.pricing-card.featured .btn-price:hover {
  background: var(--primary-dark);
  border-color: var(--primary-dark);
}

.btn-submit {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
  width: 100%;
  font-size: 1rem;
}
.btn-submit:hover:not(:disabled) {
  background: var(--primary-dark);
  border-color: var(--primary-dark);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(37,99,235,.35);
}
.btn-submit:disabled { opacity: .7; cursor: not-allowed; }


/* ============================================================
   HERO  — stacked on mobile, side-by-side at ≥900px
============================================================ */
.hero {
  background: var(--hero-bg);
  background-image: radial-gradient(ellipse at 70% 40%, rgba(37,99,235,.35) 0%, transparent 60%);
  padding-top: calc(var(--nav-h) + 40px);
  position: relative;
  overflow: hidden;
}

.hero-inner {
  display: flex;
  flex-direction: column;
  gap: 36px;
  align-items: center;
  padding-bottom: 48px;
}

/* Text block */
.hero-text { text-align: center; }

.hero-eyebrow {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #60a5fa;
  margin-bottom: 12px;
}

.hero h1 {
  font-size: clamp(1.75rem, 7vw, 3rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 10px;
}

.hero-sub {
  font-size: clamp(1rem, 3vw, 1.25rem);
  font-weight: 600;
  color: #93c5fd;
  margin-bottom: 14px;
}

.hero-desc {
  font-size: 1rem;
  color: rgba(255,255,255,.72);
  line-height: 1.7;
  margin-bottom: 28px;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
}
.hero-desc strong { color: rgba(255,255,255,.92); }

.hero-cta {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 28px;
}
.hero-cta .btn-primary,
.hero-cta .btn-outline { width: 100%; }

.app-badges {
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
}
.app-badges a {
  display: block;
  border-radius: 8px;
  overflow: hidden;
  min-height: 44px;
  transition: opacity var(--ease);
}
.app-badges a:hover { opacity: .85; }
.app-badges img { height: 40px; width: auto; }

/* Screenshot */
.hero-image {
  width: 100%;
  display: flex;
  justify-content: center;
  padding: 0 8px;
}
.hero-image img {
  width: 100%;
  max-width: 480px;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  box-shadow: 0 -4px 40px rgba(0,0,0,.4);
}

.hero-wave { line-height: 0; margin-bottom: -2px; }
.hero-wave svg { width: 100%; height: 56px; display: block; }

/* Side-by-side at ≥900px */
@media (min-width: 900px) {
  .hero { padding-top: calc(var(--nav-h) + 72px); }

  .hero-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: end;
    padding-bottom: 0;
  }

  .hero-text { text-align: left; }
  .hero-desc { margin-left: 0; margin-right: 0; max-width: none; }

  .hero-cta { flex-direction: row; }
  .hero-cta .btn-primary,
  .hero-cta .btn-outline { width: auto; }

  .app-badges { justify-content: flex-start; }

  .hero-image { padding: 0; align-items: flex-end; }
  .hero-image img { max-width: 100%; }

  .hero-wave svg { height: 80px; }
}


/* ============================================================
   FEATURES  — 1 col → 2 col (≥600) → 3 col (≥1024)
============================================================ */
.features-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

@media (min-width: 600px)  { .features-grid { grid-template-columns: repeat(2,1fr); gap: 20px; } }
@media (min-width: 1024px) { .features-grid { grid-template-columns: repeat(3,1fr); gap: 24px; } }

.feature-card {
  background: var(--gray-100);
  border-radius: var(--radius-lg);
  padding: 24px 20px;
  transition: box-shadow var(--ease), transform var(--ease);
}
@media (min-width: 768px) { .feature-card { padding: 28px 24px; } }

.feature-card:hover { box-shadow: var(--shadow); transform: translateY(-3px); }

.feature-icon {
  width: 48px;
  height: 48px;
  background: var(--primary-light);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}
.feature-icon svg { width: 24px; height: 24px; stroke: var(--primary); }

.feature-card h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 8px;
}
.feature-card p {
  font-size: 0.9rem;
  color: var(--gray-600);
  line-height: 1.65;
}


/* ============================================================
   SHOWCASE  — stacked → side-by-side (≥768)
============================================================ */
.showcase-section { background: var(--gray-100); }

.showcase-inner {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.showcase-image img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  width: 100%;
}

.showcase-text h2 {
  font-size: clamp(1.4rem, 4vw, 2.25rem);
  font-weight: 800;
  color: var(--dark);
  line-height: 1.25;
  letter-spacing: -0.01em;
  margin-bottom: 16px;
}
.showcase-text > p {
  font-size: 1rem;
  color: var(--gray-600);
  line-height: 1.7;
  margin-bottom: 24px;
}

.check-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 32px;
}
.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.95rem;
  color: var(--gray-800);
}
.check-list li::before {
  content: '';
  display: inline-block;
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  min-width: 20px;
  margin-top: 2px;
  background-color: var(--accent);
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2.5' xmlns='http://www.w3.org/2000/svg'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
  -webkit-mask-size: contain;
  -webkit-mask-repeat: no-repeat;
  mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2.5' xmlns='http://www.w3.org/2000/svg'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
  mask-size: contain;
  mask-repeat: no-repeat;
}

@media (min-width: 768px) {
  .showcase-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 56px;
    align-items: center;
  }
}
@media (min-width: 1024px) { .showcase-inner { gap: 72px; } }


/* ============================================================
   PRICING  — 1 col → 2 col (≥640) → 4 col (≥1200)
============================================================ */
.prices-section { background: var(--white); }

.pricing-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

@media (min-width: 640px) { .pricing-grid { grid-template-columns: repeat(2,1fr); } }

.pricing-card {
  background: var(--gray-100);
  border: 2px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 24px 20px;
  display: flex;
  flex-direction: column;
  transition: box-shadow var(--ease), transform var(--ease);
}
@media (min-width: 768px) { .pricing-card { padding: 28px 24px; } }

.pricing-card:hover { box-shadow: var(--shadow); transform: translateY(-3px); }

.pricing-card.featured {
  background: var(--primary);
  border-color: var(--primary);
  box-shadow: var(--shadow-lg);
}
@media (min-width: 640px) {
  .pricing-card.featured { transform: scale(1.04); }
  .pricing-card.featured:hover { transform: scale(1.04) translateY(-3px); }
}

.pricing-badge {
  display: inline-block;
  background: rgba(255,255,255,.25);
  color: var(--white);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 20px;
  margin-bottom: 14px;
  align-self: flex-start;
}

.pricing-name {
  font-size: 1rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 8px;
}
.pricing-card.featured .pricing-name { color: var(--white); }

.pricing-amount {
  display: flex;
  align-items: baseline;
  gap: 1px;
  margin-bottom: 10px;
}
.price-dollar { font-size: 1.15rem; font-weight: 700; color: var(--dark); margin-top: 5px; }
.price-num    { font-size: 2.5rem;  font-weight: 800; color: var(--dark); line-height: 1; letter-spacing: -0.03em; }
.price-cents  { font-size: 1.15rem; font-weight: 700; color: var(--dark); margin-top: 5px; }
.price-period { font-size: 0.82rem; color: var(--gray-400); margin-left: 4px; }

.pricing-card.featured .price-dollar,
.pricing-card.featured .price-num,
.pricing-card.featured .price-cents { color: var(--white); }
.pricing-card.featured .price-period { color: rgba(255,255,255,.6); }

.pricing-desc {
  font-size: 0.85rem;
  color: var(--gray-600);
  line-height: 1.5;
  margin-bottom: 18px;
}
.pricing-card.featured .pricing-desc { color: rgba(255,255,255,.75); }

.pricing-features {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-top: 16px;
  margin-bottom: 20px;
  border-top: 1px solid var(--gray-200);
}
.pricing-card.featured .pricing-features { border-color: rgba(255,255,255,.2); }

.pricing-features li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 0.875rem;
  color: var(--gray-700);
}
.pricing-features li::before {
  content: '✓';
  font-weight: 700;
  color: var(--accent);
  flex-shrink: 0;
}
.pricing-card.featured .pricing-features li { color: rgba(255,255,255,.9); }
.pricing-card.featured .pricing-features li::before { color: #6ee7b7; }


/* ============================================================
   TESTIMONIALS  — 1 col → 3 col (≥768)
============================================================ */
.testimonials-section { background: var(--gray-100); }

.testimonials-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

@media (min-width: 768px) { .testimonials-grid { grid-template-columns: repeat(3,1fr); gap: 24px; } }

.testimonial-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 24px 20px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 14px;
}
@media (min-width: 768px) { .testimonial-card { padding: 32px 28px; } }

.quote-mark {
  font-size: 3.5rem;
  line-height: 1;
  color: var(--primary);
  font-family: Georgia, serif;
  margin-bottom: -10px;
}

.testimonial-card blockquote p {
  font-size: 0.92rem;
  color: var(--gray-600);
  line-height: 1.75;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 16px;
  border-top: 1px solid var(--gray-200);
}
.author-avatar {
  width: 42px;
  height: 42px;
  min-width: 42px;
  background: var(--primary);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: .05em;
}
.testimonial-author strong {
  display: block;
  font-size: 0.9rem;
  color: var(--dark);
}
.testimonial-author span {
  font-size: 0.78rem;
  color: var(--gray-400);
}


/* ============================================================
   RENTALS CALLOUT
============================================================ */
.rentals-callout {
  background: linear-gradient(135deg, var(--hero-bg) 0%, #0f2d6b 100%);
}

.rentals-inner {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.rentals-text h2 {
  font-size: clamp(1.4rem, 4vw, 2rem);
  font-weight: 800;
  color: var(--white);
  letter-spacing: -0.01em;
  margin-bottom: 14px;
}
.rentals-text > p {
  font-size: 1rem;
  color: rgba(255,255,255,.7);
  line-height: 1.7;
  margin-bottom: 24px;
}

.rentals-features {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.rentals-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.93rem;
  font-weight: 500;
  color: rgba(255,255,255,.85);
}
.rentals-item svg { width: 20px; height: 20px; stroke: #60a5fa; flex-shrink: 0; }

@media (min-width: 1024px) {
  .rentals-inner {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 60px;
    align-items: center;
  }
}


/* ============================================================
   FAQ
============================================================ */
.faq-section { background: var(--white); }

.faq-list {
  max-width: 760px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.faq-item {
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  overflow: hidden;
  transition: box-shadow var(--ease);
}
.faq-item[open] { box-shadow: var(--shadow-sm); }

.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 20px;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--dark);
  cursor: pointer;
  list-style: none;
  min-height: 56px;
  transition: background var(--ease);
}
.faq-item summary::-webkit-details-marker { display: none; }

.faq-item summary::after {
  content: '+';
  font-size: 1.4rem;
  font-weight: 300;
  color: var(--primary);
  flex-shrink: 0;
  line-height: 1;
}
.faq-item[open] > summary { background: var(--primary-light); }
.faq-item[open] > summary::after { content: '−'; }

.faq-answer {
  padding: 16px 20px 20px;
  font-size: 0.92rem;
  color: var(--gray-600);
  line-height: 1.75;
  border-top: 1px solid var(--gray-200);
}
.faq-answer a { text-decoration: underline; }
.faq-answer strong { color: var(--dark); }

@media (min-width: 768px) {
  .faq-item summary { padding: 18px 24px; font-size: 1rem; }
  .faq-answer { padding: 18px 24px 22px; font-size: 0.95rem; }
}


/* ============================================================
   DEMO FORM
============================================================ */
.demo-section { background: var(--gray-100); }

.demo-form {
  max-width: 680px;
  margin: 0 auto;
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 28px 20px;
  box-shadow: var(--shadow);
}

@media (min-width: 640px) { .demo-form { padding: 48px; } }

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

@media (min-width: 600px) {
  .form-row { grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 20px; }
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 16px;
}
@media (min-width: 600px) { .form-group { margin-bottom: 20px; } }

label {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--gray-800);
}
.optional { font-weight: 400; color: var(--gray-400); }

input[type="text"],
input[type="email"],
input[type="tel"],
textarea {
  width: 100%;
  min-height: 48px;
  padding: 12px 16px;
  border: 2px solid var(--gray-200);
  border-radius: 8px;
  font-size: 1rem;    /* 16px prevents iOS auto-zoom */
  font-family: inherit;
  color: var(--gray-800);
  background: var(--white);
  -webkit-appearance: none;
  appearance: none;
  transition: border-color var(--ease), box-shadow var(--ease);
}
input::placeholder, textarea::placeholder { color: var(--gray-400); }
input:focus, textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(37,99,235,.12);
}
input.error, textarea.error { border-color: #ef4444; }

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

.btn-submit { margin-top: 8px; }

.form-status {
  display: none;
  margin-top: 16px;
  padding: 12px 16px;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 500;
}
.form-status.success {
  display: block;
  background: var(--accent-light);
  color: #065f46;
  border: 1px solid #6ee7b7;
}
.form-status.error {
  display: block;
  background: #fef2f2;
  color: #991b1b;
  border: 1px solid #fca5a5;
}


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

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  text-align: center;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--white);
}
.footer-brand strong { font-weight: 800; }
.footer-brand .logo-icon { width: 18px; height: 18px; }

.footer-tagline {
  font-size: 0.875rem;
  color: rgba(255,255,255,.5);
  max-width: 420px;
  line-height: 1.5;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 4px 16px;
}
.footer-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-size: 0.85rem;
  color: rgba(255,255,255,.55);
  transition: color var(--ease);
}
.footer-nav a:hover { color: var(--white); }

.copyright {
  font-size: 0.78rem;
  color: rgba(255,255,255,.3);
}


/* ============================================================
   BACK TO TOP
============================================================ */
.back-to-top {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 44px;
  height: 44px;
  background: var(--primary);
  color: var(--white);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow);
  z-index: 100;
  transition: background var(--ease), transform var(--ease);
}
.back-to-top[hidden] { display: none; }
.back-to-top:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  color: var(--white);
}
.back-to-top svg { width: 18px; height: 18px; }

@media (min-width: 768px) {
  .back-to-top { bottom: 28px; right: 28px; }
}
