/* ============================================================
   A&A Exteriors — stylesheet
   ============================================================ */

:root {
  --navy: #1E3653;
  --navy-light: #2A4C74;
  --navy-deep: #14263B;
  --gold: #E1A730;
  --gold-light: #F0C468;
  --white: #FFFFFF;
  --black: #000000;
  --off-white: #F7F5F1;
  --ink: #1A1A1A;

  --font-head: 'Playfair Display', Georgia, serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 2rem;
  --space-lg: clamp(3rem, 6vw, 5rem);
  --space-section: clamp(5.5rem, 11vw, 8.75rem);

  --container-w: 1320px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

a { color: inherit; text-decoration: none; }

ul, ol { list-style: none; margin: 0; padding: 0; }

button { font-family: inherit; cursor: pointer; }

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

@media (min-width: 768px) {
  .container { padding: 0 3rem; }
}

/* ---------- Typography ---------- */

h1, h2, h3, h4 {
  font-family: var(--font-head);
  margin: 0;
  color: var(--navy);
  font-weight: 700;
}

.eyebrow {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 1rem;
}

.eyebrow-light { color: var(--gold-light); }

.section-title {
  font-size: clamp(2.25rem, 4vw, 3.5rem);
  line-height: 1.05;
  letter-spacing: -0.01em;
  color: var(--navy);
  max-width: 20ch;
}

.section-title-light { color: var(--white); }

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.95rem 2rem;
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border-radius: 2px;
  border: 1.5px solid transparent;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), background 0.35s var(--ease), color 0.35s var(--ease), border-color 0.35s var(--ease);
  white-space: nowrap;
}

.btn:hover, .btn:focus-visible {
  transform: translateY(-2px);
}

.btn-gold {
  background: var(--gold);
  color: var(--navy-deep);
}
.btn-gold:hover {
  background: var(--gold-light);
  box-shadow: 0 12px 24px -8px rgba(225, 167, 48, 0.55);
}

.btn-gold-pill {
  background: var(--gold);
  color: var(--navy-deep);
  border-radius: 999px;
  padding: 0.7rem 1.6rem;
}
.btn-gold-pill:hover {
  background: var(--gold-light);
  box-shadow: 0 10px 20px -8px rgba(225, 167, 48, 0.55);
}

.btn-ghost {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.55);
}
.btn-ghost:hover {
  border-color: var(--white);
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 12px 24px -10px rgba(0, 0, 0, 0.4);
}

/* ---------- Fade-up animation ---------- */

.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}
.fade-up.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================================
   NAV
   ============================================================ */

.site-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: transparent;
  transition: background 0.4s var(--ease), box-shadow 0.4s var(--ease), padding 0.4s var(--ease);
  padding: 1.25rem 0;
}

.site-nav.scrolled {
  background: rgba(30, 54, 83, 0.96);
  backdrop-filter: blur(8px);
  box-shadow: 0 8px 30px -12px rgba(0,0,0,0.4);
  padding: 0.85rem 0;
}

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

@media (min-width: 768px) {
  .nav-inner { padding: 0 3rem; }
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}
.nav-logo img { border-radius: 50%; }
.nav-logo-text {
  font-family: var(--font-head);
  color: var(--white);
  font-size: 1.05rem;
  letter-spacing: 0.02em;
  font-weight: 700;
}
.nav-logo-text em { font-style: normal; font-weight: 400; opacity: 0.85; }

.nav-links {
  display: none;
  align-items: center;
  gap: 2.25rem;
}
.nav-links a {
  color: var(--white);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  position: relative;
  padding-bottom: 4px;
}
.nav-links a::after {
  content: '';
  position: absolute;
  left: 0; bottom: 0;
  width: 0;
  height: 1px;
  background: var(--gold);
  transition: width 0.3s var(--ease);
}
.nav-links a:hover::after { width: 100%; }

.nav-cta { display: none; }

