/* ========================================================
   Asesoría CT - Estructura Web Corporativa
   NOTA: Sin colores de fondo aplicados aún según requerimiento
   ======================================================== */

:root {
  /* Fondo Encabezado Corporativo */
  --navy-main: #031838;
  --navy-dark: #021B3D;

  /* Tonos en Oro Metálico */
  --gold-deep: #7C5A0B;
  --gold-dark: #AA7C11;
  --gold-base: #D4AF37;
  --gold-light: #F3E5AB;
  --gold-soft: #e8d7a5;
  --gold-gradient: linear-gradient(135deg, #D4AF37 0%, #F3E5AB 35%, #FFF6D6 60%, #F3E5AB 85%, #D4AF37 100%);
  --gold-border: rgba(212, 175, 55, 0.45);
  --gold-border-hover: rgba(170, 124, 17, 0.85);

  /* Paleta Corporativa Asesoría CT (Colores Clave) */
  --color-forest: #1B6B5A;
  --color-forest-hover: #145244;
  --color-navy-deep: #13293D;
  --color-terracotta: #D97736;
  --color-terracotta-hover: #BF6225;
  --color-card-bg: #FAF9F6;

  /* Tipografía de Alto Contraste */
  --text-main: #0F172A;
  --text-secondary: #334155;
  --text-muted: #64748B;

  --radius-lg: 20px;
  --radius-md: 14px;
  --radius-sm: 8px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* ========================================================
   Cuerpo / Body: Sin color de fondo aplicado
   ======================================================== */
body {
  font-family: 'Plus Jakarta Sans', 'Inter', -apple-system, sans-serif;
  color: var(--text-main);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  line-height: 1.65;
  position: relative;
  overflow-x: hidden;
  letter-spacing: -0.01em;
  /* Sin background-color ni background-image */
}

/* Tipografía display para títulos principales */
h1, h2, h3,
.hero-title,
.brand-name .main-title {
  font-family: 'Cormorant Garamond', Georgia, serif;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

/* ========================================================
   Encabezado (Header): Fondo #031838, Oro Metálico, Insignia
   ======================================================== */
.header-wrapper {
  width: 100%;
  background-color: var(--navy-main);
  border-bottom: 1px solid rgba(212, 175, 55, 0.18);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.35);
  position: sticky;
  top: 0;
  z-index: 50;
}

header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0;
  gap: 1.5rem;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: #FFFFFF;
}

/* Logo del encabezado con su fondo original y el dorado claro resaltado */
.brand-icon {
  width: 50px;
  height: 50px;
  border-radius: 12px;
  overflow: hidden;
  background: #02122c;
  border: 1.5px solid var(--gold-light);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.5), 0 0 16px rgba(243, 229, 171, 0.35);
  transition: transform 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
  flex-shrink: 0;
}

.brand:hover .brand-icon {
  transform: scale(1.06);
  border-color: #FFF6D6;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.6), 0 0 24px rgba(243, 229, 171, 0.6);
}

.brand-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  /* Resalta las letras y círculos en un dorado más claro y luminoso manteniendo el fondo */
  filter: brightness(1.22) contrast(1.18) saturate(1.1) drop-shadow(0 0 1px rgba(243, 229, 171, 0.35));
  transition: filter 0.35s ease, transform 0.35s ease;
}

.brand:hover .brand-icon img {
  filter: brightness(1.3) contrast(1.22) saturate(1.15) drop-shadow(0 0 2px rgba(255, 246, 214, 0.55));
  transform: scale(1.03);
}

