/* ============================================================
   Suite Rosso 24 — stylesheet
   Palette: ivory/sand background, deep red accent, dark text
============================================================ */

:root {
  --ivory: #f5f1ea;
  --sand: #ebe4d6;
  --ink: #1f1a16;
  --ink-soft: #5a5048;
  --red: #8b2a23;
  --red-dark: #6e1f1a;
  --green-wa: #25d366;
  --green-wa-dark: #128c7e;
  --border: rgba(31, 26, 22, 0.12);
  --shadow: 0 8px 32px rgba(31, 26, 22, 0.08);
  --shadow-lg: 0 20px 60px rgba(31, 26, 22, 0.15);

  --serif-display: "Cinzel", "Cormorant Garamond", Georgia, serif;
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "Nunito Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --max: 1200px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--ivory);
  line-height: 1.6;
  font-weight: 400;
  font-size: 16px;
}

h1, h2, h3 { font-family: var(--serif-display); font-weight: 500; letter-spacing: 0.02em; line-height: 1.2; margin: 0 0 0.5em; }
p { margin: 0 0 1em; }
a { color: inherit; text-decoration: none; }

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

/* ============ NAV ============ */
.nav {
  position: sticky; top: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 32px;
  background: rgba(245, 241, 234, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.brand { display: flex; align-items: center; gap: 14px; line-height: 1; }
.brand-mark { height: 56px; width: auto; flex-shrink: 0; }
.brand-text { display: flex; flex-direction: column; }
.brand-name { font-family: var(--serif-display); font-size: 1.5rem; font-weight: 700; letter-spacing: 0.08em; color: var(--red); }
.brand-sub { font-family: var(--serif); font-style: italic; font-size: 0.95rem; color: var(--ink-soft); margin-top: 2px; }
.nav-links { display: flex; gap: 32px; }
.nav-links a {
  font-size: 0.95rem; font-weight: 600; color: var(--ink-soft);
  position: relative; padding: 6px 0; transition: color 0.2s;
}
.nav-links a:hover { color: var(--red); }
.nav-links a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0;
  height: 1px; background: var(--red); transform: scaleX(0); transition: transform 0.2s;
}
.nav-links a:hover::after { transform: scaleX(1); }
.lang { display: flex; gap: 8px; font-family: var(--serif-display); font-size: 0.9rem; font-weight: 600; }
.lang span, .lang a { padding: 4px 10px; border: 1px solid var(--border); border-radius: 4px; color: var(--ink-soft); }
.lang .active { background: var(--ink); color: var(--ivory); border-color: var(--ink); }
.lang a:hover { background: var(--sand); color: var(--ink); }

/* ============ HERO ============ */
.hero {
  position: relative;
  min-height: 88vh;
  display: flex; align-items: center; justify-content: center;
  background-size: cover; background-position: center;
  color: #fff; text-align: center;
  padding: 80px 24px;
}
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.25) 0%, rgba(0,0,0,0.55) 100%);
}
.hero-content { position: relative; max-width: 760px; }
.hero h1 {
  font-family: var(--serif-display);
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 700;
  letter-spacing: 0.12em;
  margin-bottom: 12px;
  text-shadow: 0 2px 20px rgba(0,0,0,0.4);
}
.hero-claim {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 400;
  margin-bottom: 24px;
  opacity: 0.95;
}
.hero-sub {
  font-size: 1.1rem;
  max-width: 580px;
  margin: 0 auto 40px;
  opacity: 0.92;
}
.hero-cta { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ============ BUTTONS ============ */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 28px;
  font-family: var(--sans); font-size: 1rem; font-weight: 600;
  border-radius: 4px;
  cursor: pointer; transition: all 0.2s ease;
  border: 2px solid transparent;
}
.btn i { font-size: 1.25rem; }
.btn-primary {
  background: var(--green-wa); color: #fff;
}
.btn-primary:hover { background: var(--green-wa-dark); transform: translateY(-1px); box-shadow: var(--shadow-lg); }
.btn-ghost {
  background: transparent; color: #fff; border-color: rgba(255,255,255,0.4);
}
.btn-ghost:hover { background: rgba(255,255,255,0.1); border-color: #fff; }
.btn-lg { padding: 18px 36px; font-size: 1.1rem; }

/* ============ SECTIONS ============ */
.section { padding: 100px 0; }
.section-alt { background: var(--sand); }
.section-title {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  text-align: center;
  margin-bottom: 56px;
  color: var(--ink);
}
.section-title::after {
  content: ""; display: block;
  width: 60px; height: 2px; background: var(--red);
  margin: 16px auto 0;
}
.section-lead {
  text-align: center; max-width: 720px; margin: 0 auto 48px;
  font-family: var(--serif); font-size: 1.2rem; font-style: italic; color: var(--ink-soft);
}

/* ============ CARDS-3 ============ */
.cards-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.card {
  background: #fff;
  padding: 36px 28px;
  border-radius: 6px;
  border: 1px solid var(--border);
  transition: transform 0.3s, box-shadow 0.3s;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.card h3 {
  font-size: 1.35rem; font-weight: 500;
  color: var(--red); margin-bottom: 16px;
  border-bottom: 1px solid var(--border); padding-bottom: 12px;
}
.card p { color: var(--ink-soft); font-size: 0.98rem; line-height: 1.7; margin: 0; }

/* ============ AMENITIES ============ */
.amenities { padding: 50px 0; background: var(--ink); color: var(--ivory); }
.amenities .container {
  display: grid; grid-template-columns: repeat(6, 1fr); gap: 20px;
  align-items: center; text-align: center;
}
.amenity { display: flex; flex-direction: column; align-items: center; gap: 10px; }
.amenity i { font-size: 2rem; color: var(--ivory); opacity: 0.85; }
.amenity span { font-size: 0.9rem; font-weight: 600; letter-spacing: 0.03em; }

/* ============ SPLIT (area section) ============ */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split-text h2 { text-align: left; margin-bottom: 24px; }
.split-text h2::after { margin: 16px 0 0; }
.split-text p { color: var(--ink-soft); font-size: 1.05rem; }
.distances { list-style: none; padding: 0; margin: 24px 0 0; border-top: 1px solid var(--border); }
.distances li {
  display: flex; justify-content: space-between; align-items: center;
  padding: 12px 0; border-bottom: 1px solid var(--border);
  font-family: var(--serif); font-size: 1.05rem;
}
.distances li span:first-child { color: var(--ink); }
.distances li span:last-child { color: var(--red); font-weight: 600; font-family: var(--sans); font-size: 0.95rem; }
.split-img img {
  width: 100%; height: 540px; object-fit: cover;
  border-radius: 6px; box-shadow: var(--shadow-lg);
}

/* ============ GALLERY ============ */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 220px;
  gap: 12px;
}
.g-item {
  position: relative; overflow: hidden; cursor: pointer;
  border-radius: 4px; background: var(--sand);
}
.g-item img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.5s ease;
}
.g-item:hover img { transform: scale(1.06); }
.g-large { grid-column: span 2; grid-row: span 2; }

