/* =============================================
   COPEYME ASESORES — Estilos compartidos
   Diseño: Propuesta 1 "Confianza Clásica"
   ============================================= */

/* ── VARIABLES ── */
:root {
  --navy: #1B2B4B;
  --navy-light: #243860;
  --gold: #B8973A;
  --gold-light: #D4AF5A;
  --cream: #F8F5EF;
  --gray: #6B7280;
  --light-gray: #F3F4F6;
  --white: #FFFFFF;
  --text: #1F2937;
  --border: #E5E7EB;
  --serif: 'Playfair Display', Georgia, serif;
  --sans: 'Source Sans 3', system-ui, sans-serif;
  --header-h: 72px;
}

/* ── RESET ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--sans); color: var(--text); background: var(--white); font-size: 16px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { transition: color 0.2s; }

/* ── HEADER ── */
header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: var(--navy);
  border-bottom: 3px solid var(--gold);
}
.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
  gap: 2rem;
}
.logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
}
.logo-text {
  font-family: var(--serif);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 0.05em;
}
.logo-text span { color: var(--gold); }
.logo-sub {
  font-size: 0.6rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
  display: block;
  margin-top: 2px;
}
.logo-img {
  height: 70px;
  width: auto;
  display: block;
  max-height: 70px;
  object-fit: contain;
}

/* ── NAVEGACIÓN DESKTOP ── */
nav ul {
  display: flex;
  list-style: none;
  gap: 0.25rem;
  align-items: center;
  flex-wrap: nowrap;
}
nav ul li { position: relative; }
nav ul li > a {
  display: block;
  padding: 0.5rem 0.85rem;
  color: rgba(255,255,255,0.85);
  text-decoration: none;
  font-size: 0.84rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  transition: color 0.2s;
  white-space: nowrap;
}
nav ul li > a:hover, nav ul li > a.active { color: var(--gold); }
nav ul li ul {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--navy-light);
  border-top: 2px solid var(--gold);
  min-width: 210px;
  flex-direction: column;
  gap: 0;
  box-shadow: 0 8px 24px rgba(0,0,0,0.3);
  z-index: 100;
}
nav ul li:hover > ul { display: flex; }
nav ul li ul li a {
  padding: 0.6rem 1.2rem;
  font-size: 0.82rem;
  text-transform: none;
  font-weight: 400;
  letter-spacing: 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.btn-presupuesto {
  background: var(--gold) !important;
  color: var(--navy) !important;
  padding: 0.5rem 1.1rem !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  font-size: 0.78rem !important;
  letter-spacing: 0.06em !important;
  white-space: nowrap;
}
.btn-presupuesto:hover { background: var(--gold-light) !important; }

/* ── HAMBURGER ── */
.nav-hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  flex-direction: column;
  gap: 6px;
  flex-shrink: 0;
}
.nav-hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--white);
  transition: transform 0.3s, opacity 0.2s;
  transform-origin: center;
}
.nav-hamburger.open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ── MOBILE NAV ── */
.nav-mobile {
  display: none;
  position: fixed;
  top: var(--header-h);
  left: 0; right: 0; bottom: 0;
  background: var(--navy);
  z-index: 998;
  overflow-y: auto;
  padding: 1.5rem 1.5rem 3rem;
  flex-direction: column;
}
.nav-mobile.open { display: flex; }
.nav-mobile a {
  display: block;
  padding: 1rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.07);
  color: rgba(255,255,255,0.8);
  text-decoration: none;
  font-size: 1.05rem;
  font-weight: 500;
  font-family: var(--sans);
  transition: color 0.2s;
}
.nav-mobile a:hover { color: var(--gold); }
.nav-mobile .mob-label {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  padding: 1.5rem 0 0.4rem;
}
.nav-mobile .mob-cta {
  margin-top: 2rem;
  background: var(--gold);
  color: var(--navy) !important;
  font-weight: 700 !important;
  text-align: center;
  padding: 1.1rem !important;
  border-bottom: none !important;
  font-size: 0.9rem !important;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* ── HERO HOME (pantalla completa) ── */
.hero {
  padding-top: var(--header-h);
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  background-image: url('/images/copeyme_home_2000px.jpg');
  background-size: cover;
  background-position: center center;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(20,32,58,0.88) 40%, rgba(20,32,58,0.60) 100%);
  z-index: 0;
}
.hero::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--gold) 0%, transparent 60%);
  z-index: 1;
}
.hero-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 6rem 2rem 5rem;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 4rem;
  position: relative;
  z-index: 1;
  width: 100%;
}
.hero-content {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.hero-panel {
  flex-shrink: 0;
  width: 280px;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(184,151,58,0.40);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 2rem 1.75rem;
  display: flex;
  flex-direction: column;
}
.hero-stat {
  padding: 1.25rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.10);
}
.hero-stat:first-child { padding-top: 0; }
.hero-stat:last-of-type { border-bottom: none; }
.stat-num {
  font-family: var(--serif);
  font-size: 2.6rem;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
  display: block;
}
.stat-label {
  font-size: 0.76rem;
  color: rgba(255,255,255,0.60);
  text-transform: uppercase;
  letter-spacing: 0.10em;
  display: block;
  margin-top: 0.3rem;
}
.hero-panel-cta {
  display: block;
  background: var(--gold);
  color: var(--navy);
  text-align: center;
  padding: 0.85rem 1rem;
  font-weight: 700;
  text-decoration: none;
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: background 0.2s;
  margin-top: 1.5rem;
}
.hero-panel-cta:hover { background: var(--gold-light); color: var(--navy); }
.hero-badge {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  border-left: 3px solid var(--gold);
  padding-left: 0.75rem;
  margin-bottom: 1.5rem;
}
.hero h1 {
  font-family: var(--serif);
  font-size: clamp(2.2rem, 5vw, 4rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1.12;
  margin-bottom: 1.5rem;
}
.hero p {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.75);
  line-height: 1.75;
  margin-bottom: 2.5rem;
  max-width: 540px;
}
.hero-ctas { display: flex; gap: 1rem; flex-wrap: wrap; }
.cta-primary {
  display: inline-block;
  padding: 0.9rem 2rem;
  background: var(--gold);
  color: var(--navy);
  font-weight: 700;
  text-decoration: none;
  font-size: 0.9rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: background 0.2s, transform 0.15s;
}
.cta-primary:hover { background: var(--gold-light); transform: translateY(-2px); }
.cta-secondary {
  display: inline-block;
  padding: 0.9rem 2rem;
  border: 2px solid rgba(255,255,255,0.4);
  color: var(--white);
  font-weight: 600;
  text-decoration: none;
  font-size: 0.9rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: border-color 0.2s, color 0.2s;
}
.cta-secondary:hover { border-color: var(--gold); color: var(--gold); }

