/* ============================================================
   Fisher Tile LLC — Stylesheet
   Brand palette inspired by hero artwork:
     navy / teal, lake blue, sunset orange, cream, stone gray
   ============================================================ */

:root {
  --navy:       #0d2a3d;
  --navy-deep:  #081d2c;
  --teal:       #15445e;
  --lake:       #2a7aa6;
  --lake-soft:  #4a9bc8;
  --sunset:     #e8843a;
  --sunset-2:   #d65a1e;
  --cream:      #f5ecd9;
  --cream-soft: #faf5e8;
  --stone:      #c9c2b6;
  --stone-dark: #6b6760;
  --ink:        #112334;
  --white:      #ffffff;

  --shadow-sm: 0 1px 2px rgba(8, 29, 44, 0.08);
  --shadow-md: 0 8px 24px rgba(8, 29, 44, 0.12);
  --shadow-lg: 0 24px 60px rgba(8, 29, 44, 0.25);

  --radius-sm: 6px;
  --radius:    12px;
  --radius-lg: 20px;

  --maxw: 1180px;

  --font-sans:  'Inter', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  --font-disp:  'Playfair Display', Georgia, serif;

  --transition: 200ms ease;
}

/* ---------- Base ---------- */
* { box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;        /* iOS: keep text size on rotate */
  text-size-adjust: 100%;
}
body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--ink);
  background: var(--cream-soft);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: rgba(232,132,58,0.18);  /* iOS tap flash in brand orange */
  overflow-x: hidden;                                  /* prevent horizontal scroll on iPhone */
}

/* iOS: prevent input zoom-on-focus (Safari zooms when input font-size < 16px) */
input, select, textarea, button { font-size: 16px; }

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

a { color: var(--lake); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--sunset-2); }

h1, h2, h3, h4 {
  font-family: var(--font-disp);
  color: var(--navy);
  line-height: 1.15;
  margin: 0 0 0.4em;
}
h1 { font-size: clamp(2.2rem, 5vw + 1rem, 4rem); font-weight: 800; }
h2 { font-size: clamp(1.7rem, 2.4vw + 1rem, 2.6rem); font-weight: 700; }
h3 { font-size: 1.25rem; font-weight: 700; }
h4 { font-size: 1rem; letter-spacing: 0.04em; text-transform: uppercase; color: var(--navy); }

p  { margin: 0 0 1em; }

.container { max-width: var(--maxw); margin: 0 auto; padding: 0 1.25rem; }

/* Diamond tile pattern (subtle background utility) */
.diamond-pattern {
  background-image:
    linear-gradient(135deg, rgba(13,42,61,0.04) 25%, transparent 25%),
    linear-gradient(225deg, rgba(13,42,61,0.04) 25%, transparent 25%),
    linear-gradient(45deg,  rgba(13,42,61,0.04) 25%, transparent 25%),
    linear-gradient(315deg, rgba(13,42,61,0.04) 25%, transparent 25%);
  background-position: 12px 0, 12px 0, 0 0, 0 0;
  background-size: 24px 24px;
  background-repeat: repeat;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.5rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.98rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform var(--transition), background var(--transition), color var(--transition), box-shadow var(--transition);
  text-decoration: none;
  white-space: nowrap;
}
.btn-primary {
  background: var(--sunset);
  color: var(--navy-deep);
  box-shadow: var(--shadow-md);
}
.btn-primary:hover { background: var(--sunset-2); color: var(--white); transform: translateY(-2px); }
.btn-ghost {
  background: transparent;
  color: var(--cream);
  border-color: var(--cream);
}
.btn-ghost:hover { background: var(--cream); color: var(--navy); }
.btn-lg { padding: 1.05rem 2rem; font-size: 1.05rem; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(13, 42, 61, 0.95);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(245, 236, 217, 0.08);
  padding-top: env(safe-area-inset-top);            /* iPhone notch */
  padding-left: env(safe-area-inset-left);
  padding-right: env(safe-area-inset-right);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; padding: 0.85rem 1.25rem;
}
.logo {
  display: inline-flex; align-items: center; gap: 0.6rem;
  color: var(--cream); font-weight: 700; font-size: 1.25rem;
  text-decoration: none; font-family: var(--font-disp);
}
.logo-mark { color: var(--sunset); display: inline-flex; }
.logo-text em { font-style: italic; color: var(--sunset); font-weight: 700; }