.brand-name {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

/* Título principal 'Asesoría CT' en dorado claro brillante */
.brand-name .main-title {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.55rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  background: linear-gradient(135deg, #F3E5AB 0%, #FFFFFF 45%, #F3E5AB 80%, #D4AF37 100%);
  background-size: 220% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1.15;
  filter: drop-shadow(0 2px 8px rgba(243, 229, 171, 0.3));
  animation: goldMetallicShine 7s linear infinite;
}

/* Subtítulo 'Confianza • Compromiso • Resultados' en dorado claro suave */
.brand-name .sub-title {
  font-family: 'Inter', sans-serif;
  font-size: 0.72rem;
  letter-spacing: 1.2px;
  color: var(--gold-light);
  font-weight: 500;
  margin-top: 0;
  opacity: 0.95;
}

@keyframes goldMetallicShine {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.nav-container {
  display: flex;
  align-items: center;
  gap: 1.6rem;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
}

/* Menú de navegación: más limpio, sin text-shadow agresivo */
.nav-link {
  color: rgba(243, 229, 171, 0.8);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 400;
  letter-spacing: 0.2px;
  transition: color 0.25s ease;
  white-space: nowrap;
  position: relative;
  padding: 4px 0;
}

.nav-link:hover,
.nav-link.active {
  color: var(--gold-light);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 0%;
  height: 1px;
  background: var(--gold-base);
  transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.nav-link-cta {
  padding: 7px 18px;
  border: 1px solid rgba(212, 175, 55, 0.6);
  border-radius: 6px;
  background: transparent;
  color: var(--gold-light) !important;
  font-weight: 500;
  letter-spacing: 0.3px;
  transition: all 0.25s ease;
}

.nav-link-cta:hover,
.nav-link-cta.active {
  background: rgba(212, 175, 55, 0.12);
  color: var(--gold-light) !important;
  text-shadow: none !important;
  border-color: var(--gold-base);
  box-shadow: none;
  transform: none;
}

.nav-link-cta::after {
  display: none;
}

/* Insignia de estado */
.badge-status {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 5px 13px;
  background: transparent;
  border: 1px solid rgba(212, 175, 55, 0.3);
  border-radius: 4px;
  font-size: 0.75rem;
  font-weight: 400;
  color: rgba(243, 229, 171, 0.65);
  white-space: nowrap;
  letter-spacing: 0.3px;
}

.status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gold-base);
  opacity: 0.75;
  flex-shrink: 0;
}

.status-dot::after {
  display: none;
}

/* ========================================================
   Sección Principal (Main): Sin color de fondo
   ======================================================== */
main {
  padding: 3.5rem 1.5rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  border: 1px solid var(--gold-border);
  border-radius: var(--radius-lg);
  margin: 2rem 0 3rem 0;
  position: relative;
  /* Sin background-color */
}

/* Logotipo Central Animado */
.corporate-logo-container {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  margin: 0 auto 2rem auto;
  position: relative;
  z-index: 2;
}

.corporate-logo-card {
  position: relative;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  transform: scale(0.9);
  animation: logoFadeInScale 1.3s cubic-bezier(0.16, 1, 0.3, 1) 0.15s forwards;
}

@keyframes logoFadeInScale {
  0% {
    opacity: 0;
    transform: scale(0.9);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}

.corporate-logo-frame {
  position: relative;
  z-index: 1;
  width: clamp(170px, 22vw, 240px);
  height: clamp(170px, 22vw, 240px);
  aspect-ratio: 1 / 1;
  border-radius: 28px;
  overflow: hidden;
  border: 2px solid var(--gold-base);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
  transition: transform 0.45s cubic-bezier(0.2, 0.8, 0.2, 1),
              box-shadow 0.45s cubic-bezier(0.2, 0.8, 0.2, 1),
              border-color 0.45s ease;
  cursor: pointer;
}

.corporate-logo-frame:hover {
  transform: translateY(-8px);
  border-color: var(--gold-dark);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.25), 0 0 25px rgba(212, 175, 55, 0.4);
}

.corporate-logo-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  user-select: none;
  -webkit-user-drag: none;
  pointer-events: none;
  transition: transform 0.45s ease;
}

.corporate-logo-frame:hover .corporate-logo-img {
  transform: scale(1.03);
}

.shimmer-effect {
  position: absolute;
  top: -60%;
  left: -120%;
  width: 200%;
  height: 220%;
  background: linear-gradient(
    115deg,
    transparent 0%,
    transparent 32%,
    rgba(255, 255, 255, 0) 38%,
    rgba(255, 235, 170, 0.35) 45%,
    rgba(255, 255, 255, 0.85) 50%,
    rgba(212, 175, 55, 0.5) 54%,
    transparent 65%,
    transparent 100%
  );
  transform: rotate(25deg);
  pointer-events: none;
  mix-blend-mode: screen;
  z-index: 2;
  animation: metallicShimmer 4s ease-in-out infinite;
}

@keyframes metallicShimmer {
  0% { transform: translateX(-140%) rotate(25deg); opacity: 0; }
  8% { opacity: 1; }
  35% { transform: translateX(140%) rotate(25deg); opacity: 1; }
  45%, 100% { transform: translateX(140%) rotate(25deg); opacity: 0; }
}

/* Pastilla de Identificación Superior */
.pill-hero {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 18px;
  border: 1px solid rgba(27, 107, 90, 0.25);
  background: rgba(27, 107, 90, 0.06);
  border-radius: 100px;
  color: var(--color-forest);
  font-size: 0.8rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  text-transform: uppercase;
  letter-spacing: 1.2px;
}

.pill-hero svg {
  stroke: var(--color-forest);
}

/* Título de Página */
.hero-title {
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  font-weight: 800;
  line-height: 1.18;
  letter-spacing: -1px;
  max-width: 900px;
  margin-bottom: 1.5rem;
  color: var(--text-main);
}

.hero-title .gradient-text {
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

/* Texto descriptivo */
.hero-desc {
  font-size: clamp(1.05rem, 1.8vw, 1.25rem);
  color: var(--text-secondary);
  max-width: 760px;
  margin-bottom: 3rem;
  font-weight: 400;
  line-height: 1.75;
}

/* Tarjeta / Anuncio 'En Construcción' Destacada */
.construction-banner {
  width: 100%;
  max-width: 760px;
  border: 2px dashed var(--gold-dark);
  border-radius: var(--radius-lg);
  padding: 2.25rem 2rem;
  margin-bottom: 3rem;
  text-align: center;
}

.construction-banner h2 {
  font-size: 1.5rem;
  color: var(--gold-deep);
  margin-bottom: 0.75rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.construction-banner p {
  color: var(--text-secondary);
  font-size: 1rem;
  line-height: 1.6;
}

/* Sección de Calendario (Booking Cal.com) */
.booking-section {
  width: 100%;
  max-width: 1160px;
  background-color: var(--color-card-bg);
  border: 1px solid rgba(212, 175, 55, 0.25);
  border-radius: var(--radius-lg);
  padding: 3rem 2.5rem;
  margin-bottom: 4rem;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.05);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.booking-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--color-terracotta), var(--gold-base), var(--color-forest));
}

