/* ============================================
   ESTUDIO PERRONE & ASOCIADOS — ESTILOS
   ============================================ */

:root {
  --borde: #6B1818;
  --borde-oscuro: #4A1010;
  --borde-claro: #8B2222;
  --dorado: #C4A245;
  --dorado-claro: #D4B255;
  --grafito: #2D2D2D;
  --gris-medio: #5A5A5A;
  --gris-claro: #F2F0ED;
  --gris-linea: #E0DCDA;
  --blanco: #FFFFFF;
  --negro-suave: #1A1A1A;
  --arena: #8C7B5E;
  --font-heading: 'Playfair Display', Georgia, serif;
  --font-body: 'Inter', 'Segoe UI', Arial, sans-serif;
  --transition: 0.3s ease;
  --sombra: 0 4px 24px rgba(0,0,0,0.10);
  --sombra-hover: 0 8px 40px rgba(0,0,0,0.18);
}

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

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

body {
  font-family: var(--font-body);
  color: var(--grafito);
  background: var(--blanco);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 { font-family: var(--font-heading); line-height: 1.25; }
h1 { font-size: clamp(2rem, 4vw, 3.2rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.5rem); }
h4 { font-size: 1.1rem; }

p { margin-bottom: 1rem; }
a { color: var(--borde); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--dorado); }

img { max-width: 100%; height: auto; display: block; }

.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 2rem;
}

.section { padding: 5rem 0; }
.section-alt { background: var(--gris-claro); }
.section-dark {
  background: linear-gradient(135deg, #3B151C 0%, #1A1A1A 55%, #1A1A1A 100%);
  color: var(--blanco);
  position: relative;
}
.section-borde { background: var(--borde); color: var(--blanco); }

.section-label {
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--dorado);
  margin-bottom: 1rem;
  display: block;
}

.section-title {
  margin-bottom: 1.2rem;
  color: inherit;
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--gris-medio);
  max-width: 680px;
  margin-bottom: 3rem;
}

.section-dark .section-subtitle,
.section-borde .section-subtitle { color: rgba(255,255,255,0.75); }

/* DIVIDER */
.divider {
  width: 56px;
  height: 3px;
  background: var(--dorado);
  margin: 1.2rem 0 2rem;
}

/* BUTTONS */
.btn {
  display: inline-block;
  padding: 0.85rem 2rem;
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
}

.btn-primary {
  background: var(--dorado);
  color: var(--negro-suave);
  border-color: var(--dorado);
}
.btn-primary:hover {
  background: transparent;
  color: var(--dorado);
}

.btn-outline {
  background: transparent;
  color: var(--blanco);
  border-color: var(--blanco);
}
.btn-outline:hover {
  background: var(--blanco);
  color: var(--negro-suave);
}

.btn-outline-dark {
  background: transparent;
  color: var(--borde);
  border-color: var(--borde);
}
.btn-outline-dark:hover {
  background: var(--borde);
  color: var(--blanco);
}

.btn-sm { padding: 0.6rem 1.4rem; font-size: 0.78rem; }

/* ============================================
   NAVBAR
   ============================================ */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(26, 26, 26, 0.97);
  backdrop-filter: blur(8px);
  border-bottom: 2px solid rgba(196,162,69,0.75);
  transition: all var(--transition);
}

.navbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 2rem;
}

.navbar__logo {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
}

.navbar__logo-img {
  height: 58px;
  width: auto;
  display: block;
}

.navbar__logo-name {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--blanco);
  line-height: 1.1;
  letter-spacing: 0.1em;
  white-space: nowrap;
}

.navbar__menu {
  display: flex;
  align-items: center;
  gap: 2.2rem;
  list-style: none;
}

.navbar__menu a {
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.80);
  transition: color var(--transition);
}
.navbar__menu a:hover,
.navbar__menu a:active,
.navbar__menu a:focus,
.navbar__menu a.active { color: var(--dorado); }

.navbar__cta {
  margin-left: 1rem;
}

.navbar__hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}
.navbar__hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--blanco);
  transition: all var(--transition);
}

/* ============================================
   HERO
   ============================================ */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: flex-start;
  background: var(--negro-suave);
  background-image: url('../img/foto_inst.jpeg');
  background-size: cover;
  background-position: center center;
  position: relative;
  overflow: hidden;
  padding-top: 260px;
}

