/* ══════════════════════════════════════════════════
   BELOW-FOLD CSS — styles.css
   Projects · CTA · Footer · Modal · WhatsApp
   Loaded async: <link rel="preload" as="style" ...>
   ══════════════════════════════════════════════════ */

/* ── Font swap (system → Google after load) ── */
body.fonts-loaded .st,
body.fonts-loaded .pn,
body.fonts-loaded .cta-t,
body.fonts-loaded .ft-brand,
body.fonts-loaded .modal-t {
  font-family: 'Cormorant Garamond', Georgia, serif;
}


/* ════════════════════════════
   SHARED SECTION TOKENS
   ════════════════════════════ */

.section {
  padding: 5.5rem 1.5rem;
  contain: layout style;
}
.bg-w { background: var(--white); }
.container { max-width: 1140px; margin: 0 auto; }

/* Section header */
.sh { text-align: center; margin-bottom: 3.5rem; }
.sl {
  display: inline-block;
  font-size: 0.75rem; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--navy-muted);
  margin-bottom: 0.6rem; font-weight: 600;
}
.sd {
  width: 36px; height: 1px;
  background: rgba(58,79,106,0.3);
  margin: 0.6rem auto 0.75rem;
}
.st {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 500; line-height: 1.12;
  color: var(--ink);
}
.st em { font-style: italic; color: var(--navy); }
.ss {
  font-size: 1.1rem; color: var(--ink-soft);
  max-width: 520px; margin: 0.75rem auto 0;
  line-height: 1.7;
}


/* ════════════════════════════
   PROJECTS GRID
   ════════════════════════════ */

.pgrid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.pc {
  background: var(--white);
  border: 1px solid var(--border);
  overflow: hidden;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}
.pc:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(58,79,106,0.1);
}

.pi {
  position: relative;
  aspect-ratio: 16 / 10;
  background: linear-gradient(135deg, var(--navy-deep) 0%, var(--navy-dark) 100%);
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}
.pi img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
}
.pip {
  font-size: 0.7rem; letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.2);
}

