/* ═══════════════════════════════════════════════════════
   ESTELLE PRIVÉ — STYLE GUIDE
   ═══════════════════════════════════════════════════════
   
   HOW TO CUSTOMIZE:
   
   🎨 COLORS    → Edit the :root variables below
   🔤 FONTS     → Change the --font-display / --font-body values
   📐 SPACING   → Adjust --section-pad and --side-pad
   
   Search for ✏️ in index.html to find editable content.
   ═══════════════════════════════════════════════════════ */


/* ─── DESIGN TOKENS (edit these to change the entire look) ─── */
:root {
  /* Brand Colors */
  --rosso: #7B1818;              /* Primary brand red (ancora rosso) */
  --rosso-deep: #5A1010;         /* Darker hover state */
  --rosso-glow: #9E2B2B;         /* Lighter accent */
  --rosso-soft: rgba(123,24,24,0.08);

  /* Light Theme */
  --bg: #FAFAF7;                 /* Main page background */
  --bg-warm: #F5F2ED;            /* Warm accent sections */
  --bg-card: #FFFFFF;            /* Card backgrounds */
  --bg-accent: #F0ECE6;          /* Subtle accent bg */
  --bg-dark: #1A1714;            /* Dark sections (hero, contact, footer) */

  /* Text */
  --text-primary: #1A1714;       /* Headlines */
  --text-secondary: #5C564E;     /* Body text */
  --text-tertiary: #8A847C;      /* Muted text */
  --text-faint: #B5AFA7;         /* Very light text */
  --text-on-dark: #F5F2ED;       /* Text on dark backgrounds */

  /* Borders */
  --border: #E8E3DC;
  --border-light: #F0ECE6;
  --border-rosso: rgba(123,24,24,0.15);

  /* Gold accents */
  --gold: #9E8564;
  --gold-light: #B8A080;

  /* Typography */
  --font-display: 'Cormorant Garamond', 'Georgia', serif;
  --font-body: 'Outfit', 'Helvetica Neue', sans-serif;
  --font-accent: 'Playfair Display', 'Georgia', serif;

  /* Layout */
  --nav-height: 76px;
  --section-pad: clamp(72px, 10vw, 140px);
  --side-pad: clamp(24px, 5vw, 80px);
}


/* ─── RESET & BASE ─── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
}

body {
  background: var(--bg);
  color: var(--text-secondary);
  font-family: var(--font-body);
  font-weight: 300;
  overflow-x: hidden;
  line-height: 1.6;
}

a { color: inherit; text-decoration: none; }
button { border: none; background: none; cursor: pointer; font: inherit; color: inherit; }

::selection { background: var(--rosso); color: #fff; }


/* ─── NAVIGATION ─── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: var(--nav-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 var(--side-pad);
  transition: all 0.5s ease;
  border-bottom: 1px solid transparent;
}

.nav.scrolled {
  background: rgba(250,250,247,0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom-color: var(--border);
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 14px;
}

.nav-monogram {
  font-family: var(--font-accent);
  font-size: 26px;
  font-style: italic;
  color: #C8A96E;
  line-height: 1;
}

.nav-wordmark { display: flex; flex-direction: column; }

.nav-wordmark-name {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 500;
  letter-spacing: 0.14em;
  color: #FFFFFF;
  text-transform: uppercase;
  line-height: 1.1;
  transition: color 0.5s ease;
}

.nav.scrolled .nav-wordmark-name { color: var(--text-primary); }

.nav-wordmark-sub {
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.35em;
  color: #C4A86A;
  text-transform: uppercase;
  margin-top: 3px;
}

.nav.scrolled .nav-wordmark-sub { color: #C4A86A; }

.nav-monogram { transition: color 0.5s ease; }
.nav.scrolled .nav-monogram { color: #C8A96E; }

.nav-right {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-contact-link {
  font-size: 12px;
  font-weight: 300;
  letter-spacing: 0.12em;
  color: var(--text-secondary);
  transition: color 0.3s ease;
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav-contact-link:hover { color: var(--rosso); }

.nav-contact-link svg {
  width: 14px; height: 14px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.5;
}

.nav-link {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-primary);
  text-decoration: none;
  padding: 4px 0;
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s;
  margin-right: 8px;
}
.nav-link:hover { border-bottom-color: var(--rosso); }

.nav-cta {
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #fff;
  padding: 11px 28px;
  background: var(--rosso);
  transition: all 0.4s ease;
}

.nav-cta:hover {
  background: var(--rosso-deep);
  transform: translateY(-1px);
}


/* ─── FLOATING CONTACT BAR ─── */
.contact-bar {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 999;
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-top: 1px solid var(--border);
  padding: 0 var(--side-pad);
  transform: translateY(100%);
  transition: transform 0.5s ease;
}

