:root {
  --navy: #10293b;
  --navy-dark: #0a1c29;
  --stone: #f7f4ee;
  --stone-dark: #eae3d3;
  --gold: #b8935a;
  --gold-light: #d4b483;
  --ink: #1c1c1c;
  --gray: #6b6b6b;
  --white: #ffffff;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', 'Segoe UI', sans-serif;
  color: var(--ink);
  background: var(--stone);
  line-height: 1.7;
  font-size: 16px;
}

h1, h2, h3, .logo { font-family: 'Playfair Display', Georgia, serif; }

a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
ul { list-style: none; }

.container { max-width: 1140px; margin: 0 auto; padding: 0 24px; }

/* Reveal animation */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* Header */
header.site-header {
  background: rgba(247,244,238,0.96);
  backdrop-filter: blur(6px);
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid transparent;
  transition: box-shadow 0.3s, border-color 0.3s;
}

header.site-header.scrolled {
  box-shadow: 0 4px 18px rgba(16,41,59,0.08);
  border-color: var(--stone-dark);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  max-width: 1140px;
  margin: 0 auto;
  position: relative;
}

.logo {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--navy);
  letter-spacing: 1px;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo .mark {
  width: 34px; height: 34px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--gold-light);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.95rem;
  font-family: 'Playfair Display', serif;
}

.logo span { color: var(--gold); }

.nav-links { display: flex; gap: 38px; }

.nav-links a {
  font-weight: 500;
  font-size: 0.82rem;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--ink);
  position: relative;
  padding-bottom: 4px;
  transition: color 0.2s;
}

.nav-links a::after {
  content: '';
  position: absolute;
  left: 0; bottom: 0;
  width: 0;
  height: 1px;
  background: var(--gold);
  transition: width 0.25s ease;
}

.nav-links a:hover, .nav-links a.active { color: var(--navy); }
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }

/* Hero */
.hero {
  position: relative;
  background: linear-gradient(rgba(10,28,41,0.62), rgba(10,28,41,0.5)),
              url('https://picsum.photos/seed/laroca-hero/1800/900') center/cover no-repeat;
  color: var(--white);
  padding: 170px 24px 130px;
  text-align: center;
}

.eyebrow {
  display: inline-block;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--gold-light);
  font-size: 0.78rem;
  font-weight: 600;
  margin-bottom: 18px;
}

.hero .eyebrow { color: var(--gold-light); }

.hero h1 { font-size: 3.2rem; font-weight: 600; margin-bottom: 20px; }
.hero p { font-size: 1.15rem; max-width: 560px; margin: 0 auto 34px; color: #e6e6e6; font-weight: 300; }

.hero-actions { display: flex; gap: 18px; justify-content: center; flex-wrap: wrap; }

.btn {
  display: inline-block;
  background: var(--gold);
  color: var(--white);
  padding: 15px 36px;
  border-radius: 2px;
  font-weight: 600;
  font-size: 0.82rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  transition: background 0.25s, transform 0.25s;
  border: 1px solid var(--gold);
  cursor: pointer;
}

.btn:hover { background: #a17f4c; transform: translateY(-2px); }

.btn-outline {
  background: transparent;
  border: 1px solid rgba(255,255,255,0.7);
  color: var(--white);
}

.btn-outline:hover { background: var(--white); color: var(--navy); border-color: var(--white); }

.btn-navy { background: var(--navy); border-color: var(--navy); }
.btn-navy:hover { background: var(--navy-dark); }

/* Stats strip */
.stats-strip {
  background: var(--navy);
  margin: -60px 24px 0;
  border-radius: 4px;
  position: relative;
  z-index: 5;
  max-width: 1000px;
  margin-left: auto;
  margin-right: auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  box-shadow: 0 20px 40px rgba(10,28,41,0.25);
}

.stat {
  text-align: center;
  padding: 34px 16px;
  border-right: 1px solid rgba(255,255,255,0.1);
}

.stat:last-child { border-right: none; }
.stat .num { font-family: 'Playfair Display', serif; font-size: 2rem; color: var(--gold-light); margin-bottom: 4px; }
.stat .label { font-size: 0.78rem; letter-spacing: 1px; text-transform: uppercase; color: #cbd5db; }

/* Sections */
section { padding: 110px 24px 90px; }
section.tight { padding-top: 90px; }

.section-head { text-align: center; margin-bottom: 56px; }
.section-title { color: var(--navy); font-size: 2.2rem; font-weight: 600; }
.section-sub { max-width: 560px; margin: 14px auto 0; color: var(--gray); font-weight: 300; }

/* Features */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 40px;
  max-width: 1140px;
  margin: 0 auto;
}

.feature-card { text-align: center; }

.icon-circle {
  width: 66px; height: 66px;
  border-radius: 50%;
  background: rgba(184,147,90,0.12);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 20px;
}

.icon-circle svg { width: 26px; height: 26px; color: var(--gold); }

.feature-card h3 { color: var(--navy); margin-bottom: 10px; font-size: 1.15rem; font-weight: 600; }
.feature-card p { color: var(--gray); font-size: 0.94rem; font-weight: 300; }

/* Apartment cards */
.apartments-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(310px, 1fr));
  gap: 36px;
  max-width: 1140px;
  margin: 0 auto;
}

