/* ═══════════════════════════════════════════════════
   MIRA MODE · Stylesheet
   Brand: Gilmer font · Linen / Sand / Blush / Mineral / Midnight
   ═══════════════════════════════════════════════════ */

/* ─── FONTS ─── */
@font-face {
  font-family: 'Gilmer';
  src: url('../assets/fonts/Gilmer Light.otf') format('opentype');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Gilmer';
  src: url('../assets/fonts/Gilmer Regular.otf') format('opentype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Gilmer';
  src: url('../assets/fonts/Gilmer Medium.otf') format('opentype');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Gilmer';
  src: url('../assets/fonts/Gilmer Bold.otf') format('opentype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

/* ─── DESIGN TOKENS ─── */
:root {
  --linen:    #edebe8;
  --sand:     #d3cdc7;
  --blush:    #d6c4c1;
  --mineral:  #a5aaa5;
  --midnight: #483d43;

  --font: 'Gilmer', system-ui, sans-serif;

  --space-xs:  0.5rem;
  --space-sm:  1rem;
  --space-md:  2rem;
  --space-lg:  4rem;
  --space-xl:  7rem;

  --radius-arch: 50% 50% 0 0 / 40% 40% 0 0;
  --radius-sm:   6px;
  --radius-md:   12px;

  --transition: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  --max-width:  1200px;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

body {
  font-family: var(--font);
  font-weight: 300;
  background: var(--linen);
  color: var(--midnight);
  line-height: 1.7;
  overflow-x: hidden;
}

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

/* ─── CONTAINER ─── */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-md);
}

/* ─── SECTION BASE ─── */
.section { padding: var(--space-xl) 0; }
.section--dark  { background: var(--midnight); color: var(--linen); }
.section--sand  { background: var(--sand); }

/* ─── SECTION TYPOGRAPHY ─── */
.section-label {
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--mineral);
  margin-bottom: var(--space-sm);
}
.section-label--light { color: var(--blush); }

.section-heading {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 300;
  line-height: 1.2;
  letter-spacing: 0.04em;
  margin-bottom: var(--space-md);
}
.section-heading--light { color: var(--linen); }

.section-intro {
  font-size: 1.05rem;
  font-weight: 300;
  color: var(--mineral);
  max-width: 520px;
  margin-bottom: var(--space-lg);
}
.section-intro--light { color: var(--sand); }

.section-header { text-align: center; }
.section-header .section-intro { margin-left: auto; margin-right: auto; }

.body-text {
  font-size: 1rem;
  font-weight: 300;
  line-height: 1.85;
  color: var(--midnight);
  margin-bottom: var(--space-sm);
}
.body-text--light { color: var(--sand); }

/* ─── BUTTONS ─── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.9rem 2.2rem;
  font-family: var(--font);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  border: 1.5px solid transparent;
  border-radius: 0;
  transition: background var(--transition), color var(--transition), border-color var(--transition), transform var(--transition);
  cursor: pointer;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn-primary {
  background: var(--midnight);
  color: var(--linen);
  border-color: var(--midnight);
}
.btn-primary:hover {
  background: var(--blush);
  border-color: var(--blush);
  color: var(--midnight);
}

.btn-outline {
  background: transparent;
  color: var(--midnight);
  border-color: var(--midnight);
}
.btn-outline:hover {
  background: var(--midnight);
  color: var(--linen);
}

.btn-outline-light {
  background: transparent;
  color: var(--linen);
  border-color: var(--blush);
}
.btn-outline-light:hover {
  background: var(--blush);
  color: var(--midnight);
  border-color: var(--blush);
}

.btn-full { width: 100%; }

/* ─── REVEAL ANIMATIONS ─── */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ─── NAVIGATION ─── */
.nav-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 1.5rem 0;
  transition: background var(--transition), padding var(--transition), box-shadow var(--transition);
}
.nav-header.scrolled {
  background: rgba(237, 235, 232, 0.97);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 1rem 0;
  box-shadow: 0 1px 20px rgba(72, 61, 67, 0.06);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-md);
}

.nav-logo { display: flex; align-items: center; }
.nav-logo .logo-primary { height: 48px; width: auto; transition: opacity var(--transition); }
.logo-dark  { display: block; }
.logo-light { display: none; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 2.5rem;
}
.nav-links a {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--midnight);
  transition: color var(--transition);
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--blush);
  transition: width var(--transition);
}
.nav-links a:hover::after,
.nav-links a:focus::after { width: 100%; }