.hero__bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(0,0,0,0.35) 0%, rgba(0,0,0,0.25) 50%, rgba(0,0,0,0.35) 100%);
  z-index: 1;
}

.hero__pattern {
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(
      0deg,
      transparent,
      transparent 60px,
      rgba(196,162,69,0.04) 60px,
      rgba(196,162,69,0.04) 61px
    ),
    repeating-linear-gradient(
      90deg,
      transparent,
      transparent 60px,
      rgba(196,162,69,0.04) 60px,
      rgba(196,162,69,0.04) 61px
    );
  z-index: 0;
}

.hero__content {
  position: relative;
  z-index: 2;
  max-width: 1100px;
  text-align: left;
  margin: 0;
  padding-left: 0;
}

.hero__title {
  animation: heroReveal 2.2s cubic-bezier(0.16, 1, 0.3, 1) both;
}
.hero__subtitle {
  animation: heroReveal 2s cubic-bezier(0.16, 1, 0.3, 1) 0.7s both;
}

@keyframes heroReveal {
  from {
    opacity: 0;
    transform: translateY(60px) scale(0.96);
    filter: blur(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0);
  }
}

.hero__label {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--dorado);
  margin-bottom: 1.8rem;
  padding: 0 2.5rem;
  position: relative;
}
.hero__label::before,
.hero__label::after {
  content: '';
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 1.8rem;
  height: 1px;
  background: var(--dorado);
}
.hero__label::before { left: 0; }
.hero__label::after  { right: 0; }

.hero__title {
  font-family: var(--font-heading);
  font-size: clamp(2.8rem, 5.5vw, 5rem);
  font-weight: 700;
  color: var(--blanco);
  line-height: 1.1;
  letter-spacing: -0.01em;
  margin-bottom: 1.4rem;
  text-shadow: 0 4px 32px rgba(0,0,0,0.55);
}

.hero__title em {
  font-style: normal;
  color: var(--dorado);
}

.hero__subtitle {
  font-family: var(--font-body);
  font-size: clamp(1.05rem, 1.8vw, 1.35rem);
  font-weight: 400;
  color: rgba(255,255,255,0.88);
  letter-spacing: 0.06em;
  margin-bottom: 0;
  max-width: 580px;
  margin-left: 0;
  margin-right: 0;
  text-shadow: 0 2px 12px rgba(0,0,0,0.5);
  line-height: 1.7;
}

.hero__divider {
  width: 60px;
  height: 2px;
  background: var(--dorado);
  margin: 0 auto 1.8rem;
  opacity: 0.9;
}

.hero__ornament {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.8rem;
  margin: 1.8rem auto;
  width: 260px;
}
.hero__ornament::before,
.hero__ornament::after {
  content: '';
  flex: 1;
  height: 1px;
}
.hero__ornament::before {
  background: linear-gradient(to right, transparent, rgba(196,162,69,0.85));
}
.hero__ornament::after {
  background: linear-gradient(to left, transparent, rgba(196,162,69,0.85));
}
.hero__ornament span {
  color: var(--dorado);
  font-size: 0.45rem;
  opacity: 0.9;
  line-height: 1;
}

.hero__tagline {
  font-size: 0.95rem;
  color: rgba(255,255,255,0.6);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-family: var(--font-body);
  font-weight: 400;
}

.hero__actions { display: flex; gap: 1rem; flex-wrap: wrap; }

.hero .container { padding-left: 1rem; }

.hero__scroll {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  color: rgba(255,255,255,0.4);
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}
.hero__scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, rgba(196,162,69,0.6), transparent);
  animation: scrollDown 2s ease infinite;
}
@keyframes scrollDown {
  0% { transform: scaleY(0); transform-origin: top; }
  50% { transform: scaleY(1); transform-origin: top; }
  51% { transform: scaleY(1); transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

/* ============================================
   PROBLEMA / PROPUESTA
   ============================================ */
.problema {
  background: var(--blanco);
  padding: 5rem 0;
}

.problema__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: start;
}

.problema__quote {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-style: italic;
  color: var(--borde);
  line-height: 1.5;
  padding: 2rem 2.5rem;
  border-left: 4px solid var(--dorado);
  background: var(--gris-claro);
  margin-bottom: 2rem;
}

/* ============================================
   QUIÉNES SOMOS
   ============================================ */
.quienes__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

.quienes__stat-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-top: 2rem;
}

