/* ============================================
   Maria Mondragon, Realtor — Custom Styles
   ============================================ */

/* Reset & Base */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  line-height: 1.6;
  color: #1e3a5f;
  background-color: #fefdfb;
  overflow-x: hidden;
}

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

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

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

/* Utility */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link:focus {
  z-index: 50;
  outline: 2px solid #c8a45e;
  outline-offset: 2px;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ============================================
   Navigation
   ============================================ */
#navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(254, 253, 251, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(30, 58, 95, 0.06);
  transition: box-shadow 0.3s ease, background 0.3s ease;
}

#navbar.nav-scrolled {
  box-shadow: 0 2px 24px rgba(30, 58, 95, 0.08);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #1e3a5f;
  text-decoration: none;
}

.nav-logo-text {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.2;
}

.nav-logo-sub {
  display: none;
  font-size: 0.7rem;
  font-weight: 400;
  color: #3a6498;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.nav-toggle {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  z-index: 1001;
}

.nav-toggle-line {
  display: block;
  width: 24px;
  height: 2px;
  background: #1e3a5f;
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-line:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-line:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-line:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 8px;
  list-style: none;
}

.nav-link {
  padding: 8px 16px;
  font-size: 0.875rem;
  font-weight: 500;
  color: #1e3a5f;
  border-radius: 8px;
  transition: background 0.2s ease, color 0.2s ease;
}

.nav-link:hover {
  background: rgba(30, 58, 95, 0.06);
  color: #1e3a5f;
}

.nav-link-cta {
  background: #1e3a5f;
  color: #faf4e3 !important;
  margin-left: 8px;
}

.nav-link-cta:hover {
  background: #2a4f7f;
}

/* Mobile Nav */
@media (max-width: 767px) {
  .nav-logo-sub {
    display: block;
  }

  .nav-toggle {
    display: flex;
  }

  .nav-menu {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: min(320px, 85vw);
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding: 88px 24px 32px;
    background: #fefdfb;
    border-left: 1px solid rgba(30, 58, 95, 0.08);
    transform: translateX(100%);
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    overflow-y: auto;
  }

  .nav-menu.open {
    transform: translateX(0);
  }

  .nav-link {
    padding: 14px 16px;
    font-size: 1rem;
    border-radius: 10px;
  }

  .nav-link-cta {
    margin-left: 0;
    margin-top: 12px;
    text-align: center;
  }

  .nav-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(13, 31, 60, 0.4);
    z-index: 999;
  }

  .nav-overlay.visible {
    display: block;
  }
}

@media (min-width: 768px) {
  .nav-toggle {
    display: none;
  }
}

