/* ============================================================
   ALOS JAY PROPERTIES — Design Tokens
   Palette: rich gold-yellow + near-black, warm ivory canvas.
   Display: Fraunces (editorial serif, luxury warmth)
   Body:    Manrope (clean geometric sans)
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Fraunces:ital,opsz,wght@0,9..144,300;0,9..144,450;0,9..144,600;1,9..144,450&family=Manrope:wght@400;500;600;700;800&display=swap');

:root{
  --black:        #0B0B0C;
  --black-soft:   #17171A;
  --gold:         #D4AA00;
  --gold-light:   #E8C547;
  --gold-dim:     rgba(212,170,0,0.14);
  --ivory:        #FAF7F0;
  --card:         #FFFFFF;
  --text:         #1B1A18;
  --text-muted:   #6B6862;
  --text-inverse: #F3EFE6;
  --border:       rgba(27,26,24,0.08);
  --border-gold:  rgba(212,170,0,0.28);

  --font-display: 'Fraunces', Georgia, serif;
  --font-body:    'Manrope', -apple-system, sans-serif;

  --radius-sm: 10px;
  --radius-md: 18px;
  --radius-lg: 28px;

  --ease: cubic-bezier(.22,.61,.36,1);
  --dur: 260ms;

  --container: 1180px;
}

*,*::before,*::after{ box-sizing:border-box; }
html{ scroll-behavior:smooth; }
@media (prefers-reduced-motion: reduce){
  html{ scroll-behavior:auto; }
  *{ animation-duration:0.001ms !important; animation-iteration-count:1 !important; transition-duration:0.001ms !important; }
}

body{
  margin:0;
  font-family: var(--font-body);
  color: var(--text);
  background: var(--ivory);
  -webkit-font-smoothing:antialiased;
  line-height:1.5;
}

img{ max-width:100%; display:block; }
a{ color:inherit; text-decoration:none; }
button{ font-family:inherit; cursor:pointer; }
h1,h2,h3,h4{ font-family: var(--font-display); margin:0; font-weight:450; letter-spacing:-0.01em; }
p{ margin:0; }
ul{ margin:0; padding:0; list-style:none; }

.wrap{ max-width: var(--container); margin:0 auto; padding:0 28px; }

:focus-visible{
  outline: 2.5px solid var(--gold);
  outline-offset: 3px;
  border-radius:4px;
}

.eyebrow{
  font-family: var(--font-body);
  font-size:12.5px;
  font-weight:700;
  letter-spacing:0.16em;
  text-transform:uppercase;
  color: var(--gold);
}

/* ---------- Buttons ---------- */
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  padding:14px 26px;
  border-radius: 999px;
  font-weight:700;
  font-size:15px;
  border:1.5px solid transparent;
  transition: transform var(--dur) var(--ease), background var(--dur) var(--ease), border-color var(--dur) var(--ease), color var(--dur) var(--ease);
  white-space:nowrap;
}
.btn:hover{ transform: translateY(-2px); }
.btn-gold{ background: var(--gold); color: var(--black); }
.btn-gold:hover{ background: var(--gold-light); }
.btn-outline-dark{ border-color: rgba(255,255,255,0.35); color: var(--text-inverse); }
.btn-outline-dark:hover{ border-color: var(--gold); color: var(--gold-light); }
.btn-outline-light{ border-color: var(--border-gold); color: var(--text); }
.btn-outline-light:hover{ border-color: var(--gold); background: var(--gold-dim); }
.btn-sm{ padding:10px 18px; font-size:13.5px; }
.btn svg{ width:16px; height:16px; flex-shrink:0; }

/* ============================================================
   NAV
   ============================================================ */
.nav{
  position:fixed; top:0; left:0; right:0; z-index:100;
  padding: 22px 0;
  transition: padding var(--dur) var(--ease), background var(--dur) var(--ease), box-shadow var(--dur) var(--ease), backdrop-filter var(--dur) var(--ease);
}
.nav .wrap{ display:flex; align-items:center; justify-content:space-between; }
.nav-logo{ display:flex; align-items:center; gap:10px; font-family: var(--font-display); font-size:19px; font-weight:600; color: var(--text-inverse); letter-spacing:0.01em; }
.nav-logo .dot{ width:7px; height:7px; border-radius:50%; background: var(--gold); }
.nav-logo-icon{ height:34px; width:auto; display:block; }
.footer-brand .nav-logo-icon{ height:40px; }