.booking-header {
  margin-bottom: 2rem;
}

.booking-title {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 2.1rem;
  color: var(--color-navy-deep);
  font-weight: 700;
  margin-bottom: 0.65rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.booking-title svg {
  color: var(--color-terracotta);
}

.booking-desc {
  color: var(--text-secondary);
  font-size: 1.05rem;
  max-width: 680px;
  margin: 0 auto;
}

.booking-calendar-wrapper {
  width: 100%;
  min-height: 780px;
  height: 840px;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: #ffffff;
  border: 1px solid rgba(212, 175, 55, 0.2);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.03);
}

.booking-calendar-wrapper iframe {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}

@media (max-width: 768px) {
  .booking-section {
    padding: 1.5rem 0.85rem;
    margin-bottom: 2.5rem;
  }
  .booking-title {
    font-size: 1.35rem;
  }
  .booking-desc {
    font-size: 0.92rem;
  }
  .booking-calendar-wrapper {
    min-height: 650px;
    height: 700px;
  }
}

/* Countdown */
.countdown-container {
  border: 1.5px solid var(--gold-border);
  border-radius: var(--radius-lg);
  padding: 1.75rem 2.5rem;
  display: flex;
  gap: 2.2rem;
  justify-content: center;
  align-items: center;
  margin-bottom: 3rem;
  width: 100%;
  max-width: 650px;
}

.countdown-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 75px;
}

.countdown-val {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(2.2rem, 3.8vw, 3.2rem);
  font-weight: 700;
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1;
  margin-bottom: 0.35rem;
}

.countdown-lbl {
  font-size: 0.76rem;
  color: var(--gold-dark);
  text-transform: uppercase;
  letter-spacing: 1.8px;
  font-weight: 700;
}

.countdown-divider {
  font-size: 2rem;
  color: var(--gold-base);
  font-weight: 300;
  margin-top: -10px;
  user-select: none;
}