.contact-bar.visible { transform: translateY(0); }

.contact-bar-inner {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 60px;
}

.contact-bar-info {
  display: flex;
  align-items: center;
  gap: 36px;
}

.contact-bar-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 300;
  color: var(--text-secondary);
}

.contact-bar-item svg {
  width: 15px; height: 15px;
  stroke: var(--rosso);
  fill: none;
  stroke-width: 1.5;
}

.contact-bar-item a { transition: color 0.3s ease; }
.contact-bar-item a:hover { color: var(--rosso); }

.contact-bar-cta {
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #fff;
  padding: 10px 28px;
  background: var(--rosso);
  transition: all 0.3s ease;
}

.contact-bar-cta:hover { background: var(--rosso-deep); }


/* ─── HERO ─── */
.hero {
  position: relative;
  height: 100vh;
  min-height: 680px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: #EDE3CE;
}

.hero-bg {
  position: absolute;
  top: -20%; left: 0; right: 0; bottom: 0;
  background:
    linear-gradient(175deg, rgba(255,255,255,0.45) 0%, rgba(255,255,255,0.1) 40%, rgba(180,155,115,0.2) 100%),
    linear-gradient(135deg, #F5EDDC 0%, #EDE3CE 30%, #F2E8D5 50%, #E8DBBF 70%, #EDE3CE 100%);
  will-change: transform;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  transform: translateZ(0);
  image-rendering: -webkit-optimize-contrast;
  image-rendering: crisp-edges;
}

.hero-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0.35) 0%, rgba(0,0,0,0.15) 40%, rgba(0,0,0,0.4) 100%);
  z-index: 1;
}

.hero-bg::after {
  display: none;
}

@keyframes heroGlow {
  0% { transform: translate(0,0) scale(1); opacity: 0.5; }
  100% { transform: translate(5%,-3%) scale(1.1); opacity: 0.8; }
}

.hero-grain {
  position: absolute; inset: 0; opacity: 0.025;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  pointer-events: none;
}

.hero-content {
  position: relative; z-index: 2;
  text-align: center;
  max-width: 860px;
  padding: 0 var(--side-pad);
}

.hero-prelude {
  font-size: 13px; font-weight: 600;
  letter-spacing: 0.5em; text-transform: uppercase;
  color: #A88460;
  margin-bottom: 28px;
  opacity: 0; animation: fadeUp 1s ease 0.3s forwards;
  text-shadow: 0 1px 10px rgba(0,0,0,0.6);
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(36px, 6vw, 76px);
  font-weight: 300; line-height: 1.15;
  letter-spacing: 0.04em;
  color: #FFFFFF;
  margin-bottom: 24px;
  opacity: 0; animation: fadeUp 1.2s ease 0.6s forwards;
  text-shadow: 0 2px 12px rgba(0,0,0,0.4);
}

.hero-title em {
  font-family: var(--font-display);
  font-style: italic;
  color: #E8C8A0;
}

