/* ═══════════════════════════════════════════════════
   LOCANDA DEL RE — Design System
   Mobile-First • Premium • Dark Mode
   ═══════════════════════════════════════════════════ */

:root {
  --bg-base: #0a0b0f;
  --bg-surface: rgba(18, 20, 28, 0.7);
  --bg-surface-2: rgba(30, 33, 44, 0.5);
  --accent-gold: #D4AF37;
  --accent-gold-soft: rgba(212, 175, 55, 0.15);
  --accent-gold-hover: #F3E5AB;
  --accent-emerald: #22c55e;
  --accent-ruby: #ef4444;
  --text-primary: #f5f5f7;
  --text-secondary: #8e8e93;
  --text-tertiary: #636366;
  --glass-border: rgba(255, 255, 255, 0.06);
  --glass-border-active: rgba(255, 255, 255, 0.12);
  --glass-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.5);
  --transition-smooth: all 0.4s cubic-bezier(0.22, 1, 0.36, 1);
  --transition-bounce: all 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
  --font-display: 'Playfair Display', serif;
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --safe-area-top: env(safe-area-inset-top, 0px);
  --safe-area-bottom: env(safe-area-inset-bottom, 20px);
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 30px;
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: 16px; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font-sans);
  background-color: var(--bg-base);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Typography */
h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.2; font-weight: 600; }
.text-gold { color: var(--accent-gold); }
a { color: inherit; text-decoration: none; }

/* Utils */
.mt-4 { margin-top: 1.5rem; }
.full-width { width: 100%; }


/* ═══════════════════════════════════════════════════
   BUTTONS
   ═══════════════════════════════════════════════════ */
.btn-primary {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 1rem 1.5rem; text-decoration: none; border-radius: var(--radius-md);
  font-family: var(--font-sans); font-weight: 600; font-size: 1rem;
  transition: var(--transition-bounce); cursor: pointer; border: none;
  background: var(--accent-gold); color: #000;
  box-shadow: 0 4px 20px rgba(212, 175, 55, 0.25);
  position: relative;
}
.btn-primary:active { transform: scale(0.96); }
.btn-primary:hover { background: var(--accent-gold-hover); box-shadow: 0 6px 30px rgba(212, 175, 55, 0.35); }


/* ═══════════════════════════════════════════════════
   DYNAMIC ISLAND — Apple-style Elite UX
   ═══════════════════════════════════════════════════ */
.dynamic-island {
  position: fixed;
  top: calc(12px + var(--safe-area-top));
  left: 50%; transform: translateX(-50%);
  pointer-events: auto; cursor: pointer; z-index: 10000;
  width: 175px; height: 38px; border-radius: 20px;
  background: #000;
  display: flex; align-items: center; justify-content: center;
  /* Elite Spring Animation */
  transition:
    width 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275),
    height 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275),
    border-radius 0.4s,
    background-color 0.4s ease,
    transform 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow:
    0 10px 40px rgba(0,0,0,0.9),
    inset 0 0.5px 1px rgba(255,255,255,0.15),
    inset 0 -0.5px 1px rgba(255,255,255,0.05); /* 3D effect */
}
.dynamic-island:active { transform: translateX(-50%) scale(0.96); }