/* Tarjetas de Contenido Estructuradas */
.content-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.6rem;
  width: 100%;
  margin-bottom: 3rem;
  text-align: left;
}

.card-item {
  background-color: var(--color-card-bg);
  border: 1px solid rgba(212, 175, 55, 0.22);
  border-radius: var(--radius-md);
  padding: 2.2rem 1.75rem;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.03);
}

.card-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--color-forest), var(--gold-base));
  opacity: 0.85;
  transition: height 0.25s ease;
}

.card-item:hover {
  border-color: rgba(27, 107, 90, 0.35);
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(19, 41, 61, 0.08);
}

.card-item:hover::before {
  height: 4px;
}

.card-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(27, 107, 90, 0.08);
  border: 1px solid rgba(27, 107, 90, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  color: var(--color-forest);
  transition: transform 0.25s ease, background-color 0.25s ease;
}

.card-item:hover .card-icon {
  transform: scale(1.06);
  background: rgba(27, 107, 90, 0.14);
}

.card-item h3 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--color-navy-deep);
  margin-bottom: 0.65rem;
  line-height: 1.3;
}

.card-item p {
  font-size: 0.94rem;
  color: var(--text-secondary);
  line-height: 1.62;
}

/* Formulario de Notificación / Acción */
.action-panel {
  width: 100%;
  max-width: 680px;
  background-color: var(--color-card-bg);
  border: 1px solid rgba(212, 175, 55, 0.25);
  border-radius: var(--radius-lg);
  padding: 2.5rem 2.25rem;
  margin-bottom: 2rem;
  text-align: center;
  box-shadow: 0 6px 20px rgba(15, 23, 42, 0.04);
  position: relative;
  overflow: hidden;
}

.action-panel::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--color-forest), var(--gold-base), var(--color-terracotta));
}

.action-panel h2 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.65rem;
  font-weight: 700;
  color: var(--color-navy-deep);
  margin-bottom: 0.5rem;
}

.action-panel p {
  font-size: 0.98rem;
  color: var(--text-secondary);
  margin-bottom: 1.75rem;
}

.subscribe-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
  max-width: 540px;
  margin: 0 auto 1.5rem auto;
}

.subscribe-form .form-row {
  display: flex;
  gap: 12px;
  width: 100%;
}

.subscribe-form .form-row > * {
  flex: 1;
  min-width: 0;
}

.subscribe-form .form-row-submit .email-input-field {
  flex: 1 1 auto;
}

.subscribe-form .form-row-submit .subscribe-btn {
  flex: 0 0 auto;
}

.subscribe-input {
  flex: 1;
  padding: 0.85rem 1.25rem;
  border: 1px solid rgba(212, 175, 55, 0.35);
  border-radius: var(--radius-sm);
  color: var(--text-main);
  font-family: inherit;
  font-size: 0.95rem;
  outline: none;
  transition: all 0.25s ease;
  background: #FFFFFF;
}

.subscribe-input:focus {
  border-color: var(--color-forest);
  box-shadow: 0 0 0 3px rgba(27, 107, 90, 0.15);
}

.subscribe-btn {
  padding: 0.85rem 1.75rem;
  border: none;
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.25s ease;
  white-space: nowrap;
  background-color: var(--color-forest);
  color: #FFFFFF;
  box-shadow: 0 4px 12px rgba(27, 107, 90, 0.25);
}

.subscribe-btn:hover {
  background-color: var(--color-forest-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(27, 107, 90, 0.35);
}

.subscribe-btn svg {
  stroke: currentColor;
}

.contact-urgency {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  flex-wrap: wrap;
  padding-top: 1.25rem;
  border-top: 1px solid var(--gold-border);
  font-size: 0.92rem;
  color: var(--text-secondary);
}

.whatsapp-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1.5px solid #25D366;
  color: #128C7E;
  padding: 7px 16px;
  border-radius: 100px;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.88rem;
  transition: all 0.25s ease;
  background: transparent;
}

.whatsapp-btn:hover {
  background: #25D366;
  color: #FFFFFF;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.3);
}

.email-link {
  color: var(--color-forest);
  text-decoration: none;
  font-weight: 700;
  transition: color 0.2s ease;
}

.email-link:hover {
  color: var(--color-navy-deep);
  text-decoration: underline;
}