/* ── PAGE HERO (páginas interiores) ── */
.page-hero {
  padding-top: var(--header-h);
  background: var(--navy);
  padding-bottom: 3rem;
  position: relative;
  overflow: hidden;
}
.page-hero::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--gold) 0%, transparent 60%);
}
.page-hero-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 3.5rem 2rem 1rem;
}
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.78rem;
  color: rgba(255,255,255,0.45);
  margin-bottom: 1.25rem;
  flex-wrap: wrap;
}
.breadcrumb a { color: rgba(255,255,255,0.45); text-decoration: none; }
.breadcrumb a:hover { color: var(--gold); }
.breadcrumb span { color: rgba(255,255,255,0.25); }
.breadcrumb .current { color: var(--gold); }
.page-hero h1 {
  font-family: var(--serif);
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1.15;
}
.page-hero-lead {
  font-size: 1rem;
  color: rgba(255,255,255,0.65);
  max-width: 600px;
  margin-top: 1rem;
  line-height: 1.7;
}

/* ── SECCIONES BASE ── */
.section { padding: 5rem 0; }
.section-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}
.section-header { text-align: center; margin-bottom: 3.5rem; }
.section-label {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.75rem;
}
.section-header h2 {
  font-family: var(--serif);
  font-size: clamp(1.7rem, 3vw, 2.5rem);
  font-weight: 700;
  color: var(--navy);
  line-height: 1.2;
}
.section-header p {
  margin-top: 1rem;
  font-size: 1rem;
  color: var(--gray);
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}
.divider {
  width: 56px; height: 3px;
  background: var(--gold);
  margin: 1.25rem auto 0;
}