.island-default {
  position: absolute; width: 100%;
  display: flex; align-items: center; justify-content: center; gap: 8px;
  transition: opacity 0.3s ease; opacity: 1; pointer-events: none;
}
.island-brand {
  font-size: 0.82rem; font-weight: 600; color: #fff;
  letter-spacing: 0.4px;
}
.island-menu-wrapper {
  background: rgba(255,255,255,0.1); width: 22px; height: 22px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.island-menu-icon { color: #fff; }
.island-menu-icon line {
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.3s;
  transform-origin: center;
}

/* Menu Open State (Icon Morphing) */
body.menu-open .island-menu-icon .line-top {
  transform: translateY(4px) rotate(45deg);
}
body.menu-open .island-menu-icon .line-bottom {
  transform: translateY(-4px) rotate(-45deg);
}
body.menu-open .dynamic-island {
  border-color: rgba(255,255,255,0.2);
  width: 140px; /* shrinks when menu is open to focus on 'Close' intent */
}
body.menu-open .island-brand::before {
  content: 'Chiudi';
  position: absolute;
  background: #000;
  width: 100%; height: 100%;
  z-index: 10;
}

.island-content {
  position: absolute;
  display: flex; align-items: center; justify-content: center; gap: 10px;
  opacity: 0; transform: scale(0.85) translateY(4px); transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  width: 100%; pointer-events: none;
}
.island-text { font-size: 0.85rem; font-weight: 500; color: #fff; white-space: nowrap; }

/* Island State Animations */
.dynamic-island.active-loading {
  width: 220px; height: 44px;
  background: #111;
  pointer-events: none;
}
.dynamic-island.active-success {
  width: 260px; height: 46px;
  background: #000;
  box-shadow: 0 0 40px rgba(34,197,94,0.3), inset 0 0.5px 1px rgba(34,197,94,0.4); 
  pointer-events: none;
}
.dynamic-island.active-error {
  width: 260px; height: 46px;
  background: #000;
  box-shadow: 0 0 40px rgba(239,68,68,0.3), inset 0 0.5px 1px rgba(239,68,68,0.4); 
  pointer-events: none;
}

.dynamic-island[class*="active-"] .island-default { opacity: 0; }
.dynamic-island[class*="active-"] .island-content { opacity: 1; transform: scale(1) translateY(0); }


/* ═══════════════════════════════════════════════════
   BOTTOM BAR — Single Action (Solo Prenota Tavolo)
   ═══════════════════════════════════════════════════ */
.mobile-bottom-bar {
  position: fixed; bottom: 0; left: 0; width: 100%;
  padding: 0.75rem 1.25rem calc(0.75rem + var(--safe-area-bottom));
  background: linear-gradient(to top,
    rgba(10,11,15,0.98) 50%,
    rgba(10,11,15,0.8) 80%,
    transparent
  );
  z-index: 100;
  display: flex; justify-content: center;
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
}

.bottom-bar-inner {
  display: flex; gap: 10px;
  width: 100%; max-width: 420px;
}

/* Single action mode: fill the whole bar */
.bottom-bar-inner.single-action {
  max-width: 500px;
}

.btn-tab {
  flex: 1;
  display: flex; align-items: center; justify-content: center; gap: 8px;
  padding: 0.9rem 1rem;
  border-radius: var(--radius-md);
  font-family: var(--font-sans); font-weight: 600; font-size: 0.88rem;
  cursor: pointer; border: 1.5px solid var(--glass-border);
  transition: var(--transition-smooth);
  background: rgba(255,255,255,0.04);
  color: var(--text-secondary);
  white-space: nowrap;
}
.btn-tab svg { flex-shrink: 0; }

/* Full-width single gold button */
.btn-tab-full {
  font-size: 1rem;
  padding: 1rem 1.5rem;
  letter-spacing: 0.3px;
  background: var(--accent-gold) !important;
  color: #000 !important;
  border-color: var(--accent-gold) !important;
  box-shadow: 0 4px 25px rgba(212, 175, 55, 0.35), 0 2px 8px rgba(0,0,0,0.4);
}
.btn-tab-full svg { stroke: #000; }
.btn-tab-full:active {
  transform: scale(0.97);
  box-shadow: 0 2px 12px rgba(212, 175, 55, 0.25);
}

.btn-tab.active {
  background: var(--accent-gold);
  color: #000;
  border-color: var(--accent-gold);
  box-shadow: 0 4px 20px rgba(212, 175, 55, 0.3);
}
.btn-tab.active svg { stroke: #000; }

.btn-tab:not(.active):active {
  background: rgba(255,255,255,0.08);
  transform: scale(0.97);
}


/* ═══════════════════════════════════════════════════
   MOBILE MENU — Full Screen Overlay
   ═══════════════════════════════════════════════════ */
.mobile-menu {
  position: fixed; top: 0; left: 0; width: 100%; height: 100dvh;
  background: rgba(0,0,0,0.7);
  backdrop-filter: blur(30px); -webkit-backdrop-filter: blur(30px);
  z-index: 9000;
  display: flex; flex-direction: column; justify-content: center; align-items: center;
  opacity: 0; pointer-events: none; transition: opacity 0.4s;
}
.mobile-menu.active { opacity: 1; pointer-events: all; }

.mobile-nav-links-container {
  text-align: center;
  transform: translateY(20px); transition: transform 0.4s;
}
.mobile-menu.active .mobile-nav-links-container { transform: translateY(0); }

.mobile-nav-links { list-style: none; display: flex; flex-direction: column; gap: 2.2rem; }
.mobile-link {
  font-family: var(--font-display); font-size: 2rem; color: #fff;
  text-decoration: none; opacity: 0.8; transition: var(--transition-smooth);
}
.mobile-link:active { opacity: 1; color: var(--accent-gold); }

.mobile-menu-footer {
  margin-top: 3rem; padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.08);
}
.mobile-menu-action {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--accent-gold); font-weight: 500; font-size: 1rem;
  padding: 0.8rem 1.5rem;
  border: 1px solid var(--accent-gold-soft);
  border-radius: var(--radius-xl);
  transition: var(--transition-smooth);
}
.mobile-menu-action:active { background: var(--accent-gold-soft); }


/* ═══════════════════════════════════════════════════
   SECTIONS — Shared Layout
   ═══════════════════════════════════════════════════ */
.section-container { max-width: 1000px; margin: 0 auto; padding: 4rem 1.25rem; }
.section-header { text-align: center; margin-bottom: 2.5rem; }
.section-label {
  display: inline-block;
  font-size: 0.7rem; font-weight: 600; text-transform: uppercase; letter-spacing: 2px;
  color: var(--accent-gold); margin-bottom: 0.75rem;
  padding: 0.3rem 0.8rem;
  background: var(--accent-gold-soft);
  border-radius: var(--radius-xl);
}
.section-title { font-size: clamp(1.8rem, 5vw, 3rem); margin-bottom: 0.75rem; color: #fff; }
.section-subtitle {
  color: var(--text-secondary); font-size: clamp(0.9rem, 2.5vw, 1.05rem);
  max-width: 500px; margin: 0 auto; line-height: 1.6;
}
.section-divider {
  width: 40px; height: 3px; border-radius: 2px;
  background: var(--accent-gold); margin: 0.75rem auto 1rem auto;
}


/* ═══════════════════════════════════════════════════
   HERO — Full Viewport
   ═══════════════════════════════════════════════════ */
.hero {
  height: 100dvh; min-height: 600px;
  display: flex; align-items: center; justify-content: center;
  text-align: center; padding: 0 1.25rem;
  position: relative; overflow: hidden;
}

.hero-bg-glow {
  position: absolute; top: -30%; left: 50%; transform: translateX(-50%);
  width: 600px; height: 400px;
  background: radial-gradient(circle, rgba(212, 175, 55, 0.08) 0%, transparent 70%);
  pointer-events: none;
}

.hero-content { max-width: 700px; position: relative; z-index: 1; }

.badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 0.5rem 1.2rem;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-xl);
  color: var(--text-secondary); font-size: 0.75rem; font-weight: 500;
  text-transform: uppercase; letter-spacing: 1px; margin-bottom: 1.5rem;
  background: rgba(255,255,255,0.03);
}
.badge-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--accent-emerald);
  box-shadow: 0 0 8px rgba(34,197,94,0.5);
  animation: pulse-dot 2s infinite;
}
@keyframes pulse-dot {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

.hero-title {
  font-size: clamp(2.2rem, 8vw, 4rem);
  margin-bottom: 1.2rem; color: #fff;
  letter-spacing: -0.02em;
}
.hero-subtitle {
  font-size: clamp(0.95rem, 2.5vw, 1.15rem);
  color: var(--text-secondary);
  max-width: 520px; margin: 0 auto 2rem;
  line-height: 1.7;
}

.hero-chips {
  display: flex; justify-content: center; flex-wrap: wrap; gap: 0.6rem;
}
.chip {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 0.4rem 0.9rem;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: var(--radius-xl);
  font-size: 0.8rem; color: var(--text-secondary); font-weight: 500;
}

.hero-scroll-hint {
  position: absolute; bottom: 2rem; left: 50%; transform: translateX(-50%);
  color: var(--text-tertiary);
  animation: float-down 2s ease-in-out infinite;
}
@keyframes float-down {
  0%, 100% { transform: translateX(-50%) translateY(0); opacity: 0.4; }
  50% { transform: translateX(-50%) translateY(8px); opacity: 0.8; }
}


/* ═══════════════════════════════════════════════════
   HOTEL / CAMERE Section
   ═══════════════════════════════════════════════════ */
.hotel-section {
  background: linear-gradient(180deg, var(--bg-base) 0%, rgba(212,175,55,0.02) 50%, var(--bg-base) 100%);
}

.hotel-features {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin-bottom: 2rem;
}

.hotel-feature-card {
  padding: 1.5rem;
  border-radius: var(--radius-lg);
  background: linear-gradient(145deg, rgba(30, 31, 35, 0.6) 0%, rgba(20, 21, 24, 0.4) 100%);
  border: 1px solid var(--glass-border);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05), 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), border-color 0.3s;
}
.hotel-feature-card:active { 
  border-color: rgba(212,175,55,0.4); 
  transform: scale(0.98); 
}