.nav-cta {
  padding: 0.6rem 1.4rem;
  border: 1.5px solid var(--midnight);
  font-size: 0.72rem !important;
  letter-spacing: 0.16em;
  transition: background var(--transition), color var(--transition), border-color var(--transition) !important;
}
.nav-cta::after { display: none !important; }
.nav-cta:hover {
  background: var(--midnight) !important;
  color: var(--linen) !important;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: 4px;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 1.5px;
  background: var(--midnight);
  transition: transform var(--transition), opacity var(--transition);
}
.nav-toggle.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* ─── HERO ─── */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--linen);
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('https://images.unsplash.com/photo-1672985354241-2112df154346?auto=format&fit=crop&w=1600&q=75');
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
}
.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to bottom, rgba(237,235,232,0.82) 0%, rgba(237,235,232,0.70) 60%, rgba(237,235,232,0.88) 100%),
    radial-gradient(ellipse 80% 60% at 70% 40%, rgba(214,196,193,0.2) 0%, transparent 70%);
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 6rem var(--space-md) var(--space-md);
  max-width: 680px;
}

.hero-eyebrow {
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--mineral);
  margin-bottom: 2rem;
  transition-delay: 0.1s;
}

.hero-headline {
  font-size: clamp(3rem, 7vw, 5.5rem);
  font-weight: 300;
  line-height: 1.1;
  letter-spacing: 0.06em;
  color: var(--midnight);
  margin-bottom: 1.8rem;
  transition-delay: 0.2s;
}

.hero-sub {
  font-size: 1.05rem;
  font-weight: 300;
  color: var(--mineral);
  line-height: 1.8;
  margin-bottom: 2.8rem;
  transition-delay: 0.3s;
}

.hero .btn { transition-delay: 0.4s; }

.hero-scroll-indicator {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}
.hero-scroll-indicator span {
  display: block;
  width: 1px;
  height: 60px;
  background: linear-gradient(to bottom, transparent, var(--mineral));
  animation: scrollPulse 2s ease-in-out infinite;
}
@keyframes scrollPulse {
  0%, 100% { opacity: 0.3; transform: scaleY(1); }
  50%       { opacity: 1;   transform: scaleY(0.7); }
}

/* ─── ARCH FRAMES ─── */
.arch-frame {
  position: relative;
  overflow: hidden;
  border-radius: 200px 200px 0 0;
}
.arch-frame--blush  { background: var(--blush); }
.arch-frame--gallery { background: var(--sand); }

.arch-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: inherit;
}
.arch-placeholder span {
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(72, 61, 67, 0.35);
}
.arch-placeholder--dark span { color: rgba(72, 61, 67, 0.4); }

/* ─── ABOUT ─── */
.about-image-wrap { width: 100%; }

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xl);
  align-items: center;
}

.about-image-wrap .arch-frame {
  width: 100%;
  padding-top: 130%;
  position: relative;
}
.about-image-wrap .arch-frame .arch-placeholder {
  position: absolute;
  inset: 0;
  min-height: unset;
}
.about-image-wrap .arch-frame img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-text { padding: var(--space-md) 0; }
.about-text .btn { margin-top: var(--space-md); }

/* ─── SERVICES ─── */
.services-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-md);
  margin-top: var(--space-lg);
}

.service-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(237, 235, 232, 0.12);
  padding: 3rem 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  transition: border-color var(--transition), background var(--transition);
  transition-delay: calc(var(--i, 0) * 0.12s);
}
.service-card:nth-child(2) { --i: 1; }
.service-card:hover {
  border-color: rgba(214, 196, 193, 0.3);
  background: rgba(214, 196, 193, 0.05);
}

.service-icon {
  width: 40px;
  height: 40px;
  color: var(--blush);
}
.service-icon svg { width: 100%; height: 100%; }

.service-title {
  font-size: 1.35rem;
  font-weight: 400;
  letter-spacing: 0.04em;
  color: var(--linen);
}

.service-desc {
  font-size: 0.95rem;
  font-weight: 300;
  color: var(--sand);
  line-height: 1.8;
}

.service-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  flex: 1;
}
.service-list li {
  font-size: 0.85rem;
  font-weight: 300;
  color: var(--mineral);
  padding-left: 1.2rem;
  position: relative;
  letter-spacing: 0.02em;
}
.service-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.65em;
  width: 5px;
  height: 1px;
  background: var(--blush);
}

