@import url("/assets/css/style.v4.css");

/* Compact About composition */
#about {
  padding-block: clamp(4rem, 7vw, 6.5rem);
}

.about-grid {
  grid-template-columns: minmax(0, 1.35fr) minmax(300px, .65fr);
  gap: clamp(2.5rem, 6vw, 5.5rem);
}

.about-grid .about-img img {
  aspect-ratio: 2 / 1;
  object-position: 50% 53%;
}

/* Complete three-image editorial gallery — no empty grid cells */
#gallery {
  background: #fff;
}

#gallery .section-head {
  margin-bottom: 2.5rem;
}

.gallery-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, .65fr);
  grid-template-rows: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
  min-height: 590px;
}

.gallery-grid figure {
  position: relative;
  min-width: 0;
  min-height: 0;
  margin: 0;
  overflow: hidden;
  border-radius: 18px;
  background: var(--navy);
  box-shadow: 0 16px 42px rgba(8,23,35,.12);
}

.gallery-grid .gallery-main {
  grid-row: 1 / 3;
}

.gallery-grid figure::after {
  content: "";
  position: absolute;
  inset: 35% 0 0;
  background: linear-gradient(transparent, rgba(4,16,26,.86));
  pointer-events: none;
}

.gallery-grid figure img {
  width: 100%;
  height: 100%;
  aspect-ratio: auto;
  object-fit: cover;
  border-radius: 0;
  box-shadow: none;
  transition: transform .4s ease;
}

.gallery-grid .gallery-main img { object-position: 58% center; }
.gallery-grid figure:nth-child(2) img { object-position: 54% center; }
.gallery-grid figure:nth-child(3) img { object-position: 61% center; }
.gallery-grid figure:hover img { transform: scale(1.025); }

.gallery-grid figcaption {
  position: absolute;
  z-index: 1;
  right: 1.35rem;
  bottom: 1.2rem;
  left: 1.35rem;
  display: flex;
  align-items: center;
  gap: .75rem;
  color: #fff;
}

.gallery-grid figcaption span {
  color: #75d1e7;
  font-size: .65rem;
  font-weight: 800;
  letter-spacing: .1em;
}

.gallery-grid figcaption strong {
  font: 600 clamp(.95rem, 1.7vw, 1.3rem) "Space Grotesk", sans-serif;
}

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

  .about-grid .about-img img {
    aspect-ratio: 16 / 8;
  }

  .gallery-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 330px 230px;
    min-height: 0;
  }

  .gallery-grid .gallery-main {
    grid-column: 1 / 3;
    grid-row: auto;
  }
}

@media (max-width: 600px) {
  #about { padding-block: 3.75rem; }

  .about-grid .about-img img {
    aspect-ratio: 16 / 9;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
    grid-template-rows: 280px 210px 210px;
    gap: .9rem;
  }

  .gallery-grid .gallery-main {
    grid-column: auto;
  }

  .gallery-grid figcaption {
    right: 1rem;
    bottom: 1rem;
    left: 1rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .gallery-grid figure img { transition: none; }
}

/* ── Testimonials placeholder ───────────────────────── */
.testimonials {
  background: #fff;
  padding-block: clamp(3rem, 6vw, 5rem);
}

.reviews-placeholder {
  max-width: 560px;
  margin: 0 auto;
  text-align: center;
  color: var(--muted);
  font-size: 1.05rem;
  padding: 2.5rem 2rem;
  border: 1.5px dashed var(--border);
  border-radius: var(--radius);
}

.reviews-placeholder a {
  color: var(--accent);
  font-weight: 600;
  text-decoration: none;
}

/* ── Contact / Booking form ─────────────────────────── */
.cta-booking {
  max-width: 860px;
  width: 100%;
  margin-inline: auto;
}

.cta-header {
  text-align: center;
  margin-bottom: 2.5rem;
}

.pricing-callout {
  margin-top: 1rem;
  padding: .9rem 1.4rem;
  background: rgba(255, 107, 44, .12);
  border-left: 3px solid var(--accent);
  border-radius: 8px;
  font-size: .95rem;
  color: rgba(255,255,255,.85);
  text-align: left;
}

.pricing-callout strong {
  color: #ffb38a;
  font-size: 1.1em;
}

.booking-wrap {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 3rem;
  align-items: start;
}

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

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

.form-field {
  display: flex;
  flex-direction: column;
  gap: .35rem;
}

.form-field span {
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: rgba(255,255,255,.65);
}

.form-field input,
.form-field textarea {
  padding: .75rem 1rem;
  border: 1.5px solid rgba(255,255,255,.18);
  border-radius: 10px;
  background: rgba(255,255,255,.06);
  color: #fff;
  font-size: .95rem;
  font-family: inherit;
  transition: border-color .2s;
}

.form-field input::placeholder,
.form-field textarea::placeholder {
  color: rgba(255,255,255,.35);
}

.form-field input:focus,
.form-field textarea:focus {
  outline: none;
  border-color: rgba(255,255,255,.5);
  background: rgba(255,255,255,.1);
}

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

.booking-alt {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .75rem;
  padding: 1.5rem;
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radius);
  text-align: center;
  min-width: 190px;
}

.booking-alt p {
  font-size: .85rem;
  color: rgba(255,255,255,.6);
  margin: 0;
}

.btn-phone {
  display: inline-block;
  padding: .65rem 1.2rem;
  background: var(--accent);
  color: #fff;
  border-radius: 8px;
  font-weight: 700;
  font-size: .9rem;
  text-decoration: none;
  transition: opacity .2s;
}

.btn-phone:hover { opacity: .88; }

.or-divider {
  font-size: .75rem;
  color: rgba(255,255,255,.4);
}

.booking-alt a[href^="mailto"] {
  font-size: .85rem;
  color: rgba(255,255,255,.7);
  text-decoration: underline;
}

/* ── Sticky mobile CTA ──────────────────────────────── */
.mobile-sticky-cta {
  display: none;
}

@media (max-width: 768px) {
  .mobile-sticky-cta {
    display: flex;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    padding: .85rem 1rem;
    padding-bottom: calc(.85rem + env(safe-area-inset-bottom));
    background: rgba(246, 243, 237, .97);
    backdrop-filter: blur(10px);
    box-shadow: 0 -3px 20px rgba(8, 23, 35, .14);
    gap: .75rem;
    z-index: 200;
  }

  .mobile-sticky-cta .btn {
    flex: 1;
    text-align: center;
    font-size: .9rem;
    padding: .75rem 1rem;
  }

  .booking-wrap {
    grid-template-columns: 1fr;
  }

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

  .booking-alt {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    min-width: 0;
  }

  footer {
    padding-bottom: calc(5rem + env(safe-area-inset-bottom));
  }
}