.hero-subtitle {
  font-size: clamp(13px, 1.4vw, 16px);
  font-weight: 300; line-height: 1.8;
  color: rgba(255,255,255,0.85);
  max-width: 520px;
  margin: 0 auto 44px;
  opacity: 0; animation: fadeUp 1s ease 0.9s forwards;
  text-shadow: 0 1px 6px rgba(0,0,0,0.4);
}

.hero-actions {
  display: flex; align-items: center; justify-content: center; gap: 24px;
  opacity: 0; animation: fadeUp 1s ease 1.2s forwards;
}

.btn-hero-primary {
  font-size: 11px; font-weight: 400;
  letter-spacing: 0.25em; text-transform: uppercase;
  color: #fff; padding: 16px 40px;
  background: var(--rosso); border: 1px solid var(--rosso);
  transition: all 0.4s ease;
}

.btn-hero-primary:hover { background: var(--rosso-deep); transform: translateY(-1px); }

.btn-hero-secondary {
  font-size: 11px; font-weight: 300;
  letter-spacing: 0.25em; text-transform: uppercase;
  color: var(--text-secondary); padding: 16px 40px;
  border: 1px solid rgba(42,34,24,0.2);
  transition: all 0.4s ease;
}

.btn-hero-secondary:hover { border-color: var(--rosso); color: var(--text-primary); }

.hero-scroll {
  position: absolute; bottom: 36px; left: 50%; transform: translateX(-50%); z-index: 2;
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  opacity: 0; animation: fadeUp 1s ease 1.6s forwards;
}

.hero-scroll span {
  font-size: 8px; letter-spacing: 0.3em;
  text-transform: uppercase; color: rgba(42,34,24,0.3);
}

.scroll-line {
  width: 1px; height: 36px;
  background: linear-gradient(to bottom, var(--rosso), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
  0%, 100% { opacity: 0.3; transform: scaleY(0.7); }
  50% { opacity: 1; transform: scaleY(1); }
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}


/* ─── SECTION COMMONS ─── */
.section {
  padding: var(--section-pad) var(--side-pad);
  max-width: 1400px;
  margin: 0 auto;
}

.section-label {
  font-size: 10px; font-weight: 300;
  letter-spacing: 0.4em; text-transform: uppercase;
  color: var(--rosso); margin-bottom: 18px;
}

.section-heading {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 50px);
  font-weight: 300; letter-spacing: 0.03em;
  color: var(--text-primary); line-height: 1.2;
  margin-bottom: 18px;
}

.section-text {
  font-size: 15px; font-weight: 200; line-height: 1.9;
  color: var(--text-secondary); max-width: 540px;
}

.divider {
  max-width: 1400px; margin: 0 auto; padding: 0 var(--side-pad);
}

.divider hr {
  border: none; height: 1px; background: var(--border);
}


/* ─── INTRO / ABOUT ─── */
.intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 100px);
  align-items: center;
}

.intro-visual {
  position: relative; height: 520px;
  background: url('/images/villa-portofino.jpg') center / cover no-repeat; overflow: hidden;
}

.intro-visual::before {
  content: ''; position: absolute; inset: 0;
  background:
    linear-gradient(135deg, rgba(123,24,24,0.05), transparent 60%),
    linear-gradient(225deg, rgba(158,133,100,0.04), transparent 60%);
}

.intro-visual::after {
  display: none;
}
.intro-visual.has-image::after { display: none; }
.intro-visual.has-image::before { display: none; }

.intro-visual-frame {
  position: absolute;
  top: 20px; left: 20px; right: 20px; bottom: 20px;
  border: 1px solid rgba(123,24,24,0.06);
}

.intro-content { padding: 40px 0; }
.intro-content .section-text { margin-bottom: 40px; }

.intro-stat-row {
  display: flex; gap: 48px; margin-top: 48px;
  padding-top: 40px; border-top: 1px solid var(--border);
}

.intro-stat-num {
  font-family: var(--font-display);
  font-size: 36px; font-weight: 300; color: var(--text-primary);
  display: block; width: 100%;
}