.nav-toggle {
  background: none;
  border: none;
  width: 32px;
  height: 22px;
  position: relative;
  padding: 0;
  z-index: 110;
}
.nav-toggle span {
  position: absolute;
  left: 0; right: 0;
  height: 2px;
  background: var(--white);
  transition: transform 0.35s var(--ease), opacity 0.35s var(--ease), top 0.35s var(--ease);
}
.nav-toggle span:nth-child(1) { top: 0; }
.nav-toggle span:nth-child(2) { top: 10px; }
.nav-toggle span:nth-child(3) { top: 20px; }

.nav-toggle.open span:nth-child(1) { top: 10px; transform: rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { top: 10px; transform: rotate(-45deg); }

.mobile-menu {
  position: fixed;
  inset: 0;
  background: var(--navy-deep);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2.5rem;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-12px);
  transition: opacity 0.4s var(--ease), transform 0.4s var(--ease), visibility 0.4s;
  z-index: 105;
}
.mobile-menu.open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.mobile-menu nav {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.75rem;
}
.mobile-menu nav a {
  font-family: var(--font-head);
  font-size: 2rem;
  color: var(--white);
  font-weight: 600;
}
.mobile-menu nav a:hover { color: var(--gold); }

@media (min-width: 1000px) {
  .nav-links { display: flex; }
  .nav-cta { display: inline-flex; }
  .nav-toggle { display: none; }
}

/* ============================================================
   HERO
   ============================================================ */

.hero {
  position: relative;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 25% 55%;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(20, 38, 59, 0.72) 0%, rgba(30, 54, 83, 0.54) 35%, rgba(30, 54, 83, 0.4) 55%, rgba(30, 54, 83, 0.1) 80%, transparent 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  flex: 1 1 auto;
  min-height: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding-bottom: clamp(3rem, 8vh, 5rem);
  padding-top: 8rem;
  max-width: 880px;
}

.hero-headline {
  font-size: clamp(3.2rem, 8vw, 6rem);
  line-height: 0.98;
  letter-spacing: -0.02em;
  color: var(--white);
  font-weight: 800;
  margin-bottom: 1.5rem;
  text-shadow: 0 2px 20px rgba(10, 18, 28, 0.3);
}

.hero-content .eyebrow {
  text-shadow: 0 1px 12px rgba(10, 18, 28, 0.4);
}

.hero-sub {
  font-size: clamp(1rem, 1.4vw, 1.2rem);
  font-weight: 300;
  color: rgba(255,255,255,0.88);
  max-width: 46ch;
  line-height: 1.6;
  margin-bottom: 2.5rem;
  text-shadow: 0 1px 12px rgba(10, 18, 28, 0.25);
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.hero-quicklinks {
  position: relative;
  z-index: 2;
  flex: 0 0 auto;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
}

.hero-quicklinks-inner {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: safe center;
  gap: 1.5rem;
  padding: 1.1rem 1.5rem;
  margin: 0;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.hero-quicklinks-inner::-webkit-scrollbar { display: none; }

@media (min-width: 768px) {
  .hero-quicklinks-inner { padding: 1.25rem 3rem; }
}
@media (min-width: 1100px) {
  .hero-quicklinks-inner { flex-wrap: wrap; overflow-x: visible; gap: 0.6rem 2.25rem; }
}

.hero-quicklinks li {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.85);
  white-space: nowrap;
  position: relative;
  padding-left: 1.6rem;
}
.hero-quicklinks li:first-child { padding-left: 0; }
.hero-quicklinks li::before {
  content: '';
  position: absolute;
  left: 0.7rem;
  top: 50%;
  transform: translateY(-50%);
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--gold);
}
.hero-quicklinks li:first-child::before { display: none; }

/* ============================================================
   SERVICES
   ============================================================ */

.services {
  background: var(--white);
  padding-top: clamp(2.5rem, 5vw, 4rem);
  padding-bottom: var(--space-section);
}

.services-head { margin-bottom: var(--space-lg); }