.feature-icon {
  font-size: 2rem; margin-bottom: 0.75rem;
  display: block;
}

.hotel-feature-card h3 {
  font-family: var(--font-sans);
  font-size: 1.1rem; font-weight: 600;
  color: #fff; margin-bottom: 0.4rem;
}
.hotel-feature-card p {
  color: var(--text-secondary); font-size: 0.9rem; line-height: 1.5;
}

.hotel-cta { text-align: center; }

/* Box contatti per le camere */
.hotel-contact-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  padding: 1.5rem 1.5rem;
  border-radius: var(--radius-lg);
  background: linear-gradient(145deg, rgba(30, 31, 35, 0.7) 0%, rgba(18, 19, 22, 0.5) 100%);
  border: 1px solid var(--glass-border);
  max-width: 420px;
  margin: 0 auto;
}

.hotel-contact-text {
  color: var(--text-secondary);
  font-size: 0.95rem;
  margin: 0;
  text-align: center;
  line-height: 1.5;
}

.btn-call-hotel {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.9rem 1.8rem;
  border-radius: var(--radius-md);
  background: var(--accent-gold);
  color: #000;
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: var(--transition-bounce);
  box-shadow: 0 4px 20px rgba(212, 175, 55, 0.25);
  width: 100%;
  max-width: 280px;
}
.btn-call-hotel svg { stroke: #000; flex-shrink: 0; }
.btn-call-hotel:active {
  transform: scale(0.97);
  background: var(--accent-gold-hover);
}

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


/* ═══════════════════════════════════════════════════
   MENU SECTIONS
   ═══════════════════════════════════════════════════ */
.menu-section {
  padding-top: 2rem;
}

.menu-grid { display: grid; gap: 3rem; }

.category-title {
  font-size: 1.4rem; color: #fff; margin-bottom: 1.2rem;
  border-bottom: 1px solid var(--glass-border); padding-bottom: 0.75rem;
  font-family: var(--font-display);
}

.menu-subcategory {
  font-family: var(--font-display);
  font-size: 1.3rem;
  color: var(--accent-gold);
  margin: 1.8rem 0 0.6rem 0;
  border-bottom: 1px dashed var(--accent-gold-soft);
  padding-bottom: 0.4rem;
  letter-spacing: 0.5px;
  grid-column: 1 / -1;
}

.menu-items {
  display: grid; grid-template-columns: 1fr; gap: 0;
}

.menu-item {
  padding: 0.8rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.03);
  transition: var(--transition-smooth);
}
.menu-item:last-child { border-bottom: none; }