.apt-card {
  background: var(--white);
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(16,41,59,0.07);
  position: relative;
  transition: transform 0.3s, box-shadow 0.3s;
}

.apt-card:hover { transform: translateY(-6px); box-shadow: 0 18px 40px rgba(16,41,59,0.14); }

.apt-media { position: relative; overflow: hidden; height: 230px; }
.apt-media img { height: 100%; width: 100%; object-fit: cover; transition: transform 0.5s; }
.apt-card:hover .apt-media img { transform: scale(1.08); }

.badge {
  position: absolute; top: 16px; left: 16px;
  background: var(--gold);
  color: var(--white);
  font-size: 0.7rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 6px 14px;
  z-index: 2;
}

.apt-body { padding: 26px; }
.apt-body h3 { color: var(--navy); margin-bottom: 6px; font-size: 1.25rem; font-weight: 600; }
.apt-meta { color: var(--gray); font-size: 0.88rem; margin-bottom: 14px; }
.apt-price { font-weight: 600; color: var(--navy); font-size: 1.3rem; margin-bottom: 16px; font-family: 'Playfair Display', serif; }
.apt-price small { font-size: 0.8rem; color: var(--gray); font-family: 'Inter', sans-serif; font-weight: 400; }
.apt-amenities { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; }
.apt-amenities span {
  background: var(--stone-dark);
  padding: 5px 13px;
  font-size: 0.75rem;
  letter-spacing: 0.3px;
  color: var(--navy);
}

.apt-body .btn { width: 100%; text-align: center; background: var(--navy); border-color: var(--navy); }
.apt-body .btn:hover { background: var(--navy-dark); }

/* Gallery */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  max-width: 1140px;
  margin: 0 auto;
}

.gallery-item { position: relative; overflow: hidden; height: 250px; }
.gallery-item img { height: 100%; width: 100%; object-fit: cover; transition: transform 0.5s; }
.gallery-item:hover img { transform: scale(1.1); }
.gallery-caption {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(10,28,41,0.75), transparent 55%);
  display: flex; align-items: flex-end;
  padding: 16px;
  opacity: 0;
  transition: opacity 0.3s;
}
.gallery-item:hover .gallery-caption { opacity: 1; }
.gallery-caption span { color: var(--white); font-size: 0.88rem; letter-spacing: 0.5px; }

/* Testimonials */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  max-width: 1140px;
  margin: 0 auto;
}

.testimonial {
  background: var(--white);
  padding: 34px 30px;
  box-shadow: 0 8px 24px rgba(16,41,59,0.06);
}

.stars { display: flex; gap: 3px; margin-bottom: 16px; }
.stars svg { width: 15px; height: 15px; color: var(--gold); }

.testimonial p.quote { color: #444; margin-bottom: 20px; font-weight: 300; font-style: italic; }

.testimonial .who { display: flex; align-items: center; gap: 12px; }
.avatar {
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--navy); color: var(--gold-light);
  display: flex; align-items: center; justify-content: center;
  font-family: 'Playfair Display', serif; font-size: 0.9rem;
}
.who .name { font-weight: 600; color: var(--navy); font-size: 0.92rem; }
.who .trip { font-size: 0.78rem; color: var(--gray); }

/* Contact */
.contact-wrap {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 60px;
  max-width: 1140px;
  margin: 0 auto;
}

.contact-info h3 { color: var(--navy); margin-bottom: 22px; font-size: 1.4rem; font-weight: 600; }