/* ============================================
   Buttons
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  font-size: 0.938rem;
  font-weight: 600;
  border-radius: 12px;
  transition: all 0.25s ease;
  white-space: nowrap;
}

.btn-primary {
  background: #1e3a5f;
  color: #faf4e3;
  border: 2px solid #1e3a5f;
}

.btn-primary:hover {
  background: #2a4f7f;
  border-color: #2a4f7f;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(30, 58, 95, 0.25);
}

.btn-outline {
  background: transparent;
  color: #1e3a5f;
  border: 2px solid rgba(30, 58, 95, 0.25);
}

.btn-outline:hover {
  border-color: #1e3a5f;
  background: rgba(30, 58, 95, 0.04);
  transform: translateY(-2px);
}

.btn-light {
  background: #faf4e3;
  color: #1e3a5f;
  border: 2px solid #faf4e3;
}

.btn-light:hover {
  background: #f5e8c4;
  border-color: #f5e8c4;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(200, 164, 94, 0.3);
}

.btn-ghost-light {
  background: transparent;
  color: #1e3a5f;
  border: 2px solid rgba(30, 58, 95, 0.2);
}

.btn-ghost-light:hover {
  border-color: #1e3a5f;
  background: rgba(250, 244, 227, 0.5);
  transform: translateY(-2px);
}

.btn-full {
  width: 100%;
  justify-content: center;
}

/* ============================================
   Hero Section
   ============================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, #fefdfb 0%, #faf3e0 50%, #f5e8d0 100%);
  overflow: hidden;
  padding: 100px 0 60px;
}

.hero-bg-pattern {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(ellipse 60% 50% at 80% 50%, rgba(200, 164, 94, 0.08) 0%, transparent 70%),
    radial-gradient(ellipse 40% 40% at 10% 80%, rgba(30, 58, 95, 0.04) 0%, transparent 60%);
  pointer-events: none;
}

.hero-container {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  width: 100%;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: rgba(200, 164, 94, 0.15);
  border: 1px solid rgba(200, 164, 94, 0.3);
  border-radius: 100px;
  font-size: 0.813rem;
  font-weight: 600;
  color: #8a6914;
  letter-spacing: 0.02em;
  margin-bottom: 24px;
}

.hero-headline {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(2.25rem, 5vw, 3.75rem);
  font-weight: 600;
  line-height: 1.1;
  color: #0d1f3c;
  margin-bottom: 24px;
  letter-spacing: -0.02em;
}

.hero-headline-accent {
  color: #c8a45e;
  font-style: italic;
}

.hero-description {
  font-size: 1.125rem;
  line-height: 1.75;
  color: #3a6498;
  margin-bottom: 36px;
  max-width: 520px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 48px;
}

.hero-stats {
  display: flex;
  gap: 24px;
  align-items: center;
}

.hero-stat {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.hero-stat-number {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 2rem;
  font-weight: 700;
  color: #1e3a5f;
  line-height: 1;
}

.hero-stat-label {
  font-size: 0.75rem;
  font-weight: 500;
  color: #3a6498;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.hero-stat-divider {
  width: 1px;
  height: 40px;
  background: rgba(30, 58, 95, 0.15);
}

/* Hero Images */
.hero-image-wrap {
  position: relative;
  height: 600px;
}

.hero-image-main {
  width: 100%;
  height: 100%;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 24px 64px rgba(30, 58, 95, 0.15);
}

.hero-image-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-image-accent {
  position: absolute;
  bottom: -20px;
  left: -40px;
  width: 200px;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 12px 32px rgba(30, 58, 95, 0.12);
  border: 4px solid #fefdfb;
}

.hero-image-accent img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-floating-card {
  position: absolute;
  top: 40px;
  right: -20px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 20px;
  background: #1e3a5f;
  color: #faf4e3;
  border-radius: 14px;
  font-size: 0.875rem;
  font-weight: 500;
  box-shadow: 0 12px 32px rgba(30, 58, 95, 0.25);
  animation: float 4s ease-in-out infinite;
}

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

/* Hero responsive */
@media (max-width: 991px) {
  .hero {
    padding: 100px 0 60px;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .hero-image-wrap {
    height: 450px;
    max-width: 500px;
    margin: 0 auto;
  }

  .hero-image-accent {
    left: -20px;
    width: 160px;
  }

  .hero-floating-card {
    right: -10px;
  }

  .hero-stats {
    gap: 20px;
  }
}

@media (max-width: 480px) {
  .hero {
    padding: 90px 0 40px;
  }

  .hero-image-wrap {
    height: 350px;
  }

  .hero-actions {
    flex-direction: column;
  }

  .hero-actions .btn {
    justify-content: center;
  }

  .hero-stats {
    flex-wrap: wrap;
    gap: 16px;
  }

  .hero-stat-divider {
    display: none;
  }
}

/* ============================================
   Section Shared Styles
   ============================================ */
.section {
  padding: 100px 0;
}

.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 64px;
}

.section-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #c8a45e;
  margin-bottom: 12px;
}

.section-title {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 600;
  color: #0d1f3c;
  line-height: 1.2;
  margin-bottom: 16px;
  letter-spacing: -0.01em;
}

.section-title-light {
  color: #faf4e3;
}

.section-description,
.section-desc-light {
  font-size: 1.063rem;
  line-height: 1.75;
  color: #3a6498;
}

.section-desc-light {
  color: rgba(250, 244, 227, 0.75);
}

/* ============================================
   Services Section
   ============================================ */
.services {
  background: #fefdfb;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.service-card {
  background: #fdf8ef;
  border: 1px solid rgba(200, 164, 94, 0.15);
  border-radius: 20px;
  padding: 36px 28px;
  transition: all 0.3s ease;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(30, 58, 95, 0.08);
  border-color: rgba(200, 164, 94, 0.3);
  background: #fefdfb;
}