/* Badges */
.pb {
  position: absolute; top: 0.75rem; left: 0.75rem;
  background: var(--navy); color: #fff;
  padding: 0.2rem 0.65rem;
  font-size: 0.65rem; letter-spacing: 0.06em;
  text-transform: uppercase; z-index: 1;
}
.pb-new { background: var(--navy); }
.pb-lux { background: #5a4020; }
.pb-aff { background: #3a6b52; }

/* Card body */
.pb2 { padding: 1.5rem; }
.pci {
  font-size: 0.8rem; color: var(--ink-soft);
  letter-spacing: 0.04em;
  display: block; margin-bottom: 0.15rem;
}
.pn {
  font-family: Georgia, serif;
  font-size: 1.35rem; font-weight: 500;
  color: var(--ink); margin-bottom: 0.2rem;
  line-height: 1.25;
}
.pd {
  font-size: 0.75rem; color: var(--ink-soft);
  margin-bottom: 1rem;
}

/* Specs */
.ps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.5rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
  margin-bottom: 1.25rem;
}
.psi {
  font-size: 0.72rem; color: var(--ink-soft);
  line-height: 1.45;
}
.psi strong {
  display: block;
  font-size: 0.82rem; color: var(--ink);
  font-weight: 500;
}

/* Card footer */
.pf {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
}
.pp {
  font-size: 1.1rem; font-weight: 500;
  color: var(--navy-dark);
}
.pct {
  font-size: 0.85rem; color: var(--navy);
  display: flex; align-items: center; gap: 0.3rem;
  transition: color 0.2s; font-weight: 500;
}
.pct::after { content: '→'; transition: transform 0.2s ease; }
.pct:hover { color: var(--navy-dark); }
.pct:hover::after { transform: translateX(3px); }

/* View All */
.va { text-align: center; margin-top: 3rem; }
.btn-o {
  display: inline-block;
  border: 1px solid var(--navy-border);
  color: var(--navy);
  padding: 0.8rem 2rem;
  font-size: 0.8rem; letter-spacing: 0.08em;
  text-transform: uppercase; font-weight: 600;
  transition: all 0.25s ease; background: none;
}
.btn-o:hover {
  border-color: var(--navy);
  background: rgba(58,79,106,0.04);
  color: var(--navy-dark);
}


/* ════════════════════════════
   CTA BANNER
   ════════════════════════════ */

.cta-ban {
  background: linear-gradient(135deg, var(--navy-deep) 0%, var(--navy-dark) 60%, #2a4060 100%);
  padding: 5rem 1.5rem;
  text-align: center;
  position: relative;
  overflow: hidden;
  contain: layout style;
}
.cta-ban::before {
  content: '';
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}
.cta-in { max-width: 640px; margin: 0 auto; position: relative; }
.cta-t {
  font-family: Georgia, serif;
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 500; line-height: 1.15;
  color: #fff; margin-bottom: 1rem;
}
.cta-t em { font-style: italic; color: var(--navy-light); }
.cta-d {
  font-size: 0.95rem; color: rgba(255,255,255,0.65);
  margin-bottom: 2.5rem; line-height: 1.7;
  max-width: 540px; margin-left: auto; margin-right: auto;
}
.cta-btns { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

.btn-s {
  background: #fff; color: var(--navy-dark);
  padding: 0.85rem 2rem; border: none;
  font-size: 0.82rem; letter-spacing: 0.08em;
  text-transform: uppercase; font-weight: 500;
  transition: all 0.25s ease; cursor: pointer;
}
.btn-s:hover { background: var(--cream); }

.btn-ol {
  display: inline-block;
  border: 1px solid rgba(255,255,255,0.3);
  color: rgba(255,255,255,0.9);
  padding: 0.85rem 2rem;
  font-size: 0.82rem; letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: all 0.25s ease;
}
.btn-ol:hover {
  border-color: rgba(255,255,255,0.6);
  background: rgba(255,255,255,0.08);
}


/* ════════════════════════════
   FOOTER
   ════════════════════════════ */

footer {
  background: var(--ink);
  color: rgba(255,255,255,0.7);
  padding: 4rem 2rem 0;
  contain: layout style;
}
.ft-in {
  max-width: 1140px; margin: 0 auto;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.ft-brand {
  font-family: Georgia, serif;
  font-size: 1.6rem; font-weight: 500;
  color: #fff; margin-bottom: 1rem;
}
.ft-brand span { color: var(--navy-light); }
.ft-tag {
  font-size: 0.85rem; line-height: 1.7;
  color: rgba(255,255,255,0.5);
  max-width: 340px;
}
.ft-col h3 {
  font-size: 0.75rem; letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  margin-bottom: 1.25rem;
}
.ft-col li { margin-bottom: 0.65rem; }
.ft-col a {
  font-size: 0.88rem; color: rgba(255,255,255,0.6);
  transition: color 0.2s;
}
.ft-col a:hover { color: var(--navy-light); }

.ft-bot {
  max-width: 1140px; margin: 0 auto;
  padding: 1.5rem 0;
  text-align: center;
}
.ft-bot p { font-size: 0.78rem; color: rgba(255,255,255,0.35); }
.ft-disc {
  margin-top: 0.5rem; font-size: 0.7rem;
  color: rgba(255,255,255,0.2);
  max-width: 600px; margin-left: auto; margin-right: auto;
}


/* ════════════════════════════
   ENQUIRY MODAL
   ════════════════════════════ */

.modal-ov {
  position: fixed; inset: 0; z-index: 200;
  background: rgba(15,14,12,0.6);
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  display: flex; align-items: center; justify-content: center;
  padding: 1.5rem;
  opacity: 0; pointer-events: none;
  transition: opacity 0.3s ease;
}
.modal-ov.active { opacity: 1; pointer-events: auto; }

.modal-box {
  background: var(--white);
  width: 100%; max-width: 540px;
  padding: 2.5rem;
  position: relative;
  max-height: 90vh; overflow-y: auto;
  transform: translateY(20px);
  transition: transform 0.3s ease;
  box-shadow: 0 24px 80px rgba(0,0,0,0.15);
}
.modal-ov.active .modal-box { transform: translateY(0); }

.modal-x {
  position: absolute; top: 1rem; right: 1.25rem;
  background: none; border: none;
  font-size: 1.6rem; color: var(--ink-soft);
  cursor: pointer; transition: color 0.2s;
  line-height: 1;
}
.modal-x:hover { color: var(--ink); }

.modal-hd { margin-bottom: 1.75rem; }
.modal-t {
  font-family: Georgia, serif;
  font-size: 1.6rem; font-weight: 500;
  color: var(--ink); margin-bottom: 0.3rem;
}
.modal-st { font-size: 0.85rem; color: var(--ink-soft); }

/* Form */
.fr { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.fg { margin-bottom: 1rem; }
.fg label {
  display: block;
  font-size: 0.75rem; font-weight: 500;
  color: var(--ink-mid);
  letter-spacing: 0.03em;
  margin-bottom: 0.35rem;
}
.fg input, .fg select, .fg textarea {
  width: 100%;
  padding: 0.7rem 0.85rem;
  border: 1px solid var(--border);
  background: var(--cream);
  font-family: inherit; font-size: 0.88rem;
  color: var(--ink);
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
  -webkit-appearance: none;
  border-radius: 0;
}
.fg input:focus, .fg select:focus, .fg textarea:focus {
  border-color: var(--navy);
  box-shadow: 0 0 0 3px rgba(58,79,106,0.08);
}
.fg input.err, .fg select.err {
  border-color: #c0392b;
  box-shadow: 0 0 0 3px rgba(192,57,43,0.08);
}
.fg textarea { resize: vertical; min-height: 80px; }
.fe {
  display: block;
  font-size: 0.72rem; color: #c0392b;
  margin-top: 0.25rem; min-height: 1em;
}

.f-sub {
  width: 100%;
  padding: 0.85rem;
  background: var(--navy); color: #fff;
  border: none;
  font-size: 0.85rem; letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.25s ease;
  margin-top: 0.5rem;
}
.f-sub:hover { background: var(--navy-dark); }
.f-sub:disabled { opacity: 0.7; cursor: not-allowed; }
.f-note {
  font-size: 0.7rem; color: var(--ink-soft);
  text-align: center; margin-top: 0.75rem;
}


/* ════════════════════════════
   WHATSAPP FLOAT
   ════════════════════════════ */

.wa-btn {
  position: fixed;
  bottom: 1.5rem; right: 1.25rem;
  z-index: 90;
  width: 56px; height: 56px;
  background: #25d366;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 16px rgba(37,211,102,0.35);
  transition: opacity 0.4s ease, transform 0.3s ease;
}
.wa-btn:hover { transform: scale(1.08); }
.wa-btn svg { width: 28px; height: 28px; fill: #fff; }


/* ════════════════════════════
   RESPONSIVE
   ════════════════════════════ */

/* Projects */
@media (max-width: 1024px) {
  .pgrid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .section { padding: 4rem 1.25rem; }
  .sh { margin-bottom: 2.5rem; }
  .pgrid { grid-template-columns: 1fr; gap: 1.25rem; }
  .pb2 { padding: 1.25rem; }
  .pn { font-size: 1.2rem; }
  .psi { font-size: 0.68rem; }
  .psi strong { font-size: 0.78rem; }
  .va { margin-top: 2rem; }
  .btn-o { padding: 0.7rem 1.5rem; font-size: 0.75rem; }
}
@media (max-width: 380px) {
  .section { padding: 3rem 1rem; }
  .pb2 { padding: 1rem; }
  .pn { font-size: 1.1rem; }
  .pp { font-size: 1rem; }
}

/* CTA */
@media (max-width: 640px) {
  .cta-ban { padding: 4rem 1.25rem; }
  .cta-btns { flex-direction: column; align-items: center; }
  .btn-s, .btn-ol { width: 100%; max-width: 300px; text-align: center; }
}

/* Footer */
@media (max-width: 768px) {
  .ft-in { grid-template-columns: 1fr; gap: 2rem; }
  footer { padding: 3rem 1.5rem 0; }
  .ft-tag { max-width: 100%; }
}

/* Modal */
@media (max-width: 600px) {
  .modal-box { padding: 2rem 1.5rem; }
  .fr { grid-template-columns: 1fr; }
  .modal-t { font-size: 1.35rem; }
}

/* WhatsApp */
@media (max-width: 640px) {
  .wa-btn { width: 48px; height: 48px; bottom: 1.25rem; right: 1rem; }
  .wa-btn svg { width: 24px; height: 24px; }
}