/* ============================================================
   VENARGAN S.L. — Sistema de Diseño Corporativo
   Adaptado al Manual de Identidad Visual oficial
   Tipografías: Cormorant Garamond · EB Garamond · Cinzel · Jost
   ============================================================ */

/* ── Google Fonts ── */
@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400;500;600&family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;1,300;1,400;1,500&family=EB+Garamond:ital,wght@0,400;0,500;1,400&family=Jost:wght@300;400;500;600&display=swap');

/* ── Variables de marca ── */
:root {
  /* Primarios */
  --azul:        #1E3A4A;
  --azul-dk:     #0F2230;
  --azul-lt:     #2E5470;
  --azul-wash:   #D6E3EB;

  /* Acento oro */
  --oro:         #C9A96E;
  --oro-dk:      #9E7A42;
  --oro-lt:      #E2C99A;
  --oro-wash:    #F5EDE0;

  /* Neutros cálidos */
  --n900: #1A1613;
  --n700: #3D3630;
  --n500: #7A7068;
  --n300: #B8B0A6;
  --n100: #E8E3DC;
  --n050: #F7F3EE;

  /* Secundario */
  --verde:    #2C4A3E;
  --verde-lt: #D4E6DF;

  /* Base */
  --blanco: #FFFFFF;
  --fondo:  #EDEBE6;   /* lino cálido — fondo principal */

  /* Tipografías */
  --f-display: 'Cormorant Garamond', Georgia, serif;
  --f-serif:   'EB Garamond', Georgia, serif;
  --f-cinzel:  'Cinzel', serif;
  --f-ui:      'Jost', 'Helvetica Neue', sans-serif;

  /* Tokens */
  --radius-btn: 2px;
  --radius-card: 0px;
  --radius-lg:  4px;

  --shadow-sm: 0 1px 6px rgba(15,34,48,.07);
  --shadow-md: 0 4px 24px rgba(15,34,48,.10);
  --shadow-lg: 0 12px 48px rgba(15,34,48,.14);

  --transition: .28s cubic-bezier(.4,0,.2,1);

  --max-width: 1200px;
  --section-gap: 100px;
}

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

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--f-serif);
  background: var(--fondo);
  color: var(--n700);
  line-height: 1.85;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; height: auto; }
a  { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

/* ── Tipografía ── */
h1, h2, h3, h4, h5 {
  font-family: var(--f-display);
  color: var(--azul);
  line-height: 1.18;
  font-weight: 400;
  letter-spacing: .02em;
}

h1 { font-size: clamp(2rem, 5vw, 3.6rem); font-weight: 300; }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.6rem); font-weight: 300; }
h3 { font-size: clamp(1.15rem, 2.5vw, 1.5rem); font-weight: 400; }
h4 { font-size: 1.1rem; font-weight: 500; }

p { margin-bottom: 1rem; color: var(--n700); font-family: var(--f-serif); font-size: 1rem; }
p:last-child { margin-bottom: 0; }

.lead {
  font-family: var(--f-serif);
  font-size: 1.12rem;
  line-height: 1.9;
  color: var(--n700);
}

.text-accent  { color: var(--oro); }
.text-primary { color: var(--azul); }
.text-center  { text-align: center; }
.text-small   { font-family: var(--f-ui); font-size: .8rem; color: var(--n500); }

/* ── Layout ── */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin-inline: auto;
  padding-inline: 28px;
}

.section    { padding-block: var(--section-gap); }
.section-sm { padding-block: 64px; }

.section-header { max-width: 640px; margin-bottom: 56px; }
.section-header.centered { margin-inline: auto; text-align: center; }

/* Eyebrow — siempre Cinzel */
.section-eyebrow {
  display: inline-block;
  font-family: var(--f-cinzel);
  font-size: .58rem;
  font-weight: 500;
  letter-spacing: .38em;
  text-transform: uppercase;
  color: var(--oro-dk);
  margin-bottom: 14px;
}

.section-title { margin-bottom: 16px; }

/* Divisor dorado — estilo manual */
.section-divider {
  display: block;
  width: 48px;
  height: 2px;
  background: var(--oro);
  opacity: .55;
  margin-block: 22px;
}
.section-divider.centered { margin-inline: auto; }

/* ── Grids ── */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 3px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 3px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 3px; }