.service-icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(30, 58, 95, 0.06);
  border-radius: 14px;
  color: #1e3a5f;
  margin-bottom: 20px;
  transition: background 0.3s ease;
}

.service-card:hover .service-icon {
  background: #1e3a5f;
  color: #faf4e3;
}

.service-title {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.375rem;
  font-weight: 600;
  color: #0d1f3c;
  margin-bottom: 10px;
}

.service-description {
  font-size: 0.938rem;
  line-height: 1.7;
  color: #3a6498;
}

@media (max-width: 991px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .section {
    padding: 64px 0;
  }

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

  .service-card {
    padding: 28px 24px;
  }
}

/* ============================================
   About Section
   ============================================ */
.about {
  background: linear-gradient(180deg, #fdf8ef 0%, #fefdfb 100%);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.about-image-section {
  position: relative;
}

.about-image-main {
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 24px 64px rgba(30, 58, 95, 0.1);
}

.about-image-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-image-secondary {
  position: absolute;
  bottom: -32px;
  right: -32px;
  width: 220px;
  border-radius: 16px;
  overflow: hidden;
  border: 4px solid #fdf8ef;
  box-shadow: 0 12px 32px rgba(30, 58, 95, 0.1);
}

.about-image-secondary img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-experience-badge {
  position: absolute;
  top: -20px;
  left: -20px;
  background: #1e3a5f;
  color: #faf4e3;
  padding: 20px 24px;
  border-radius: 18px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  box-shadow: 0 12px 32px rgba(30, 58, 95, 0.2);
}

.about-exp-number {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 2.25rem;
  font-weight: 700;
  line-height: 1;
  color: #c8a45e;
}

.about-exp-text {
  font-size: 0.688rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  text-align: center;
  line-height: 1.3;
}

.about-content {
  padding: 16px 0;
}

.about-body {
  font-size: 1.063rem;
  line-height: 1.8;
  color: #3a6498;
  margin-bottom: 20px;
}

.about-values {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 32px;
}

.about-value {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.938rem;
  font-weight: 500;
  color: #1e3a5f;
}

.about-value svg {
  color: #c8a45e;
  flex-shrink: 0;
}

@media (max-width: 991px) {
  .about-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .about-image-section {
    max-width: 500px;
    margin: 0 auto;
  }

  .about-image-secondary {
    width: 180px;
    right: -16px;
    bottom: -24px;
  }

  .about-experience-badge {
    left: -10px;
    top: -12px;
  }
}

@media (max-width: 480px) {
  .about-values {
    grid-template-columns: 1fr;
  }

  .about-image-secondary {
    width: 140px;
  }
}

/* ============================================
   Areas Section
   ============================================ */
.areas {
  background: #fefdfb;
}

.areas-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.area-card {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  cursor: pointer;
  group: true;
}

.area-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.area-card:hover img {
  transform: scale(1.08);
}

.area-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(13, 31, 60, 0.85) 0%, rgba(13, 31, 60, 0.2) 50%, transparent 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 28px 24px;
  transition: background 0.3s ease;
}

.area-card:hover .area-card-overlay {
  background: linear-gradient(to top, rgba(13, 31, 60, 0.9) 0%, rgba(13, 31, 60, 0.3) 60%, transparent 100%);
}

.area-card-title {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.5rem;
  font-weight: 600;
  color: #faf4e3;
  margin-bottom: 6px;
}

.area-card-desc {
  font-size: 0.875rem;
  line-height: 1.6;
  color: rgba(250, 244, 227, 0.75);
}