/* ── SERVICIOS PRINCIPALES (home) ── */
.servicios { background: var(--cream); }
.servicios-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}
.servicio-card {
  background: var(--white);
  padding: 2rem 1.75rem;
  border-top: 4px solid var(--navy);
  transition: transform 0.25s, box-shadow 0.25s;
  text-decoration: none;
  display: block;
}
.servicio-card:hover { transform: translateY(-6px); box-shadow: 0 16px 40px rgba(27,43,75,0.12); }
.servicio-icon {
  width: 48px; height: 48px;
  background: var(--navy);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1.25rem;
}
.servicio-icon i { font-size: 1.2rem; color: var(--gold); }
.servicio-card h3 {
  font-family: var(--serif);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 0.6rem;
}
.servicio-card p { font-size: 0.88rem; color: var(--gray); line-height: 1.65; margin-bottom: 1.25rem; }
.card-link {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--navy);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  border-bottom: 2px solid var(--gold);
  padding-bottom: 1px;
}
.servicio-card:hover .card-link { color: var(--gold); }

/* ── OTROS SERVICIOS (home) ── */
.otros-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}
.otro-card {
  border: 1px solid var(--border);
  padding: 1.75rem 1.25rem;
  text-align: center;
  transition: border-color 0.2s, background 0.2s;
  text-decoration: none;
  display: block;
}
.otro-card:hover { border-color: var(--gold); background: var(--cream); }
.otro-card i { font-size: 1.8rem; color: var(--navy); margin-bottom: 0.75rem; display: block; }
.otro-card h3 { font-family: var(--serif); font-size: 1rem; color: var(--navy); margin-bottom: 0.4rem; }
.otro-card p { font-size: 0.82rem; color: var(--gray); line-height: 1.55; }

/* ── SOBRE NOSOTROS ── */
.sobre { background: var(--navy); }
.sobre-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}
.sobre-content h2 {
  font-family: var(--serif);
  font-size: clamp(1.7rem, 3vw, 2.5rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1.2;
  margin-bottom: 1.5rem;
}
.sobre-content h2 span { color: var(--gold); }
.sobre-content p { font-size: 0.95rem; color: rgba(255,255,255,0.68); line-height: 1.8; margin-bottom: 1.1rem; }
.sobre-valores { display: flex; flex-direction: column; gap: 1.25rem; }
.valor-item { display: flex; gap: 1rem; align-items: flex-start; }
.valor-icon {
  flex-shrink: 0; width: 38px; height: 38px;
  background: var(--gold);
  display: flex; align-items: center; justify-content: center;
}
.valor-icon i { font-size: 0.95rem; color: var(--navy); }
.valor-text h4 { font-weight: 700; font-size: 0.92rem; color: var(--white); margin-bottom: 0.2rem; }
.valor-text p { font-size: 0.83rem; color: rgba(255,255,255,0.5); line-height: 1.5; }

/* ── TESTIMONIOS ── */
.testimonios { background: var(--light-gray); }
.testimonios-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.testimonio-card {
  background: var(--white);
  padding: 2rem;
  border-bottom: 3px solid var(--gold);
  position: relative;
}
.testimonio-card::before {
  content: '\201C';
  font-family: var(--serif);
  font-size: 4.5rem;
  color: var(--gold);
  opacity: 0.18;
  position: absolute;
  top: -0.5rem; left: 1.2rem;
  line-height: 1;
}
.testimonio-card p { font-size: 0.9rem; color: var(--gray); line-height: 1.75; margin-bottom: 1.5rem; font-style: italic; }
.testimonio-author { display: flex; align-items: center; gap: 0.75rem; }
.author-avatar {
  width: 38px; height: 38px;
  background: var(--navy);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--serif); font-size: 0.95rem; color: var(--gold); font-weight: 700;
  flex-shrink: 0;
}
.author-name { font-weight: 700; font-size: 0.88rem; color: var(--navy); }
.author-role { font-size: 0.76rem; color: var(--gray); }
.estrellas { color: var(--gold); font-size: 0.78rem; margin-top: 0.2rem; }