/* ── Botones ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius-btn);
  font-family: var(--f-cinzel);
  font-size: .56rem;
  font-weight: 500;
  letter-spacing: .25em;
  text-transform: uppercase;
  transition: var(--transition);
  line-height: 1;
  white-space: nowrap;
}

.btn-primary {
  background: var(--azul);
  color: var(--blanco);
  border: 1.5px solid var(--azul);
}
.btn-primary:hover {
  background: var(--azul-dk);
  border-color: var(--azul-dk);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.btn-outline {
  background: transparent;
  color: var(--blanco);
  border: 1.5px solid rgba(255,255,255,.5);
}
.btn-outline:hover {
  background: rgba(255,255,255,.1);
  border-color: rgba(255,255,255,.85);
}

.btn-outline-dark {
  background: transparent;
  color: var(--azul);
  border: 1.5px solid var(--azul);
}
.btn-outline-dark:hover {
  background: var(--azul);
  color: var(--blanco);
}

.btn-accent {
  background: var(--oro);
  color: var(--azul-dk);
  border: 1.5px solid var(--oro);
}
.btn-accent:hover {
  background: var(--oro-dk);
  border-color: var(--oro-dk);
  color: var(--blanco);
  transform: translateY(-1px);
}

.btn-group { display: flex; gap: 14px; flex-wrap: wrap; }

/* ── Header / Navegación ── */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(237,235,230,.96);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--n100);
  transition: var(--transition);
}

.site-header.scrolled {
  background: rgba(237,235,230,.99);
  box-shadow: var(--shadow-sm);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

/* Logo */
.site-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
}

.site-logo svg {
  display: block;
  height: 42px;
  width: auto;
}

/* Nav links */
.main-nav {
  display: flex;
  align-items: center;
  gap: 0;
}

.nav-link {
  padding: 6px 14px;
  font-family: var(--f-cinzel);
  font-size: .55rem;
  font-weight: 500;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--azul);
  transition: var(--transition);
}

.nav-link:hover, .nav-link.active {
  color: var(--oro-dk);
}

.nav-cta {
  margin-left: 16px;
  padding: 10px 20px;
  background: var(--azul);
  color: var(--blanco);
  border-radius: var(--radius-btn);
  font-family: var(--f-cinzel);
  font-size: .52rem;
  font-weight: 500;
  letter-spacing: .22em;
  text-transform: uppercase;
  transition: var(--transition);
}
.nav-cta:hover { background: var(--azul-dk); }

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 40px; height: 40px;
  gap: 5px;
}
.hamburger span {
  display: block;
  width: 22px; height: 1.5px;
  background: var(--azul);
  transition: var(--transition);
}
.hamburger.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* Mobile nav */
.mobile-nav {
  display: none;
  position: fixed;
  top: 72px; left: 0; right: 0;
  background: var(--fondo);
  border-bottom: 1px solid var(--n100);
  padding: 20px 28px 28px;
  z-index: 999;
  box-shadow: var(--shadow-lg);
  transform: translateY(-8px);
  opacity: 0;
  transition: var(--transition);
  pointer-events: none;
}
.mobile-nav.open {
  display: block;
  transform: translateY(0);
  opacity: 1;
  pointer-events: all;
}
.mobile-nav .nav-link {
  display: block;
  padding: 14px 0;
  border-bottom: 1px solid var(--n100);
  border-radius: 0;
  font-size: .7rem;
  letter-spacing: .25em;
}
.mobile-nav .nav-link:last-of-type { border-bottom: none; }
.mobile-nav .nav-cta {
  display: block;
  text-align: center;
  margin-top: 16px;
  padding: 16px;
  font-size: .6rem;
}

/* ── Hero ── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--azul-dk);
}

.hero-bg {
  position: absolute; inset: 0;
  background-image: url('https://images.unsplash.com/photo-1560448204-e02f11c3d0e2?w=1800&q=80');
  background-size: cover;
  background-position: center;
  opacity: .12;
}

/* Patrón de arcos — evocando el elemento gráfico del manual */
.hero-bg::after {
  content: '';
  position: absolute; inset: 0;
  background-image: radial-gradient(ellipse 2px 2px at 50% 50%, rgba(201,169,110,.08) 0%, transparent 100%);
  background-size: 80px 80px;
}