@media (max-width: 991px) {
  .areas-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

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

/* ============================================
   Testimonials Section
   ============================================ */
.testimonials {
  position: relative;
  background: linear-gradient(135deg, #0d1f3c 0%, #1e3a5f 100%);
  overflow: hidden;
}

.testimonials-bg {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(ellipse 50% 50% at 20% 80%, rgba(200, 164, 94, 0.08) 0%, transparent 60%),
    radial-gradient(ellipse 40% 40% at 80% 20%, rgba(58, 100, 152, 0.15) 0%, transparent 60%);
  pointer-events: none;
}

.testimonials .container {
  position: relative;
  z-index: 1;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.testimonial-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  padding: 36px 28px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: all 0.3s ease;
}

.testimonial-card:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(200, 164, 94, 0.2);
  transform: translateY(-4px);
}

.testimonial-quote-mark {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 4rem;
  line-height: 1;
  color: #c8a45e;
  opacity: 0.4;
  margin-bottom: -8px;
}

.testimonial-text {
  font-size: 0.938rem;
  line-height: 1.8;
  color: rgba(250, 244, 227, 0.85);
  margin-bottom: 24px;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.testimonial-author-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(200, 164, 94, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #c8a45e;
  flex-shrink: 0;
}

.testimonial-author-name {
  font-size: 0.938rem;
  font-weight: 600;
  color: #faf4e3;
}

.testimonial-author-detail {
  font-size: 0.813rem;
  color: rgba(250, 244, 227, 0.55);
}

@media (max-width: 991px) {
  .testimonials-grid {
    grid-template-columns: 1fr;
    max-width: 600px;
    margin: 0 auto;
  }
}

/* ============================================
   CTA Banner
   ============================================ */
.cta-banner {
  position: relative;
  padding: 80px 0;
  background: linear-gradient(135deg, #faf4e3 0%, #f5e8c4 50%, #ecd9a0 100%);
  overflow: hidden;
}

.cta-bg-pattern {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(ellipse 60% 50% at 80% 20%, rgba(30, 58, 95, 0.06) 0%, transparent 60%),
    radial-gradient(ellipse 40% 40% at 10% 80%, rgba(200, 164, 94, 0.15) 0%, transparent 60%);
  pointer-events: none;
}

.cta-banner .container {
  position: relative;
  z-index: 1;
  text-align: center;
}

.cta-title {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 600;
  color: #0d1f3c;
  margin-bottom: 16px;
  letter-spacing: -0.01em;
}

.cta-text {
  font-size: 1.063rem;
  line-height: 1.75;
  color: #3a6498;
  max-width: 560px;
  margin: 0 auto 32px;
}

.cta-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 16px;
}

/* ============================================
   Contact Section
   ============================================ */
.contact {
  background: linear-gradient(180deg, #fefdfb 0%, #fdf8ef 100%);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}

.contact-intro {
  font-size: 1.063rem;
  line-height: 1.75;
  color: #3a6498;
  margin-bottom: 36px;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.contact-detail {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.contact-detail-icon {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(30, 58, 95, 0.06);
  border-radius: 12px;
  color: #1e3a5f;
  flex-shrink: 0;
}

.contact-detail-text {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.contact-detail-label {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #c8a45e;
}

.contact-detail-value {
  font-size: 0.938rem;
  color: #1e3a5f;
  line-height: 1.6;
}

.contact-detail-link {
  font-size: 0.938rem;
  color: #1e3a5f;
  font-weight: 500;
  transition: color 0.2s ease;
}

.contact-detail-link:hover {
  color: #c8a45e;
}

/* Contact Form */
.contact-form-wrap {
  position: relative;
}

.contact-form-card {
  background: #fefdfb;
  border: 1px solid rgba(30, 58, 95, 0.08);
  border-radius: 24px;
  padding: 40px 36px;
  box-shadow: 0 16px 48px rgba(30, 58, 95, 0.06);
}

.contact-form-title {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.5rem;
  font-weight: 600;
  color: #0d1f3c;
  margin-bottom: 28px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-group {
  margin-bottom: 20px;
}

.form-label {
  display: block;
  font-size: 0.813rem;
  font-weight: 600;
  color: #1e3a5f;
  margin-bottom: 8px;
  letter-spacing: 0.02em;
}

.form-input {
  width: 100%;
  padding: 12px 16px;
  font-size: 0.938rem;
  font-family: inherit;
  color: #1e3a5f;
  background: #fdf8ef;
  border: 1.5px solid rgba(30, 58, 95, 0.12);
  border-radius: 12px;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-input::placeholder {
  color: #a0b4c8;
}

.form-input:focus {
  border-color: #c8a45e;
  box-shadow: 0 0 0 3px rgba(200, 164, 94, 0.15);
}

.form-input:invalid:not(:placeholder-shown) {
  border-color: #c0392b;
}

.form-select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%231e3a5f' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 40px;
  cursor: pointer;
}

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

.form-success {
  text-align: center;
  padding: 40px 20px;
}

.form-success svg {
  color: #c8a45e;
  margin-bottom: 16px;
}

.form-success-title {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.5rem;
  font-weight: 600;
  color: #0d1f3c;
  margin-bottom: 8px;
}

.form-success-text {
  font-size: 0.938rem;
  color: #3a6498;
  line-height: 1.6;
}

.form-error-msg {
  font-size: 0.75rem;
  color: #c0392b;
  margin-top: 4px;
  display: none;
}

.form-input:invalid:not(:placeholder-shown) ~ .form-error-msg {
  display: block;
}

@media (max-width: 991px) {
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }
}

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

  .contact-form-card {
    padding: 28px 20px;
  }
}

/* ============================================
   Map Section
   ============================================ */
.map-section {
  padding: 0 0 80px;
  background: #fdf8ef;
}

.map-container {
  border-radius: 0 0 24px 24px;
  overflow: hidden;
  box-shadow: 0 -4px 32px rgba(30, 58, 95, 0.06);
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
  padding: 0 24px;
}

.map-container iframe {
  border-radius: 16px;
}

/* ============================================
   Footer
   ============================================ */
.footer {
  background: #0d1f3c;
  color: rgba(250, 244, 227, 0.7);
  padding: 64px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1.5fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(250, 244, 227, 0.08);
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #faf4e3;
  margin-bottom: 16px;
}

.footer-logo-name {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.25rem;
  font-weight: 700;
}

.footer-tagline {
  font-size: 0.938rem;
  line-height: 1.7;
  color: rgba(250, 244, 227, 0.6);
  margin-bottom: 12px;
  max-width: 300px;
}

.footer-license {
  font-size: 0.813rem;
  color: rgba(250, 244, 227, 0.4);
  font-style: italic;
}

.footer-heading {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #c8a45e;
  margin-bottom: 20px;
}

.footer-ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-link {
  font-size: 0.938rem;
  color: rgba(250, 244, 227, 0.6);
  transition: color 0.2s ease;
}

.footer-link:hover {
  color: #faf4e3;
}

.footer-contact-link {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.938rem;
  color: rgba(250, 244, 227, 0.6);
  transition: color 0.2s ease;
}

.footer-contact-link:hover {
  color: #c8a45e;
}

.footer-contact-value {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 0.938rem;
  color: rgba(250, 244, 227, 0.6);
  line-height: 1.6;
}

.footer-bottom {
  padding: 24px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-copyright {
  font-size: 0.813rem;
  color: rgba(250, 244, 227, 0.4);
}

.footer-disclaimer {
  font-size: 0.75rem;
  color: rgba(250, 244, 227, 0.3);
  max-width: 480px;
  text-align: right;
  line-height: 1.5;
}

@media (max-width: 767px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .footer-disclaimer {
    text-align: center;
    max-width: 100%;
  }
}

/* ============================================
   Back to Top
   ============================================ */
.back-to-top {
  position: fixed;
  bottom: 32px;
  right: 32px;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #1e3a5f;
  color: #faf4e3;
  border-radius: 14px;
  box-shadow: 0 8px 24px rgba(30, 58, 95, 0.25);
  opacity: 0;
  visibility: hidden;
  transform: translateY(16px);
  transition: all 0.3s ease;
  z-index: 900;
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  background: #2a4f7f;
  transform: translateY(-2px);
}

/* ============================================
   Scroll Reveal (Progressive Enhancement)
   ============================================ */
.reveal {
  opacity: 1;
  transform: none;
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.js-enabled .reveal {
  opacity: 0;
  transform: translateY(24px);
}

.js-enabled .reveal.revealed {
  opacity: 1;
  transform: none;
}

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

  html {
    scroll-behavior: auto;
  }

  .js-enabled .reveal {
    opacity: 1;
    transform: none;
  }
}
