/* ===== CUSTOM PROPERTIES ===== */
:root {
  --burgundy-700: #a11a36;
  --burgundy-800: #831931;
  --burgundy-950: #3d0712;
  --blush-100: #ffecf0;
  --cream-50: #fefcf8;
}

/* ===== BASE ===== */
html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ===== NAVIGATION ===== */
.nav-toggle .bar {
  display: block;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.nav-toggle[aria-expanded="true"] .bar:nth-child(1) {
  transform: translateY(5px) rotate(45deg);
}
.nav-toggle[aria-expanded="true"] .bar:nth-child(2) {
  opacity: 0;
}
.nav-toggle[aria-expanded="true"] .bar:nth-child(3) {
  width: 1.5rem;
  transform: translateY(-5px) rotate(-45deg);
}

.nav-links {
  transition: max-height 0.35s ease, opacity 0.3s ease;
}

.nav-links.open {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: rgba(254, 252, 248, 0.98);
  backdrop-filter: blur(12px);
  flex-direction: column;
  padding: 1rem;
  border-bottom: 1px solid rgba(161, 26, 54, 0.1);
  box-shadow: 0 8px 24px rgba(61, 7, 18, 0.08);
}

.nav-links.open li {
  width: 100%;
}

.nav-links.open .nav-link {
  display: block;
  text-align: center;
  padding: 0.75rem 1rem;
}

.nav-links.open .nav-link:last-child {
  margin-top: 0.5rem;
}

/* ===== HERO ===== */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(61, 7, 18, 0.82) 0%,
    rgba(109, 23, 44, 0.72) 50%,
    rgba(161, 26, 54, 0.65) 100%
  );
}

.hero-content {
  padding: 8rem 0 4rem;
}

.hero-eyebrow {
  letter-spacing: 0.15em;
}

.hero-headline {
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.3);
}

.hero-subtext {
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.2);
}