.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(135deg,
    rgba(15,34,48,.93) 0%,
    rgba(30,58,74,.82) 55%,
    rgba(44,74,62,.78) 100%);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 820px;
  padding-block: 140px 100px;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-family: var(--f-cinzel);
  font-size: .56rem;
  font-weight: 500;
  letter-spacing: .4em;
  text-transform: uppercase;
  color: var(--oro);
  margin-bottom: 28px;
}
.hero-eyebrow::before {
  content: '';
  display: block;
  width: 32px;
  height: 1px;
  background: var(--oro);
  opacity: .6;
}

.hero h1 {
  font-family: var(--f-display);
  color: var(--blanco);
  font-size: clamp(2.4rem, 6vw, 4.4rem);
  font-weight: 300;
  line-height: 1.1;
  letter-spacing: .02em;
  margin-bottom: 24px;
}

.hero h1 em {
  font-style: italic;
  color: var(--oro-lt);
}

.hero-subtitle {
  font-family: var(--f-serif);
  font-size: clamp(1rem, 2vw, 1.1rem);
  color: rgba(255,255,255,.72);
  line-height: 1.9;
  margin-bottom: 44px;
  max-width: 580px;
}

.hero-scroll {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,.35);
  font-family: var(--f-cinzel);
  font-size: .48rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  animation: bounce 2.4s infinite;
}
.hero-scroll svg { width: 14px; height: 14px; }

@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%       { transform: translateX(-50%) translateY(7px); }
}

/* ── Page Hero (páginas interiores) ── */
.page-hero {
  position: relative;
  padding-block: 140px 80px;
  background: var(--azul-dk);
  overflow: hidden;
}

.page-hero-bg {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center;
  opacity: .11;
}

.page-hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(135deg,
    rgba(15,34,48,.95) 0%,
    rgba(30,58,74,.88) 100%);
}

.page-hero-content { position: relative; z-index: 1; }

.page-hero h1 {
  color: var(--blanco);
  margin-bottom: 16px;
  font-weight: 300;
}

.page-hero .lead {
  color: rgba(255,255,255,.7);
  max-width: 560px;
  font-family: var(--f-serif);
}

/* Breadcrumb */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 20px;
}
.breadcrumb a {
  font-family: var(--f-cinzel);
  font-size: .52rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--oro);
}
.breadcrumb span {
  font-family: var(--f-cinzel);
  font-size: .52rem;
  color: rgba(255,255,255,.3);
}
.breadcrumb span.current { color: rgba(255,255,255,.6); }

/* ── Cards ── */
.card {
  background: var(--blanco);
  border: 1px solid var(--n100);
  overflow: hidden;
  transition: var(--transition);
}
.card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}

.card-image { width: 100%; height: 220px; object-fit: cover; }

.card-body { padding: 32px; }

.card-icon {
  width: 48px; height: 48px;
  background: var(--oro-wash);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: var(--oro-dk);
}
.card-icon svg { width: 22px; height: 22px; }

.card h3 { margin-bottom: 10px; }

/* ── Service blocks ── */
.service-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  margin-bottom: 3px;
}
.service-block:nth-child(even) .service-img  { order: 2; }
.service-block:nth-child(even) .service-text { order: 1; }

.service-img { position: relative; min-height: 420px; }
.service-img img { width: 100%; height: 100%; object-fit: cover; }

.service-text {
  background: var(--blanco);
  padding: 64px 56px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* ── Values / trust items ── */
.value-item {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  padding: 28px 32px;
  background: var(--blanco);
  border: 1px solid var(--n100);
  transition: var(--transition);
}
.value-item:hover { box-shadow: var(--shadow-md); border-color: transparent; }

.value-icon {
  flex-shrink: 0;
  width: 40px; height: 40px;
  background: var(--oro-wash);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--oro-dk);
}
.value-icon svg { width: 18px; height: 18px; }

/* ── Property cards ── */
.property-card {
  background: var(--blanco);
  border: 1px solid var(--n100);
  overflow: hidden;
  transition: var(--transition);
}
.property-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

.property-card-image { position: relative; height: 240px; overflow: hidden; }
.property-card-image img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}
.property-card:hover .property-card-image img { transform: scale(1.04); }