.nav-list {
  display: flex; gap: 0.25rem; list-style: none; margin: 0; padding: 0;
}
.nav-list a {
  color: var(--cream); padding: 0.55rem 0.9rem; border-radius: 8px;
  font-weight: 500; font-size: 0.95rem;
}
.nav-list a:hover { background: rgba(245,236,217,0.08); color: var(--sunset); }

.header-cta {
  display: inline-flex; align-items: center; gap: 0.5rem;
  color: var(--cream); font-weight: 600;
  padding: 0.5rem 0.9rem; border-radius: 999px;
  border: 1px solid rgba(245,236,217,0.25);
}
.header-cta:hover { background: var(--sunset); color: var(--navy-deep); border-color: var(--sunset); }

.nav-toggle {
  display: none;
  background: transparent; border: 0; cursor: pointer;
  width: 40px; height: 40px; padding: 8px;
  flex-direction: column; justify-content: space-between;
}
.nav-toggle span {
  display: block; height: 2px; background: var(--cream); border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 88vh;
  display: flex; align-items: center;
  overflow: hidden;
  isolation: isolate;
  color: var(--cream);
}
.hero-bg {
  position: absolute; inset: 0;
  background:
    url('assets/hero.jpg'),
    linear-gradient(180deg, #f5b27a 0%, #e8843a 18%, #9c5a4a 38%, #2a5a78 60%, #15445e 80%, #0d2a3d 100%);
  background-size: cover, cover;
  /* Anchor right so the artwork's "FISHER TILE" wordmark stays visible as part of the hero;
     headline overlay sits on the left where the silhouette + lake provide a darker base. */
  background-position: right center, center;
  background-repeat: no-repeat;
  z-index: -2;
}
.hero-overlay {
  position: absolute; inset: 0; z-index: -1;
  /* Lighter at top so the artwork shows; darker bottom-left so headline + CTA stay readable */
  background:
    linear-gradient(180deg, rgba(8,29,44,0.10) 0%, rgba(8,29,44,0.20) 50%, rgba(8,29,44,0.55) 100%),
    linear-gradient(90deg, rgba(8,29,44,0.55) 0%, rgba(8,29,44,0.20) 45%, rgba(8,29,44,0) 70%);
}
.hero-inner {
  padding: 6rem 1.25rem 7rem;
  max-width: 820px;
}
.eyebrow {
  display: inline-block;
  font-size: 0.85rem; letter-spacing: 0.18em; text-transform: uppercase;
  font-weight: 600; color: var(--sunset);
  margin-bottom: 1rem;
}
.eyebrow-dark { color: var(--sunset-2); }
.eyebrow-light { color: var(--sunset); }

.hero-title {
  color: var(--cream);
  text-shadow: 0 2px 16px rgba(8,29,44,0.6);
  margin-bottom: 1rem;
}
.hero-title span { color: var(--sunset); display: inline-block; }
.hero-sub {
  font-size: clamp(1.05rem, 1vw + 0.9rem, 1.25rem);
  max-width: 620px; color: rgba(245,236,217,0.92);
  margin-bottom: 2rem;
}
.hero-cta { display: flex; gap: 0.85rem; flex-wrap: wrap; }
.hero-fade {
  position: absolute; left: 0; right: 0; bottom: 0; height: 80px;
  background: linear-gradient(180deg, transparent, var(--cream-soft));
  z-index: 0;
}

/* ---------- Trust Bar ---------- */
.trust-bar {
  background: var(--navy);
  color: var(--cream);
  padding: 1.25rem 0;
  border-bottom: 3px solid var(--sunset);
}
.trust-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem;
  text-align: center;
}
.trust-item {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  font-weight: 500; font-size: 0.95rem;
}
.trust-icon { color: var(--sunset); font-size: 0.85rem; }