/* ─── PROCESS ─── */
.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-md);
  position: relative;
  margin-top: var(--space-lg);
}

.process-steps::before {
  content: '';
  position: absolute;
  top: 1.4rem;
  left: calc(12.5% + 1rem);
  right: calc(12.5% + 1rem);
  height: 1px;
  background: linear-gradient(to right, var(--blush), var(--mineral), var(--blush));
  opacity: 0.4;
}

.process-step {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  padding: 0 0.5rem;
}
.process-step:nth-child(2) { transition-delay: 0.1s; }
.process-step:nth-child(3) { transition-delay: 0.2s; }
.process-step:nth-child(4) { transition-delay: 0.3s; }

.step-number {
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  color: var(--blush);
  width: 2.8rem;
  height: 2.8rem;
  border: 1px solid var(--blush);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--linen);
  position: relative;
  z-index: 1;
  flex-shrink: 0;
}

.step-title {
  font-size: 1.1rem;
  font-weight: 400;
  letter-spacing: 0.04em;
  color: var(--midnight);
  margin-bottom: 0.5rem;
}

.step-desc {
  font-size: 0.9rem;
  font-weight: 300;
  color: var(--mineral);
  line-height: 1.8;
}

/* ─── GALLERY ─── */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: auto auto;
  gap: 1rem;
  margin-top: var(--space-lg);
}

.gallery-item--tall {
  grid-row: span 2;
}
.gallery-item--wide {
  grid-column: span 2;
}

.arch-frame--gallery {
  width: 100%;
  padding-top: 125%;
  position: relative;
}
.arch-frame--gallery.arch-frame--sm {
  padding-top: 110%;
}
.arch-frame--gallery.arch-frame--wide {
  padding-top: 55%;
}
.arch-frame--gallery .arch-placeholder {
  position: absolute;
  inset: 0;
  min-height: unset;
}
.arch-frame--gallery img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.gallery-item:hover img { transform: scale(1.04); }

.gallery-cta {
  text-align: center;
  margin-top: var(--space-lg);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.2rem;
}
.gallery-note {
  font-size: 0.8rem;
  font-weight: 300;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--mineral);
}

/* ─── TESTIMONIALS ─── */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
  margin-top: var(--space-lg);
}

.testimonial-card {
  background: var(--sand);
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  position: relative;
  transition-delay: calc(var(--i, 0) * 0.12s);
}
.testimonial-card:nth-child(2) { --i: 1; }
.testimonial-card:nth-child(3) { --i: 2; }

.testimonial-quote {
  font-size: 4rem;
  font-weight: 300;
  color: var(--blush);
  line-height: 0.8;
  font-family: Georgia, serif;
}

.testimonial-text {
  font-size: 0.95rem;
  font-weight: 300;
  line-height: 1.85;
  color: var(--midnight);
  flex: 1;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.author-avatar {
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 50%;
  background: var(--blush);
  color: var(--midnight);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  font-weight: 500;
  flex-shrink: 0;
}
.author-name {
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: var(--midnight);
}
.author-detail {
  font-size: 0.75rem;
  font-weight: 300;
  color: var(--mineral);
  letter-spacing: 0.04em;
  margin-top: 0.15rem;
}

/* ─── CONTACT ─── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: var(--space-xl);
  align-items: start;
}

.contact-info { padding-top: var(--space-sm); }
.contact-info .section-heading { margin-bottom: var(--space-md); }
.contact-info .body-text { margin-bottom: var(--space-lg); }

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
.contact-detail { display: flex; flex-direction: column; gap: 0.3rem; }
.contact-detail-label {
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--blush);
}
.contact-detail-value {
  font-size: 0.95rem;
  font-weight: 300;
  color: var(--sand);
}

.social-links {
  display: flex;
  gap: 1.2rem;
  margin-top: 0.5rem;
}
.social-link {
  width: 2rem;
  height: 2rem;
  color: var(--sand);
  transition: color var(--transition), transform var(--transition);
}
.social-link svg { width: 100%; height: 100%; }
.social-link:hover { color: var(--blush); transform: translateY(-2px); }

.social-link--sm { width: 1.4rem; height: 1.4rem; }

/* ─── FORM ─── */
.contact-form-wrap {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(237, 235, 232, 0.1);
  padding: 3rem;
}

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

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

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

label {
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--blush);
}
label span { color: var(--mineral); }