.fence-banner {
  position: relative;
  display: block;
  height: clamp(320px, 42vw, 460px);
  margin: 0 auto var(--space-lg);
  max-width: var(--container-w);
  overflow: hidden;
}

@media (min-width: 1400px) {
  .fence-banner { margin-left: 3rem; margin-right: 3rem; }
}

.fence-banner img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease);
}
.fence-banner:hover img { transform: scale(1.045); }

.fence-banner-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, rgba(20,38,59,0.94) 0%, rgba(30,54,83,0.78) 45%, rgba(30,54,83,0.35) 100%);
}

.fence-banner-content {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 2.5rem 2rem;
  max-width: 640px;
}

@media (min-width: 768px) {
  .fence-banner-content { padding: 3rem 4rem; }
}

.fence-banner-content h3 {
  color: var(--white);
  font-size: clamp(1.9rem, 4vw, 3rem);
  line-height: 1.08;
  margin-bottom: 1.25rem;
  max-width: 14ch;
}

.fence-banner-link {
  color: var(--gold-light);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}
.fence-banner-link i { font-style: normal; transition: transform 0.3s var(--ease); }
.fence-banner:hover .fence-banner-link i { transform: translateX(6px); }

.service-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
}

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

.service-item {
  border-top: 2px solid var(--gold);
  padding: 1.75rem 1.5rem 1.75rem 0;
  transition-delay: calc(var(--d) * 50ms);
}

.service-item h4 {
  font-size: 1.25rem;
  margin-bottom: 0.6rem;
  color: var(--navy);
}

.service-item p {
  font-size: 0.9rem;
  color: #5b6470;
  line-height: 1.55;
  margin: 0;
}

/* ============================================================
   STATS
   ============================================================ */

.stats {
  background: var(--navy);
  background-image:
    repeating-linear-gradient(135deg, rgba(255,255,255,0.025) 0px, rgba(255,255,255,0.025) 1px, transparent 1px, transparent 42px);
  padding: var(--space-section) 0;
  position: relative;
}

.stats-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.75rem;
  text-align: left;
}

@media (min-width: 640px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1000px) {
  .stats-grid { grid-template-columns: repeat(4, 1fr); gap: 0; }
}

.stat {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding: 0 2rem 0 0;
  position: relative;
}

@media (min-width: 1000px) {
  .stat { border-left: 1px solid rgba(255,255,255,0.12); padding-left: 2.25rem; }
  .stat:first-child { border-left: none; padding-left: 0; }
}

.stat-number {
  font-family: var(--font-head);
  font-size: clamp(2.25rem, 4.2vw, 4rem);
  font-weight: 800;
  color: var(--gold);
  line-height: 1.05;
}

.stat-text { font-size: clamp(1.5rem, 2.6vw, 2.15rem); font-weight: 700; }

.stat-label {
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.75);
  font-weight: 500;
}

/* ============================================================
   GALLERY
   ============================================================ */

.gallery {
  background: var(--white);
  padding: var(--space-section) 0;
}

.gallery-head { margin-bottom: var(--space-lg); }

.spotlights {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.spotlight {
  position: relative;
  display: block;
  width: 100%;
  height: clamp(280px, 34vw, 380px);
  overflow: hidden;
  cursor: pointer;
  border: none;
  padding: 0;
  margin: 0;
  text-align: left;
  background: none;
  font-family: inherit;
  border-radius: 2px;
}

.spotlight img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease);
}
.spotlight:hover img,
.spotlight:focus-visible img { transform: scale(1.045); }

.spotlight-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, rgba(20, 38, 59, 0.94) 0%, rgba(30, 54, 83, 0.78) 42%, rgba(30, 54, 83, 0.3) 100%);
}

.spotlight-body {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 2rem;
  max-width: 560px;
}

@media (min-width: 768px) {
  .spotlight-body { padding: 2.25rem 3rem; }
}

