/* ═══════════════════════════════════════════════════
   CATY ERHARD v2 — main.css
   Diseño editorial de lujo | ECA Media
═══════════════════════════════════════════════════ */

/* ── Variables ── */
:root {
  --bg:       #FFFFFF;
  --bg-alt:   #F5F0E7;
  --bg-dark:  #0B1D29;
  --navy:     #033647;
  --navy-lt:  #044d62;
  --gold:     #C4924A;
  --gold-lt:  #E8C88A;
  --orange:   #D97040;
  --text:     #1A1108;
  --text2:    #3D3020;
  --muted:    #7A6E62;
  --border:   rgba(196,146,74,.18);
  --shadow:   0 4px 32px rgba(26,17,8,.08);
  --shadow2:  0 12px 60px rgba(26,17,8,.14);
  --r:        0px; /* sin border-radius */
  --font-d:   'Cormorant Garamond', Georgia, serif;
  --font-ui:  'Montserrat', sans-serif;
  --ease:     cubic-bezier(.16,1,.3,1);
}

/* ── Reset base ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body { background: var(--bg); color: var(--text); font-family: var(--font-ui); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
ul { list-style: none; }
::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-thumb { background: var(--gold); }
::selection { background: var(--gold); color: #fff; }

/* ── Tipografía base ── */
h1,h2,h3,h4 { font-family: var(--font-d); font-weight: 300; line-height: 1.1; }

/* ── Container ── */
.cv2-container { max-width: 1320px; margin: 0 auto; padding: 0 48px; }
@media(max-width:768px){ .cv2-container { padding: 0 24px; } }

