/* ============================================================
   MY FIRST BIRD — faithful port of React/Tailwind design
   ============================================================ */

@layer base, components, utilities;

@layer base {
  :root {
    --background:         hsl(45 15% 98%);
    --foreground:         hsl(210 15% 15%);
    --card:               hsl(45 25% 96%);
    --muted:              hsl(45 15% 88%);
    --muted-foreground:   hsl(210 10% 40%);
    --border:             hsl(45 15% 80%);

    --primary:            hsl(160 40% 35%);
    --primary-foreground: hsl(0 0% 100%);
    --primary-glow:       hsl(160 40% 45%);
    --primary-dark:       hsl(160 40% 25%);

    --secondary:          hsl(15 60% 55%);
    --secondary-foreground: hsl(0 0% 100%);

    /* Gradients */
    --gradient-primary: linear-gradient(135deg, hsl(160 40% 35%) 0%, hsl(160 40% 45%) 100%);
    --gradient-hero:    linear-gradient(135deg, hsl(160 30% 25% / 0.85) 0%, hsl(15 50% 45% / 0.75) 100%);
    --gradient-card:    linear-gradient(145deg, hsl(45 25% 96% / 0.98) 0%, hsl(45 20% 94% / 0.95) 100%);

    --glass-border: hsl(45 15% 75% / 0.3);

    --shadow-soft: 0 10px 40px hsl(210 15% 15% / 0.08);
    --shadow-glow: 0 0 50px hsl(160 40% 45% / 0.25);
    --shadow-card: 0 8px 30px hsl(210 15% 15% / 0.06);
    --shadow-xl:   0 20px 60px hsl(210 15% 15% / 0.12);

    --transition-smooth: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-spring: all 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);

    --radius:    1rem;
    --radius-lg: 1.5rem;
    --radius-xl: 2rem;

    --nav-h: 4rem;
  }

  *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

  html {
    scroll-behavior: smooth;
    scroll-padding-top: var(--nav-h);
    -webkit-font-smoothing: antialiased;
  }

  body {
    font-family: "Poppins", system-ui, sans-serif;
    background: var(--background);
    color: var(--foreground);
    line-height: 1.6;
    overflow-x: hidden;
  }

  h1, h2, h3, h4, h5, h6 {
    font-family: "Poppins", system-ui, sans-serif;
    font-weight: 600;
    letter-spacing: -0.01em;
    line-height: 1.2;
  }

  img { display: block; max-width: 100%; height: auto; }
  a   { color: inherit; text-decoration: none; }
  ul  { list-style: none; }

  ::-webkit-scrollbar       { width: 8px; }
  ::-webkit-scrollbar-track { background: var(--muted); }
  ::-webkit-scrollbar-thumb { background: var(--gradient-primary); border-radius: 4px; }

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