.spotlight-title {
  display: block;
  font-family: var(--font-head);
  font-weight: 700;
  color: var(--white);
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  line-height: 1.12;
  margin: 0.5rem 0 0.6rem;
}

.spotlight-desc {
  display: block;
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.92rem;
  line-height: 1.55;
  max-width: 46ch;
  margin-bottom: 1rem;
}

.spotlight-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--gold-light);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.spotlight-link i {
  font-style: normal;
  transition: transform 0.3s var(--ease);
}
.spotlight:hover .spotlight-link i,
.spotlight:focus-visible .spotlight-link i { transform: translateX(6px); }

.spotlight:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: -2px;
}

/* ---------- Lightbox ---------- */

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(10, 16, 24, 0.96);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s var(--ease), visibility 0.35s;
}
.lightbox.open { opacity: 1; visibility: visible; }

.lightbox-img {
  max-width: min(90vw, 1200px);
  max-height: 78vh;
  object-fit: contain;
  box-shadow: 0 30px 80px -20px rgba(0,0,0,0.6);
}

.lightbox-caption {
  color: rgba(255,255,255,0.8);
  font-size: 0.9rem;
  margin-top: 1.25rem;
  letter-spacing: 0.02em;
  text-align: center;
  padding: 0 1.5rem;
}

.lightbox-counter {
  color: var(--gold-light);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-top: 0.6rem;
}

.lightbox.single .lightbox-nav { display: none; }

.lightbox-close {
  position: absolute;
  top: 1.5rem;
  right: 1.75rem;
  background: none;
  border: none;
  color: var(--white);
  font-size: 2.25rem;
  line-height: 1;
  font-weight: 300;
}

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.2);
  color: var(--white);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  font-size: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s var(--ease), transform 0.3s var(--ease);
}
.lightbox-nav:hover { background: rgba(225,167,48,0.85); transform: translateY(-50%) scale(1.06); }
.lightbox-prev { left: 1.25rem; }
.lightbox-next { right: 1.25rem; }

@media (max-width: 640px) {
  .lightbox-nav { width: 40px; height: 40px; font-size: 1.2rem; }
}

/* ============================================================
   ABOUT
   ============================================================ */

.about {
  background: var(--off-white);
  padding: var(--space-section) 0;
  overflow: hidden;
}

.about-content {
  max-width: 640px;
  margin: 0 auto;
  text-align: center;
}

.about-content .section-title {
  max-width: none;
}

.about-body {
  font-size: 1.05rem;
  line-height: 1.75;
  color: #4a5361;
  margin: 1.5rem auto 2rem;
}

.signature {
  font-family: var(--font-head);
  font-style: italic;
  font-size: 1.6rem;
  color: var(--navy);
  border-top: 1px solid var(--gold);
  padding-top: 1.25rem;
  display: inline-block;
}

/* ============================================================
   TESTIMONIALS
   ============================================================ */

.testimonials {
  background: var(--navy-deep);
  padding: var(--space-section) 0;
  position: relative;
}

.testimonials .section-title { max-width: none; margin-bottom: var(--space-lg); }

.testimonial-track {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 900px) {
  .testimonial-track { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 899px) {
  .testimonial-track {
    grid-auto-flow: column;
    grid-auto-columns: 85%;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding-bottom: 0.5rem;
  }
  .testimonial-card { scroll-snap-align: start; }
}

.testimonial-card {
  background: var(--navy-light);
  padding: 2.75rem 2.25rem 2.25rem;
  border-radius: 4px;
  position: relative;
}

.quote-mark {
  font-family: var(--font-head);
  font-size: 4rem;
  color: var(--gold);
  line-height: 1;
  display: block;
  margin-bottom: 0.5rem;
}

.testimonial-text {
  color: rgba(255,255,255,0.9);
  font-size: 1.02rem;
  line-height: 1.65;
  margin-bottom: 1.75rem;
}

.testimonial-name {
  color: var(--white);
  font-weight: 600;
  margin: 0;
  font-size: 0.95rem;
}

.testimonial-city {
  color: var(--gold-light);
  font-size: 0.8rem;
  letter-spacing: 0.04em;
  margin: 0.2rem 0 0;
}

/* ============================================================
   CONTACT
   ============================================================ */

.contact { background: var(--white); }

.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
}