.info-row { display: flex; gap: 14px; margin-bottom: 20px; }
.info-row .icon-circle { width: 44px; height: 44px; flex-shrink: 0; margin: 0; }
.info-row .icon-circle svg { width: 18px; height: 18px; }
.info-row .label { font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.8px; color: var(--gray); margin-bottom: 2px; }
.info-row .value { color: var(--navy); font-weight: 500; }

.contact-card {
  background: var(--white);
  padding: 40px;
  box-shadow: 0 10px 30px rgba(16,41,59,0.07);
}

form.contact-form { display: flex; flex-direction: column; gap: 18px; }

.field label {
  display: block;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--gray);
  margin-bottom: 7px;
}

.contact-form input, .contact-form textarea {
  width: 100%;
  padding: 13px 16px;
  border: 1px solid var(--stone-dark);
  background: var(--stone);
  font-family: inherit;
  font-size: 0.95rem;
  transition: border-color 0.2s;
}

.contact-form input:focus, .contact-form textarea:focus {
  outline: none;
  border-color: var(--gold);
}

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

.map-embed {
  margin-top: 6px;
  border-radius: 10px;
  overflow: hidden;
  height: 230px;
  border: 1px solid var(--stone-dark);
}

.map-embed iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

/* CTA band */
.cta-band {
  background: var(--navy);
  color: var(--white);
  text-align: center;
  padding: 90px 24px;
  background-image: linear-gradient(rgba(10,28,41,0.85), rgba(10,28,41,0.85)), url('https://picsum.photos/seed/laroca-cta/1600/500');
  background-size: cover;
  background-position: center;
}

.cta-band h2 { font-size: 2rem; margin-bottom: 12px; font-weight: 600; }
.cta-band p { margin-bottom: 30px; color: #d8dde0; font-weight: 300; }

/* Footer */
footer.site-footer {
  background: var(--navy-dark);
  color: #b9c3ca;
  padding: 64px 24px 24px;
}

.footer-top { border-bottom: 1px solid rgba(255,255,255,0.08); padding-bottom: 44px; margin-bottom: 24px; }

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1fr;
  gap: 30px;
  max-width: 1140px;
  margin: 0 auto;
}

.footer-brand .logo { color: var(--white); margin-bottom: 14px; }
.footer-brand .logo span { color: var(--gold-light); }
.footer-brand p { font-size: 0.88rem; line-height: 1.7; max-width: 260px; }

.social-row { display: flex; gap: 10px; margin-top: 20px; }
.social-row a {
  width: 36px; height: 36px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.2);
  display: flex; align-items: center; justify-content: center;
  transition: background 0.2s, border-color 0.2s;
}
.social-row a:hover { background: var(--gold); border-color: var(--gold); }
.social-row svg { width: 15px; height: 15px; color: var(--white); }

.footer-grid h4 { color: var(--white); margin-bottom: 16px; font-size: 0.95rem; letter-spacing: 0.5px; }
.footer-grid a, .footer-grid p.line { color: #b9c3ca; font-size: 0.88rem; display: block; margin-bottom: 10px; transition: color 0.2s; }
.footer-grid a:hover { color: var(--gold-light); }

.footer-bottom {
  text-align: center;
  font-size: 0.8rem;
  color: #7f8b92;
  max-width: 1140px;
  margin: 0 auto;
}

.footer-bottom a { color: #a7b3ba; }
.footer-bottom a:hover { color: var(--gold-light); }

.nav-toggle { display: none; }

@media (max-width: 900px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .contact-wrap { grid-template-columns: 1fr; }
  .stats-strip { grid-template-columns: repeat(2, 1fr); margin-top: -40px; }
  .stat:nth-child(2) { border-right: none; }
  .stat { border-bottom: 1px solid rgba(255,255,255,0.1); }
  .nav-links {
    position: absolute;
    top: 72px;
    right: 0;
    left: 0;
    background: var(--stone);
    flex-direction: column;
    gap: 0;
    display: none;
    box-shadow: 0 10px 20px rgba(0,0,0,0.08);
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 16px 24px; border-top: 1px solid var(--stone-dark); }
  .nav-toggle {
    display: block;
    background: none;
    border: none;
    font-size: 1.6rem;
    cursor: pointer;
    color: var(--navy);
  }
  .hero { padding: 140px 20px 100px; }
  .hero h1 { font-size: 2.2rem; }
  section { padding: 80px 20px 60px; }
  .footer-grid { grid-template-columns: 1fr; }
}