/* ---------- Scroll progress ---------- */
.scroll-progress{
  position:fixed; top:0; left:0; height:3px; width:0%;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  z-index:200; transition: width 60ms linear;
}
.nav-links{ display:flex; align-items:center; gap:34px; }
.nav-links a{ font-size:14.5px; font-weight:600; color: rgba(243,239,230,0.78); transition: color var(--dur) var(--ease); }
.nav-links a:hover{ color: var(--gold-light); }
.nav-cta{ display:flex; align-items:center; gap:18px; }
.nav-burger{ display:none; background:none; border:none; padding:8px; }
.nav-burger span{ display:block; width:22px; height:2px; background: var(--text-inverse); margin:5px 0; transition: all var(--dur) var(--ease); }

.nav.scrolled{
  padding: 12px 0;
  background: rgba(11,11,12,0.72);
  backdrop-filter: blur(14px) saturate(140%);
  box-shadow: 0 1px 0 rgba(212,170,0,0.14);
}

.mobile-panel{
  display:none;
  position:fixed; inset:0; z-index:99;
  background: var(--black);
  padding: 100px 28px 40px;
  flex-direction:column; gap:26px;
}
.mobile-panel.open{ display:flex; }
.mobile-panel a{ font-family:var(--font-display); font-size:26px; color: var(--text-inverse); }
.mobile-panel .btn{ margin-top:10px; align-self:flex-start; }

@media (max-width: 860px){
  .nav-links{ display:none; }
  .nav-burger{ display:block; }
  .nav-cta .btn:not(.nav-burger){ display:none; }
}

/* ============================================================
   HERO
   ============================================================ */