.stat-card {
  padding: 1.5rem;
  border: 1px solid var(--gris-linea);
  border-top: 3px solid var(--dorado);
}

.stat-card__number {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 700;
  color: var(--borde);
  line-height: 1;
  margin-bottom: 0.4rem;
}

.stat-card__label {
  font-size: 0.78rem;
  color: var(--gris-medio);
  letter-spacing: 0.05em;
  line-height: 1.4;
}

/* ============================================
   SECTORES
   ============================================ */
.sectores__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
  margin-top: 3rem;
}

.sector-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1.2rem 1.4rem;
  border: 1px solid var(--gris-linea);
  transition: all var(--transition);
}
.sector-item:hover {
  border-color: var(--dorado);
  background: var(--gris-claro);
  transform: translateY(-2px);
}

.sector-item__icon {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
  color: var(--dorado);
}

.sector-item__name {
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--grafito);
  line-height: 1.3;
}

/* ============================================
   NUESTROS CLIENTES
   ============================================ */
.clientes__grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
}

.cliente-logo {
  background: var(--blanco);
  border: 1px solid var(--gris-linea);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  aspect-ratio: 1.6 / 1;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.cliente-logo:hover {
  border-color: var(--dorado);
  transform: translateY(-3px);
}

.cliente-logo img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.cliente-logo--wide {
  grid-column: span 2;
  aspect-ratio: auto;
  padding: 2.25rem 3rem;
}

/* ============================================
   ÁREAS DE PRÁCTICA
   ============================================ */
.areas__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5px;
  background: var(--gris-linea);
  margin-top: 3rem;
}

.area-card {
  background: var(--blanco);
  padding: 2.5rem 2rem;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  display: block;
}

.area-card::before {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 100%; height: 3px;
  background: var(--dorado);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition);
}

.area-card:hover::before { transform: scaleX(1); }

.area-card:hover {
  background: var(--negro-suave);
  color: var(--blanco);
  transform: none;
}

.area-card:hover .area-card__title { color: var(--dorado); }
.area-card:hover .area-card__text { color: rgba(255,255,255,0.7); }
.area-card:hover .area-card__link { color: var(--dorado); }

.area-card__number {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--gris-linea);
  line-height: 1;
  margin-bottom: 1rem;
  transition: color var(--transition);
}
.area-card:hover .area-card__number { color: rgba(107,24,24,0.3); }

.area-card__title {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  color: var(--borde);
  margin-bottom: 0.8rem;
  line-height: 1.3;
}

.area-card__text {
  font-size: 0.85rem;
  color: var(--gris-medio);
  line-height: 1.65;
  margin-bottom: 1.5rem;
}

.area-card__link {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--borde);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.area-card__link::after { content: '→'; }

/* ============================================
   POR QUÉ ELEGIRNOS
   ============================================ */
.razones__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.razon-card {
  padding: 2rem;
  border-left: 3px solid var(--dorado);
  background: rgba(255,255,255,0.05);
}

.razon-card__icon {
  width: 44px;
  height: 44px;
  color: var(--dorado);
  margin-bottom: 1rem;
}

.razon-card__title {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  color: var(--blanco);
  margin-bottom: 0.5rem;
}

.razon-card__text {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.65);
  line-height: 1.6;
}

/* ============================================
   CONTACTO
   ============================================ */
.contacto__grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 5rem;
  align-items: start;
}

.contacto__form {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.form-group label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--dorado);
}

.form-group input,
.form-group textarea,
.form-group select {
  padding: 0.85rem 1rem;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.15);
  color: var(--blanco);
  font-family: var(--font-body);
  font-size: 0.95rem;
  outline: none;
  transition: border-color var(--transition);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--dorado);
}

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

.form-group select option { background: var(--negro-suave); }

.contacto__info-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  margin-bottom: 1.5rem;
}