/* ── CTA BANNER ── */
.cta-banner { background: var(--gold); padding: 4rem 0; }
.cta-banner-inner {
  max-width: 1200px; margin: 0 auto; padding: 0 2rem;
  display: flex; align-items: center; justify-content: space-between; gap: 2rem; flex-wrap: wrap;
}
.cta-banner h2 {
  font-family: var(--serif);
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  font-weight: 700; color: var(--navy);
}
.cta-banner p { font-size: 0.93rem; color: var(--navy); opacity: 0.72; margin-top: 0.4rem; }
.btn-banner {
  display: inline-block;
  padding: 0.9rem 2.2rem;
  background: var(--navy);
  color: var(--white);
  font-weight: 700;
  text-decoration: none;
  font-size: 0.88rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
  transition: background 0.2s;
}
.btn-banner:hover { background: var(--navy-light); }

/* ── DETALLE DE SERVICIO (páginas interiores) ── */
.service-content { padding: 4rem 0; }
.service-layout {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 4rem;
  align-items: start;
}
.service-intro p {
  font-size: 1.05rem;
  color: var(--text);
  line-height: 1.85;
  margin-bottom: 1.25rem;
}
.service-intro h2 {
  font-family: var(--serif);
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  font-weight: 700;
  color: var(--navy);
  margin: 2rem 0 1rem;
}
.service-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 0.5rem;
}
.service-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.95rem;
  color: var(--text);
  line-height: 1.55;
}
.service-list li::before {
  content: '';
  flex-shrink: 0;
  width: 6px; height: 6px;
  background: var(--gold);
  border-radius: 50%;
  margin-top: 0.5rem;
}
.service-steps {
  list-style: none;
  counter-reset: steps;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}
.service-steps li {
  counter-increment: steps;
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  font-size: 0.93rem;
  color: var(--text);
  line-height: 1.55;
}
.service-steps li::before {
  content: counter(steps);
  flex-shrink: 0;
  width: 26px; height: 26px;
  background: var(--navy);
  color: var(--gold);
  font-size: 0.75rem;
  font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
}
.service-sidebar {
  position: sticky;
  top: calc(var(--header-h) + 2rem);
}
.sidebar-card {
  background: var(--cream);
  border-top: 4px solid var(--gold);
  padding: 2rem;
  margin-bottom: 1.5rem;
}
.sidebar-card h3 {
  font-family: var(--serif);
  font-size: 1.1rem;
  color: var(--navy);
  font-weight: 700;
  margin-bottom: 1rem;
}
.sidebar-nav {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.sidebar-nav li a {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.88rem;
  color: var(--gray);
  text-decoration: none;
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--border);
  transition: color 0.2s;
}
.sidebar-nav li a:hover, .sidebar-nav li a.active { color: var(--navy); font-weight: 600; }
.sidebar-nav li a i { color: var(--gold); font-size: 0.75rem; }
.sidebar-cta {
  background: var(--navy);
  padding: 2rem;
  text-align: center;
}
.sidebar-cta h3 {
  font-family: var(--serif);
  font-size: 1.1rem;
  color: var(--white);
  margin-bottom: 0.75rem;
}
.sidebar-cta p { font-size: 0.85rem; color: rgba(255,255,255,0.6); margin-bottom: 1.25rem; line-height: 1.5; }
.sidebar-cta a {
  display: block;
  background: var(--gold);
  color: var(--navy);
  text-decoration: none;
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.9rem;
  transition: background 0.2s;
}
.sidebar-cta a:hover { background: var(--gold-light); }