.hero{
  position:relative;
  background: var(--black);
  color: var(--text-inverse);
  padding: 168px 0 110px;
  overflow:hidden;
}
.hero-grid{
  position:absolute; inset:0;
  background-image:
    linear-gradient(rgba(212,170,0,0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(212,170,0,0.055) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 80% 60% at 70% 30%, black, transparent 75%);
}
.hero-glow{
  position:absolute; top:-220px; right:-160px; width:640px; height:640px; border-radius:50%;
  background: radial-gradient(circle, rgba(212,170,0,0.22), transparent 68%);
  filter: blur(10px);
}
.hero-blob{
  position:absolute; left:-120px; bottom:-140px; width:420px; height:420px;
  background: radial-gradient(circle at 35% 35%, rgba(212,170,0,0.16), rgba(212,170,0,0.02) 70%);
  animation: heroBlobMorph 16s ease-in-out infinite;
  pointer-events:none;
}
@keyframes heroBlobMorph{
  0%,100%{ border-radius: 42% 58% 63% 37% / 45% 41% 59% 55%; transform: rotate(0deg) scale(1); }
  33%{ border-radius: 58% 42% 39% 61% / 55% 60% 40% 45%; transform: rotate(8deg) scale(1.05); }
  66%{ border-radius: 48% 52% 55% 45% / 40% 55% 45% 60%; transform: rotate(-6deg) scale(0.97); }
}
@media (prefers-reduced-motion: reduce){ .hero-blob{ animation:none; } }

/* Morph divider — softens the hard black-to-ivory seam between Hero and About */
.hero-divider{
  position:absolute; left:0; right:0; bottom:-1px; height:86px; z-index:2;
  animation: dividerBreathe 12s ease-in-out infinite;
  transform-origin: bottom center;
}
.hero-divider svg{ width:100%; height:100%; display:block; }
@keyframes dividerBreathe{
  0%,100%{ transform: scaleY(1) scaleX(1); }
  50%{ transform: scaleY(1.12) scaleX(1.015); }
}
@media (prefers-reduced-motion: reduce){ .hero-divider{ animation:none; } }
.hero .wrap{ position:relative; }
.hero-content{ max-width: 680px; }
.hero-eyebrow{ display:flex; align-items:center; gap:10px; margin-bottom:22px; }
.hero-eyebrow .line{ width:34px; height:1px; background: var(--gold); }
.hero h1{
  font-size: clamp(2.5rem, 5.2vw, 4.1rem);
  line-height:1.06;
  font-weight:450;
  color: var(--text-inverse);
}
.hero h1 em{ font-style:italic; color: var(--gold-light); }
.hero-sub{
  margin-top:22px; font-size:17.5px; line-height:1.65; color: rgba(243,239,230,0.72);
  max-width: 520px;
}
.hero-actions{ display:flex; gap:16px; margin-top:38px; flex-wrap:wrap; }
.hero-meta{
  display:flex; gap:36px; margin-top:64px; flex-wrap:wrap;
}
.hero-meta div{ border-left: 1.5px solid rgba(212,170,0,0.3); padding-left:16px; }
.hero-meta .num{ font-family:var(--font-display); font-size:27px; color: var(--gold-light); display:block; }
.hero-meta .lbl{ font-size:12.5px; color: rgba(243,239,230,0.55); text-transform:uppercase; letter-spacing:0.08em; }

/* ============================================================
   SECTION SCAFFOLDING
   ============================================================ */
section{ padding: 108px 0; }
.section-head{ max-width: 620px; margin-bottom:54px; }
.section-head .eyebrow{ margin-bottom:14px; display:block; }
.section-head h2{ font-size: clamp(1.9rem, 3.4vw, 2.7rem); }
.section-head p{ margin-top:16px; color: var(--text-muted); font-size:16px; line-height:1.65; }

.reveal{ opacity:0; transform: translateY(26px); transition: opacity 700ms var(--ease), transform 700ms var(--ease), border-radius 900ms var(--ease); }
.reveal.in{ opacity:1; transform:none; }

/* 2026-style morph: cards settle from an organic blob shape into their
   final rounded-rectangle silhouette as they scroll into view. */
.bento-card.reveal, .prop-card.reveal, .testi-card.reveal{
  border-radius: 44% 56% 62% 38% / 48% 44% 56% 52%;
}
.bento-card.reveal.in{ border-radius: var(--radius-md); }
.prop-card.reveal.in{ border-radius: var(--radius-lg); }
.testi-card.reveal.in{ border-radius: var(--radius-md); }

/* Elegant stagger for grid groups */
.bento-card:nth-child(1){ transition-delay:0ms; }
.bento-card:nth-child(2){ transition-delay:60ms; }
.bento-card:nth-child(3){ transition-delay:120ms; }
.bento-card:nth-child(4){ transition-delay:180ms; }
.bento-card:nth-child(5){ transition-delay:240ms; }
.bento-card:nth-child(6){ transition-delay:300ms; }
.bento-card:nth-child(7){ transition-delay:360ms; }
.trust-item:nth-child(1){ transition-delay:0ms; }
.trust-item:nth-child(2){ transition-delay:80ms; }
.trust-item:nth-child(3){ transition-delay:160ms; }
.trust-item:nth-child(4){ transition-delay:240ms; }
.testi-card:nth-child(1){ transition-delay:0ms; }
.testi-card:nth-child(2){ transition-delay:100ms; }
.testi-card:nth-child(3){ transition-delay:200ms; }

/* ============================================================
   ABOUT
   ============================================================ */
.about{ background: var(--ivory); }
.about-grid{ display:grid; grid-template-columns: 1.1fr 0.9fr; gap:70px; align-items:center; }
.about-copy p{ color: var(--text-muted); font-size:16px; line-height:1.75; margin-bottom:16px; }
.about-copy p:last-child{ margin-bottom:0; }

.seal-wrap{ position:relative; display:flex; align-items:center; justify-content:center; }
.seal{
  width: 240px; height:240px; position:relative;
}
.seal svg{ width:100%; height:100%; }
.seal .ring-text{ animation: spin 34s linear infinite; transform-origin:50% 50%; }
@keyframes spin{ to{ transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce){ .seal .ring-text{ animation:none; } }

@media (max-width: 900px){
  .about-grid{ grid-template-columns:1fr; gap:44px; }
  .seal-wrap{ order:-1; }
  .seal{ width:180px; height:180px; }
}

/* ============================================================
   SERVICES — bento grid
   ============================================================ */
.services{ background: var(--black); color: var(--text-inverse); }
.services .section-head .eyebrow{ color: var(--gold-light); }
.services .section-head p{ color: rgba(243,239,230,0.62); }
.bento{
  display:grid;
  grid-template-columns: repeat(6, 1fr);
  grid-auto-rows: 200px;
  gap:18px;
}
.bento-card{
  grid-column: span 3;
  background: var(--black-soft);
  border:1px solid rgba(212,170,0,0.14);
  border-radius: var(--radius-md);
  padding: 30px;
  display:flex; flex-direction:column; justify-content:space-between;
  transition: border-color var(--dur) var(--ease), transform var(--dur) var(--ease), background var(--dur) var(--ease);
}
.bento-card:hover{ border-color: rgba(212,170,0,0.5); transform: translateY(-4px); background:#1C1C20; }
.bento-card:nth-child(1),.bento-card:nth-child(2){ grid-column: span 3; }
.bento-card:nth-child(3),.bento-card:nth-child(4),.bento-card:nth-child(5){ grid-column: span 2; grid-auto-rows: 170px; }
.bento-card:nth-child(6),.bento-card:nth-child(7){ grid-column: span 3; grid-auto-rows: 170px; }
.bento-icon{ width:42px; height:42px; border-radius:12px; background: var(--gold-dim); display:flex; align-items:center; justify-content:center; }
.bento-icon svg{ width:21px; height:21px; stroke: var(--gold-light); }
.bento-card h3{ font-size:19px; margin-top:16px; color: var(--text-inverse); font-weight:500; }
.bento-card p{ font-size:14px; color: rgba(243,239,230,0.55); margin-top:8px; line-height:1.55; }

@media (max-width: 860px){
  .bento{ grid-template-columns: 1fr 1fr; grid-auto-rows:auto; }
  .bento-card, .bento-card:nth-child(1), .bento-card:nth-child(2), .bento-card:nth-child(3), .bento-card:nth-child(4), .bento-card:nth-child(5), .bento-card:nth-child(6), .bento-card:nth-child(7){ grid-column: span 1; grid-auto-rows:auto; min-height:190px; }
}
@media (max-width: 520px){
  .bento{ grid-template-columns: 1fr; }
}

/* ============================================================
   PROPERTIES
   ============================================================ */
.properties{ background: var(--ivory); }
.filter-stack{ display:flex; flex-direction:column; gap:14px; margin-bottom:36px; }
.filter-row{ display:flex; align-items:center; gap:14px; flex-wrap:wrap; }
.filter-label{ font-size:12.5px; font-weight:800; letter-spacing:0.08em; text-transform:uppercase; color: var(--text-muted); min-width:44px; }
.prop-filter{ display:flex; gap:10px; flex-wrap:wrap; }
.prop-filter button{
  background:none; border:1.5px solid var(--border); border-radius:999px;
  padding:9px 18px; font-size:13.5px; font-weight:700; color: var(--text-muted);
  transition: all var(--dur) var(--ease);
}
.prop-filter button.active, .prop-filter button:hover{ border-color: var(--gold); color: var(--text); background: var(--gold-dim); }

.prop-grid{ display:grid; grid-template-columns: repeat(3, 1fr); gap:28px; }
@media (max-width:1080px){ .prop-grid{ grid-template-columns: repeat(2, 1fr); } }
@media (max-width:640px){ .prop-grid{ grid-template-columns:1fr; } }

.prop-card{
  background: var(--card);
  border-radius: var(--radius-lg);
  overflow:hidden;
  border:1px solid var(--border);
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.prop-card:hover{ transform: translateY(-6px); box-shadow: 0 24px 48px -20px rgba(11,11,12,0.22); }
.prop-media{ position:relative; aspect-ratio: 4/3; background: var(--black); overflow:hidden; }
.prop-media img{ width:100%; height:100%; object-fit:cover; }
.prop-badges{ position:absolute; top:16px; left:16px; display:flex; gap:8px; }
.badge{ font-size:11.5px; font-weight:800; letter-spacing:0.05em; text-transform:uppercase; padding:6px 12px; border-radius:999px; }
.badge-available{ background: var(--gold); color: var(--black); }
.badge-booked{ background: rgba(11,11,12,0.85); color: var(--text-inverse); }
.badge-sale{ background: var(--black); color: var(--gold-light); border:1px solid var(--gold-light); }
.badge-loc{ position:absolute; bottom:16px; left:16px; background: rgba(11,11,12,0.7); color: var(--text-inverse); backdrop-filter: blur(6px); font-size:12px; font-weight:700; padding:6px 13px; border-radius:999px; }

.prop-body{ padding:26px 26px 28px; }
.prop-body .row-top{ display:flex; justify-content:space-between; align-items:baseline; gap:12px; }
.prop-body h3{ font-size:21px; }
.prop-price{ font-family: var(--font-display); color: var(--gold); font-size:18px; white-space:nowrap; }
.prop-price span{ font-family: var(--font-body); font-size:11.5px; color: var(--text-muted); font-weight:600; }
.prop-desc{ margin-top:10px; color: var(--text-muted); font-size:14.5px; line-height:1.6; }
.prop-actions{ display:flex; gap:10px; margin-top:20px; }

/* ============================================================
   VISION & MISSION
   ============================================================ */
.vm{ background: var(--black); color: var(--text-inverse); }
.vm-grid{ display:grid; grid-template-columns:1fr 1fr; gap:0; border-radius: var(--radius-lg); overflow:hidden; border:1px solid rgba(212,170,0,0.18); }
.vm-card{ padding:52px 48px; position:relative; }
.vm-card:first-child{ border-right:1px solid rgba(212,170,0,0.18); }
.vm-card .eyebrow{ color: var(--gold-light); }
.vm-card h3{ font-size:26px; margin-top:14px; color: var(--text-inverse); }
.vm-card p{ margin-top:16px; color: rgba(243,239,230,0.68); font-size:15.5px; line-height:1.75; }
@media (max-width:800px){ .vm-grid{ grid-template-columns:1fr; } .vm-card:first-child{ border-right:none; border-bottom:1px solid rgba(212,170,0,0.18); } }

/* ============================================================
   TRUST
   ============================================================ */
.trust{ background: var(--ivory); }
.trust-grid{ display:grid; grid-template-columns: repeat(4,1fr); gap:24px; }
@media (max-width:900px){ .trust-grid{ grid-template-columns: repeat(2,1fr); } }
.trust-item{ text-align:left; }
.trust-item .bento-icon{ background: var(--gold-dim); }
.trust-item .bento-icon svg{ stroke: var(--gold); }
.trust-item h4{ font-size:16.5px; margin-top:16px; font-weight:600; }
.trust-item p{ font-size:13.5px; color: var(--text-muted); margin-top:6px; line-height:1.55; }

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.testi{ background: var(--black); color: var(--text-inverse); }
.testi .section-head p{ color: rgba(243,239,230,0.6); }
.testi-track{ display:grid; grid-template-columns: repeat(3,1fr); gap:22px; }
@media (max-width:900px){ .testi-track{ grid-template-columns:1fr; } }
.testi-card{ background: var(--black-soft); border:1px solid rgba(212,170,0,0.14); border-radius: var(--radius-md); padding:30px; }
.testi-stars{ color: var(--gold); font-size:15px; letter-spacing:2px; }
.testi-card p{ margin-top:16px; font-size:14.5px; line-height:1.7; color: rgba(243,239,230,0.78); }
.testi-who{ display:flex; align-items:center; gap:12px; margin-top:22px; }
.testi-avatar{ width:38px; height:38px; border-radius:50%; background: var(--gold-dim); display:flex; align-items:center; justify-content:center; font-family:var(--font-display); color: var(--gold-light); font-size:15px; }
.testi-who .name{ font-size:13.5px; font-weight:700; }
.testi-who .tag{ font-size:12px; color: rgba(243,239,230,0.5); }

/* ============================================================
   CONTACT
   ============================================================ */
.contact{ background: var(--ivory); }
.contact-grid{ display:grid; grid-template-columns: 1fr 1fr; gap:60px; }
@media (max-width:900px){ .contact-grid{ grid-template-columns:1fr; } }

.contact-wa{
  background: var(--black); color: var(--text-inverse);
  border-radius: var(--radius-lg); padding:44px;
  display:flex; flex-direction:column; justify-content:space-between;
  position:relative; overflow:hidden;
}
.contact-wa .eyebrow{ color: var(--gold-light); }
.contact-wa h3{ font-size:27px; margin-top:14px; color:var(--text-inverse); }
.contact-wa p{ margin-top:14px; color: rgba(243,239,230,0.68); font-size:15px; line-height:1.65; }
.contact-wa .btn{ margin-top:28px; align-self:flex-start; }
.contact-wa .alt-contacts{ display:flex; gap:22px; margin-top:22px; flex-wrap:wrap; }
.contact-wa .alt-contacts a{ display:flex; align-items:center; gap:8px; font-size:13.5px; font-weight:600; color: rgba(243,239,230,0.7); transition: color var(--dur) var(--ease); }
.contact-wa .alt-contacts a:hover{ color: var(--gold-light); }
.contact-wa .alt-contacts svg{ width:16px; height:16px; stroke: var(--gold); flex-shrink:0; }

.form-card{ background: var(--card); border:1px solid var(--border); border-radius: var(--radius-lg); padding:40px; }
.form-row{ margin-bottom:18px; }
.form-row label{ display:block; font-size:13px; font-weight:700; margin-bottom:8px; color: var(--text-muted); }
.form-row input, .form-row textarea{
  width:100%; padding:13px 16px; border-radius: var(--radius-sm); border:1.5px solid var(--border);
  font-family:inherit; font-size:14.5px; background:var(--ivory); transition: border-color var(--dur) var(--ease);
}
.form-row input:focus, .form-row textarea:focus{ outline:none; border-color: var(--gold); }
.form-row textarea{ resize:vertical; min-height:110px; }
.form-note{ font-size:12.5px; color: var(--text-muted); margin-top:14px; }

/* ============================================================
   FOOTER
   ============================================================ */
footer{ background: var(--black); color: rgba(243,239,230,0.6); padding:56px 0 30px; }
.footer-top{ display:flex; justify-content:space-between; align-items:flex-start; gap:40px; flex-wrap:wrap; padding-bottom:36px; border-bottom:1px solid rgba(212,170,0,0.14); }
.footer-brand{ max-width:320px; }
.footer-brand .nav-logo{ margin-bottom:12px; }
.footer-links{ display:flex; gap:60px; flex-wrap:wrap; }
.footer-col h5{ font-size:12.5px; text-transform:uppercase; letter-spacing:0.08em; color: var(--gold-light); margin-bottom:14px; }
.footer-col a{ display:block; font-size:14px; margin-bottom:10px; color: rgba(243,239,230,0.62); transition: color var(--dur) var(--ease); }
.footer-col a:hover{ color: var(--gold-light); }
.footer-social{ display:flex; gap:12px; }
.footer-social a{ width:38px; height:38px; border-radius:50%; border:1px solid rgba(212,170,0,0.28); display:flex; align-items:center; justify-content:center; }
.footer-social svg{ width:16px; height:16px; }
.footer-bottom{ display:flex; justify-content:space-between; padding-top:26px; font-size:12.5px; flex-wrap:wrap; gap:10px; }

/* ============================================================
   FLOATING WHATSAPP
   ============================================================ */
.wa-float{
  position:fixed; right:22px; bottom:22px; z-index:90;
  width:58px; height:58px; border-radius:50%;
  background: var(--gold); color: var(--black);
  display:flex; align-items:center; justify-content:center;
  box-shadow: 0 12px 30px -8px rgba(212,170,0,0.55);
  transition: transform var(--dur) var(--ease);
}
.wa-float:hover{ transform: scale(1.08); }
.wa-float svg{ width:27px; height:27px; }

@media (max-width:520px){
  section{ padding:76px 0; }
  .hero{ padding:140px 0 80px; }
}