/* ========================================================
   Pie de Página (Footer): Fondo #031838 Corporativo
   ======================================================== */
footer {
  position: relative;
  padding: 4rem 0 2rem;
  margin-top: auto;
  width: 100%;
  background-color: var(--navy-main);
  border-top: 1px solid rgba(212, 175, 55, 0.25);
  box-shadow: 0 -4px 25px rgba(0, 0, 0, 0.2);
  color: #FAF9F6;
}

.footer-content {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 2.5rem;
  margin-bottom: 2.5rem;
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.footer-col-title {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--gold-light);
  letter-spacing: 0.5px;
  position: relative;
  padding-bottom: 8px;
}

.footer-col-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 35px;
  height: 2px;
  background: var(--gold-gradient);
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  margin-bottom: 0.5rem;
}

.footer-brand .brand-icon {
  width: 44px;
  height: 44px;
}

.footer-desc {
  font-size: 0.92rem;
  color: rgba(243, 229, 171, 0.8);
  line-height: 1.6;
  max-width: 320px;
}

.footer-contact-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  font-size: 0.92rem;
}

.footer-contact-item {
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(243, 229, 171, 0.85);
}

.footer-contact-item svg {
  stroke: var(--gold-light);
  flex-shrink: 0;
}

.footer-contact-item a {
  color: rgba(243, 229, 171, 0.85);
  text-decoration: none;
  transition: all 0.25s ease;
}

.footer-contact-item a:hover {
  color: #FFFFFF;
  text-decoration: underline;
}

.social-links {
  display: flex;
  gap: 12px;
  margin-top: 0.5rem;
  align-items: center;
}

.social-btn {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1.5px solid var(--gold-light);
  color: var(--gold-light);
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: all 0.25s ease;
  background: rgba(243, 229, 171, 0.05);
}

.social-btn svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.social-btn:hover {
  background: var(--gold-gradient);
  color: var(--navy-main);
  border-color: transparent;
  transform: translateY(-3px);
  box-shadow: 0 4px 15px rgba(243, 229, 171, 0.4);
}

.footer-bottom {
  border-top: 1px solid rgba(212, 175, 55, 0.2);
  padding-top: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.88rem;
  color: rgba(243, 229, 171, 0.7);
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-legal-links {
  display: flex;
  gap: 1.5rem;
  list-style: none;
}

.footer-legal-links a {
  color: rgba(243, 229, 171, 0.7);
  text-decoration: none;
  transition: color 0.25s ease;
}

.footer-legal-links a:hover {
  color: var(--gold-light);
  text-decoration: underline;
}

/* ========================================================
   Sección Quiénes Somos: Perfil con Foto + Texto
   ======================================================== */

/* Layout principal: foto a la izquierda, texto a la derecha */
.about-profile {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 3.5rem;
  align-items: start;
  width: 100%;
  margin-bottom: 3rem;
  text-align: left;
}

/* Columna de la foto */
.about-photo-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

/* Marco de la foto (mismo estilo que corporate-logo-frame pero más alto) */
.about-photo-frame {
  position: relative;
  width: 100%;
  max-width: 300px;
  aspect-ratio: 3 / 4;
  border-radius: 24px;
  overflow: hidden;
  border: 2px solid var(--gold-base);
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.14), 0 0 20px rgba(212, 175, 55, 0.2);
  transition: transform 0.45s cubic-bezier(0.2, 0.8, 0.2, 1),
              box-shadow 0.45s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.about-photo-frame:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.22), 0 0 30px rgba(212, 175, 55, 0.35);
}

.about-photo-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
  user-select: none;
  -webkit-user-drag: none;
}

/* Tarjeta de credencial bajo la foto */
.about-credential {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  background-color: var(--color-card-bg);
  border: 1px solid rgba(27, 107, 90, 0.25);
  border-radius: 100px;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--color-forest);
  letter-spacing: 0.5px;
  text-align: center;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.04);
}

.about-credential svg {
  stroke: var(--color-forest);
  flex-shrink: 0;
}

/* Columna del texto */
.about-text-col {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
  padding-top: 0.5rem;
}

/* Párrafo biografía principal */
.about-bio {
  font-size: clamp(1.05rem, 1.6vw, 1.18rem);
  color: var(--text-secondary);
  line-height: 1.8;
  font-weight: 400;
}

