/* ── HERO ──────────────────────────────────────────── */
.hero {
  position: relative;
  height: 100vh;
  min-height: 640px;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center 30%;
  background-repeat: no-repeat;
  transform: scale(1.04);
  animation: heroZoom 12s ease-out forwards;
}
@keyframes heroZoom {
  from { transform: scale(1.04); }
  to   { transform: scale(1.0); }
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 120% 100% at 50% 0%, transparent 40%, rgba(10,10,8,0.45) 100%),
    linear-gradient(
      105deg,
      rgba(15, 20, 30, 0.72) 0%,
      rgba(20, 30, 50, 0.55) 45%,
      rgba(26, 26, 24, 0.30) 100%
    );
}
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
  background-size: 128px 128px;
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 780px;
  padding: 0 2rem;
  margin-left: max(2rem, 8vw);
}
.hero-content > * {
  opacity: 0;
  animation: fadeUp 0.85s both;
}
.hero-content > *:nth-child(1) { animation-delay: 0.2s; }
.hero-content > *:nth-child(2) { animation-delay: 0.45s; }
.hero-content > *:nth-child(3) { animation-delay: 0.65s; }
.hero-content > *:nth-child(4) { animation-delay: 0.85s; }
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}
.hero-tag {
  display: inline-block;
  background: transparent;
  color: var(--amber);
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 0.35rem 0 0.35rem 1rem;
  border-radius: 0;
  border-left: 2px solid var(--amber);
  margin-bottom: 1.5rem;
}
.hero h1 {
  color: var(--white);
  margin-bottom: 1.25rem;
  text-shadow:
    0 1px 2px rgba(0,0,0,0.5),
    0 4px 16px rgba(0,0,0,0.25);
}
.hero-sub {
  color: rgba(255,255,255,0.88);
  font-size: 1.05rem;
  font-weight: 400;
  max-width: 540px;
  margin-bottom: 2.5rem;
  line-height: 1.85;
}
.hero-buttons { display: flex; gap: 1rem; flex-wrap: wrap; }

/* ── ABOUT ─────────────────────────────────────────── */
.about {
  background: var(--white);
  padding: 7rem 0;
}
.about-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}
.about-text p + p { margin-top: 1.2rem; }
.about-text p { color: #4a4a4a; }

.about-stats {
  display: flex;
  gap: 2.5rem;
  margin: 2rem 0;
  padding: 1.8rem 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.stat-item { display: flex; flex-direction: column; }
.stat-item .stat-number {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  color: var(--navy);
  line-height: 1;
  display: inline;
}
.stat-item .stat-suffix {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1.2rem;
  color: var(--gold);
  display: inline;
}
.stat-item .stat-label {
  font-family: var(--font-body);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 0.35rem;
}

.about-badges {
  display: flex;
  gap: 1rem;
  margin-top: 2.2rem;
  flex-wrap: wrap;
}
.badge {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--cream);
  padding: 0.6rem 1.1rem;
  border-radius: 2px;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.78rem;
  letter-spacing: 0.05em;
  color: var(--navy);
}
.badge svg { flex-shrink: 0; }

.about-image-wrap { position: relative; }
.about-image-wrap img {
  width: 100%;
  height: 520px;
  object-fit: cover;
  border-radius: 2px;
}
.about-image-accent {
  position: absolute;
  bottom: -1.5rem;
  right: -1.5rem;
  border-top: 3px solid var(--amber);
  width: 140px;
  height: 140px;
  background: var(--navy);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: white;
  text-align: center;
  padding: 1rem;
  border-radius: 2px;
}
.about-image-accent strong {
  font-family: var(--font-display);
  font-size: 1.1rem;
  line-height: 1.3;
}
.about-image-accent span {
  font-size: 0.7rem;
  font-weight: 300;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--amber);
  margin-top: 0.3rem;
}

/* ── SERVICES ──────────────────────────────────────── */
.services {
  background: var(--cream);
  padding: 7rem 0;
}
.services-heading { text-align: center; margin-bottom: 4rem; }
.services-heading h2 { color: var(--navy); }
.services-heading p {
  color: var(--muted);
  max-width: 560px;
  margin: 0 auto;
  font-size: 1rem;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.service-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-left: 3px solid transparent;
  padding: 2.2rem;
  border-radius: 2px;
  transition: box-shadow 0.3s ease, transform 0.3s ease, border-left-color 0.3s ease;
  cursor: pointer;
}
.service-card:hover {
  box-shadow:
    0 2px 4px rgba(26,50,99,0.06),
    0 12px 40px rgba(26,50,99,0.14);
  border-left-color: var(--gold);
}
.service-card-bar {
  width: 24px;
  height: 2px;
  background: var(--gold);
  margin-bottom: 1.2rem;
  transition: width 0.3s ease, background-color 0.3s ease;
}
.service-card:hover .service-card-bar {
  width: 40px;
  background: var(--amber);
}
.service-card h3 { color: var(--charcoal); margin-bottom: 0.7rem; }
.service-card p  { color: var(--muted); font-size: 0.95rem; }
.service-card-link {
  display: inline-block;
  margin-top: 1.2rem;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--steel);
  transition: color 0.2s;
  cursor: pointer;
}
.service-card-link:hover { color: var(--amber); }
.service-card-link::after { content: ' →'; }