/* ---------- Sections ---------- */
.section { padding: 5rem 0; position: relative; }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 3rem; }
.section-head h2 { margin-bottom: 0.6rem; }
.section-sub { color: var(--stone-dark); font-size: 1.05rem; }

/* ---------- Services ---------- */
.services { background: var(--cream-soft); position: relative; }
.services::before {
  content: ''; position: absolute; inset: 0;
  background-image:
    linear-gradient(135deg, rgba(13,42,61,0.025) 25%, transparent 25%),
    linear-gradient(225deg, rgba(13,42,61,0.025) 25%, transparent 25%),
    linear-gradient(45deg,  rgba(13,42,61,0.025) 25%, transparent 25%),
    linear-gradient(315deg, rgba(13,42,61,0.025) 25%, transparent 25%);
  background-position: 16px 0, 16px 0, 0 0, 0 0;
  background-size: 32px 32px;
  pointer-events: none;
}
.services > .container { position: relative; }

.cards {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.25rem;
}
.card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(13,42,61,0.06);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
  position: relative; overflow: hidden;
}
.card::before {
  content: ''; position: absolute; top: -10px; right: -10px;
  width: 40px; height: 40px;
  background: var(--sunset);
  transform: rotate(45deg);
  opacity: 0.12;
  transition: opacity var(--transition);
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(232,132,58,0.25);
}
.card:hover::before { opacity: 0.25; }
.card h3 { color: var(--navy); }
.card p { color: var(--stone-dark); margin: 0; }

/* ---------- Work / Gallery ---------- */
.work { background: var(--white); }
.gallery {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1rem;
}
.gallery-item {
  aspect-ratio: 4 / 3;
  background:
    linear-gradient(135deg, var(--teal), var(--navy)),
    var(--navy);
  border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  color: rgba(245,236,217,0.7);
  font-size: 0.9rem; font-weight: 500; letter-spacing: 0.05em;
  position: relative; overflow: hidden;
  border: 1px solid rgba(13,42,61,0.1);
}
.gallery-item::before {
  content: '◆';
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  font-size: 4rem; color: rgba(232,132,58,0.15);
}
.gallery-label {
  position: relative; z-index: 1;
  background: rgba(8,29,44,0.6);
  padding: 0.4rem 0.8rem;
  border-radius: 999px;
  font-size: 0.8rem;
}

/* ---------- Why Choose ---------- */
.why {
  background: var(--navy);
  color: var(--cream);
  position: relative;
  overflow: hidden;
}
.why::before {
  content: ''; position: absolute; inset: 0;
  background-image:
    linear-gradient(135deg, rgba(245,236,217,0.025) 25%, transparent 25%),
    linear-gradient(225deg, rgba(245,236,217,0.025) 25%, transparent 25%),
    linear-gradient(45deg,  rgba(245,236,217,0.025) 25%, transparent 25%),
    linear-gradient(315deg, rgba(245,236,217,0.025) 25%, transparent 25%);
  background-position: 20px 0, 20px 0, 0 0, 0 0;
  background-size: 40px 40px;
  pointer-events: none;
}
.why > .container { position: relative; }
.why h2 { color: var(--cream); }
.why-grid {
  display: grid; grid-template-columns: 1fr 1.2fr; gap: 3rem; align-items: start;
}
.why-copy p { color: rgba(245,236,217,0.85); font-size: 1.05rem; }
.why-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 1rem; }
.why-list li {
  background: rgba(245,236,217,0.06);
  border-left: 3px solid var(--sunset);
  border-radius: var(--radius);
  padding: 1.1rem 1.25rem;
}
.why-list strong { display: block; color: var(--cream); font-size: 1.05rem; margin-bottom: 0.25rem; }
.why-list span { color: rgba(245,236,217,0.75); font-size: 0.95rem; }