.contacto__info-icon {
  width: 20px;
  height: 20px;
  color: var(--dorado);
  flex-shrink: 0;
  margin-top: 3px;
}

.contacto__info-label {
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--dorado);
  margin-bottom: 0.2rem;
}

.contacto__info-value {
  font-size: 0.95rem;
  color: rgba(255,255,255,0.85);
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  background: linear-gradient(135deg, #4A1820 0%, #1E1010 35%, #111111 70%);
  padding: 3rem 0 1.5rem;
  border-top: 2px solid rgba(196,162,69,0.75);
}

.footer__inner {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 2.5rem;
}

.footer__brand-name {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  color: var(--blanco);
  margin-bottom: 0.3rem;
}

.footer__brand-sub {
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--dorado);
  margin-bottom: 1rem;
}

.footer__desc {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.5);
  line-height: 1.7;
}

.footer__col-title {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--dorado);
  margin-bottom: 1.2rem;
}

.footer__links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.footer__links a {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.55);
  transition: color var(--transition);
}
.footer__links a:hover,
.footer__links a:active,
.footer__links a:focus { color: var(--dorado); }

.footer__bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.78rem;
  color: rgba(255,255,255,0.3);
}

/* ============================================
   PÁGINA INTERNA — HERO INTERIOR
   ============================================ */
.page-hero {
  background-color: var(--negro-suave);
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
  padding: 9rem 0 4rem;
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(59,21,28,0.88) 0%, rgba(26,26,26,0.80) 100%);
  z-index: 0;
}

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

.page-hero__back {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--dorado);
  margin-bottom: 1.5rem;
  transition: gap var(--transition);
}
.page-hero__back:hover { gap: 0.8rem; color: var(--dorado); }
.page-hero__back::before { content: '←'; }

.page-hero__label {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--dorado);
  margin-bottom: 1rem;
  display: block;
}

.page-hero__title {
  color: var(--blanco);
  max-width: 700px;
  margin-bottom: 1.2rem;
}

.page-hero__subtitle {
  font-size: 1rem;
  color: rgba(255,255,255,0.7);
  max-width: 620px;
  line-height: 1.75;
}

/* SERVICIO BODY */
.servicio-body { padding: 5rem 0; }

.servicio-body p {
  font-size: 1rem;
  color: var(--gris-medio);
  line-height: 1.85;
  margin-bottom: 1.5rem;
  max-width: 760px;
}

/* Acordeón de sectores */
.sectores-acordeon {
  margin-top: 2rem;
  max-width: 820px;
}

.sector-item {
  border-bottom: 1px solid rgba(196,162,69,0.2);
}

.sector-item:first-child {
  border-top: 1px solid rgba(196,162,69,0.2);
}

.sector-header {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.25rem 0;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--negro-suave);
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 600;
  text-align: left;
  gap: 1rem;
  transition: color 0.2s ease;
}

.sector-header__left {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.sector-ico {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  color: var(--dorado);
  stroke: var(--dorado);
}

.sector-header:hover {
  color: var(--borde);
}

.sector-header[aria-expanded="true"] {
  color: var(--borde);
}

.sector-icon {
  font-size: 1.4rem;
  color: var(--dorado);
  flex-shrink: 0;
  line-height: 1;
  transition: transform 0.3s ease;
}

.sector-header[aria-expanded="true"] .sector-icon {
  transform: rotate(45deg);
}

.sector-body {
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.4s ease, padding 0.3s ease;
  padding-bottom: 0;
}

.sector-body.open {
  max-height: 800px;
  padding-bottom: 1.5rem;
}

.sector-body p {
  color: var(--grafito);
  font-size: 0.95rem;
  line-height: 1.8;
  margin-bottom: 0.85rem;
}

.sector-body p:last-child {
  margin-bottom: 0;
}

.servicio-servicios {
  margin: 3rem 0;
}

.servicio-servicios h3 {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  color: var(--borde);
  margin-bottom: 1.5rem;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid var(--gris-linea);
}

.servicios-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 0.75rem;
  list-style: none;
}

.servicios-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.85rem 1rem;
  background: var(--gris-claro);
  font-size: 0.9rem;
  color: var(--grafito);
  line-height: 1.4;
}