.property-badge {
  position: absolute;
  top: 14px; right: 14px;
  padding: 4px 10px;
  font-family: var(--f-cinzel);
  font-size: .48rem;
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.badge-available { background: #E8F5E9; color: #2E7D32; }
.badge-rented    { background: #E3F2FD; color: #1565C0; }
.badge-reform    { background: #FFF8E1; color: #E65100; }
.badge-study     { background: #F3E5F5; color: #6A1B9A; }
.badge-sold      { background: var(--n050); color: var(--n500); }

.property-card-body { padding: 24px 28px; }

.property-location {
  display: flex;
  align-items: center;
  gap: 5px;
  font-family: var(--f-cinzel);
  font-size: .5rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--n500);
  margin-bottom: 8px;
}
.property-location svg { width: 12px; height: 12px; }

.property-card h3 { font-size: 1.05rem; margin-bottom: 8px; }

.property-meta {
  display: flex;
  gap: 16px;
  margin-block: 12px;
  padding-block: 12px;
  border-block: 1px solid var(--n100);
}
.property-meta-item {
  display: flex;
  align-items: center;
  gap: 5px;
  font-family: var(--f-cinzel);
  font-size: .48rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--n500);
}
.property-meta-item svg { width: 12px; height: 12px; }

/* ── Process steps ── */
.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  position: relative;
}
.process-steps::before {
  content: '';
  position: absolute;
  top: 27px;
  left: 12%;
  right: 12%;
  height: 1px;
  background: var(--n100);
}

.process-step { text-align: center; padding: 16px 20px 24px; }

.step-number {
  width: 54px; height: 54px;
  border-radius: 50%;
  background: var(--azul);
  color: var(--blanco);
  font-family: var(--f-display);
  font-size: 1.2rem;
  font-weight: 300;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  position: relative;
  z-index: 1;
}

/* ── CTA Section ── */
.cta-section {
  background: linear-gradient(135deg,
    var(--azul-dk) 0%,
    var(--azul) 50%,
    var(--verde) 100%);
  padding-block: 88px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute; inset: 0;
  background-image:
    radial-gradient(circle at 20% 50%, rgba(201,169,110,.07) 0%, transparent 55%),
    radial-gradient(circle at 80% 50%, rgba(201,169,110,.05) 0%, transparent 55%);
}

.cta-section > * { position: relative; }

.cta-section h2 { color: var(--blanco); margin-bottom: 16px; font-weight: 300; }
.cta-section p  { color: rgba(255,255,255,.72); margin-bottom: 36px; font-size: 1.05rem; font-family: var(--f-serif); }

/* ── Background variants ── */
.bg-light  { background: var(--n050); }
.bg-cream  { background: var(--fondo); }
.bg-blanco { background: var(--blanco); }
.bg-primary { background: var(--azul); }
.bg-dark {
  background: var(--n900);
  color: var(--blanco);
}
.bg-dark h2, .bg-dark h3 { color: var(--blanco); }
.bg-dark p { color: rgba(255,255,255,.72); }

/* ── Form ── */
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group.full { grid-column: 1 / -1; }

label {
  font-family: var(--f-cinzel);
  font-size: .52rem;
  font-weight: 500;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--n500);
}

input, select, textarea {
  width: 100%;
  padding: 13px 16px;
  border: 1.5px solid var(--n100);
  border-radius: var(--radius-btn);
  font-family: var(--f-serif);
  font-size: .95rem;
  color: var(--n900);
  background: var(--blanco);
  transition: var(--transition);
  outline: none;
}

input:focus, select:focus, textarea:focus {
  border-color: var(--azul);
  box-shadow: 0 0 0 3px rgba(30,58,74,.08);
}

textarea { resize: vertical; min-height: 140px; }

.form-check {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.form-check input[type="checkbox"] {
  width: 16px; height: 16px;
  min-width: 16px;
  margin-top: 3px;
  accent-color: var(--azul);
  cursor: pointer;
}

.form-check label {
  font-family: var(--f-serif);
  font-size: .88rem;
  color: var(--n500);
  line-height: 1.6;
  text-transform: none;
  letter-spacing: 0;
}

.form-check label a { color: var(--azul); text-decoration: underline; }

/* ── Contact info ── */
.contact-info { display: flex; flex-direction: column; gap: 22px; }

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.contact-item-icon {
  flex-shrink: 0;
  width: 40px; height: 40px;
  background: var(--oro-wash);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--oro-dk);
}
.contact-item-icon svg { width: 18px; height: 18px; }

.contact-item-text .label {
  font-family: var(--f-cinzel);
  font-size: .5rem;
  font-weight: 500;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--n500);
  margin-bottom: 3px;
}