/* ── Animaciones reveal ── */
.cv2-reveal { opacity: 0; transform: translateY(32px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.cv2-reveal.visible { opacity: 1; transform: translateY(0); }
.cv2-reveal-r { opacity: 0; transform: translateX(32px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.cv2-reveal-r.visible { opacity: 1; transform: translateX(0); }

/* ═══════════════════════════════════════
   NAVEGACIÓN
═══════════════════════════════════════ */
.cv2-nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 9000;
  transition: background .4s, box-shadow .4s, padding .4s;
  padding: 0;
  /* Gradiente oscuro siempre visible — texto blanco legible en cualquier fondo */
  background: linear-gradient(to bottom, rgba(11,29,41,.82) 0%, rgba(11,29,41,.5) 65%, transparent 100%);
}
.cv2-nav.scrolled {
  background: rgba(11,29,41,.97);
  backdrop-filter: blur(12px);
  box-shadow: 0 2px 24px rgba(0,0,0,.2);
}
.cv2-nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  max-width: 1320px; margin: 0 auto; padding: 0 48px; height: 76px;
}
@media(max-width:768px){ .cv2-nav-inner { padding: 0 20px; height: 64px; } }

/* Logo */
.cv2-logo { text-decoration: none; display: flex; flex-direction: column; gap: 2px; flex-shrink: 0; }
.cv2-logo-name { font-family: var(--font-d); font-size: 1.45rem; font-weight: 400; color: #fff; letter-spacing: .04em; line-height: 1; }
.cv2-logo-sub { font-size: 8px; letter-spacing: .32em; text-transform: uppercase; font-weight: 600; color: rgba(196,146,74,.8); }
/* Logo imagen (cuando hay logo subido en WordPress Customizer) */
.cv2-logo-img {
  display: block; width: auto; max-height: 54px; max-width: 220px;
  object-fit: contain; object-position: left center;
}
@media(max-width:768px){ .cv2-logo-img { max-height: 42px; max-width: 160px; } }

/* Nav links desktop */
.cv2-nav-links { display: flex; align-items: center; gap: 36px; }
.cv2-nav-links a { font-size: 11px; letter-spacing: .22em; text-transform: uppercase; font-weight: 600; color: rgba(255,255,255,.82); text-decoration: none; transition: color .25s; position: relative; }
.cv2-nav-links a:hover,
.cv2-nav-links a.active { color: var(--gold); }
.cv2-nav-links a::after { content: ''; position: absolute; bottom: -4px; left: 0; width: 0; height: 1px; background: var(--gold); transition: width .3s var(--ease); }
.cv2-nav-links a:hover::after { width: 100%; }
.cv2-nav-cta { background: var(--gold)!important; color: var(--text)!important; padding: 9px 22px; font-weight: 700!important; }
.cv2-nav-cta:hover { background: var(--orange)!important; color: #fff!important; }
.cv2-nav-cta::after { display: none!important; }

/* Dropdown */
.cv2-has-dropdown { position: relative; }
.cv2-dropdown { position: absolute; top: calc(100% + 16px); left: 50%; transform: translateX(-50%); background: rgba(11,29,41,.97); backdrop-filter: blur(12px); min-width: 220px; padding: 12px 0; opacity: 0; pointer-events: none; transition: opacity .25s, transform .25s; transform: translateX(-50%) translateY(-6px); }
.cv2-has-dropdown:hover .cv2-dropdown { opacity: 1; pointer-events: all; transform: translateX(-50%) translateY(0); }
.cv2-dropdown li a { display: block; padding: 10px 20px; font-size: 11px; letter-spacing: .12em; color: rgba(255,255,255,.75)!important; text-decoration: none; transition: all .2s; }
.cv2-dropdown li a:hover { color: var(--gold)!important; background: rgba(196,146,74,.08); padding-left: 26px; }
.cv2-dropdown li a::after { display: none!important; }

/* Hamburger */
.cv2-hamburger { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 8px; }
.cv2-hamburger span { display: block; width: 24px; height: 1.5px; background: #fff; transition: all .3s var(--ease); }
.cv2-hamburger.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.cv2-hamburger.open span:nth-child(2) { opacity: 0; }
.cv2-hamburger.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }
@media(max-width:960px){ .cv2-nav-links { display: none; } .cv2-hamburger { display: flex; } }

/* Mobile menu */
.cv2-mobile-menu { display: none; background: var(--bg-dark); padding: 24px 20px 32px; }
.cv2-mobile-menu.open { display: block; }
.cv2-mobile-menu ul { display: flex; flex-direction: column; gap: 0; }
.cv2-mobile-menu a { display: block; padding: 14px 0; font-size: 14px; letter-spacing: .14em; text-transform: uppercase; font-weight: 600; color: rgba(255,255,255,.8); text-decoration: none; border-bottom: 1px solid rgba(255,255,255,.06); transition: color .2s; }
.cv2-mobile-menu a:hover { color: var(--gold); }
.cv2-mobile-contact { margin-top: 24px; }
.cv2-mobile-contact a { display: inline-block; background: var(--gold); color: var(--text); padding: 12px 28px; font-size: 12px; letter-spacing: .18em; text-transform: uppercase; font-weight: 700; text-decoration: none; }

/* ═══════════════════════════════════════
   HERO — Full screen cinematográfico
═══════════════════════════════════════ */
.cv2-hero {
  position: relative; width: 100vw; min-height: 100vh;
  display: flex; align-items: flex-end; overflow: hidden;
}
.cv2-hero-bg {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: center;
}
.cv2-hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(11,29,41,.88) 0%, rgba(11,29,41,.4) 45%, rgba(11,29,41,.1) 100%);
}
.cv2-hero-overlay-l {
  position: absolute; inset: 0;
  background: linear-gradient(to right, rgba(11,29,41,.5) 0%, transparent 60%);
}
.cv2-hero-content {
  position: relative; z-index: 10;
  width: 100%; max-width: 1320px; margin: 0 auto;
  padding: 0 48px 100px;
}
@media(max-width:768px){ .cv2-hero-content { padding: 0 24px 80px; } }

.cv2-hero-eyebrow {
  display: flex; align-items: center; gap: 16px; margin-bottom: 24px;
}
.cv2-hero-eyebrow span { font-size: 11px; letter-spacing: .44em; text-transform: uppercase; font-weight: 600; color: rgba(196,146,74,.9); }
.cv2-hero-eyebrow::before { content: ''; display: block; width: 56px; height: 1px; background: var(--gold); }

.cv2-hero-title {
  font-family: var(--font-d); font-size: clamp(3rem,8vw,7rem);
  font-weight: 300; color: #fff; line-height: .98;
  letter-spacing: -.02em; margin-bottom: 28px; max-width: 820px;
}
.cv2-hero-title em { font-style: italic; color: var(--gold); }

.cv2-hero-desc {
  font-size: 16px; font-weight: 300; color: rgba(255,255,255,.75);
  max-width: 500px; line-height: 1.75; margin-bottom: 40px;
}

.cv2-hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 56px; }

/* Mini trust-bar dentro del hero */
.cv2-hero-trust {
  display: flex; flex-wrap: wrap; gap: 0; align-items: stretch;
  padding-top: 28px; border-top: 1px solid rgba(196,146,74,.2);
  max-width: 500px;
}
.cv2-hero-trust-item {
  padding: 0 32px 0 0; margin-right: 32px;
  border-right: 1px solid rgba(196,146,74,.18);
}
.cv2-hero-trust-item:last-child { border-right: none; padding-right: 0; margin-right: 0; }
.cv2-hero-trust-label { font-size: 8px; letter-spacing: .28em; text-transform: uppercase; font-weight: 700; color: rgba(196,146,74,.6); margin-bottom: 4px; }
.cv2-hero-trust-val { font-family: var(--font-d); font-size: 2rem; font-weight: 600; color: var(--gold); line-height: 1; }

/* Scroll indicator */
.cv2-hero-scroll {
  position: absolute; right: 48px; bottom: 48px; z-index: 10;
  display: flex; flex-direction: column; align-items: center; gap: 10px;
}
.cv2-hero-scroll span { font-size: 9px; letter-spacing: .32em; text-transform: uppercase; color: rgba(255,255,255,.5); writing-mode: vertical-rl; }
.cv2-hero-scroll-line { width: 1px; height: 56px; background: linear-gradient(to bottom, var(--gold), transparent); animation: scrollLine 2s ease-in-out infinite; }
@keyframes scrollLine { 0%,100%{transform:scaleY(1);opacity:1}50%{transform:scaleY(.5);opacity:.5} }
@media(max-width:768px){ .cv2-hero-scroll { display: none; } }

/* ═══════════════════════════════════════
   MARQUEE STRIP
═══════════════════════════════════════ */
.cv2-marquee {
  background: var(--gold); overflow: hidden; padding: 14px 0; white-space: nowrap;
}
.cv2-marquee-track {
  display: inline-flex; gap: 0; animation: marquee 24s linear infinite;
}
.cv2-marquee-track span { font-size: 11px; letter-spacing: .4em; text-transform: uppercase; font-weight: 700; color: var(--bg-dark); padding: 0 24px; }
.cv2-marquee-track .cv2-dot { color: var(--bg-dark); opacity: .5; padding: 0 4px; }
@keyframes marquee { 0%{transform:translateX(0)}100%{transform:translateX(-50%)} }

/* ═══════════════════════════════════════
   SPLIT SECTION — 50/50
═══════════════════════════════════════ */
.cv2-split {
  display: grid; grid-template-columns: 1fr 1fr; min-height: 620px;
}
.cv2-split-img {
  position: relative; overflow: hidden; min-height: 480px;
}
.cv2-split-img img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  transition: transform 8s ease;
}
.cv2-split:hover .cv2-split-img img { transform: scale(1.03); }
.cv2-split-content {
  background: var(--bg-alt); padding: 80px 72px; display: flex;
  flex-direction: column; justify-content: center;
}
.cv2-split-content.dark { background: var(--bg-dark); }
.cv2-split.reverse { direction: rtl; }
.cv2-split.reverse > * { direction: ltr; }
@media(max-width:900px){
  .cv2-split { grid-template-columns: 1fr; }
  .cv2-split-img { min-height: 360px; }
  .cv2-split-content { padding: 60px 32px; }
}