/* Lista de puntos destacados */
.about-highlights {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}

.about-highlights li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.65;
}

.about-highlights li strong {
  color: var(--color-navy-deep);
}

.about-highlight-icon {
  flex-shrink: 0;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: rgba(27, 107, 90, 0.08);
  border: 1px solid rgba(27, 107, 90, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-forest);
  margin-top: 2px;
}

/* Botón CTA de contacto */
.about-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 0.95rem 2.25rem;
  background-color: var(--color-terracotta);
  color: #FFFFFF !important;
  border-radius: 100px;
  font-weight: 700;
  font-size: 0.98rem;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  align-self: flex-start;
  box-shadow: 0 4px 18px rgba(217, 119, 54, 0.35);
  letter-spacing: 0.3px;
}

.about-cta-btn:hover {
  background-color: var(--color-terracotta-hover);
  transform: translateY(-3px);
  box-shadow: 0 8px 26px rgba(217, 119, 54, 0.45);
}

.about-cta-btn svg {
  stroke: #FFFFFF;
  transition: transform 0.25s ease;
}

.about-cta-btn:hover svg {
  transform: translateX(4px);
}

/* Responsive: apila foto encima del texto en pantallas menores */
@media (max-width: 860px) {
  .about-profile {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .about-photo-col {
    align-items: center;
  }
  .about-photo-frame {
    max-width: 240px;
    aspect-ratio: 3 / 4;
  }
  .about-cta-btn {
    align-self: center;
  }
  .about-text-col {
    text-align: center;
  }
  .about-highlights li {
    text-align: left;
  }
}

/* Toast */
.toast {
  position: fixed;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  border: 2px solid var(--gold-dark);
  background: #FFFFFF;
  color: var(--text-main);
  padding: 1.1rem 1.85rem;
  border-radius: 14px;
  display: flex;
  align-items: center;
  gap: 14px;
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.18);
  opacity: 0;
  pointer-events: none;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 100;
  font-size: 0.95rem;
}