.item-header {
  display: flex; justify-content: space-between; align-items: baseline;
  margin-bottom: 0.3rem; gap: 1rem;
}
.item-name {
  font-size: 1rem; color: #fff;
  font-family: var(--font-sans); font-weight: 500;
}
.item-price {
  font-family: var(--font-sans);
  color: var(--accent-gold); font-size: 0.95rem;
  font-weight: 600; white-space: nowrap;
  flex-shrink: 0;
}
.item-desc {
  color: var(--text-secondary); font-size: 0.85rem; line-height: 1.45;
}

@media (min-width: 768px) {
  .menu-items { grid-template-columns: 1fr 1fr; column-gap: 2rem; }
}


/* ═══════════════════════════════════════════════════
   CONTACT SECTION
   ═══════════════════════════════════════════════════ */
.contact-card {
  border-radius: var(--radius-lg);
  background: var(--bg-surface);
  border: 1px solid var(--glass-border);
  overflow: hidden;
}
.contact-card-inner { padding: 2rem 1.25rem; }

.contact-logo {
  text-align: center; margin-bottom: 1.5rem;
  display: flex; flex-direction: column; align-items: center; gap: 0.3rem;
}
.contact-logo-icon { font-size: 2.5rem; margin-bottom: 0.3rem; display: block; }
.contact-logo strong {
  font-size: 1.4rem; color: var(--accent-gold);
  font-family: var(--font-display);
}
.contact-badge {
  font-size: 0.7rem; text-transform: uppercase; letter-spacing: 1.5px;
  color: var(--text-tertiary); font-weight: 600;
}