/* ── NOTICIAS ── */
.noticias-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2.5rem;
}
.noticia-card {
  background: var(--white);
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.25s, transform 0.25s;
}
.noticia-card:hover {
  box-shadow: 0 12px 36px rgba(27,43,75,0.1);
  transform: translateY(-4px);
}
.noticia-card-img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
  background: var(--light-gray);
}
.noticia-card-img-placeholder {
  width: 100%;
  height: 220px;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.noticia-card-img-placeholder i { font-size: 2.5rem; color: var(--gold); opacity: 0.35; }
.noticia-card-body {
  padding: 2rem;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.noticia-card-body h3 {
  font-family: var(--serif);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.35;
}
.noticia-card-body p {
  font-size: 0.92rem;
  color: var(--gray);
  line-height: 1.7;
  flex: 1;
}
.noticia-link {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--navy);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  border-bottom: 2px solid var(--gold);
  padding-bottom: 1px;
  align-self: flex-start;
  margin-top: 0.5rem;
}
.noticia-link:hover { color: var(--gold); }

/* ── SERVICE IMAGE ── */
.service-featured-img {
  width: 100%;
  max-height: 360px;
  object-fit: cover;
  display: block;
  margin-bottom: 3rem;
  border-top: 4px solid var(--gold);
  padding-bottom: 0;
}

/* ── HIGHLIGHT CALLOUT (páginas de servicio) ── */
.service-highlight {
  background: var(--navy);
  border-left: 4px solid var(--gold);
  padding: 1.4rem 1.75rem;
  margin: 0.5rem 0 2.5rem;
}
.service-highlight p {
  font-family: var(--serif);
  font-size: 1.1rem;
  font-style: italic;
  color: rgba(255,255,255,0.90);
  line-height: 1.65;
  margin: 0;
  max-width: none;
}

/* ── FEATURES GRID (cards "por qué elegirnos") ── */
.features-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin: 1rem 0 2rem;
}
.feature-card {
  background: var(--cream);
  border-left: 3px solid var(--gold);
  padding: 1.2rem 1.2rem 1.2rem 1rem;
}
.feature-card-icon {
  color: var(--gold);
  font-size: 1.35rem;
  margin-bottom: 0.55rem;
}
.feature-card h4 {
  font-family: var(--serif);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 0.4rem;
  line-height: 1.3;
}
.feature-card p {
  font-size: 0.875rem;
  color: var(--gray);
  line-height: 1.55;
  margin: 0;
}

/* ── CONTACTO ── */
.contacto-grid {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 4rem;
  align-items: start;
}
.form-group { margin-bottom: 1.5rem; }
.form-group label {
  display: block;
  font-size: 0.83rem;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 0.85rem 1rem;
  border: 1.5px solid var(--border);
  font-family: var(--sans);
  font-size: 0.95rem;
  color: var(--text);
  background: var(--white);
  outline: none;
  transition: border-color 0.2s;
  -webkit-appearance: none;
}
.form-group input:focus,
.form-group textarea:focus { border-color: var(--navy); }
.form-group textarea { min-height: 140px; resize: vertical; }
.form-check {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  font-size: 0.83rem;
  color: var(--gray);
  margin-bottom: 1.5rem;
}
.form-check input { width: auto; flex-shrink: 0; margin-top: 3px; }
.btn-submit {
  display: inline-block;
  padding: 1rem 2.5rem;
  background: var(--navy);
  color: var(--white);
  font-family: var(--sans);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  width: 100%;
  transition: background 0.2s;
}
.btn-submit:hover { background: var(--navy-light); }
.cf-turnstile { margin: 1.25rem 0 0.5rem; }

/* ── HONEYPOT anti-spam ── */
.honeypot {
  position: absolute;
  left: -9999px;
  top: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
}

/* ── FEEDBACK del formulario ── */
.form-feedback {
  padding: 1rem 1.25rem;
  margin-bottom: 1.5rem;
  border-left: 4px solid;
  font-size: 0.95rem;
  line-height: 1.5;
}
.form-feedback.success {
  background: #f0fdf4;
  border-color: #22c55e;
  color: #166534;
}
.form-feedback.error {
  background: #fef2f2;
  border-color: #ef4444;
  color: #991b1b;
}

.contact-info-card {
  background: var(--navy);
  padding: 2.5rem;
  position: sticky;
  top: calc(var(--header-h) + 2rem);
}
.contact-info-card h3 {
  font-family: var(--serif);
  font-size: 1.3rem;
  color: var(--white);
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 2px solid var(--gold);
}
.contact-row {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  margin-bottom: 1.5rem;
  font-size: 0.9rem;
  color: rgba(255,255,255,0.65);
  line-height: 1.55;
}
.contact-row i { color: var(--gold); margin-top: 2px; flex-shrink: 0; width: 16px; }
.contact-row a { color: rgba(255,255,255,0.65); text-decoration: none; }
.contact-row a:hover { color: var(--gold); }
.contact-social { display: flex; gap: 0.75rem; margin-top: 2rem; }
.social-btn {
  width: 36px; height: 36px;
  border: 1px solid rgba(255,255,255,0.15);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.5);
  text-decoration: none; font-size: 0.85rem;
  transition: border-color 0.2s, color 0.2s;
}
.social-btn:hover { border-color: var(--gold); color: var(--gold); }