.contact-item-text .value {
  font-family: var(--f-serif);
  font-size: .95rem;
  color: var(--azul);
  line-height: 1.5;
}

/* ── Legal pages ── */
.legal-content { max-width: 780px; margin-inline: auto; }

.legal-content h2 {
  font-family: var(--f-display);
  font-size: 1.35rem;
  font-weight: 400;
  margin-top: 44px;
  margin-bottom: 14px;
  color: var(--azul);
}

.legal-content h3 {
  font-size: 1.05rem;
  margin-top: 24px;
  margin-bottom: 10px;
}

.legal-content p, .legal-content li {
  font-family: var(--f-serif);
  font-size: .97rem;
  line-height: 1.85;
  color: var(--n700);
}

.legal-content ul {
  list-style: disc;
  padding-left: 24px;
  margin-bottom: 16px;
}

.legal-content ul li { margin-bottom: 6px; }

.legal-placeholder {
  display: inline-block;
  background: #FFF8E1;
  border: 1px dashed #F9A825;
  padding: 2px 8px;
  font-family: var(--f-ui);
  font-size: .82rem;
  color: #E65100;
  font-weight: 500;
}

/* ── Divider ── */
.divider {
  border: none;
  height: 1px;
  background: var(--n100);
  margin-block: 40px;
}

/* ── Quote block ── */
.quote-block {
  border-left: 2px solid var(--oro);
  padding: 20px 32px;
  background: var(--blanco);
  margin-block: 32px;
}

.quote-block p {
  font-family: var(--f-display);
  font-style: italic;
  font-weight: 300;
  font-size: 1.25rem;
  line-height: 1.7;
  color: var(--azul);
  margin: 0;
}

/* ── Notice box ── */
.notice-box {
  background: var(--blanco);
  border: 1px solid var(--n100);
  padding: 36px 40px;
  text-align: center;
}
.notice-box p { font-family: var(--f-serif); color: var(--n700); margin-bottom: 16px; }

/* ── Feature list ── */
.feature-list { display: flex; flex-direction: column; gap: 12px; }

.feature-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--f-serif);
  font-size: .95rem;
  color: var(--n700);
}

.feature-check {
  flex-shrink: 0;
  width: 20px; height: 20px;
  background: var(--oro-wash);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--oro-dk);
}
.feature-check svg { width: 11px; height: 11px; }

/* ── Two-column content ── */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}

.two-col-img { overflow: hidden; box-shadow: var(--shadow-lg); }
.two-col-img img { width: 100%; height: 480px; object-fit: cover; }

/* ── Footer ── */
.site-footer {
  background: var(--azul-dk);
  color: rgba(255,255,255,.65);
  padding-top: 72px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 56px;
  border-bottom: 1px solid rgba(255,255,255,.08);
}

/* Logo negativo en el footer — colores ya embebidos en el SVG inline */
.footer-brand .site-logo svg { height: 40px; }

.footer-brand-desc {
  font-family: var(--f-serif);
  font-size: .9rem;
  line-height: 1.8;
  color: rgba(255,255,255,.48);
  margin-top: 16px;
  max-width: 280px;
}

.footer-col h4 {
  font-family: var(--f-cinzel);
  font-size: .52rem;
  font-weight: 500;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: rgba(255,255,255,.8);
  margin-bottom: 20px;
}

.footer-col ul { display: flex; flex-direction: column; gap: 10px; }

.footer-col ul li a {
  font-family: var(--f-serif);
  font-size: .88rem;
  color: rgba(255,255,255,.46);
  transition: var(--transition);
}
.footer-col ul li a:hover { color: var(--oro-lt); }

.footer-accent { color: var(--oro) !important; }

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: 24px;
  gap: 20px;
  flex-wrap: wrap;
}

.footer-bottom p {
  font-family: var(--f-ui);
  font-size: .74rem;
  color: rgba(255,255,255,.28);
  margin: 0;
  letter-spacing: .06em;
}

.footer-legal { display: flex; gap: 20px; }

.footer-legal a {
  font-family: var(--f-ui);
  font-size: .74rem;
  color: rgba(255,255,255,.28);
  transition: var(--transition);
}
.footer-legal a:hover { color: rgba(255,255,255,.55); }

/* ── Cookie Banner ── */
#cookie-banner {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  background: var(--n900);
  color: rgba(255,255,255,.8);
  padding: 20px 28px;
  z-index: 10000;
  border-top: 1px solid rgba(255,255,255,.08);
  display: flex;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;
  transition: transform .3s ease;
}