.contact-info-grid {
  display: grid; gap: 0;
}
.contact-info-item {
  display: flex; align-items: flex-start; gap: 0.75rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--glass-border);
  transition: var(--transition-smooth);
  text-decoration: none;
}
.contact-info-item:last-child { border-bottom: none; }
.contact-info-item:active { opacity: 0.7; }

.contact-info-item svg {
  flex-shrink: 0; color: var(--accent-gold);
  margin-top: 2px;
}
.info-label {
  display: block; font-size: 0.7rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: 1px;
  color: var(--text-tertiary); margin-bottom: 0.15rem;
}
.info-value {
  font-size: 0.95rem; color: var(--text-primary); font-weight: 400;
  line-height: 1.4;
}


/* ═══════════════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════════════ */
.site-footer {
  text-align: center;
  padding: 2rem 1.25rem calc(6rem + var(--safe-area-bottom));
  color: var(--text-tertiary);
  font-size: 0.8rem;
  border-top: 1px solid var(--glass-border);
}


/* ═══════════════════════════════════════════════════
   MODAL — Action Sheet Style
   ═══════════════════════════════════════════════════ */
.modal-overlay {
  position: fixed; top: 0; left: 0; width: 100%; height: 100dvh;
  background: rgba(0,0,0,0.6);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  z-index: 10001;
  display: flex; align-items: flex-end; justify-content: center;
  opacity: 0; pointer-events: none; transition: opacity 0.3s;
}
.modal-overlay.active { opacity: 1; pointer-events: all; }

.modal-content {
  width: 100%; max-width: 600px;
  background: #1c1c1e;
  border-top-left-radius: var(--radius-lg); border-top-right-radius: var(--radius-lg);
  padding: 1.25rem 1.25rem calc(1.25rem + var(--safe-area-bottom));
  transform: translateY(100%);
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
  max-height: 92vh; overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}
.modal-overlay.active .modal-content { transform: translateY(0); }

.modal-drag-handle {
  width: 36px; height: 4px;
  background: rgba(255,255,255,0.2); border-radius: 2px;
  margin: 0 auto 1.25rem auto;
}
.close-modal { display: none; }

.modal-header h2 {
  font-size: 1.6rem; margin-bottom: 0.25rem; color: #fff;
}
.modal-header p {
  color: var(--text-secondary); font-size: 0.85rem;
  margin-bottom: 1.25rem;
}