/* ═══════════════════════════════════════
   EYEBROW / SECTION HEADER
═══════════════════════════════════════ */
.cv2-eyebrow {
  font-size: 10px; letter-spacing: .42em; text-transform: uppercase;
  font-weight: 700; color: var(--orange); margin-bottom: 16px;
  display: flex; align-items: center; gap: 14px;
}
.cv2-eyebrow::before { content: ''; display: block; width: 36px; height: 1px; background: var(--orange); opacity: .55; flex-shrink: 0; }
.cv2-eyebrow.white { color: var(--gold-lt); }
.cv2-eyebrow.white::before { background: var(--gold); }
.cv2-eyebrow.center { justify-content: center; }
.cv2-eyebrow.center::before,
.cv2-eyebrow.center::after { content: ''; display: block; width: 36px; height: 1px; background: var(--orange); opacity: .55; flex-shrink: 0; }
.cv2-section-title {
  font-family: var(--font-d); font-size: clamp(2.2rem,4.5vw,3.6rem);
  font-weight: 300; color: var(--text); line-height: 1.05; margin: 0 0 18px;
}
.cv2-section-title.white { color: #fff; }
.cv2-section-subtitle { font-size: 15px; color: var(--muted); line-height: 1.76; max-width: 520px; }
.cv2-section-header { text-align: center; margin-bottom: 64px; }
.cv2-section-header .cv2-section-subtitle { margin: 0 auto; }

/* ═══════════════════════════════════════
   STATS STRIP
═══════════════════════════════════════ */
.cv2-stats { background: var(--bg); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.cv2-stats-inner {
  display: grid; grid-template-columns: repeat(4,1fr);
  max-width: 1320px; margin: 0 auto;
}
.cv2-stat {
  padding: 56px 48px; border-right: 1px solid var(--border); text-align: center;
  display: flex; flex-direction: column; align-items: center; gap: 8px;
}
.cv2-stat:last-child { border-right: none; }
.cv2-stat-num {
  font-family: var(--font-d); font-size: clamp(3rem,5vw,4.8rem);
  font-weight: 400; color: var(--text); line-height: 1;
  background: linear-gradient(135deg, var(--gold), var(--orange));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.cv2-stat-label { font-size: 10px; letter-spacing: .28em; text-transform: uppercase; font-weight: 700; color: var(--muted); }
@media(max-width:768px){
  .cv2-stats-inner { grid-template-columns: repeat(2,1fr); }
  .cv2-stat { padding: 36px 24px; }
  .cv2-stat:nth-child(2) { border-right: none; }
}

/* ═══════════════════════════════════════
   SOBRE MÍ HOME — Asimétrico
═══════════════════════════════════════ */
.cv2-about-home { background: var(--bg-alt); padding: 120px 0; overflow: hidden; }
.cv2-about-home-inner {
  display: grid; grid-template-columns: 1.1fr 1fr; gap: 0;
  max-width: 1320px; margin: 0 auto; padding: 0 0 0 48px;
  align-items: center;
}
.cv2-about-photo-col { position: relative; }
.cv2-about-photo-wrap {
  position: relative; display: inline-block; width: 100%;
}
.cv2-about-photo {
  width: 100%; aspect-ratio: 4/5; object-fit: cover; display: block;
}
.cv2-about-badge {
  position: absolute; bottom: 40px; right: -28px;
  background: var(--bg-dark); padding: 28px 32px; min-width: 170px;
  z-index: 2;
}
.cv2-about-badge-num {
  font-family: var(--font-d); font-size: 3.6rem; font-weight: 500;
  color: var(--gold); line-height: 1; display: block;
}
.cv2-about-badge-text {
  font-size: 9px; letter-spacing: .22em; text-transform: uppercase;
  font-weight: 700; color: rgba(255,255,255,.6); display: block; margin-top: 6px; line-height: 1.5;
}
.cv2-about-corner {
  position: absolute; top: -20px; left: 0; width: 72px; height: 72px;
  border-top: 2px solid var(--gold); border-left: 2px solid var(--gold);
}
.cv2-about-content-col { padding: 60px 60px 60px 80px; }
.cv2-about-bio { font-size: 16px; line-height: 1.84; color: var(--text2); margin-bottom: 20px; }
.cv2-about-points { margin: 28px 0 40px; display: flex; flex-direction: column; gap: 14px; }
.cv2-about-point { display: flex; gap: 14px; align-items: flex-start; font-size: 14px; color: var(--text2); line-height: 1.6; }
.cv2-about-point::before { content: ''; display: block; width: 6px; height: 6px; background: var(--gold); border-radius: 50%; flex-shrink: 0; margin-top: 7px; }
@media(max-width:1000px){
  .cv2-about-home-inner { grid-template-columns: 1fr; padding: 0 24px; }
  .cv2-about-content-col { padding: 48px 0 0; }
  .cv2-about-badge { right: 0; bottom: -16px; }
}

/* ═══════════════════════════════════════
   COMUNIDADES GRID — Cards full-image
═══════════════════════════════════════ */
.cv2-comunidades { padding: 120px 0; background: var(--bg); }
.cv2-com-grid {
  display: grid; grid-template-columns: repeat(3,1fr); gap: 2px;
  max-width: 1320px; margin: 0 auto;
}
.cv2-com-card {
  position: relative; overflow: hidden; aspect-ratio: 3/4;
  display: block; text-decoration: none;
  cursor: pointer;
}
.cv2-com-card.wide { grid-column: span 2; aspect-ratio: unset; }
.cv2-com-card img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; transition: transform .8s var(--ease);
}
.cv2-com-card:hover img { transform: scale(1.05); }
.cv2-com-card-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(11,29,41,.85) 0%, rgba(11,29,41,.2) 55%, transparent 100%);
  transition: background .5s;
}
.cv2-com-card:hover .cv2-com-card-overlay {
  background: linear-gradient(to top, rgba(11,29,41,.92) 0%, rgba(11,29,41,.35) 60%, transparent 100%);
}
.cv2-com-card-body {
  position: absolute; bottom: 0; left: 0; right: 0; padding: 32px;
  transform: translateY(0); transition: transform .4s var(--ease);
}
.cv2-com-eyebrow { font-size: 9px; letter-spacing: .36em; text-transform: uppercase; font-weight: 700; color: var(--orange); margin-bottom: 6px; }
.cv2-com-name { font-family: var(--font-d); font-size: clamp(1.5rem,3vw,2.2rem); font-weight: 400; color: #fff; margin-bottom: 0; }
.cv2-com-info {
  max-height: 0; overflow: hidden; transition: max-height .4s var(--ease);
  margin-top: 12px;
}
.cv2-com-card:hover .cv2-com-info { max-height: 120px; }
.cv2-com-subtitle { font-size: 13px; color: rgba(255,255,255,.75); line-height: 1.6; margin-bottom: 10px; }
.cv2-com-price { font-size: 11px; letter-spacing: .14em; color: var(--gold-lt); font-weight: 600; }
.cv2-com-tags-wrap { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 8px; }
.cv2-com-tag { background: rgba(196,146,74,.2); color: var(--gold-lt); font-size: 9px; letter-spacing: .16em; text-transform: uppercase; font-weight: 700; padding: 3px 8px; }
@media(max-width:900px){
  .cv2-com-grid { grid-template-columns: 1fr 1fr; }
  .cv2-com-card.wide { grid-column: span 2; }
}
@media(max-width:600px){
  .cv2-com-grid { grid-template-columns: 1fr; gap: 3px; }
  .cv2-com-card.wide { grid-column: span 1; }
  .cv2-com-card { aspect-ratio: 4/3; }
}

/* ═══════════════════════════════════════
   BLOG GRID — Editorial
═══════════════════════════════════════ */
.cv2-blog { padding: 120px 0; background: var(--bg-alt); }
.cv2-blog-grid {
  display: grid; grid-template-columns: 1.6fr 1fr; gap: 3px;
  max-width: 1320px; margin: 0 auto 3px;
}
.cv2-blog-row2 {
  display: grid; grid-template-columns: repeat(3,1fr); gap: 3px;
  max-width: 1320px; margin: 0 auto;
}
.cv2-article-card {
  background: var(--bg); overflow: hidden; cursor: pointer;
  transition: box-shadow .3s;
}
.cv2-article-card:hover { box-shadow: var(--shadow2); }
.cv2-article-img { height: 260px; overflow: hidden; background: var(--bg-dark); position: relative; }
.cv2-article-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.cv2-article-card:hover .cv2-article-img img { transform: scale(1.04); }
.cv2-article-img-placeholder {
  width: 100%; height: 100%; background: linear-gradient(140deg,#0B1D29,#044d62 60%,#0B1D29);
  display: flex; align-items: center; justify-content: center;
}
.cv2-article-body { padding: 28px 28px 32px; }
.cv2-article-meta { font-size: 9px; letter-spacing: .34em; text-transform: uppercase; font-weight: 700; color: var(--orange); margin-bottom: 12px; display: flex; align-items: center; gap: 8px; }
.cv2-article-meta::before { content: ''; display: block; width: 5px; height: 5px; background: var(--orange); border-radius: 50%; flex-shrink: 0; }
.cv2-article-title { font-family: var(--font-d); font-size: 1.3rem; font-weight: 400; color: var(--text); line-height: 1.3; margin-bottom: 12px; }
.cv2-article-excerpt { font-size: 13px; color: var(--muted); line-height: 1.7; margin-bottom: 20px; }
.cv2-article-btn { display: inline-block; font-size: 10px; letter-spacing: .22em; text-transform: uppercase; font-weight: 700; color: var(--navy); border-bottom: 1px solid var(--border); padding-bottom: 2px; transition: color .2s, border-color .2s; background: none; border-top: none; border-left: none; border-right: none; cursor: pointer; font-family: var(--font-ui); }
.cv2-article-btn:hover { color: var(--orange); border-color: var(--orange); }
/* Featured article */
.cv2-article-card.featured .cv2-article-img { height: 420px; }
.cv2-article-card.featured .cv2-article-title { font-size: 1.6rem; }
@media(max-width:900px){
  .cv2-blog-grid { grid-template-columns: 1fr; }
  .cv2-blog-row2 { grid-template-columns: 1fr 1fr; }
  .cv2-article-card.featured .cv2-article-img { height: 280px; }
}
@media(max-width:600px){
  .cv2-blog-row2 { grid-template-columns: 1fr; }
}

/* Article Modal */
.cv2-modal-overlay {
  display: none; position: fixed; inset: 0; z-index: 9990;
  background: rgba(11,29,41,.75); backdrop-filter: blur(6px);
  align-items: center; justify-content: center; padding: 20px;
}
.cv2-modal-overlay.open { display: flex; }
.cv2-modal-box {
  background: #fff; max-width: 700px; width: 100%;
  max-height: 90vh; overflow-y: auto;
  padding: 48px; position: relative;
  border-top: 3px solid var(--orange);
}
.cv2-modal-close {
  position: absolute; top: 16px; right: 16px; background: none; border: none;
  font-size: 28px; line-height: 1; cursor: pointer; color: var(--muted); padding: 4px 8px;
  font-family: var(--font-ui); transition: color .2s;
}
.cv2-modal-close:hover { color: var(--text); }
@media(max-width:600px){ .cv2-modal-box { padding: 32px 20px; } }

/* ═══════════════════════════════════════
   CTA FINAL
═══════════════════════════════════════ */
.cv2-cta-section {
  background: var(--bg-dark); padding: 140px 48px;
  text-align: center; position: relative; overflow: hidden;
}
.cv2-cta-section::before {
  content: ''; position: absolute; width: 600px; height: 600px; border-radius: 50%;
  background: radial-gradient(circle, rgba(196,146,74,.12) 0%, transparent 70%);
  top: 50%; left: 50%; transform: translate(-50%,-50%);
  pointer-events: none;
}
.cv2-cta-inner { max-width: 780px; margin: 0 auto; position: relative; z-index: 2; }
.cv2-cta-title { font-family: var(--font-d); font-size: clamp(2.4rem,5vw,4.2rem); font-weight: 300; color: #fff; line-height: 1.06; margin-bottom: 20px; }
.cv2-cta-title em { font-style: italic; color: var(--gold); }
.cv2-cta-subtitle { font-size: 16px; color: rgba(255,255,255,.68); line-height: 1.78; margin: 0 auto 48px; max-width: 600px; }
.cv2-cta-btns { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; }

/* ═══════════════════════════════════════
   BUTTONS
═══════════════════════════════════════ */
.cv2-btn { display: inline-block; font-family: var(--font-ui); font-size: 11px; letter-spacing: .2em; text-transform: uppercase; font-weight: 700; text-decoration: none; cursor: pointer; border: none; transition: all .32s var(--ease); }
.cv2-btn-gold { background: var(--gold); color: var(--text); padding: 15px 36px; }
.cv2-btn-gold:hover { background: var(--orange); color: #fff; }
.cv2-btn-navy { background: var(--navy); color: #fff; padding: 15px 36px; }
.cv2-btn-navy:hover { background: var(--navy-lt); }
.cv2-btn-outline { border: 1.5px solid rgba(196,146,74,.55)!important; color: var(--gold); padding: 14px 36px; background: transparent; }
.cv2-btn-outline:hover { background: rgba(196,146,74,.1); }
.cv2-btn-outline-white { border: 1.5px solid rgba(255,255,255,.5)!important; color: #fff; padding: 14px 36px; background: transparent; }
.cv2-btn-outline-white:hover { background: rgba(255,255,255,.1); }
.cv2-btn-text { background: none; color: var(--text2); font-size: 11px; letter-spacing: .2em; text-transform: uppercase; font-weight: 700; border-bottom: 1px solid var(--border)!important; padding: 0 0 2px; cursor: pointer; font-family: var(--font-ui); transition: color .2s, border-color .2s; }
.cv2-btn-text:hover { color: var(--orange); border-color: var(--orange)!important; }

/* ═══════════════════════════════════════
   PAGES — Sobre Mí
═══════════════════════════════════════ */
.cv2-page-hero {
  position: relative; width: 100vw; height: 65vh; min-height: 480px;
  display: flex; align-items: flex-end; overflow: hidden;
}
.cv2-page-hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cv2-page-hero-overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(11,29,41,.82) 0%, rgba(11,29,41,.3) 60%, transparent 100%); }
.cv2-page-hero-content { position: relative; z-index: 10; padding: 0 48px 64px; width: 100%; max-width: 1320px; margin: 0 auto; }
@media(max-width:768px){ .cv2-page-hero-content { padding: 0 24px 48px; } }

/* Sobre Mí — biography section */
.cv2-bio-section { padding: 100px 0; }
.cv2-bio-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: 80px; align-items: start; }
.cv2-bio-photo { width: 100%; aspect-ratio: 3/4; object-fit: cover; }
.cv2-bio-text h3 { font-family: var(--font-d); font-size: 1.8rem; font-weight: 400; color: var(--text); margin: 32px 0 16px; }
.cv2-bio-text p { font-size: 16px; line-height: 1.84; color: var(--text2); margin-bottom: 20px; }
.cv2-bio-credentials { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin: 40px 0; }
.cv2-credential { border-left: 3px solid var(--gold); padding-left: 18px; }
.cv2-credential-title { font-family: var(--font-d); font-size: 1.1rem; font-weight: 500; color: var(--text); margin-bottom: 4px; }
.cv2-credential-sub { font-size: 12px; color: var(--muted); letter-spacing: .06em; }
@media(max-width:900px){
  .cv2-bio-grid { grid-template-columns: 1fr; gap: 48px; }
  .cv2-bio-photo { aspect-ratio: 4/3; }
  .cv2-bio-credentials { grid-template-columns: 1fr; }
}

/* ═══════════════════════════════════════
   PAGES — Propiedades
═══════════════════════════════════════ */
.cv2-props-grid {
  display: grid; grid-template-columns: repeat(auto-fill,minmax(320px,1fr)); gap: 24px;
}
.cv2-prop-card { background: var(--bg); overflow: hidden; transition: box-shadow .3s; }
.cv2-prop-card:hover { box-shadow: var(--shadow2); }
.cv2-prop-img { height: 240px; overflow: hidden; }
.cv2-prop-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.cv2-prop-card:hover .cv2-prop-img img { transform: scale(1.05); }
.cv2-prop-body { padding: 24px; }
.cv2-prop-type { font-size: 9px; letter-spacing: .32em; text-transform: uppercase; font-weight: 700; color: var(--orange); margin-bottom: 8px; }
.cv2-prop-name { font-family: var(--font-d); font-size: 1.25rem; font-weight: 400; color: var(--text); margin-bottom: 6px; }
.cv2-prop-loc { font-size: 12px; color: var(--muted); margin-bottom: 14px; }
.cv2-prop-price { font-size: 16px; font-weight: 700; color: var(--text); margin-bottom: 16px; }
.cv2-prop-features { display: flex; gap: 16px; flex-wrap: wrap; }
.cv2-prop-feature { font-size: 11px; color: var(--muted); display: flex; align-items: center; gap: 4px; }

/* ═══════════════════════════════════════
   PAGES — Contacto
═══════════════════════════════════════ */
.cv2-contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 80px; align-items: start; }
@media(max-width:900px){ .cv2-contact-grid { grid-template-columns: 1fr; } }
.cv2-contact-info h3 { font-family: var(--font-d); font-size: 1.5rem; font-weight: 400; color: var(--text); margin-bottom: 12px; }
.cv2-contact-item { display: flex; gap: 16px; align-items: flex-start; margin-bottom: 24px; }
.cv2-contact-icon { width: 44px; height: 44px; background: var(--bg-alt); border-radius: 50%; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.cv2-contact-label { font-size: 10px; letter-spacing: .22em; text-transform: uppercase; font-weight: 700; color: var(--muted); margin-bottom: 4px; }
.cv2-contact-val { font-size: 15px; color: var(--text); font-weight: 500; }
.cv2-contact-val a { text-decoration: none; color: inherit; transition: color .2s; }
.cv2-contact-val a:hover { color: var(--orange); }

/* Form */
.cv2-form { display: flex; flex-direction: column; gap: 18px; }
.cv2-form-group { display: flex; flex-direction: column; gap: 6px; }
.cv2-form-group label { font-size: 10px; letter-spacing: .26em; text-transform: uppercase; font-weight: 700; color: var(--muted); }
.cv2-form-group input,
.cv2-form-group select,
.cv2-form-group textarea {
  border: 1px solid rgba(196,146,74,.25); background: #fff; padding: 14px 16px;
  font-family: var(--font-ui); font-size: 14px; color: var(--text);
  outline: none; transition: border-color .25s; width: 100%;
}
.cv2-form-group input:focus,
.cv2-form-group select:focus,
.cv2-form-group textarea:focus { border-color: var(--gold); }
.cv2-form-group textarea { min-height: 120px; resize: vertical; }
.cv2-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media(max-width:600px){ .cv2-form-row { grid-template-columns: 1fr; } }

/* ═══════════════════════════════════════
   FOOTER
═══════════════════════════════════════ */
.cv2-footer { background: var(--bg-dark); color: rgba(255,255,255,.75); }
.cv2-footer-top {
  display: grid; grid-template-columns: 1fr 2fr; gap: 80px;
  max-width: 1320px; margin: 0 auto; padding: 80px 48px 64px;
}
.cv2-footer-logo { font-family: var(--font-d); font-size: 1.8rem; font-weight: 400; color: #fff; margin-bottom: 12px; }
.cv2-footer-tagline { font-size: 13px; line-height: 1.7; color: rgba(255,255,255,.5); margin-bottom: 24px; }
.cv2-footer-socials { display: flex; gap: 16px; }
.cv2-footer-socials a { color: rgba(255,255,255,.5); transition: color .2s; }
.cv2-footer-socials a:hover { color: var(--gold); }
.cv2-footer-links { display: grid; grid-template-columns: repeat(3,1fr); gap: 40px; }
.cv2-footer-col h4 { font-size: 10px; letter-spacing: .32em; text-transform: uppercase; font-weight: 700; color: var(--gold); margin-bottom: 18px; }
.cv2-footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.cv2-footer-col a { font-size: 13px; color: rgba(255,255,255,.55); text-decoration: none; transition: color .2s; }
.cv2-footer-col a:hover { color: var(--gold-lt); }
.cv2-footer-ametria { margin-top: 20px; font-family: var(--font-d); font-size: 1.2rem; font-weight: 400; color: rgba(255,255,255,.5); line-height: 1.4; }
.cv2-footer-ametria span { font-family: var(--font-ui); font-size: 11px; letter-spacing: .12em; color: rgba(255,255,255,.35); }
.cv2-footer-bottom {
  border-top: 1px solid rgba(255,255,255,.07); padding: 20px 48px;
  max-width: 1320px; margin: 0 auto;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px;
  font-size: 12px; color: rgba(255,255,255,.3);
}
.cv2-footer-bottom a { color: rgba(255,255,255,.4); text-decoration: none; transition: color .2s; }
.cv2-footer-bottom a:hover { color: var(--gold); }
@media(max-width:900px){
  .cv2-footer-top { grid-template-columns: 1fr; gap: 48px; }
  .cv2-footer-links { grid-template-columns: 1fr 1fr; }
  .cv2-footer-bottom { padding: 20px 24px; }
}
@media(max-width:600px){
  .cv2-footer-top { padding: 60px 24px 48px; }
  .cv2-footer-links { grid-template-columns: 1fr; }
}

/* ═══════════════════════════════════════
   WHATSAPP FAB
═══════════════════════════════════════ */
.cv2-wa-fab {
  position: fixed; bottom: 28px; right: 28px; z-index: 8999;
  width: 58px; height: 58px; border-radius: 50%;
  background: var(--navy); border: 2px solid var(--gold);
  display: flex; align-items: center; justify-content: center;
  color: #fff; box-shadow: 0 6px 28px rgba(3,54,71,.4);
  animation: fabFloat 4s ease-in-out infinite;
  transition: transform .3s, box-shadow .3s;
  text-decoration: none;
}
.cv2-wa-fab:hover { transform: scale(1.12) translateY(-4px); box-shadow: 0 12px 36px rgba(3,54,71,.5); }
@keyframes fabFloat { 0%,100%{transform:translateY(0)}50%{transform:translateY(-6px)} }

/* ═══════════════════════════════════════
   UTILIDADES
═══════════════════════════════════════ */
.cv2-divider { height: 1px; background: var(--border); margin: 0; }
.cv2-gold-line { width: 56px; height: 2px; background: linear-gradient(90deg,var(--gold),var(--orange)); }
.cv2-section { padding: 120px 0; }
.cv2-section-sm { padding: 72px 0; }
@media(max-width:768px){ .cv2-section { padding: 80px 0; } .cv2-section-sm { padding: 56px 0; } }

/* Divi override — quitar padding de et_pb_section en páginas custom */
body.cv2-custom-page #main-content,
body.cv2-custom-page #et-main-content { padding: 0!important; }
body.cv2-custom-page .et_pb_section { padding: 0!important; height: auto!important; min-height: 0!important; }
body.cv2-custom-page .et_pb_row { max-width: 100%!important; padding: 0!important; height: auto!important; }
body.cv2-custom-page .et_pb_column { padding: 0!important; width: 100%!important; height: auto!important; }

/* ── Imágenes hero — evitar distorsión de Divi ── */
.cv2-hero-bg,
.cv2-page-hero-bg {
  position: absolute!important;
  inset: 0!important;
  width: 100%!important;
  height: 100%!important;
  max-width: none!important;
  max-height: none!important;
  object-fit: cover!important;
  object-position: center center!important;
}
.cv2-hero,
.cv2-page-hero { overflow: hidden!important; }

/* ── Admin bar: compensar posición del nav fijo ── */
.admin-bar .cv2-nav { top: 32px; }
@media(max-width:782px){ .admin-bar .cv2-nav { top: 46px; } }