/* ---------- Process ---------- */
.process { background: var(--cream-soft); }
.steps {
  list-style: none; padding: 0; margin: 0;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 1.25rem;
  counter-reset: step;
}
.step {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 1.75rem 1.5rem;
  box-shadow: var(--shadow-sm);
  border-top: 4px solid var(--sunset);
  position: relative;
}
.step h3 { margin-top: 0.5rem; }
.step p  { color: var(--stone-dark); margin: 0; font-size: 0.95rem; }
.step-num {
  font-family: var(--font-disp);
  font-size: 2.4rem; font-weight: 800;
  color: var(--lake-soft);
  letter-spacing: -0.03em;
  display: block;
}

/* ---------- Estimate Form ---------- */
.estimate {
  background:
    linear-gradient(180deg, var(--navy-deep), var(--navy));
  color: var(--cream);
  position: relative; overflow: hidden;
}
.estimate::before {
  content: ''; position: absolute; inset: 0;
  background-image:
    linear-gradient(135deg, rgba(232,132,58,0.04) 25%, transparent 25%),
    linear-gradient(225deg, rgba(232,132,58,0.04) 25%, transparent 25%);
  background-size: 60px 60px; background-position: 30px 0, 0 0;
  pointer-events: none;
}
.estimate-wrap { position: relative; max-width: 920px; margin: 0 auto; }
.estimate h2 { color: var(--cream); }
.estimate .section-sub { color: rgba(245,236,217,0.8); }

.form {
  background: var(--cream-soft);
  color: var(--ink);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-lg);
}
.form-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.1rem;
}
.field { display: flex; flex-direction: column; gap: 0.4rem; }
.field-full { grid-column: 1 / -1; }
.field > span,
.field > legend {
  font-weight: 600; font-size: 0.92rem; color: var(--navy);
}
.field em { color: var(--sunset-2); font-style: normal; }
.field input[type="text"],
.field input[type="tel"],
.field input[type="email"],
.field input[type="file"],
.field select,
.field textarea {
  width: 100%;
  padding: 0.75rem 0.9rem;
  border: 1px solid rgba(13,42,61,0.18);
  border-radius: var(--radius-sm);
  background: var(--white);
  font-family: inherit; font-size: 1rem;
  color: var(--ink);
  transition: border-color var(--transition), box-shadow var(--transition);
}
.field textarea { resize: vertical; min-height: 120px; }
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--lake);
  box-shadow: 0 0 0 3px rgba(42,122,166,0.18);
}
.field input:user-invalid,
.field select:user-invalid,
.field textarea:user-invalid {
  border-color: #c64545;
}
.hint { font-size: 0.82rem; color: var(--stone-dark); }

.contact-pref {
  border: 1px solid rgba(13,42,61,0.12);
  border-radius: var(--radius-sm);
  padding: 0.75rem 1rem;
  display: flex; flex-wrap: wrap; gap: 1rem;
  background: var(--white);
}
.contact-pref legend { padding: 0 0.4rem; }
.radio { display: inline-flex; align-items: center; gap: 0.4rem; font-size: 0.95rem; cursor: pointer; }

.consent {
  flex-direction: row; align-items: flex-start; gap: 0.6rem;
  background: rgba(232,132,58,0.08);
  padding: 0.8rem 1rem;
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
}
.consent input { margin-top: 4px; flex-shrink: 0; }