.form-grid { display: grid; grid-template-columns: 1fr; gap: 0.75rem; }

@media (min-width: 480px) {
  .form-grid { grid-template-columns: 1fr 1fr; }
}

.input-wrapper { position: relative; width: 100%; }
.input-wrapper input, .input-wrapper textarea {
  width: 100%;
  background: rgba(255,255,255,0.05);
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  padding: 1.3rem 1rem 0.5rem; color: #fff;
  font-size: 1rem; font-family: var(--font-sans);
  outline: none; transition: 0.2s;
  -webkit-appearance: none;
}
.input-wrapper input:focus, .input-wrapper textarea:focus {
  background: rgba(255,255,255,0.07);
  border-color: rgba(212,175,55,0.25);
}

.input-wrapper label {
  position: absolute; left: 1rem; top: 50%;
  transform: translateY(-50%);
  color: var(--text-secondary); font-size: 0.95rem;
  pointer-events: none; transition: 0.2s;
}
.input-wrapper.textarea-wrapper label {
  top: 1.3rem; transform: translateY(-50%);
}
.input-wrapper input:focus ~ label,
.input-wrapper input:not(:placeholder-shown) ~ label,
.input-wrapper textarea:focus ~ label,
.input-wrapper textarea:not(:placeholder-shown) ~ label {
  top: 0.55rem; font-size: 0.7rem; color: var(--accent-gold);
}


/* ═══════════════════════════════════════════════════
   ANIMATIONS & MICRO INTERACTIONS
   ═══════════════════════════════════════════════════ */
.fade-up-element {
  opacity: 0; transform: translateY(25px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}
.fade-up-element.visible {
  opacity: 1; transform: translateY(0);
}

.loader {
  display: none;
  width: 20px; height: 20px;
  border: 3px solid rgba(0,0,0,0.15);
  border-top-color: #000;
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
  position: absolute;
}
@keyframes spin { 100% { transform: rotate(360deg); } }

.btn-submit { position: relative; }
.btn-submit.loading .btn-text { opacity: 0; }
.btn-submit.loading .loader { display: block; }


/* ═══════════════════════════════════════════════════
   GLASS CARD utility
   ═══════════════════════════════════════════════════ */
.glass-card {
  background: var(--bg-surface);
  border: 1px solid var(--glass-border);
  box-shadow: var(--glass-shadow);
}


/* ═══════════════════════════════════════════════════
   RESPONSIVE ENHANCEMENTS
   ═══════════════════════════════════════════════════ */

/* Small phones */
@media (max-width: 374px) {
  .hero-title { font-size: 2rem; }
  .btn-tab span { font-size: 0.8rem; }
  .island-brand { font-size: 0.8rem; }
}

/* Standard mobile */
@media (max-width: 480px) {
  .section-container { padding: 3rem 1rem; }
  .contact-card-inner { padding: 1.5rem 1rem; }
}

/* Tablets and up */
@media (min-width: 768px) {
  .dynamic-island { width: 200px; height: 42px; top: 20px; border-radius: 24px; }
  .island-brand { font-size: 0.95rem; }
  .hero-title { font-size: 3.5rem; }
  .section-container { padding: 5rem 2rem; }
  .mobile-bottom-bar { justify-content: center; }
  .bottom-bar-inner { max-width: 380px; }
  .btn-tab { padding: 1rem 1.5rem; font-size: 0.95rem; }
  .contact-card-inner { padding: 2.5rem 2rem; }
}

/* Desktop */
@media (min-width: 1024px) {
  .mobile-bottom-bar { display: none; }

  /* Show desktop nav instead — optional future enhancement */
}


/* ═══════════════════════════════════════════════════
   TOUCH & HAPTIC FEEDBACK ENHANCEMENTS
   ═══════════════════════════════════════════════════ */
@media (hover: none) and (pointer: coarse) {
  /* Mobile-specific touch targets */
  .menu-item { padding: 0.9rem 0; }
  .contact-info-item { padding: 1.1rem 0; }
}

/* Reduce motion for accessibility */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