/* ── FOOTER ── */
footer { background: #111827; color: rgba(255,255,255,0.55); padding: 4rem 0 2rem; }
.footer-grid {
  max-width: 1200px; margin: 0 auto; padding: 0 2rem;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}
.footer-brand .logo-text { font-size: 1.4rem; margin-bottom: 1rem; display: block; }
.footer-logo { height: 64px; width: auto; display: block; margin-bottom: 1rem; object-fit: contain; }
.footer-brand p { font-size: 0.87rem; line-height: 1.7; margin-bottom: 1.5rem; }
.footer-social { display: flex; gap: 0.6rem; }
.footer-col h4 {
  font-family: var(--serif);
  font-size: 0.9rem; color: var(--white);
  margin-bottom: 1.1rem; font-weight: 700;
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 0.6rem; }
.footer-col ul li a {
  font-size: 0.85rem; color: rgba(255,255,255,0.5);
  text-decoration: none; transition: color 0.2s;
}
.footer-col ul li a:hover { color: var(--gold); }
.footer-contact-item { display: flex; gap: 0.75rem; align-items: flex-start; margin-bottom: 0.85rem; font-size: 0.85rem; }
.footer-contact-item i { color: var(--gold); margin-top: 2px; flex-shrink: 0; }
.footer-contact-item a { color: rgba(255,255,255,0.5); text-decoration: none; }
.footer-contact-item a:hover { color: var(--gold); }
.footer-bottom {
  max-width: 1200px; margin: 0 auto; padding: 1.5rem 2rem 0;
  border-top: 1px solid rgba(255,255,255,0.08);
  display: flex; justify-content: space-between; align-items: center;
  font-size: 0.8rem; flex-wrap: wrap; gap: 0.5rem;
}
.footer-bottom a { color: var(--gold); text-decoration: none; }

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  .servicios-grid { grid-template-columns: repeat(2, 1fr); }
  .otros-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .sobre-grid { grid-template-columns: 1fr; gap: 3rem; }
  .service-layout { grid-template-columns: 1fr; }
  .service-sidebar { position: static; }
  .contacto-grid { grid-template-columns: 1fr; }
  .contact-info-card { position: static; }
  .testimonios-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  nav { display: none; }
  .nav-hamburger { display: flex; }
  .header-inner { padding: 0 1.25rem; }

  .hero-inner { padding: 5rem 1.25rem 4rem; flex-direction: column; align-items: flex-start; gap: 2rem; }
  .hero-panel { width: 100%; flex-direction: row; flex-wrap: wrap; padding: 1.1rem 0.75rem; gap: 0; align-items: center; }
  .hero-stat { flex: 1; text-align: center; padding: 0 0.75rem; border-bottom: none; border-right: 1px solid rgba(255,255,255,0.12); }
  .hero-stat:first-child { padding-top: 0; }
  .hero-stat:last-of-type { border-right: none; }
  .stat-num { font-size: 1.9rem; }
  .hero-panel-cta { width: 100%; margin-top: 1rem; }
  .hero h1 { font-size: clamp(1.9rem, 7vw, 2.8rem); }
  .hero p { font-size: 0.95rem; }

  .page-hero-inner { padding: 2.5rem 1.25rem 1rem; }

  .section { padding: 3.5rem 0; }
  .section-inner { padding: 0 1.25rem; }

  .servicios-grid { grid-template-columns: 1fr; gap: 1rem; }
  .otros-grid { grid-template-columns: repeat(2, 1fr); }
  .testimonios-grid { grid-template-columns: 1fr; }

  .cta-banner-inner { flex-direction: column; text-align: center; }

  .noticias-grid { grid-template-columns: 1fr; gap: 1.5rem; }

  .footer-grid { grid-template-columns: 1fr 1fr; gap: 1.5rem; }
  .footer-bottom { flex-direction: column; text-align: center; gap: 0.4rem; }
}

@media (max-width: 480px) {
  .hero h1 { font-size: 1.9rem; }
  .hero-ctas { flex-direction: column; }
  .cta-primary, .cta-secondary { text-align: center; width: 100%; }

  .otros-grid { grid-template-columns: 1fr; }
  .features-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }

  .service-layout { gap: 2.5rem; }
  .noticias-grid { grid-template-columns: 1fr; }

  .cta-banner h2 { font-size: 1.3rem; }
}