.hero-cta .btn-primary,
.hero-cta .btn-secondary {
  padding: 0.875rem 1.75rem;
  border-radius: 9999px;
  font-weight: 700;
  font-size: 0.9375rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.hero-cta .btn-primary:hover,
.hero-cta .btn-secondary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.hero-cta .btn-primary {
  background: #ffffff;
  color: #a11a36;
}

.hero-cta .btn-primary:hover {
  background: #fef0f2;
}

.hero-cta .btn-secondary {
  background: transparent;
  color: #f9d0d9;
  border: 2px solid rgba(249, 208, 217, 0.5);
}

.hero-cta .btn-secondary:hover {
  border-color: #f9d0d9;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.08);
}

/* ===== SECTIONS ===== */
.section-padding {
  padding: 5rem 0;
}

@media (max-width: 767px) {
  .section-padding {
    padding: 3.5rem 0;
  }
}

/* ===== LABEL ===== */
.label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

/* ===== CARDS ===== */
.card {
  background: #ffffff;
  border-radius: 1rem;
  padding: 2rem;
  box-shadow: 0 1px 3px rgba(61, 7, 18, 0.06), 0 8px 24px rgba(61, 7, 18, 0.04);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  border: 1px solid rgba(161, 26, 54, 0.06);
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 4px 12px rgba(61, 7, 18, 0.08), 0 16px 40px rgba(61, 7, 18, 0.08);
}

.card-icon-wrap {
  width: 3.5rem;
  height: 3.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #fdf0f2 0%, #fce7eb 100%);
  border-radius: 0.75rem;
}

/* ===== STATS ===== */
.stat-item {
  display: flex;
  flex-direction: column;
}

.stat-number {
  font-size: 1.75rem;
  font-weight: 700;
  line-height: 1;
  margin-bottom: 0.25rem;
}

.stat-label {
  font-size: 0.8125rem;
  font-weight: 500;
}

/* ===== PHOTO CARD ===== */
.photo-card {
  position: relative;
  border-radius: 1.25rem;
  overflow: hidden;
  box-shadow: 0 16px 48px rgba(61, 7, 18, 0.12);
}

.photo-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.photo-card-accent {
  position: absolute;
  bottom: -12px;
  right: -12px;
  width: 60%;
  height: 40%;
  background: linear-gradient(135deg, #fce7eb 0%, #f9d0d9 100%);
  border-radius: 1.25rem;
  z-index: -1;
}

/* ===== WHY US ===== */
.why-photo-grid {
  position: relative;
  height: 540px;
}

.why-photo-1,
.why-photo-2 {
  position: absolute;
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.2);
  object-fit: cover;
  display: block;
}

.why-photo-1 {
  width: 60%;
  height: 70%;
  top: 0;
  left: 0;
}

.why-photo-2 {
  width: 55%;
  height: 65%;
  bottom: 0;
  right: 0;
}

.why-photo-badge {
  position: absolute;
  bottom: 35%;
  left: 45%;
  transform: translate(-50%, 50%);
  background: #ffffff;
  border-radius: 1rem;
  padding: 1.25rem 1.5rem;
  text-align: center;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
  z-index: 2;
}

.why-badge-number {
  display: block;
  font-size: 1.75rem;
  font-weight: 800;
  color: #a11a36;
  line-height: 1;
  margin-bottom: 0.25rem;
}

.why-badge-text {
  display: block;
  font-size: 0.75rem;
  color: #831931;
  font-weight: 600;
  line-height: 1.3;
}

.why-item {
  transition: transform 0.2s ease;
}

.why-item:hover {
  transform: translateX(4px);
}

/* ===== CONTACT ===== */
.contact-row {
  transition: transform 0.2s ease;
}

.contact-row:hover {
  transform: translateX(4px);
}

.contact-icon {
  width: 2.25rem;
  height: 2.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(161, 26, 54, 0.08);
  border-radius: 0.5rem;
  flex-shrink: 0;
}

/* ===== FORM ===== */
.contact-form {
  background: #ffffff;
  border-radius: 1.25rem;
  padding: 2rem;
  box-shadow: 0 4px 24px rgba(61, 7, 18, 0.08);
  border: 1px solid rgba(161, 26, 54, 0.06);
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-label {
  display: block;
  font-size: 0.8125rem;
  font-weight: 700;
  color: #831931;
  margin-bottom: 0.375rem;
  letter-spacing: 0.02em;
}

.form-input {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1.5px solid #fce7eb;
  border-radius: 0.625rem;
  font-family: inherit;
  font-size: 0.9375rem;
  color: #6e172c;
  background: #fefcf8;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  outline: none;
}

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

.form-input:focus {
  border-color: #a11a36;
  box-shadow: 0 0 0 3px rgba(161, 26, 54, 0.1);
  background: #ffffff;
}

.form-select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%23a11a36' stroke-width='2'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M19 9l-7 7-7-7'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.75rem center;
  background-size: 1rem;
  padding-right: 2.5rem;
  cursor: pointer;
}

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

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: #a11a36;
  color: #ffffff;
  padding: 0.875rem 1.75rem;
  border-radius: 9999px;
  font-family: inherit;
  font-size: 0.9375rem;
  font-weight: 700;
  border: none;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-primary:hover {
  background: #831931;
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(161, 26, 54, 0.3);
}

.btn-primary:active {
  transform: translateY(0);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: transparent;
  color: #a11a36;
  padding: 0.75rem 1.5rem;
  border-radius: 9999px;
  font-family: inherit;
  font-size: 0.875rem;
  font-weight: 700;
  border: 2px solid #fce7eb;
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.btn-secondary:hover {
  border-color: #a11a36;
  background: #fdf0f2;
  transform: translateY(-1px);
}

.form-privacy {
  margin-top: 0.75rem;
}

/* Success state */
.form-success {
  text-align: center;
  padding: 2.5rem 1rem;
}

.success-icon {
  width: 4rem;
  height: 4rem;
  margin: 0 auto 1rem;
  background: #fdf0f2;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ===== SCROLL REVEAL ===== */
.reveal,
.reveal-left,
.reveal-right {
  opacity: 1;
  transform: none;
  transition: opacity 0.6s ease, transform 0.6s ease;
}

@media (prefers-reduced-motion: no-preference) {
  .reveal {
    opacity: 0;
    transform: translateY(24px);
  }
  .reveal-left {
    opacity: 0;
    transform: translateX(-24px);
  }
  .reveal-right {
    opacity: 0;
    transform: translateX(24px);
  }

  .reveal.visible,
  .reveal-left.visible,
  .reveal-right.visible {
    opacity: 1;
    transform: none;
  }
}

/* ===== MOBILE ===== */
@media (max-width: 1023px) {
  .nav-links {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    flex-direction: column;
    padding: 0;
    position: static;
    background: transparent;
    box-shadow: none;
    border: none;
  }

  .nav-links.open {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    max-height: 400px;
    opacity: 1;
    padding: 0.5rem;
  }

  .hero-content {
    padding: 7rem 0 3rem;
  }

  .hero-headline {
    font-size: 2.25rem;
  }

  @media (min-width: 640px) {
    .hero-headline {
      font-size: 3rem;
    }
  }

  .why-photo-grid {
    height: 360px;
  }

  .why-photo-1 {
    width: 65%;
    height: 75%;
  }

  .why-photo-2 {
    width: 60%;
    height: 60%;
  }
}

@media (max-width: 639px) {
  .hero-headline {
    font-size: 2rem;
  }
}