.toast.show {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.toast svg {
  stroke: var(--gold-dark);
}

/* Botón flotante de WhatsApp */
.whatsapp-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 58px;
  height: 58px;
  background-color: #25D366;
  color: #FFFFFF;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.45), 0 2px 8px rgba(0, 0, 0, 0.15);
  z-index: 999;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.whatsapp-float svg {
  width: 32px;
  height: 32px;
  fill: #FFFFFF;
  transition: transform 0.25s ease;
}

.whatsapp-float:hover {
  transform: scale(1.1) translateY(-3px);
  box-shadow: 0 10px 25px rgba(37, 211, 102, 0.6), 0 4px 12px rgba(0, 0, 0, 0.2);
  background-color: #22bf5b;
}

.whatsapp-float:hover svg {
  transform: scale(1.05);
}

@media (max-width: 576px) {
  .whatsapp-float {
    bottom: 18px;
    right: 18px;
    width: 52px;
    height: 52px;
  }
  .whatsapp-float svg {
    width: 28px;
    height: 28px;
  }
}

/* Responsive */
@media (max-width: 992px) {
  header {
    flex-direction: column;
    gap: 1.25rem;
    align-items: center;
    text-align: center;
  }
  .nav-container {
    flex-direction: column;
    width: 100%;
    gap: 1.2rem;
  }
  .main-nav {
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.2rem;
  }
  .footer-content {
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: center;
  }
  .footer-col-title::after {
    left: 50%;
    transform: translateX(-50%);
  }
  .footer-brand {
    justify-content: center;
  }
  .footer-desc {
    max-width: 100%;
  }
  .footer-contact-list {
    align-items: center;
  }
  .social-links {
    justify-content: center;
  }
  .footer-bottom {
    flex-direction: column;
    text-align: center;
    align-items: center;
  }
}

@media (max-width: 768px) {
  .container {
    padding: 0 1rem;
  }
  main {
    padding: 2.25rem 1rem;
    margin: 1.5rem 0 2.5rem 0;
  }
  .main-nav {
    gap: 0.85rem;
    font-size: 0.88rem;
  }
  .countdown-container {
    gap: 1rem;
    padding: 1.25rem 0.75rem;
    width: 100%;
  }
  .countdown-item {
    min-width: 55px;
  }
  .countdown-divider {
    font-size: 1.5rem;
  }
  .subscribe-form {
    flex-direction: column;
  }
  .subscribe-form .form-row {
    flex-direction: column;
    gap: 12px;
  }
  .subscribe-form .form-row > * {
    width: 100%;
  }
  .subscribe-btn {
    justify-content: center;
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .corporate-logo-card,
  .brand-name .main-title,
  .hero-title .gradient-text {
    animation: none;
    opacity: 1;
    transform: none;
  }
  .shimmer-effect {
    animation: none;
    display: none;
  }
  .corporate-logo-frame {
    transition: none;
  }
}

/* ========================================================
   Sección Blog: Actualidad Tributaria y Tarjetas
   ======================================================== */
:root {
  --blog-bg-card: #FAF9F6;
  --blog-color-category: #1B6B5A;
  --blog-color-title: #13293D;
  --blog-color-cta: #D97736;
}

.home-blog-section {
  width: 100%;
  margin: 3.5rem 0 1.5rem 0;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.section-header-block {
  text-align: center;
  max-width: 820px;
  margin: 0 auto 2.5rem auto;
}

.section-header-block .section-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(27, 107, 90, 0.08);
  color: #1B6B5A;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 1rem;
  border: 1px solid rgba(27, 107, 90, 0.2);
}

.section-header-block .section-title {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(1.85rem, 3.2vw, 2.6rem);
  font-weight: 700;
  color: #13293D;
  line-height: 1.25;
  margin-bottom: 0.75rem;
}

.section-header-block .section-desc {
  font-size: 1.02rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* Grid de Artículos */
.blog-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(310px, 1fr));
  gap: 2rem;
  width: 100%;
  margin-bottom: 2.75rem;
}

.blog-card {
  background-color: #FAF9F6;
  border: 1px solid rgba(212, 175, 55, 0.22);
  border-radius: var(--radius-md);
  padding: 2rem 1.75rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  text-decoration: none;
  color: inherit;
  box-shadow: 0 4px 18px rgba(15, 23, 42, 0.04);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  position: relative;
  overflow: hidden;
}

.blog-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, #1B6B5A, #D4AF37);
  opacity: 0;
  transition: opacity 0.25s ease;
}

.blog-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 28px rgba(19, 41, 61, 0.1);
  border-color: rgba(27, 107, 90, 0.4);
}

.blog-card:hover::before {
  opacity: 1;
}

.blog-card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
}

.blog-category-badge {
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #1B6B5A;
  background: rgba(27, 107, 90, 0.1);
  padding: 4px 11px;
  border-radius: 999px;
  border: 1px solid rgba(27, 107, 90, 0.22);
}

.blog-card-date {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.blog-card-title {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.48rem;
  font-weight: 700;
  line-height: 1.32;
  color: #13293D;
  margin-bottom: 0.85rem;
  transition: color 0.2s ease;
}

.blog-card:hover .blog-card-title {
  color: #1B6B5A;
}

.blog-card-summary {
  font-size: 0.94rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 1.5rem;
  flex: 1;
}

.blog-card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.92rem;
  font-weight: 700;
  color: #1B6B5A;
  transition: gap 0.2s ease, color 0.2s ease;
  margin-top: auto;
}

.blog-card:hover .blog-card-link {
  color: #13293D;
  gap: 10px;
}

.blog-section-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0.95rem 2rem;
  background: #13293D;
  color: #FAF9F6;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: 999px;
  border: 1px solid rgba(212, 175, 55, 0.35);
  box-shadow: 0 4px 14px rgba(19, 41, 61, 0.15);
  transition: all 0.25s ease;
}

.blog-section-cta:hover {
  background: #1B6B5A;
  color: #FFFFFF;
  border-color: #1B6B5A;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(27, 107, 90, 0.25);
}

/* ========================================================
   Filtros y Página de Catálogo /blog
   ======================================================== */
.blog-filter-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  margin: 1.5rem 0 2.75rem 0;
}