.form button[type="submit"] { margin-top: 1.5rem; width: 100%; }
.form-status { margin-top: 1rem; font-weight: 600; text-align: center; min-height: 1.2em; }
.form-status.success { color: #2a7d4f; }
.form-status.error   { color: #c64545; }

/* Honeypot */
.hp { position: absolute; left: -9999px; top: -9999px; height: 0; overflow: hidden; }

/* ---------- Contact ---------- */
.contact { background: var(--white); }
.contact-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center;
}
.contact-card {
  background: var(--cream-soft);
  border-radius: var(--radius-lg);
  padding: 2rem;
  border: 1px solid rgba(13,42,61,0.08);
  box-shadow: var(--shadow-sm);
  position: relative; overflow: hidden;
}
.contact-card::before {
  content: '◆';
  position: absolute; top: -20px; right: -20px;
  font-size: 6rem; color: rgba(232,132,58,0.1);
}
.contact-card h3 { font-size: 1.5rem; }
.contact-name { font-weight: 600; color: var(--lake); margin-bottom: 0.5rem; }
.contact-card p { margin-bottom: 0.5rem; }
.contact-card a { font-size: 1.05rem; }
.license { font-size: 0.85rem; color: var(--stone-dark); margin-top: 0.5rem !important; }
.contact-cta { display: flex; gap: 0.75rem; flex-wrap: wrap; margin-top: 1.25rem; }
.contact-cta .btn-ghost { color: var(--navy); border-color: var(--navy); }
.contact-cta .btn-ghost:hover { background: var(--navy); color: var(--cream); }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-deep); color: var(--cream); padding-top: 3rem; }
.footer-grid {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 2rem;
  padding-bottom: 2rem;
}
.logo-footer { color: var(--cream); }
.footer-tag { color: rgba(245,236,217,0.7); font-size: 0.95rem; margin-top: 0.5rem; }
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: 0.4rem; color: rgba(245,236,217,0.78); font-size: 0.95rem; }
.footer-links a { color: rgba(245,236,217,0.78); }
.footer-links a:hover { color: var(--sunset); }
.site-footer h4 { color: var(--cream); margin-bottom: 0.8rem; }