input, select, textarea {
  background: rgba(237, 235, 232, 0.06);
  border: 1px solid rgba(237, 235, 232, 0.15);
  color: var(--linen);
  padding: 0.85rem 1rem;
  font-size: 0.9rem;
  font-weight: 300;
  outline: none;
  transition: border-color var(--transition), background var(--transition);
  border-radius: 0;
  appearance: none;
  -webkit-appearance: none;
}
input::placeholder, textarea::placeholder { color: rgba(237, 235, 232, 0.3); }
input:focus, select:focus, textarea:focus {
  border-color: var(--blush);
  background: rgba(237, 235, 232, 0.09);
}

select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23a5aaa5' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
  cursor: pointer;
}
select option { background: var(--midnight); color: var(--linen); }

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

input[type="date"]::-webkit-calendar-picker-indicator {
  filter: invert(0.5);
  cursor: pointer;
}

.form-note {
  font-size: 0.72rem;
  font-weight: 300;
  color: var(--mineral);
  text-align: center;
  letter-spacing: 0.04em;
}

.btn-loading { display: none; }
.contact-form.loading .btn-text    { display: none; }
.contact-form.loading .btn-loading { display: inline; }

.form-success {
  display: none;
  align-items: center;
  gap: 1rem;
  background: rgba(214, 196, 193, 0.1);
  border: 1px solid rgba(214, 196, 193, 0.3);
  padding: 1.2rem 1.5rem;
  color: var(--blush);
  font-size: 0.9rem;
  font-weight: 300;
}
.form-success.visible { display: flex; }
.form-success svg { width: 20px; height: 20px; flex-shrink: 0; }

/* ─── FOOTER ─── */
.footer {
  background: var(--midnight);
  color: var(--linen);
  padding: var(--space-lg) 0 0;
}

.footer-inner {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: var(--space-lg);
  padding-bottom: var(--space-lg);
  border-bottom: 1px solid rgba(237, 235, 232, 0.1);
  flex-wrap: wrap;
}

.footer-brand { display: flex; flex-direction: column; gap: 1rem; }
.footer-logo { height: 44px; width: auto; }
.footer-tagline {
  font-size: 0.72rem;
  font-weight: 300;
  letter-spacing: 0.14em;
  color: var(--mineral);
  text-transform: uppercase;
}

.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}
.footer-nav a {
  font-size: 0.78rem;
  font-weight: 300;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--sand);
  transition: color var(--transition);
}
.footer-nav a:hover { color: var(--blush); }

.footer-social { display: flex; gap: 1.2rem; align-items: center; }

.footer-bottom {
  padding: 1.5rem var(--space-md);
  text-align: center;
}
.footer-bottom p {
  font-size: 0.72rem;
  font-weight: 300;
  color: var(--mineral);
  letter-spacing: 0.06em;
}
.footer-bottom a {
  color: var(--blush);
  transition: color var(--transition);
}
.footer-bottom a:hover { color: var(--linen); }

/* ─── RESPONSIVE ─── */
@media (max-width: 1024px) {
  .about-grid {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
  }
  .about-image-wrap { max-width: 480px; margin: 0 auto; }

  .process-steps {
    grid-template-columns: 1fr 1fr;
  }
  .process-steps::before { display: none; }

  .testimonials-grid { grid-template-columns: 1fr 1fr; }
  .testimonial-card:last-child { grid-column: span 2; max-width: 480px; margin: 0 auto; }

  .contact-grid { grid-template-columns: 1fr; gap: var(--space-lg); }
}

@media (max-width: 768px) {
  :root {
    --space-xl: 5rem;
    --space-lg: 3rem;
  }

  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    bottom: 0;
    width: min(320px, 85vw);
    background: var(--linen);
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    padding: var(--space-xl) var(--space-lg);
    gap: 2rem;
    box-shadow: -4px 0 30px rgba(72, 61, 67, 0.12);
    transition: right var(--transition);
    z-index: 99;
  }
  .nav-links.open { right: 0; }
  .nav-links a { font-size: 0.9rem; }
  .nav-cta { padding: 0.8rem 2rem; }

  .nav-toggle { display: flex; z-index: 100; }

  .hero-headline { font-size: clamp(2.5rem, 10vw, 4rem); }

  .services-grid { grid-template-columns: 1fr; }

  .process-steps { grid-template-columns: 1fr; gap: 2.5rem; }
  .process-step { flex-direction: row; gap: 1.5rem; align-items: flex-start; }

  .gallery-grid {
    grid-template-columns: 1fr 1fr;
  }
  .gallery-item--tall { grid-row: span 1; }
  .gallery-item--wide { grid-column: 1 / -1; }

  .testimonials-grid { grid-template-columns: 1fr; }
  .testimonial-card:last-child { grid-column: span 1; max-width: unset; }

  .form-row { grid-template-columns: 1fr; }

  .contact-form-wrap { padding: 2rem 1.5rem; }

  .footer-inner {
    flex-direction: column;
    gap: var(--space-md);
  }
  .footer-nav { flex-direction: row; flex-wrap: wrap; gap: 1rem 1.5rem; }
}