/* ── FLIP CARDS ─────────────────────────────────────── */
.service-flip {
  perspective: 1200px;
  min-height: 280px;
}
.service-flip-inner {
  position: relative;
  width: 100%;
  min-height: 280px;
  transform-style: preserve-3d;
  transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}
.service-flip-inner.flipped { transform: rotateY(180deg); }
.service-flip-front {
  position: absolute;
  inset: 0;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  border-radius: 2px;
  padding: 2.2rem;
  overflow: hidden;
}
.service-flip-front {
  background: var(--white);
  border: 1px solid var(--border);
  border-left: 3px solid transparent;
  transition: box-shadow 0.3s ease, border-left-color 0.3s ease;
}
.service-flip-front:hover {
  box-shadow: 0 2px 4px rgba(26,50,99,0.06), 0 12px 40px rgba(26,50,99,0.14);
  border-left-color: var(--gold);
}
.service-flip-front:hover .service-card-bar {
  width: 40px;
  background: var(--amber);
}

/* ── SERVICE MODAL ──────────────────────────────────── */
.service-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(26,50,99,0.5);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
.service-modal-overlay.open {
  opacity: 1;
  pointer-events: all;
}
.service-modal {
  background: var(--white);
  border-top: 3px solid var(--amber);
  border-radius: 3px;
  padding: 2.8rem 3rem;
  max-width: 640px;
  width: 90%;
  max-height: 85vh;
  overflow-y: auto;
  position: relative;
  transform: scale(0.88);
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
  box-shadow: 0 24px 80px rgba(26,50,99,0.22);
}
.service-modal-overlay.open .service-modal {
  transform: scale(1);
}
.service-modal-close {
  position: absolute;
  top: 1rem;
  right: 1.2rem;
  background: none;
  border: none;
  cursor: pointer;
  font-size: 1.6rem;
  color: var(--steel);
  line-height: 1;
  transition: color 0.2s;
  padding: 0.2rem 0.4rem;
}
.service-modal-close:hover { color: var(--amber); }
.service-modal h3 {
  color: var(--navy);
  margin-bottom: 0.5rem;
  font-size: 1.4rem;
}
.service-modal .modal-divider {
  width: 32px;
  height: 2px;
  background: var(--gold);
  margin-bottom: 1.4rem;
}
.service-modal p {
  color: #4a4a4a;
  font-size: 0.95rem;
  line-height: 1.75;
  margin-bottom: 1.6rem;
}
.service-modal ul {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.6rem 2rem;
  margin-bottom: 2rem;
}
.service-modal ul li {
  font-size: 0.9rem;
  color: var(--charcoal);
  padding-left: 1.2em;
  position: relative;
  line-height: 1.4;
}
.service-modal ul li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: var(--gold);
  font-size: 0.8em;
  top: 0.15em;
}
@media (max-width: 500px) {
  .service-modal ul { grid-template-columns: 1fr; }
  .service-modal { padding: 2rem 1.5rem; }
}

/* ── WHY CHOOSE US ─────────────────────────────────── */
.why {
  background:
    url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E"),
    radial-gradient(ellipse 80% 60% at 50% -10%, rgba(84,119,146,0.35) 0%, transparent 70%),
    var(--navy);
  background-size: 128px 128px, 100% 100%, 100% 100%;
  background-blend-mode: overlay, normal, normal;
  padding: 7rem 0;
}
.why-heading { text-align: center; margin-bottom: 4rem; }
.why-heading h2 { color: var(--white); }
.why-heading p { color: rgba(255,255,255,0.65); max-width: 520px; margin: 0 auto; }
.why-heading .section-label { color: var(--amber); }
.why-heading .section-divider { background: var(--amber); }