.intro-stat-label {
  font-size: 10px; letter-spacing: 0.3em;
  text-transform: uppercase; color: var(--text-tertiary); margin-top: 6px;
  display: block; width: 100%;
}


/* ─── FEATURED PROPERTIES ─── */
.properties-header {
  display: flex; align-items: flex-end;
  justify-content: space-between; margin-bottom: 56px;
}

.btn-outline {
  font-size: 11px; font-weight: 300;
  letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--text-secondary); padding: 14px 36px;
  border: 1px solid var(--border);
  transition: all 0.4s ease; margin-bottom: 8px;
}

.btn-outline:hover { border-color: var(--rosso); color: var(--rosso); }

.properties-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px;
}

.property-card { cursor: pointer; }

.property-img {
  width: 100%; aspect-ratio: 3/4;
  position: relative; overflow: hidden;
  transition: transform 0.6s ease;
  /* When using real images, add: background-size: cover; background-position: center; */
}

.property-card:hover .property-img { transform: scale(1.015); }

/* Placeholder gradients — replace with background-image: url('/images/...') */
.property-img-1 { background: linear-gradient(145deg, #e8e2da, #d4cfc6); }
.property-img-2 { background: linear-gradient(200deg, #dce0e4, #cdd0d4); }
.property-img-3 { background: linear-gradient(170deg, #e6e0d8, #d8d2ca); }

.property-img::after { content: ''; position: absolute; z-index: 0; }
.property-img-1::after { top: 15%; left: 10%; right: 10%; bottom: 55%; border: 1px solid rgba(0,0,0,0.04); background: linear-gradient(to bottom, rgba(255,255,255,0.3), transparent); }
.property-img-2::after { top: 20%; left: 20%; width: 60%; height: 40%; border: 1px solid rgba(0,0,0,0.04); border-radius: 50% 50% 0 0; }
.property-img-3::after { top: 10%; right: 15%; width: 30%; bottom: 30%; border-left: 1px solid rgba(0,0,0,0.05); border-bottom: 1px solid rgba(0,0,0,0.05); }

.property-info { padding: 22px 0 0; }
.property-location { font-size: 10px; letter-spacing: 0.3em; text-transform: uppercase; color: var(--rosso); margin-bottom: 8px; }
.property-title { font-family: var(--font-display); font-size: 22px; font-weight: 400; color: var(--text-primary); margin-bottom: 6px; }
.property-detail { font-size: 13px; font-weight: 200; color: var(--text-tertiary); }
.property-price { font-family: var(--font-display); font-size: 18px; font-weight: 400; color: var(--gold); margin-top: 14px; }


/* ─── GLOBAL PRESENCE ─── */
.presence {
  text-align: center; background: var(--bg-warm);
  padding: var(--section-pad) var(--side-pad);
}

.presence-inner { max-width: 1400px; margin: 0 auto; }
.presence .section-text { margin: 0 auto 64px; text-align: center; }

.presence-cities {
  display: flex; flex-wrap: wrap; justify-content: center;
  max-width: 700px; margin: 0 auto;
  gap: 4px 0;
}

.presence-city { padding: 18px 32px; position: relative; }

.presence-city::before {
  content: ''; position: absolute;
  top: 50%; left: 0;
  width: 3px; height: 3px;
  background: var(--border); border-radius: 50%;
  transform: translateY(-50%);
}

.presence-city:first-child::before { display: none; }

.presence-city span {
  font-family: var(--font-display);
  font-size: clamp(16px, 2vw, 22px); font-weight: 300;
  color: var(--text-tertiary); letter-spacing: 0.06em;
  transition: color 0.3s ease;
}

.presence-city:hover span { color: var(--text-primary); }

.presence-rosso { width: 48px; height: 1px; background: var(--rosso); margin: 48px auto 0; }


/* ─── APPROACH ─── */
.approach-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 1px; background: var(--border); margin-top: 56px;
}

.approach-card {
  background: var(--bg); padding: 52px 40px;
  transition: background 0.4s ease;
  display: flex; flex-direction: column;
}

.approach-card:hover { background: var(--bg-warm); }

.approach-num { font-family: var(--font-display); font-size: 14px; font-weight: 400; color: var(--rosso); letter-spacing: 0.1em; margin-bottom: 22px; display: block; width: 100%; }
.approach-title { font-family: var(--font-display); font-size: 24px; font-weight: 400; color: var(--text-primary); margin-bottom: 18px; display: block; width: 100%; }
.approach-text { font-size: 14px; font-weight: 300; line-height: 1.8; color: var(--text-secondary); display: block; width: 100%; }


/* ─── JOURNAL ─── */
.journal-section-header {
  display: flex; align-items: center; gap: 16px; margin-bottom: 4px;
}

.journal-coming-soon-badge {
  font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--rosso); border: 1px solid var(--rosso);
  padding: 4px 10px; font-family: var(--font-body);
}

.journal-preview { opacity: 0.55; pointer-events: none; user-select: none; }

.journal-grid {
  display: grid; grid-template-columns: 1.2fr 1fr;
  gap: 24px; margin-top: 56px;
}

.journal-featured {
  position: relative; overflow: hidden; aspect-ratio: 4/3;
  background: linear-gradient(145deg, #2a2520, #1a1714);
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 48px; cursor: pointer;
}
.journal-featured-img {
  position: absolute; inset: 0; z-index: 0;
  background-size: cover; background-position: center;
  transition: transform 0.6s ease;
}
.journal-featured:hover .journal-featured-img { transform: scale(1.04); }

.journal-featured::before {
  content: ''; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(to top, rgba(26,23,20,0.85), transparent 60%);
}

.journal-featured > * { position: relative; z-index: 2; }
.journal-featured > .journal-featured-img { position: absolute !important; inset: 0; z-index: 0 !important; }

.journal-tag { font-size: 10px; letter-spacing: 0.3em; text-transform: uppercase; color: var(--gold-light); margin-bottom: 12px; }
.journal-title { font-family: var(--font-display); font-size: clamp(20px, 2.2vw, 30px); font-weight: 300; color: #F5F2ED; letter-spacing: 0.02em; line-height: 1.3; margin-bottom: 12px; }
.journal-excerpt { font-size: 14px; font-weight: 200; color: rgba(245,242,237,0.6); line-height: 1.7; max-width: 440px; }

.journal-stack { display: flex; flex-direction: column; gap: 24px; }

.journal-item {
  display: flex; gap: 28px; padding: var(--card-padding, 30px);
  background: var(--bg-card); border: 1px solid var(--border-light);
  transition: all 0.3s ease; cursor: pointer;
}

.journal-item:hover { border-color: var(--border-rosso); box-shadow: 0 4px 24px rgba(0,0,0,0.04); }

.journal-item-img { width: var(--card-img-size, 132px); min-height: var(--card-img-size, 108px); background: var(--bg-warm); flex-shrink: 0; background-size: cover; background-position: center; }
.journal-item-content { display: flex; flex-direction: column; justify-content: center; flex: 1; }
.journal-item .journal-tag { color: var(--gold); margin-bottom: 8px; display: block; font-size: var(--card-tag-size, 11px); }
.journal-item .journal-title { font-size: var(--card-title-size, 21px); color: var(--text-primary); margin-bottom: 8px; display: block; line-height: 1.4; }
.journal-item .journal-excerpt { font-size: var(--card-text-size, 14px); color: var(--text-tertiary); display: block; line-height: 1.7; margin-top: 4px; }


/* ─── CONTACT SECTION ─── */
.contact-section {
  background: var(--bg-warm);
  padding: calc(var(--section-pad) * 1.1) var(--side-pad);
  position: relative; overflow: hidden;
}

.contact-section::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse at 50% 30%, rgba(123,24,24,0.05) 0%, transparent 65%);
}

.contact-section > * { position: relative; z-index: 1; }

.contact-inner {
  max-width: 1400px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 8vw, 120px); align-items: center;
}

.contact-copy .section-label { color: var(--rosso); }
.contact-copy .section-heading { color: var(--text-primary); }
.contact-copy .section-text { color: var(--text-secondary); margin-bottom: 40px; }

.contact-rosso-line { width: 48px; height: 1px; background: var(--rosso); margin-bottom: 40px; }

.contact-channels { display: flex; flex-direction: column; gap: 28px; }

.contact-channel {
  display: flex; align-items: center; gap: 20px;
  padding: 28px 32px;
  background: rgba(255,255,255,0.7);
  border: 1px solid rgba(2,33,53,0.08);
  transition: all 0.4s ease;
}

.contact-channel:hover { background: #fff; border-color: rgba(123,24,24,0.25); }

.contact-channel-icon {
  width: 44px; height: 44px;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid rgba(123,24,24,0.25); flex-shrink: 0;
}

.contact-channel-icon svg { width: 18px; height: 18px; stroke: var(--rosso); fill: none; stroke-width: 1.5; }

.contact-channel-label { font-size: 10px; letter-spacing: 0.3em; text-transform: uppercase; color: var(--text-secondary); opacity: 0.6; margin-bottom: 4px; }
.contact-channel-value { font-family: var(--font-display); font-size: 18px; font-weight: 400; color: var(--text-primary); letter-spacing: 0.03em; }
.contact-channel-value a { transition: color 0.3s ease; }
.contact-channel-value a:hover { color: var(--rosso); }


/* ─── FOOTER ─── */
.footer {
  background: #fff;
  border-top: 1px solid var(--border, #E8E3DC);
  padding: 48px var(--side-pad);
}

.footer-inner { max-width: 1400px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; }
.footer-brand { display: flex; align-items: center; gap: 12px; }
.footer-monogram { font-family: var(--font-accent); font-size: 20px; font-style: italic; color: var(--rosso); }
.footer-name { font-family: var(--font-display); font-size: 14px; font-weight: 400; letter-spacing: 0.12em; color: var(--text-tertiary); text-transform: uppercase; }
.footer-copy { font-size: 11px; color: var(--text-tertiary); }


/* ─── SCROLL REVEAL ANIMATIONS ─── */
.reveal {
  opacity: 0; transform: translateY(28px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.visible { opacity: 1; transform: translateY(0); }

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }


/* ─── RESPONSIVE ─── */
@media (max-width: 1024px) {
  .approach-grid { grid-template-columns: 1fr; }
  .journal-grid { grid-template-columns: 1fr; }
  .journal-featured { aspect-ratio: 16/9; }
  .contact-inner { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .nav-contact-link { display: none; }
  .hero-actions { flex-direction: column; gap: 14px; align-items: center; }
  .btn-hero-primary, .btn-hero-secondary { width: min(280px, 90vw); text-align: center; }
  .intro { grid-template-columns: 1fr; }
  .intro-visual { height: 260px; }
  .intro-stats { flex-direction: row; flex-wrap: wrap; gap: 0; }
  .intro-stat-row { gap: 0; flex-wrap: wrap; }
  .intro-stat { flex: 1 1 50%; padding: 20px 16px; }
  .section { padding: var(--section-pad) var(--side-pad); }
  .section-heading { font-size: clamp(28px, 8vw, 48px); }
  .presence-city { padding: 10px 14px; }
  .presence-city span { font-size: clamp(14px, 4vw, 18px); }
  .contact-bar-info { gap: 20px; }
  .contact-bar-item span { display: none; }
  .contact-channel { padding: 20px 20px; }
  .contact-channel-value { font-size: 15px; }
  .footer-inner { flex-direction: column; gap: 20px; text-align: center; }
  .footer-links { flex-wrap: wrap; justify-content: center; }
  .journal-featured { padding: 28px; }
  .journal-item { padding: 16px; gap: 16px; }
  .journal-item-img { width: 72px; height: 72px; flex-shrink: 0; }
  .contact-header { margin-bottom: 40px; }
}

@media (max-width: 480px) {
  .contact-bar-info { display: none; }
  .contact-bar-inner { justify-content: center; }
  .hero-actions { gap: 12px; }
  .btn-hero-primary, .btn-hero-secondary { width: 90vw; }
  .intro-stat { flex: 1 1 100%; border-bottom: 1px solid var(--border); }
  .nav-cta { padding: 10px 18px; font-size: 10px; }
}


/* ─── CONTACT SECTION REDESIGN ─── */
.contact-header {
  max-width: 1400px;
  margin: 0 auto 64px;
}

.contact-inner {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: clamp(40px, 6vw, 96px);
  align-items: start;
}

.contact-channels-col {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.contact-channels {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 40px;
}


/* ─── FORMS (shared for contact + modal) ─── */
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 12px;
}

.form-field {
  margin-bottom: 12px;
}

.form-field input,
.form-field select,
.form-field textarea,
.form-row input,
.form-row select {
  width: 100%;
  padding: 14px 16px;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 300;
  color: var(--text-primary);
  background: var(--bg);
  border: 1px solid var(--border);
  outline: none;
  transition: border-color 0.3s;
  appearance: none;
  -webkit-appearance: none;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus,
.form-row input:focus,
.form-row select:focus { border-color: var(--rosso); }

.form-field textarea {
  width: 100%;
  padding: 14px 16px;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 300;
  color: var(--text-primary);
  background: var(--bg);
  border: 1px solid var(--border);
  outline: none;
  transition: border-color 0.3s;
  resize: vertical;
  min-height: 120px;
}

.form-field textarea:focus { border-color: var(--rosso); }

.form-field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%238A847C' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
  cursor: pointer;
}

.form-submit {
  width: 100%;
  padding: 16px;
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: #fff;
  background: var(--rosso);
  border: none;
  cursor: pointer;
  transition: all 0.3s;
  margin-top: 6px;
}

.form-submit:hover { background: var(--rosso-deep); transform: translateY(-1px); }
.form-submit:disabled { opacity: 0.6; cursor: not-allowed; transform: none; }

.form-note {
  font-size: 11px;
  letter-spacing: 0.06em;
  color: rgba(245,242,237,0.3);
  margin-top: 14px;
  text-align: center;
}

.form-success {
  text-align: center;
  padding: 48px 20px;
  display: none;
}

.form-success-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: 1px solid rgba(123,24,24,0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  color: var(--rosso-glow);
  margin: 0 auto 24px;
}

.form-success-title {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 300;
  color: var(--text-on-dark);
  margin-bottom: 12px;
}

.form-success p {
  font-size: 14px;
  font-weight: 200;
  color: rgba(245,242,237,0.5);
  line-height: 1.8;
}

/* Contact form on light background */
.contact-form-col .form-field input,
.contact-form-col .form-field select,
.contact-form-col .form-field textarea,
.contact-form-col .form-row input,
.contact-form-col .form-row select {
  background: #fff;
  border-color: rgba(2,33,53,0.12);
  color: var(--text-primary);
}

.contact-form-col .form-field input::placeholder,
.contact-form-col .form-field textarea::placeholder,
.contact-form-col .form-row input::placeholder { color: rgba(2,33,53,0.3); }

.contact-form-col .form-field select { color: rgba(2,33,53,0.35); }
.contact-form-col .form-field select option { background: #fff; color: var(--text-primary); }

.contact-form-col .form-field select:focus,
.contact-form-col .form-field input:focus,
.contact-form-col .form-field textarea:focus,
.contact-form-col .form-row input:focus { border-color: rgba(123,24,24,0.4); }

.contact-form-col .form-field select.has-value { color: var(--text-primary); }

.contact-form-col .form-field textarea { background: #fff; border-color: rgba(2,33,53,0.12); color: var(--text-primary); }

.contact-form-col .form-note { color: rgba(2,33,53,0.35); }


/* ─── PROPERTY MODAL ─── */
.property-modal {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
}

.property-modal.open {
  opacity: 1;
  pointer-events: all;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(20,18,16,0.78);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.modal-panel {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 1060px;
  max-height: 90vh;
  background: var(--bg);
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  overflow: hidden;
  transform: translateY(20px);
  transition: transform 0.4s ease;
}

.property-modal.open .modal-panel { transform: translateY(0); }

.modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  z-index: 10;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.9);
  font-size: 22px;
  font-weight: 300;
  line-height: 1;
  cursor: pointer;
  transition: background 0.2s;
  border: none;
  color: var(--text-primary);
}

.modal-close:hover { background: #fff; }

.modal-img-col {
  position: relative;
  min-height: 480px;
  background: var(--bg-warm);
  background-size: cover;
  background-position: center;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.modal-img-col::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(20,18,16,0.72) 0%, rgba(20,18,16,0.1) 50%, transparent 100%);
}

.modal-img-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-img-placeholder span {
  font-family: var(--font-accent);
  font-size: 80px;
  font-style: italic;
  color: rgba(123,24,24,0.08);
}

.modal-img-details {
  position: relative;
  z-index: 1;
  padding: 36px 32px;
}

.modal-img-location {
  font-size: 10px;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 10px;
}

.modal-img-title {
  font-family: var(--font-display);
  font-size: clamp(22px, 2.4vw, 30px);
  font-weight: 300;
  color: #F5F2ED;
  letter-spacing: 0.02em;
  line-height: 1.2;
  margin-bottom: 10px;
}

.modal-img-price {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 400;
  color: var(--gold-light);
}

.modal-form-col {
  overflow-y: auto;
  max-height: 90vh;
  padding: 40px 36px 40px;
  display: flex;
  flex-direction: column;
}

.modal-spec {
  font-size: 12px;
  font-weight: 300;
  letter-spacing: 0.08em;
  color: var(--text-tertiary);
  margin-bottom: 20px;
}

.modal-desc {
  font-size: 14px;
  font-weight: 200;
  line-height: 1.9;
  color: var(--text-secondary);
  margin-bottom: 28px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--border);
}

.modal-enquiry-title {
  font-size: 11px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--rosso);
  margin-bottom: 20px;
}

.modal-form-col .form-note { color: var(--text-faint); }

.modal-form-col .form-success { padding: 32px 0; }
.modal-form-col .form-success-icon { border-color: rgba(123,24,24,0.2); }
.modal-form-col .form-success-title { color: var(--text-primary); }
.modal-form-col .form-success p { color: var(--text-secondary); }


/* ─── WHATSAPP FLOAT ─── */
.whatsapp-float {
  position: fixed;
  bottom: 80px;
  left: 28px;
  z-index: 998;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--rosso);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 18px rgba(0,0,0,0.18);
  transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
}

.whatsapp-float:hover {
  transform: scale(1.1);
  background: var(--rosso-deep);
  box-shadow: 0 6px 24px rgba(0,0,0,0.24);
}

.whatsapp-float svg { width: 26px; height: 26px; fill: #fff; }


/* ─── RESPONSIVE: new sections ─── */
@media (max-width: 1024px) {
  .contact-inner { grid-template-columns: 1fr; }
  .contact-channels-col { flex-direction: row; flex-wrap: wrap; gap: 16px; }
  .contact-channels { flex-direction: row; flex-wrap: wrap; }
}

@media (max-width: 768px) {
  .modal-panel { grid-template-columns: 1fr; max-height: 96vh; }
  .modal-img-col { min-height: 220px; }
  .modal-form-col { max-height: none; padding: 28px 20px; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .whatsapp-float { bottom: 88px; left: 16px; width: 46px; height: 46px; }
  .contact-channels-col { flex-direction: column; }
  .contact-channels { flex-direction: column; }
}