@media (max-width: 480px) {
  .hero-content { padding-top: 7rem; }

  .gallery-grid { grid-template-columns: 1fr; }
  .gallery-item--wide { grid-column: span 1; }
  .arch-frame--gallery.arch-frame--wide { padding-top: 110%; }
}

/* ─── MOBILE NAV OVERLAY ─── */
.nav-overlay {
  position: fixed;
  inset: 0;
  background: rgba(72, 61, 67, 0.4);
  z-index: 98;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition);
  backdrop-filter: blur(4px);
}
.nav-overlay.open { opacity: 1; pointer-events: all; }

/* ─── FLATPICKR CUSTOM THEME ─── */
.flatpickr-calendar {
  background: var(--linen);
  border: 1px solid var(--sand);
  border-radius: 0;
  box-shadow: 0 12px 40px rgba(72, 61, 67, 0.14);
  font-family: var(--font);
  width: 288px;
}
.flatpickr-calendar.arrowTop::before,
.flatpickr-calendar.arrowTop::after { border-bottom-color: var(--sand); }
.flatpickr-calendar.arrowBottom::before,
.flatpickr-calendar.arrowBottom::after { border-top-color: var(--sand); }

.flatpickr-months {
  background: var(--midnight);
  padding: 0.6rem 0;
}
.flatpickr-months .flatpickr-month,
.flatpickr-current-month,
.flatpickr-current-month .cur-month,
.flatpickr-current-month input.cur-year {
  color: var(--linen);
  fill: var(--linen);
  font-family: var(--font);
  font-weight: 300;
  font-size: 0.85rem;
  letter-spacing: 0.1em;
}
.flatpickr-months .flatpickr-prev-month,
.flatpickr-months .flatpickr-next-month {
  color: var(--linen);
  fill: var(--linen);
  padding: 8px 12px;
}
.flatpickr-months .flatpickr-prev-month:hover,
.flatpickr-months .flatpickr-next-month:hover { color: var(--blush); fill: var(--blush); }
.flatpickr-months .flatpickr-prev-month svg,
.flatpickr-months .flatpickr-next-month svg { fill: inherit; }

.flatpickr-weekdays { background: var(--sand); }
span.flatpickr-weekday {
  background: var(--sand);
  color: var(--midnight);
  font-family: var(--font);
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.flatpickr-innerContainer { background: var(--linen); }
.flatpickr-days { border-left: none; border-right: none; }

.flatpickr-day {
  font-family: var(--font);
  font-weight: 300;
  font-size: 0.85rem;
  color: var(--midnight);
  border-radius: 0;
  border: 1px solid transparent;
  height: 36px;
  line-height: 34px;
  max-width: 36px;
}
.flatpickr-day:hover,
.flatpickr-day:focus {
  background: var(--blush);
  border-color: var(--blush);
  color: var(--midnight);
}
.flatpickr-day.today {
  border-color: var(--mineral);
  color: var(--midnight);
}
.flatpickr-day.today:hover { background: var(--blush); border-color: var(--blush); }
.flatpickr-day.selected,
.flatpickr-day.selected:hover {
  background: var(--midnight);
  border-color: var(--midnight);
  color: var(--linen);
}
.flatpickr-day.flatpickr-disabled,
.flatpickr-day.prevMonthDay,
.flatpickr-day.nextMonthDay {
  color: var(--mineral);
  opacity: 0.5;
}
.flatpickr-day.flatpickr-disabled:hover { background: transparent; }

.numInputWrapper span.arrowUp::after  { border-bottom-color: var(--linen); }
.numInputWrapper span.arrowDown::after { border-top-color: var(--linen); }

/* Keep the date input cursor consistent */
#wedding-date { cursor: pointer; }