@media (min-width: 900px) {
  .contact-grid { grid-template-columns: 1fr 1fr; min-height: 640px; }
}

.contact-info {
  background: var(--navy);
  display: flex;
  align-items: center;
  padding: var(--space-section) 1.5rem;
}

@media (min-width: 768px) { .contact-info { padding: var(--space-section) 4rem; } }

.contact-info-inner { max-width: 420px; }

.contact-heading {
  color: var(--white);
  font-size: clamp(2.5rem, 4.5vw, 3.75rem);
  line-height: 1.05;
  margin-bottom: 2.5rem;
}

.contact-detail {
  margin-bottom: 1.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid rgba(255,255,255,0.14);
}

.contact-label {
  display: block;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 0.4rem;
}

.contact-detail a {
  color: var(--white);
  font-size: 1.15rem;
  font-weight: 500;
}
.contact-detail a:hover { color: var(--gold-light); }

.contact-tag {
  color: rgba(255,255,255,0.65);
  font-size: 0.9rem;
  margin-top: 2rem;
}

.contact-form-wrap {
  background: var(--white);
  padding: var(--space-section) 1.5rem;
  display: flex;
  align-items: center;
  position: relative;
}

@media (min-width: 768px) { .contact-form-wrap { padding: var(--space-section) 4rem; } }

.contact-form { width: 100%; max-width: 480px; margin: 0 auto; }

.hp-field { position: absolute; left: -9999px; }

.form-row {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.form-row label {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--navy);
}

.form-row input,
.form-row select,
.form-row textarea {
  font-family: var(--font-body);
  font-size: 1rem;
  padding: 0.85rem 1rem;
  border: 1.5px solid #dde1e6;
  border-radius: 2px;
  background: var(--off-white);
  color: var(--ink);
  transition: border-color 0.3s var(--ease), background 0.3s var(--ease);
}

.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
  outline: none;
  border-color: var(--gold);
  background: var(--white);
}

.form-row.has-error input,
.form-row.has-error select,
.form-row.has-error textarea {
  border-color: #c0392b;
}

.field-error {
  display: none;
  font-size: 0.78rem;
  color: #c0392b;
}
.form-row.has-error .field-error { display: block; }

.form-submit { width: 100%; margin-top: 0.5rem; }

.form-success {
  display: none;
  text-align: center;
  max-width: 420px;
  margin: 0 auto;
}
.form-success.visible { display: block; }
.form-success h3 { margin-bottom: 0.75rem; }
.form-success p { color: #5b6470; line-height: 1.6; }

.contact-form.hidden { display: none; }

/* ============================================================
   FOOTER
   ============================================================ */

.site-footer {
  background: var(--navy-deep);
  border-top: 2px solid var(--gold);
  padding: 3.5rem 0 2.5rem;
}

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

@media (min-width: 900px) {
  .footer-inner { flex-direction: row; justify-content: space-between; text-align: left; }
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.footer-logo img { border-radius: 50%; }
.footer-logo span {
  font-family: var(--font-head);
  color: var(--white);
  font-size: 1.05rem;
}
.footer-logo span em { font-style: normal; opacity: 0.8; font-weight: 400; }

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem;
}
.footer-nav a {
  color: rgba(255,255,255,0.75);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.footer-nav a:hover { color: var(--gold); }

.footer-email {
  color: var(--gold-light);
  font-size: 0.9rem;
}

.footer-fine {
  color: rgba(255,255,255,0.45);
  font-size: 0.78rem;
  margin: 0;
  width: 100%;
}

@media (min-width: 900px) {
  .footer-fine { width: auto; }
}