#cookie-banner.hidden { transform: translateY(100%); }

#cookie-banner p {
  margin: 0;
  font-family: var(--f-serif);
  font-size: .88rem;
  line-height: 1.6;
  flex: 1;
  min-width: 240px;
  color: rgba(255,255,255,.7);
}
#cookie-banner p a { color: var(--oro); text-decoration: underline; }

.cookie-actions { display: flex; gap: 10px; flex-shrink: 0; }

.btn-cookie-accept {
  padding: 10px 20px;
  background: var(--oro);
  color: var(--azul-dk);
  border-radius: var(--radius-btn);
  font-family: var(--f-cinzel);
  font-size: .5rem;
  font-weight: 500;
  letter-spacing: .18em;
  text-transform: uppercase;
  transition: var(--transition);
}
.btn-cookie-accept:hover { background: var(--oro-dk); color: var(--blanco); }

.btn-cookie-reject {
  padding: 10px 20px;
  background: transparent;
  color: rgba(255,255,255,.55);
  border: 1px solid rgba(255,255,255,.18);
  border-radius: var(--radius-btn);
  font-family: var(--f-cinzel);
  font-size: .5rem;
  font-weight: 500;
  letter-spacing: .18em;
  text-transform: uppercase;
  transition: var(--transition);
}
.btn-cookie-reject:hover { color: var(--blanco); border-color: rgba(255,255,255,.5); }

/* ── Alert ── */
.alert {
  padding: 16px 20px;
  font-family: var(--f-serif);
  font-size: .9rem;
  margin-bottom: 20px;
  border-radius: var(--radius-btn);
}
.alert-info    { background: #E3F2FD; color: #0D47A1; border-left: 2px solid #1565C0; }
.alert-warning { background: #FFF8E1; color: #E65100; border-left: 2px solid #F57F17; }

/* ── Table (para políticas) ── */
table { width: 100%; border-collapse: collapse; font-size: .88rem; }
th, td { padding: 12px 16px; text-align: left; border: 1px solid var(--n100); font-family: var(--f-serif); }
th { background: var(--n050); font-family: var(--f-cinzel); font-size: .5rem; letter-spacing: .2em; text-transform: uppercase; color: var(--azul); font-weight: 500; }

/* ── Animations ── */
.anim-fade       { opacity: 0; transform: translateY(20px); transition: opacity .65s ease, transform .65s ease; }
.anim-fade-left  { opacity: 0; transform: translateX(-20px); transition: opacity .65s ease, transform .65s ease; }
.anim-fade-right { opacity: 0; transform: translateX(20px);  transition: opacity .65s ease, transform .65s ease; }
.anim-fade.visible, .anim-fade-left.visible, .anim-fade-right.visible { opacity: 1; transform: none; }
.delay-1 { transition-delay: .12s !important; }
.delay-2 { transition-delay: .22s !important; }
.delay-3 { transition-delay: .33s !important; }
.delay-4 { transition-delay: .44s !important; }

/* ── Responsive ── */
@media (max-width: 1024px) {
  :root { --section-gap: 80px; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
  .process-steps { grid-template-columns: repeat(2, 1fr); }
  .process-steps::before { display: none; }
}

@media (max-width: 860px) {
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
  .two-col { grid-template-columns: 1fr; gap: 40px; }
  .service-block { grid-template-columns: 1fr; }
  .service-block:nth-child(even) .service-img,
  .service-block:nth-child(even) .service-text { order: unset; }
  .service-img { min-height: 280px; }
  .service-text { padding: 44px 36px; }
  .form-grid { grid-template-columns: 1fr; }
  .form-group.full { grid-column: 1; }
  .two-col-img img { height: 320px; }
}

@media (max-width: 768px) {
  :root { --section-gap: 64px; }
  .main-nav { display: none; }
  .hamburger { display: flex; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .footer-legal { justify-content: center; flex-wrap: wrap; }
  .hero-content { padding-block: 120px 80px; }
  #cookie-banner { flex-direction: column; }
}

@media (max-width: 520px) {
  .btn-group { flex-direction: column; }
  .btn { justify-content: center; }
  .process-steps { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: 1fr; }
  .header-inner { height: 64px; }
  .mobile-nav { top: 64px; }
  .hero h1 { font-size: 2.1rem; }
}