.footer-bottom {
  border-top: 1px solid rgba(245,236,217,0.1);
  padding: 1.25rem 0;
  font-size: 0.85rem;
  color: rgba(245,236,217,0.55);
}
.footer-bottom .container { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 0.5rem; }
.footer-bottom p { margin: 0; }

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 920px) {
  .why-grid,
  .contact-grid,
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .trust-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ============================================================
   Tablet / phone (≤ 720px)
   ============================================================ */
@media (max-width: 720px) {
  /* ---- Header / nav ---- */
  .header-inner { padding: 0.7rem 1rem; }
  .logo { font-size: 1.1rem; }
  .nav-toggle { display: flex; min-width: 44px; min-height: 44px; }
  .nav-list {
    position: absolute; top: 100%; right: 0; left: 0;
    background: var(--navy-deep);
    flex-direction: column; gap: 0;
    max-height: 0; overflow: hidden;
    transition: max-height 250ms ease;
    border-top: 1px solid rgba(245,236,217,0.08);
    box-shadow: 0 12px 30px rgba(0,0,0,0.35);
  }
  .nav-list.open { max-height: 70vh; padding: 0.5rem 0; }
  .nav-list li { width: 100%; }
  .nav-list a {
    display: block; padding: 1rem 1.25rem;
    border-radius: 0; font-size: 1rem;
    border-bottom: 1px solid rgba(245,236,217,0.06);
  }
  .header-cta span { display: none; }
  .header-cta {
    padding: 0; min-width: 44px; min-height: 44px;
    border-radius: 50%;
    display: inline-flex; align-items: center; justify-content: center;
  }

  /* ---- Hero ---- */
  /* On mobile, shift the artwork so the silhouette + lake (left side)
     fills the frame and the artwork's "FISHER TILE" wordmark
     (right side of the original art) is cropped — it would otherwise
     clash with the H1. Stronger overlay also helps text legibility. */
  .hero { min-height: 88svh; min-height: 88vh; }   /* svh handles iOS Safari toolbars */
  .hero-bg {
    background-position: 22% center, center;
  }
  .hero-overlay {
    background:
      linear-gradient(180deg, rgba(8,29,44,0.40) 0%, rgba(8,29,44,0.45) 50%, rgba(8,29,44,0.85) 100%),
      linear-gradient(90deg, rgba(8,29,44,0.55) 0%, rgba(8,29,44,0.30) 60%, rgba(8,29,44,0.20) 100%);
  }
  .hero-inner {
    padding: 3rem 1.25rem 4rem;
    padding-left: max(1.25rem, env(safe-area-inset-left));
    padding-right: max(1.25rem, env(safe-area-inset-right));
  }
  .hero-title { font-size: clamp(2rem, 9vw, 2.8rem); line-height: 1.1; }
  .hero-sub { font-size: 1rem; }
  .hero-cta { flex-direction: column; align-items: stretch; gap: 0.7rem; }
  .hero-cta .btn { width: 100%; padding: 1rem 1.5rem; }
  .eyebrow { font-size: 0.75rem; letter-spacing: 0.16em; }

  /* ---- Sections ---- */
  .section { padding: 3rem 0; }
  .section-head { margin-bottom: 2rem; }
  h2 { font-size: clamp(1.5rem, 6vw, 2rem); }

  /* ---- Cards / gallery ---- */
  .cards { gap: 1rem; }
  .card { padding: 1.4rem; }
  .gallery { grid-template-columns: 1fr 1fr; gap: 0.6rem; }
  .gallery-item { font-size: 0.75rem; }
  .gallery-label { font-size: 0.7rem; padding: 0.3rem 0.6rem; }

  /* ---- Why list ---- */
  .why-list li { padding: 1rem; }

  /* ---- Process steps ---- */
  .steps { grid-template-columns: 1fr; gap: 0.8rem; }
  .step { padding: 1.4rem 1.25rem; }
  .step-num { font-size: 2rem; }

  /* ---- Form ---- */
  .form { padding: 1.25rem; border-radius: var(--radius); }
  .form-grid { grid-template-columns: 1fr; gap: 0.9rem; }
  .field input,
  .field select,
  .field textarea { padding: 0.85rem 0.9rem; font-size: 16px; }  /* iOS no-zoom */
  .contact-pref { gap: 0.75rem; padding: 0.65rem 0.85rem; }
  .radio { padding: 0.4rem 0; min-height: 32px; }
  .form button[type="submit"] { padding: 1.1rem; font-size: 1.05rem; }

  /* ---- Contact ---- */
  .contact-card { padding: 1.5rem; }
  .contact-card a { word-break: break-word; }
  .contact-cta { flex-direction: column; gap: 0.6rem; }
  .contact-cta .btn { width: 100%; }

  /* ---- Buttons (touch) ---- */
  .btn { min-height: 48px; padding: 0.9rem 1.5rem; }
  .btn-lg { min-height: 56px; }

  /* ---- Footer ---- */
  .site-footer {
    padding-bottom: env(safe-area-inset-bottom);
  }
  .footer-grid { padding: 0 1rem 2rem; }
  .footer-bottom .container { padding: 0 1rem; }
}

/* ============================================================
   Small phone (≤ 480px) — iPhone SE, iPhone mini, etc.
   ============================================================ */
@media (max-width: 480px) {
  .container { padding: 0 1rem; }
  .trust-grid { grid-template-columns: 1fr; gap: 0.5rem; }
  .trust-item { font-size: 0.9rem; padding: 0.25rem 0; }
  .footer-bottom .container { flex-direction: column; align-items: flex-start; }
  .gallery { grid-template-columns: 1fr; }
  .hero-title { font-size: clamp(1.8rem, 9vw, 2.4rem); }
  .hero-sub { font-size: 0.95rem; }
  .header-cta svg { width: 20px; height: 20px; }
  .logo-text { font-size: 1rem; }
}

/* ============================================================
   Landscape phone — keep hero usable when toolbar steals height
   ============================================================ */
@media (max-width: 920px) and (orientation: landscape) and (max-height: 500px) {
  .hero { min-height: 100svh; }
  .hero-inner { padding: 2rem 1.25rem; }
  .hero-title { font-size: 1.8rem; margin-bottom: 0.5rem; }
  .hero-sub { font-size: 0.95rem; margin-bottom: 1rem; }
  .hero-cta { flex-direction: row; }
  .hero-cta .btn { width: auto; }
}

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