/* ============ CONTACT ============ */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: stretch; }
.contact-actions {
  display: flex; flex-direction: column; gap: 20px; justify-content: center;
}
.contact-actions .btn { align-self: flex-start; }
.contact-line {
  display: flex; align-items: center; gap: 12px;
  font-size: 1.15rem; font-weight: 500; color: var(--ink);
  padding: 8px 0; transition: color 0.2s;
}
.contact-line:hover { color: var(--red); }
.contact-line i { font-size: 1.5rem; color: var(--red); }
.contact-address {
  display: flex; align-items: center; gap: 12px;
  margin-top: 12px; padding-top: 20px; border-top: 1px solid var(--border);
  color: var(--ink-soft); font-size: 1rem;
}
.contact-address i { font-size: 1.5rem; color: var(--red); }
.contact-map iframe {
  width: 100%; height: 100%; min-height: 360px;
  border: 0; border-radius: 6px; box-shadow: var(--shadow);
}

/* ============ FOOTER ============ */
.footer { background: var(--ink); color: var(--ivory); padding: 60px 0 30px; }
.footer-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px;
}
.footer p { color: rgba(245, 241, 234, 0.75); font-size: 0.95rem; margin: 0 0 8px; }
.footer a { color: var(--ivory); }
.footer a:hover { color: var(--green-wa); }
.footer-logo { height: 160px; width: auto; display: block; margin: -30px 0 -10px -30px; filter: brightness(1.4); }
.footer-copy {
  margin-top: 40px; padding-top: 24px;
  border-top: 1px solid rgba(245,241,234,0.12);
  text-align: center; font-size: 0.85rem; color: rgba(245,241,234,0.5);
}

/* ============ WHATSAPP FLOAT ============ */
.wa-float {
  position: fixed; bottom: 28px; right: 28px; z-index: 50;
  width: 60px; height: 60px;
  background: var(--green-wa); color: #fff;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 2rem;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4);
  transition: transform 0.2s, box-shadow 0.2s;
}
.wa-float:hover {
  transform: scale(1.1) rotate(-5deg);
  box-shadow: 0 12px 32px rgba(37, 211, 102, 0.5);
}

/* ============ LIGHTBOX ============ */
.lightbox {
  display: none; position: fixed; inset: 0; z-index: 200;
  background: rgba(0,0,0,0.92);
  align-items: center; justify-content: center;
}
.lightbox.open { display: flex; }
.lb-img { max-width: 92vw; max-height: 88vh; object-fit: contain; }
.lb-close, .lb-prev, .lb-next {
  position: absolute; color: #fff; font-size: 2.4rem; cursor: pointer;
  user-select: none; opacity: 0.85; transition: opacity 0.2s;
}
.lb-close:hover, .lb-prev:hover, .lb-next:hover { opacity: 1; }
.lb-close { top: 28px; right: 36px; font-size: 3rem; }
.lb-prev { left: 36px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 36px; top: 50%; transform: translateY(-50%); }

/* ============ RESPONSIVE ============ */
@media (max-width: 900px) {
  .nav { padding: 14px 20px; flex-wrap: wrap; gap: 12px; }
  .nav-links { gap: 20px; order: 3; width: 100%; justify-content: center; padding-top: 8px; border-top: 1px solid var(--border); }
  .section { padding: 70px 0; }
  .cards-3 { grid-template-columns: 1fr; gap: 20px; }
  .amenities .container { grid-template-columns: repeat(3, 1fr); gap: 28px 12px; }
  .split { grid-template-columns: 1fr; gap: 32px; }
  .split-img img { height: 360px; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 180px; }
  .g-large { grid-column: span 2; grid-row: span 2; }
  .contact-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-grid { grid-template-columns: 1fr; gap: 24px; text-align: center; }
  .wa-float { width: 54px; height: 54px; font-size: 1.8rem; bottom: 20px; right: 20px; }
}

@media (max-width: 540px) {
  .nav-links { gap: 14px; font-size: 0.85rem; }
  .nav-links a { font-size: 0.85rem; }
  .hero { min-height: 80vh; }
  .hero-cta { flex-direction: column; align-items: stretch; }
  .hero-cta .btn { justify-content: center; }
  .amenities .container { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid { grid-template-columns: 1fr; grid-auto-rows: 240px; }
  .g-large { grid-column: span 1; grid-row: span 1; }
}