.blog-filter-btn {
  background: #FAF9F6;
  border: 1px solid rgba(212, 175, 55, 0.3);
  color: #13293D;
  padding: 0.55rem 1.25rem;
  font-size: 0.88rem;
  font-weight: 600;
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.blog-filter-btn:hover {
  border-color: #1B6B5A;
  color: #1B6B5A;
  background: rgba(27, 107, 90, 0.05);
}

.blog-filter-btn.active {
  background: #1B6B5A;
  color: #FAF9F6;
  border-color: #1B6B5A;
  box-shadow: 0 2px 10px rgba(27, 107, 90, 0.25);
}

/* ========================================================
   Vista Individual de Artículo (/blog/[slug])
   Tipografía Plus Jakarta Sans & Layout de Lectura Cómoda
   ======================================================== */
.article-reading-container {
  max-width: 820px;
  margin: 0 auto;
  width: 100%;
}

.article-back-nav {
  margin-bottom: 2rem;
}

.article-back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #1B6B5A;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.92rem;
  transition: color 0.2s ease, transform 0.2s ease;
}

.article-back-link:hover {
  color: #13293D;
  transform: translateX(-4px);
}

.article-header-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.article-single-title {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(2.1rem, 3.8vw, 3.1rem);
  font-weight: 700;
  line-height: 1.22;
  color: #13293D;
  margin-bottom: 1.25rem;
}

.article-single-summary {
  font-size: 1.15rem;
  line-height: 1.65;
  color: #334155;
  padding-left: 1.25rem;
  border-left: 4px solid #1B6B5A;
  margin-bottom: 2.5rem;
  font-style: italic;
  background: rgba(27, 107, 90, 0.03);
  padding: 1rem 1.25rem;
  border-radius: 0 10px 10px 0;
}

/* Tipografía Plus Jakarta Sans para el cuerpo de lectura */
.article-content-body {
  font-family: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  font-size: 1.1rem;
  line-height: 1.85;
  color: #1e293b;
  margin-bottom: 3.5rem;
}

.article-content-body p {
  margin-bottom: 1.45rem;
}

.article-content-body h2 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.95rem;
  color: #13293D;
  margin: 2.5rem 0 1rem 0;
  line-height: 1.3;
}

.article-content-body h3 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.55rem;
  color: #13293D;
  margin: 2rem 0 0.85rem 0;
  line-height: 1.35;
}

.article-content-body h4 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 1.15rem;
  font-weight: 700;
  color: #1B6B5A;
  margin: 1.5rem 0 0.5rem 0;
}

.article-content-body ul,
.article-content-body ol {
  margin: 1rem 0 1.5rem 1.6rem;
}

.article-content-body li {
  margin-bottom: 0.65rem;
}

.article-content-body hr {
  border: none;
  height: 1px;
  background: rgba(212, 175, 55, 0.25);
  margin: 2.5rem 0;
}

.article-content-body strong {
  color: #0f172a;
  font-weight: 700;
}

.article-content-body code {
  background: rgba(27, 107, 90, 0.08);
  color: #1B6B5A;
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 0.9em;
}

/* Recuadro destacado Call To Action final */
.article-cta-box {
  background: #FAF9F6;
  border: 2px solid rgba(217, 119, 54, 0.35);
  border-radius: var(--radius-lg);
  padding: 2.25rem 2rem;
  text-align: center;
  box-shadow: 0 10px 25px rgba(217, 119, 54, 0.08);
  margin-top: 3.5rem;
  position: relative;
  overflow: hidden;
}

.article-cta-box::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  background: linear-gradient(90deg, #D97736, #D4AF37, #1B6B5A);
}

.article-cta-title {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.85rem;
  font-weight: 700;
  color: #13293D;
  margin-bottom: 0.85rem;
}

.article-cta-text {
  font-size: 1.05rem;
  color: #334155;
  line-height: 1.65;
  max-width: 650px;
  margin: 0 auto 1.75rem auto;
}

.article-cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background-color: #D97736;
  color: #FFFFFF !important;
  font-weight: 700;
  font-size: 1rem;
  padding: 0.95rem 2.25rem;
  border-radius: 999px;
  text-decoration: none;
  box-shadow: 0 4px 16px rgba(217, 119, 54, 0.35);
  transition: all 0.25s ease;
  border: none;
}

.article-cta-btn:hover {
  background-color: #b85e23;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(217, 119, 54, 0.45);
}