.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}
.why-card {
  padding: 2.5rem;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 2px;
  transition: border-color 0.3s, background 0.3s, transform 0.3s;
}
.why-card:hover {
  border-color: rgba(250,185,91,0.5);
  background: rgba(250,185,91,0.05);
  transform: translateY(-3px);
}
.why-icon {
  width: 52px;
  height: 52px;
  background: var(--steel);
  border-radius: 2px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  transition: background 0.3s;
}
.why-card:hover .why-icon { background: var(--amber); }
.why-icon svg { width: 24px; height: 24px; transition: stroke 0.3s; }
.why-card:hover .why-icon svg { stroke: var(--navy) !important; }
.why-card h3 { color: var(--white); margin-bottom: 0.8rem; font-size: 1.15rem; }
.why-card p  { color: rgba(255,255,255,0.65); font-size: 0.95rem; line-height: 1.75; }

/* ── GALLERY ───────────────────────────────────────── */
.gallery {
  background: var(--white);
  padding: 7rem 0;
}
.gallery-heading { text-align: center; margin-bottom: 3.5rem; }
.gallery-heading h2 { color: var(--navy); }

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
.gallery-item {
  aspect-ratio: 4/3;
  overflow: hidden;
  border-radius: 2px;
  cursor: pointer;
  position: relative;
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.gallery-item:hover img { transform: scale(1.04); }
.gallery-item::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(15, 20, 35, 0.78) 0%,
    rgba(15, 20, 35, 0.2)  45%,
    transparent 75%
  );
  opacity: 0;
  transition: opacity 0.35s ease;
  z-index: 1;
  pointer-events: none;
}
.gallery-item[data-label]::after {
  content: attr(data-label);
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 2;
  padding: 1.2rem 1.4rem;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: white;
  transform: translateY(8px);
  opacity: 0;
  transition: transform 0.35s cubic-bezier(0.22,1,0.36,1), opacity 0.35s ease;
  pointer-events: none;
}
.gallery-item:hover { box-shadow: inset 0 0 0 2px var(--gold); }
.gallery-item:hover::before { opacity: 1; }
.gallery-item:hover::after  { transform: translateY(0); opacity: 1; }
.gallery-item.large { grid-column: span 2; }

/* ── FAQ ───────────────────────────────────────────── */
.faq {
  background: var(--cream);
  padding: 7rem 0;
}
.faq-heading { text-align: center; margin-bottom: 3.5rem; }
.faq-heading h2 { color: var(--navy); }

.faq-list { max-width: 760px; margin: 0 auto; }
.faq-item {
  border-bottom: 1px solid #d4cec6;
}
.faq-question {
  width: 100%;
  background: none;
  border: none;
  cursor: pointer;
  padding: 1.4rem 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  text-align: left;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1.05rem;
  color: var(--charcoal);
  transition: color 0.2s;
}
.faq-question:hover { color: var(--navy); }
.faq-icon {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  background: var(--navy);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, transform 0.3s;
}
.faq-icon svg { width: 10px; height: 10px; }
.faq-item.open .faq-icon {
  background: var(--amber);
  transform: rotate(45deg);
}
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.45s cubic-bezier(0.22,1,0.36,1), padding 0.3s ease;
}
.faq-answer p {
  padding-bottom: 1.4rem;
  color: var(--muted);
  font-size: 0.97rem;
}
.faq-item.open .faq-answer { max-height: 320px; }

/* ── CTA SECTION ───────────────────────────────────── */
.cta-section {
  background: var(--navy);
  padding: 6rem 0;
  text-align: center;
}
.cta-section h2 { color: var(--white); margin-bottom: 1rem; }
.cta-section p {
  color: var(--cream);
  max-width: 500px;
  margin: 0 auto 2.5rem;
  font-size: 1rem;
  opacity: 0.85;
}
.cta-buttons { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* ── Responsive: index-specific ────────────────────── */
@media (max-width: 1024px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .about-inner   { grid-template-columns: 1fr; }
  .about-image-wrap { order: -1; }
  .about-image-wrap img { height: 380px; }
  .about-image-accent { bottom: 0; right: 0; width: 120px; height: 120px; }
}

@media (max-width: 768px) {
  .why-grid      { grid-template-columns: 1fr; }
  .gallery-grid  { grid-template-columns: 1fr 1fr; }
  .gallery-item.large { grid-column: span 2; }
  .services-grid { grid-template-columns: 1fr; }
  .hero-content  { margin-left: 0; }
  .service-flip-back ul { grid-template-columns: 1fr; }
}

@media (max-width: 540px) {
  .gallery-grid  { grid-template-columns: 1fr; }
  .gallery-item.large { grid-column: span 1; }
  .why-grid      { grid-template-columns: 1fr; }
  .hero-buttons  { flex-direction: column; }
}