.servicios-list li::before {
  content: '';
  width: 6px;
  height: 6px;
  background: var(--dorado);
  border-radius: 50%;
  flex-shrink: 0;
  margin-top: 0.5rem;
}

.servicio-cta {
  background: var(--gris-claro);
  padding: 3rem;
  border-left: 4px solid var(--borde);
  margin-top: 3rem;
}

.servicio-cta p {
  font-size: 1rem;
  color: var(--grafito);
  margin-bottom: 1.5rem;
  max-width: none;
}

/* ============================================
   UTILIDADES
   ============================================ */
.text-center { text-align: center; }
.text-dorado { color: var(--dorado); }
.text-borde { color: var(--borde); }
.mb-0 { margin-bottom: 0; }
.mt-2 { margin-top: 2rem; }
.mt-3 { margin-top: 3rem; }

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 900px) {
  .navbar__menu { display: none; }
  .navbar__menu.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 72px; left: 0; right: 0;
    background: rgba(26,26,26,0.98);
    padding: 1.5rem 2rem;
    gap: 1.2rem;
    border-top: 2px solid rgba(196,162,69,0.75);
  }
  .navbar__cta { display: none; }
  .navbar__hamburger { display: flex; }

  .areas__grid { grid-template-columns: 1fr 1fr; }
  .areas__grid .area-card:last-child:nth-child(odd) { grid-column: 1 / -1; max-width: 50%; margin: 0 auto; }
  .clientes__grid { grid-template-columns: repeat(3, 1fr); }
  .problema__grid,
  .quienes__grid,
  .contacto__grid { grid-template-columns: 1fr; gap: 3rem; }
  .footer__inner { grid-template-columns: 1fr; gap: 2rem; }

  /* Hero tablet */
  .hero { padding-top: 180px; }
  .hero .container { padding-left: 1.5rem; }
  .hero__content { max-width: 100%; }
}

@media (max-width: 600px) {
  .container { padding: 0 1.25rem; }
  .section { padding: 3.5rem 0; }
  .areas__grid { grid-template-columns: 1fr; }
  .sectores__grid { grid-template-columns: 1fr 1fr; }
  .clientes__grid { grid-template-columns: repeat(2, 1fr); }
  .quienes__stat-grid { grid-template-columns: 1fr 1fr; }
  .hero__actions { flex-direction: column; }
  .btn { text-align: center; }
  .footer__bottom { flex-direction: column; gap: 0.5rem; text-align: center; }

  /* Hero mobile */
  .hero {
    padding-top: 90px;
    padding-bottom: 0;
    align-items: flex-start;
    background-size: 100% auto;
    background-position: center bottom;
    background-repeat: no-repeat;
    background-color: #1a1010;
    min-height: calc(56.25vw + 160px);
  }
  .hero .container { padding-left: 1.25rem; }
  .hero__content {
    text-align: left;
    margin: 0;
  }
  .hero__title {
    font-size: 2rem;
    line-height: 1.15;
    margin-bottom: 1rem;
  }
  .hero__subtitle {
    font-size: 0.9rem;
    margin-left: 0;
    margin-right: 0;
    max-width: 320px;
  }
}

/* ============================================
   BACK TO TOP BUTTON
   ============================================ */
.back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 44px;
  height: 44px;
  background: var(--negro-suave);
  border: 1.5px solid rgba(196,162,69,0.7);
  color: var(--dorado);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s ease, background 0.2s ease;
  font-size: 1.1rem;
  text-decoration: none;
}
.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.back-to-top:hover {
  background: var(--dorado);
  color: var(--negro-suave);
}

/* WhatsApp button */
.whatsapp-btn {
  position: fixed;
  bottom: 5rem;
  right: 2rem;
  width: 44px;
  height: 44px;
  background: var(--negro-suave);
  border: 1.5px solid rgba(196,162,69,0.7);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 999;
  text-decoration: none;
  transition: background 0.2s ease, transform 0.2s ease;
}
.whatsapp-btn:hover {
  background: #25D366;
  border-color: #25D366;
  transform: scale(1.08);
}
.whatsapp-btn svg {
  width: 22px;
  height: 22px;
  fill: var(--dorado);
  transition: fill 0.2s ease;
}
.whatsapp-btn:hover svg {
  fill: #fff;
}