@layer components {

  /* ── Layout ───────────────────────────────────────────────── */
  .container {
    width: min(80rem, 100%);
    margin-inline: auto;
    padding-inline: clamp(1rem, 4vw, 2rem);
  }

  /* ── Scroll-driven section reveal ────────────────────────── */
  .section-reveal {
    animation: reveal-up linear both;
    animation-timeline: view();
    animation-range: entry 0% entry 30%;
  }
  @keyframes reveal-up {
    from { opacity: 0; transform: translateY(2rem); }
    to   { opacity: 1; transform: translateY(0); }
  }

  /* ── hero-text — the green headline class used everywhere ── */
  /* Matches React: color primary-glow, weight 800, shadow      */
  .hero-text {
    color: var(--primary-glow);
    font-weight: 800;
    letter-spacing: -0.025em;
    text-shadow: 0 1px 2px hsl(0 0% 0% / 0.3);
    font-family: "Poppins", system-ui, sans-serif;
  }

  /* ── card-glass ── matches React .card-glass ─────────────── */
  .card-glass {
    background: var(--gradient-card);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    border: 1px solid var(--glass-border);
    box-shadow: var(--shadow-card);
  }

  /* ── hover-lift ─────────────────────────────────────────── */
  .hover-lift {
    transition: var(--transition-smooth);
  }
  .hover-lift:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-glow);
  }

  /* ── btn-primary ── matches React exactly ────────────────── */
  .btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    background: var(--gradient-primary);
    color: var(--primary-foreground);
    border: none;
    border-radius: var(--radius-lg);
    padding: 1rem 2rem;
    font-family: "Poppins", system-ui, sans-serif;
    font-weight: 600;
    font-size: 1rem;
    letter-spacing: -0.01em;
    cursor: pointer;
    box-shadow: var(--shadow-soft);
    transition: var(--transition-spring);
    text-decoration: none;
  }
  .btn-primary:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: var(--shadow-glow);
    filter: brightness(1.1);
  }
  .btn-primary:active { transform: translateY(-1px); }
  .btn-primary[disabled] { opacity: 0.6; cursor: not-allowed; transform: none; filter: none; }
  .btn-block { width: 100%; }

  /* ── Navigation ─────────────────────────────────────────── */
  .nav-root {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 50;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  }

  /* On scroll: floating glass pill — matches React: nav-glass rounded-2xl mx-4 mt-4 shadow-xl */
  .nav-root.nav-scrolled {
    background: hsl(45 25% 96% / 0.98);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid var(--glass-border);
    box-shadow: 0 8px 32px hsl(210 15% 15% / 0.08), var(--shadow-xl);
    border-radius: 1rem;
    margin: 1rem;
    left: 1rem;
    right: 1rem;
    overflow: hidden;
  }

  .nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: var(--nav-h);
    max-width: 80rem;
    margin-inline: auto;
    padding-inline: clamp(1rem, 3vw, 2rem);
    gap: 1rem;
  }

  /* Logo: text-only Poppins bold, green. White when over hero */
  .nav-logo {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--primary);
    flex-shrink: 0;
    transition: color 0.2s;
  }
  .nav-logo:hover { opacity: 0.8; }
  .nav-root:not(.nav-scrolled) .nav-logo { color: hsl(0 0% 100% / 0.95); }

  .nav-links-desktop {
    display: flex;
    align-items: center;
    gap: 0.25rem;
  }
  @media (max-width: 767px) { .nav-links-desktop { display: none; } }

  .nav-link {
    font-size: 0.9rem;
    font-weight: 500;
    padding: 0.5rem 0.75rem;
    border-radius: var(--radius);
    color: var(--foreground);
    transition: var(--transition-smooth);
  }
  .nav-link:hover {
    color: var(--primary);
    background: color-mix(in oklch, var(--primary), transparent 90%);
  }
  .nav-root:not(.nav-scrolled) .nav-link { color: hsl(0 0% 100% / 0.9); }
  .nav-root:not(.nav-scrolled) .nav-link:hover {
    color: #fff;
    background: hsl(0 0% 100% / 0.12);
  }

  .nav-cta-desktop { flex-shrink: 0; }
  @media (max-width: 767px) { .nav-cta-desktop { display: none; } }

  .nav-btn-call { padding: 0.6rem 1.25rem; font-size: 0.875rem; }

  .nav-hamburger {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    color: var(--foreground);
    border-radius: var(--radius);
    transition: background 0.15s;
    align-items: center;
    justify-content: center;
  }
  .nav-hamburger:hover { background: color-mix(in oklch, var(--foreground), transparent 90%); }
  .nav-root:not(.nav-scrolled) .nav-hamburger { color: hsl(0 0% 100% / 0.9); }
  @media (max-width: 767px) { .nav-hamburger { display: flex; } }

  /* Mobile menu — card-glass, slide in from right */
  .nav-mobile {
    padding: 0.5rem 1rem 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
  }
  .nav-mobile-link {
    display: block;
    padding: 0.5rem 0.75rem;
    font-size: 1rem;
    font-weight: 500;
    color: var(--foreground);
    border-radius: var(--radius);
    transition: color 0.15s;
  }
  .nav-mobile-link:hover { color: var(--primary); }
  .nav-mobile-cta { padding-top: 0.5rem; }

  /* Alpine transition helpers */
  [x-cloak] { display: none !important; }

  /* ── Hero ───────────────────────────────────────────────── */
  .hero {
    position: relative;
    min-height: 100svh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
  }

  .hero-img-wrap {
    position: absolute;
    inset: 0;
  }
  .hero-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  /* video-overlay — matches React .video-overlay */
  .video-overlay {
    position: absolute;
    inset: 0;
    background: var(--gradient-hero);
    backdrop-filter: blur(2px) saturate(1.2);
  }

  /* Extra gradient for text readability, matches React */
  .hero-gradient-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, hsl(0 0% 0% / 0.3) 0%, transparent 50%, hsl(0 0% 0% / 0.2) 100%);
    pointer-events: none;
  }

  .hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    padding-inline: clamp(1rem, 4vw, 2rem);
    max-width: 64rem;
    margin-inline: auto;
    animation: fade-in-up 0.6s ease-out both;
  }

  @keyframes fade-in-up {
    from { opacity: 0; transform: translateY(30px); }
    to   { opacity: 1; transform: translateY(0); }
  }

  /* Trust indicator pills — white bg/95, matches React */
  .hero-trust-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
  }

  .hero-trust-pill {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    background: hsl(0 0% 100% / 0.95);
    backdrop-filter: blur(4px);
    padding: 0.5rem 1rem;
    border-radius: 9999px;
    border: 1px solid color-mix(in oklch, var(--primary), transparent 80%);
    box-shadow: 0 4px 16px hsl(0 0% 0% / 0.12);
  }

  .hero-trust-pill .pill-icon { color: var(--secondary); }
  .hero-trust-pill span {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--foreground);
  }

  .hero-h1 {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 800;
    margin-bottom: 1.5rem;
    line-height: 1.05;
  }

  /* Location badge — white bg/95 pill with pulsing dot */
  .hero-location-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: hsl(0 0% 100% / 0.95);
    backdrop-filter: blur(4px);
    padding: 0.75rem 1.5rem;
    border-radius: 9999px;
    border: 1px solid color-mix(in oklch, var(--primary), transparent 80%);
    box-shadow: 0 4px 16px hsl(0 0% 0% / 0.12);
    margin-bottom: 2rem;
  }

  .hero-location-dot {
    width: 0.5rem;
    height: 0.5rem;
    background: var(--secondary);
    border-radius: 50%;
    animation: glow 2s ease-in-out infinite;
  }

  @keyframes glow {
    0%, 100% { box-shadow: 0 0 0 0 hsl(15 60% 55% / 0.4); }
    50%       { box-shadow: 0 0 0 6px hsl(15 60% 55% / 0); }
  }

  .hero-location-badge span {
    font-weight: 600;
    color: var(--foreground);
  }

  .hero-cta-row {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
    justify-content: center;
  }
  @media (min-width: 640px) { .hero-cta-row { flex-direction: row; } }

  /* Outline button — white bg/95, matches React outline variant */
  .btn-outline-white {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    background: hsl(0 0% 100% / 0.95);
    border: 2px solid hsl(0 0% 100% / 0.5);
    color: var(--foreground);
    font-family: "Poppins", system-ui, sans-serif;
    font-weight: 600;
    font-size: 1.125rem;
    padding: 1rem 2rem;
    border-radius: var(--radius-lg);
    cursor: pointer;
    box-shadow: 0 4px 16px hsl(0 0% 0% / 0.12);
    transition: var(--transition-smooth);
    text-decoration: none;
  }
  .btn-outline-white:hover {
    background: #fff;
    transform: translateY(-4px);
    box-shadow: var(--shadow-glow);
  }

  /* Scroll indicator — floating ArrowDown */
  .hero-scroll {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    translate: -50% 0;
    z-index: 20;
    color: #fff;
    background: none;
    border: none;
    cursor: pointer;
    transition: opacity 0.2s;
    animation: float 3s ease-in-out infinite;
  }
  .hero-scroll:hover { opacity: 0.8; }

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

  /* ── About ──────────────────────────────────────────────── */
  .about {
    padding: 5rem clamp(1rem, 4vw, 2rem);
  }
  .about-inner { max-width: 80rem; margin-inline: auto; }

  .about-header { text-align: center; margin-bottom: 4rem; }
  .about-header h2 { font-size: clamp(2rem, 5vw, 3.25rem); font-weight: 700; margin-bottom: 1.5rem; }
  .about-header p { font-size: 1.125rem; color: var(--muted-foreground); max-width: 48rem; margin-inline: auto; line-height: 1.7; }

  .features-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-bottom: 4rem;
  }
  @media (min-width: 768px)  { .features-grid { grid-template-columns: repeat(2, 1fr); } }
  @media (min-width: 1024px) { .features-grid { grid-template-columns: repeat(4, 1fr); } }

  /* Feature card — card-glass, centered, gradient icon */
  .feature-card {
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    text-align: center;
    cursor: pointer;
  }

  /* Icon wrap: w-16 h-16 rounded-2xl bg-gradient-to-br from-primary to-primary-glow */
  .feature-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 4rem;
    height: 4rem;
    border-radius: 1rem;
    background: linear-gradient(to bottom right, var(--primary), var(--primary-glow));
    color: #fff;
    margin-bottom: 1rem;
  }

  .feature-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--foreground);
    margin-bottom: 0.75rem;
  }
  .feature-card p { color: var(--muted-foreground); line-height: 1.7; }

  /* Story section — card-glass rounded-3xl centered */
  .story-card {
    border-radius: 1.5rem;
    padding: clamp(2rem, 5vw, 3rem);
    text-align: center;
  }

  .story-card h3 { font-size: 1.875rem; font-weight: 700; color: var(--foreground); margin-bottom: 1.5rem; }
  .story-card > p { font-size: 1.125rem; color: var(--muted-foreground); line-height: 1.7; max-width: 56rem; margin-inline: auto; margin-bottom: 2rem; }

  .story-stats {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-top: 3rem;
  }
  @media (min-width: 640px) { .story-stats { grid-template-columns: repeat(3, 1fr); } }

  .stat-number { font-size: 1.875rem; font-weight: 700; margin-bottom: 0.5rem; }
  .stat-label  { color: var(--muted-foreground); }

  /* ── Birds ──────────────────────────────────────────────── */
  .birds {
    padding: 5rem clamp(1rem, 4vw, 2rem);
    background: hsl(45 15% 88% / 0.5);
  }
  .birds-inner { max-width: 80rem; margin-inline: auto; }

  .birds-header { text-align: center; margin-bottom: 4rem; }
  .birds-header h2 { font-size: clamp(2rem, 5vw, 3.25rem); font-weight: 700; margin-bottom: 1.5rem; }
  .birds-header p { font-size: 1.125rem; color: var(--muted-foreground); max-width: 48rem; margin-inline: auto; line-height: 1.7; }

  .birds-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-bottom: 3rem;
  }
  @media (min-width: 768px)  { .birds-grid { grid-template-columns: repeat(2, 1fr); } }
  @media (min-width: 1024px) { .birds-grid { grid-template-columns: repeat(3, 1fr); } }

  /* Bird card — card-glass border-0, flex-col */
  .bird-card {
    border-radius: var(--radius-lg);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    border: none;
  }

  .bird-card-image-wrap {
    position: relative;
    aspect-ratio: 4 / 3;
    overflow: hidden;
  }

  .bird-card-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* Anchor near the top so bird heads are always in frame */
    object-position: center 15%;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  }

  .bird-card:hover .bird-card-image { transform: scale(1.05); }

  /* Availability badge — top right, color by status */
  .bird-status {
    position: absolute;
    top: 1rem;
    right: 1rem;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
  }
  .bird-status--in-stock      { background: hsl(142 72% 90%); color: hsl(142 72% 30%); }
  .bird-status--available-soon { background: hsl(48 96% 89%);  color: hsl(38 92% 35%); }
  .bird-status--out-of-stock  { background: hsl(0 0% 90%);    color: hsl(0 0% 35%); }

  /* Price — bottom left, white pill with primary text */
  .bird-price {
    position: absolute;
    bottom: 1rem;
    left: 1rem;
    background: hsl(0 0% 100% / 0.95);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    padding: 0.4rem 0.75rem;
    border-radius: 9999px;
    border: 1px solid color-mix(in oklch, var(--primary), transparent 80%);
    box-shadow: 0 4px 12px hsl(0 0% 0% / 0.1);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary);
  }

  .bird-card-body {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex: 1;
  }

  .bird-name {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--foreground);
    margin-bottom: 0.75rem;
  }

  .bird-desc {
    color: var(--muted-foreground);
    line-height: 1.7;
    margin-bottom: 1rem;
    flex: 1;
  }

  .bird-features {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
  }

  /* Feature badges — bg-primary/10 text-primary, matches React */
  .bird-feature-tag {
    font-size: 0.75rem;
    font-weight: 500;
    padding: 0.2rem 0.65rem;
    border-radius: 9999px;
    background: color-mix(in oklch, var(--primary), transparent 90%);
    color: var(--primary);
    border: none;
  }
  .bird-feature-tag:hover { background: color-mix(in oklch, var(--primary), transparent 80%); }

  /* Important notice box */
  .birds-notice {
    border-radius: 1rem;
    padding: clamp(1.5rem, 4vw, 2rem);
    text-align: center;
  }

  .birds-notice-title {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
  }

  .birds-notice-title h3 { font-size: 1.25rem; font-weight: 600; color: var(--foreground); }
  .birds-notice p { color: var(--muted-foreground); line-height: 1.7; max-width: 48rem; margin-inline: auto; }

  /* ── Contact ────────────────────────────────────────────── */
  .contact {
    padding: 5rem clamp(1rem, 4vw, 2rem);
  }
  .contact-inner { max-width: 80rem; margin-inline: auto; }

  .contact-header { text-align: center; margin-bottom: 4rem; }
  .contact-header h2 { font-size: clamp(2rem, 5vw, 3.25rem); font-weight: 700; margin-bottom: 1.5rem; }
  .contact-header p { font-size: 1.125rem; color: var(--muted-foreground); max-width: 48rem; margin-inline: auto; line-height: 1.7; }

  /* 2-col grid: info left, form right */
  .contact-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  @media (min-width: 1024px) { .contact-grid { grid-template-columns: 1fr 1fr; } }

  /* Info column */
  .contact-info { display: flex; flex-direction: column; gap: 2rem; }

  /* Visit store card */
  .store-card { border-radius: var(--radius-lg); padding: 1.5rem; }
  .store-card h3 { font-size: 1.5rem; font-weight: 700; color: var(--foreground); margin-bottom: 1.5rem; }

  .store-rows { display: flex; flex-direction: column; gap: 1.5rem; margin-bottom: 2rem; }

  .store-row { display: flex; align-items: flex-start; gap: 1rem; }

  /* Icon: p-3 rounded-xl bg-primary/10 */
  .store-icon {
    padding: 0.75rem;
    border-radius: 0.75rem;
    background: color-mix(in oklch, var(--primary), transparent 90%);
    color: var(--primary);
    flex-shrink: 0;
  }

  .store-row-text h4 { font-weight: 600; color: var(--foreground); margin-bottom: 0.25rem; }
  .store-row-text p  { color: var(--muted-foreground); line-height: 1.6; }
  .store-row-text .sub { font-size: 0.875rem; }

  .store-divider { border-top: 1px solid var(--border); margin-bottom: 1.5rem; }

  /* Quick cards */
  .quick-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
  }

  .quick-card {
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    text-align: center;
    cursor: pointer;
  }

  .quick-card-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 3rem;
    height: 3rem;
    border-radius: 0.75rem;
    margin-bottom: 1rem;
  }

  .quick-card-icon--primary { background: color-mix(in oklch, var(--primary), transparent 90%); color: var(--primary); }
  .quick-card-icon--secondary { background: color-mix(in oklch, var(--secondary), transparent 90%); color: var(--secondary); }

  .quick-card h4 { font-weight: 600; color: var(--foreground); margin-bottom: 0.5rem; }
  .quick-card p  { font-size: 0.875rem; color: var(--muted-foreground); }

  /* Form column */
  .form-card { border-radius: var(--radius-lg); padding: clamp(1.5rem, 4vw, 2rem); }
  .form-card h3 { font-size: 1.5rem; font-weight: 700; color: var(--foreground); margin-bottom: 1.5rem; }

  .contact-form { display: flex; flex-direction: column; gap: 1.5rem; }

  /* Name+Email row */
  .form-row-2 {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  @media (min-width: 640px) { .form-row-2 { grid-template-columns: 1fr 1fr; } }

  .form-group { display: flex; flex-direction: column; gap: 0.5rem; }

  .form-label { font-weight: 500; color: var(--foreground); font-size: 0.9rem; }

  .form-input {
    width: 100%;
    padding: 0.6rem 0.875rem;
    background: color-mix(in oklch, var(--background), transparent 50%);
    border: 1.5px solid var(--border);
    border-radius: var(--radius);
    color: var(--foreground);
    font-family: "Poppins", system-ui, sans-serif;
    font-size: 0.9rem;
    outline: none;
    transition: border-color 0.15s, box-shadow 0.15s;
  }
  .form-input::placeholder { color: var(--muted-foreground); }
  .form-input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px color-mix(in oklch, var(--primary), transparent 82%);
  }

  .form-textarea { resize: none; min-height: 8rem; }

  .form-note {
    padding-top: 1.5rem;
    margin-top: 1.5rem;
    border-top: 1px solid var(--border);
    text-align: center;
    font-size: 0.875rem;
    color: var(--muted-foreground);
  }

  /* ── Footer ─────────────────────────────────────────────── */
  .footer {
    background: var(--foreground);
    color: hsl(0 0% 100% / 0.8);
    padding: 3rem clamp(1rem, 4vw, 2rem);
  }
  .footer-inner { max-width: 80rem; margin-inline: auto; }

  .footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
  }
  @media (min-width: 768px) { .footer-grid { grid-template-columns: repeat(3, 1fr); } }

  /* Brand column */
  .footer-brand-name {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-glow);
    font-weight: 800;
    letter-spacing: -0.025em;
    margin-bottom: 1rem;
    display: block;
  }
  .footer-tagline { line-height: 1.7; opacity: 0.8; margin-bottom: 1rem; }

  .footer-heart-row {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    opacity: 0.6;
    font-size: 0.875rem;
  }
  .footer-heart-icon { color: var(--secondary); }

  /* Links column */
  .footer-col-title { font-size: 1.125rem; font-weight: 600; color: #fff; margin-bottom: 1rem; }

  .footer-links { display: flex; flex-direction: column; gap: 0.5rem; }
  .footer-link { opacity: 0.8; transition: opacity 0.15s; }
  .footer-link:hover { opacity: 1; }

  /* Contact column */
  .footer-contact-list { display: flex; flex-direction: column; gap: 0.75rem; }
  .footer-contact-row { display: flex; align-items: flex-start; gap: 0.75rem; }
  .footer-contact-icon { color: var(--secondary); flex-shrink: 0; margin-top: 1px; }
  .footer-contact-text { opacity: 0.8; font-size: 0.9rem; line-height: 1.5; }
  .footer-contact-link { opacity: 0.8; transition: opacity 0.15s; }
  .footer-contact-link:hover { opacity: 1; }

  /* Social media */
  .footer-social-section { margin-top: 1.5rem; padding-top: 1rem; border-top: 1px solid hsl(0 0% 100% / 0.2); }
  .footer-social-title { font-size: 0.875rem; font-weight: 600; color: #fff; margin-bottom: 0.75rem; }
  .footer-socials { display: flex; gap: 0.75rem; }
  .social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 9999px;
    background: color-mix(in oklch, var(--secondary), transparent 90%);
    color: var(--secondary);
    transition: background 0.15s;
  }
  .social-link:hover { background: color-mix(in oklch, var(--secondary), transparent 80%); }

  /* Bottom bar */
  .footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid hsl(0 0% 100% / 0.2);
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
    justify-content: space-between;
  }
  @media (min-width: 640px) { .footer-bottom { flex-direction: row; } }

  .footer-copy { font-size: 0.875rem; opacity: 0.6; }

  .footer-made-with {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    opacity: 0.6;
  }
  .footer-made-with .heart-icon { color: var(--secondary); }
}

@layer utilities {
  .visually-hidden {
    clip: rect(0 0 0 0);
    clip-path: inset(50%);
    height: 1px;
    overflow: hidden;
    position: absolute;
    white-space: nowrap;
    width: 1px;
  }
}
