/* ==========================================================================
   ASOCIACIÓN PUERTORRIQUEÑA DE PROFESIONALES ENERGÉTICOS INC. (APPE)
   Estilos Institucionales Oficiales
   ========================================================================== */

:root {
  /* Paleta Oficial extraída del emblema y portada APPE */
  --color-navy-dark: #071527;
  --color-navy: #0b1f3a;
  --color-navy-light: #163259;
  --color-teal: #085259;
  --color-teal-light: #0d6d75;
  --color-teal-soft: #e6f4f5;
  --color-gold: #c99327;
  --color-gold-hover: #b07e1c;
  --color-gold-light: #f9f2e3;
  --color-gold-border: rgba(201, 147, 39, 0.35);
  
  /* Escala de Neutros */
  --color-bg-page: #f8fafc;
  --color-bg-surface: #ffffff;
  --color-bg-muted: #f1f5f9;
  --color-text-main: #1e293b;
  --color-text-muted: #475569;
  --color-text-light: #64748b;
  --color-border: #e2e8f0;
  --color-border-subtle: #edf2f7;

  /* Tipografías */
  --font-sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-serif: "Georgia", "Cambria", "Times New Roman", Times, serif;

  /* Medidas y Elevaciones */
  --container-max: 1200px;
  --header-height: 84px;
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-full: 9999px;
  
  --shadow-sm: 0 1px 3px rgba(7, 21, 39, 0.08);
  --shadow-md: 0 4px 14px rgba(7, 21, 39, 0.09);
  --shadow-lg: 0 10px 30px rgba(7, 21, 39, 0.12);
  --shadow-gold: 0 4px 20px rgba(201, 147, 39, 0.25);

  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s ease;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-sans);
  background-color: var(--color-bg-page);
  color: var(--color-text-main);
  line-height: 1.65;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition-fast);
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

/* Enfoque accesible */
:focus-visible {
  outline: 3px solid var(--color-gold);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  top: -100px;
  left: 1rem;
  background: var(--color-gold);
  color: var(--color-navy-dark);
  padding: 0.75rem 1.25rem;
  font-weight: 700;
  z-index: 9999;
  border-radius: var(--radius-sm);
  transition: top 0.2s;
}

.skip-link:focus {
  top: 1rem;
}

.container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

/* --------------------------------------------------------------------------
   Barra Superior Institucional
   -------------------------------------------------------------------------- */
.topbar {
  background: var(--color-navy-dark);
  color: #e2e8f0;
  font-size: 0.85rem;
  border-bottom: 1px solid rgba(201, 147, 39, 0.25);
  padding: 0.45rem 0;
}

.topbar-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.topbar-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: #cbd5e1;
}

.topbar-badge .dot {
  width: 8px;
  height: 8px;
  background: var(--color-gold);
  border-radius: 50%;
  display: inline-block;
}

.topbar-contact {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.topbar-contact a {
  color: #ffffff;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.topbar-contact a:hover {
  color: var(--color-gold);
  text-decoration: underline;
}

/* --------------------------------------------------------------------------
   Encabezado Principal
   -------------------------------------------------------------------------- */
.header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: #ffffff;
  box-shadow: var(--shadow-sm);
  border-bottom: 1px solid var(--color-border);
  transition: background-color var(--transition-fast), box-shadow var(--transition-fast);
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--header-height);
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 1rem;
  text-decoration: none;
}

.brand-logo-wrap {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid var(--color-gold);
  background: var(--color-navy-dark);
  box-shadow: 0 2px 10px rgba(7, 21, 39, 0.2);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.brand-logo {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  transform: scale(1.04);
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-sigla {
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  color: var(--color-navy);
  line-height: 1.1;
}

.brand-name {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--color-text-muted);
  max-width: 320px;
  line-height: 1.25;
}

.brand-tagline {
  font-size: 0.72rem;
  text-transform: uppercase;
  color: var(--color-teal);
  font-weight: 700;
  letter-spacing: 0.06em;
  margin-top: 2px;
}

/* Menú de Navegación */
.nav-menu {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  list-style: none;
}

.nav-link {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--color-navy);
  padding: 0.5rem 0.25rem;
  position: relative;
  transition: color var(--transition-fast);
}

.nav-link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 2px;
  background: var(--color-gold);
  transition: width var(--transition-fast);
}

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

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

.nav-cta {
  margin-left: 0.5rem;
}

/* Botón Hamburguesa Móvil */
.mobile-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background: var(--color-bg-muted);
  border: 1px solid var(--color-border);
}

.mobile-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--color-navy);
  transition: transform 0.3s, opacity 0.3s;
}

.mobile-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.mobile-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.mobile-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* --------------------------------------------------------------------------
   Botones Universales
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.85rem 1.65rem;
  font-size: 0.95rem;
  font-weight: 700;
  border-radius: var(--radius-sm);
  transition: all var(--transition-fast);
  text-align: center;
  line-height: 1.2;
  white-space: nowrap;
}

.btn-sm {
  padding: 0.6rem 1.15rem;
  font-size: 0.875rem;
}

.btn-lg {
  padding: 1.05rem 2rem;
  font-size: 1.05rem;
}

.btn-gold {
  background: var(--color-gold);
  color: var(--color-navy-dark);
  box-shadow: 0 3px 10px rgba(201, 147, 39, 0.3);
  border: 1px solid #dfa838;
}

.btn-gold:hover {
  background: #db9f2b;
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(201, 147, 39, 0.4);
}

.btn-phone {
  background: var(--color-teal);
  color: #ffffff;
  border: 1px solid var(--color-teal-light);
  box-shadow: 0 3px 10px rgba(8, 82, 89, 0.25);
}

.btn-phone:hover {
  background: #064046;
  color: #ffffff;
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(8, 82, 89, 0.35);
}

.btn-outline-white {
  background: transparent;
  color: #ffffff;
  border: 2px solid rgba(255, 255, 255, 0.85);
}

.btn-outline-white:hover {
  background: #ffffff;
  color: var(--color-navy-dark);
}

.btn-outline-navy {
  background: transparent;
  color: var(--color-navy);
  border: 2px solid var(--color-navy);
}

.btn-outline-navy:hover {
  background: var(--color-navy);
  color: #ffffff;
}

.btn-facebook {
  background: #1877f2;
  color: #ffffff;
  border: 1px solid #166fe5;
}

.btn-facebook:hover {
  background: #1464cc;
  color: #ffffff;
  transform: translateY(-1px);
}

/* --------------------------------------------------------------------------
   Sección Portada / Hero
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  background: linear-gradient(135deg, #051323 0%, #0b1f3a 50%, #08293d 100%);
  color: #ffffff;
  padding: 4rem 0 4.5rem 0;
  overflow: hidden;
  border-bottom: 3px solid var(--color-gold);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: 
    radial-gradient(circle at 15% 25%, rgba(201, 147, 39, 0.12) 0%, transparent 45%),
    radial-gradient(circle at 85% 75%, rgba(8, 82, 89, 0.25) 0%, transparent 55%);
  pointer-events: none;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 3rem;
}

.hero-badge-wrap {
  margin-bottom: 1.25rem;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(201, 147, 39, 0.15);
  border: 1px solid var(--color-gold-border);
  color: #fed788;
  padding: 0.4rem 1rem;
  border-radius: var(--radius-full);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.hero-title {
  font-size: clamp(2rem, 4vw, 3.1rem);
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: -0.01em;
  color: #ffffff;
  margin-bottom: 0.75rem;
}

.hero-title .highlight {
  color: #fed788;
  display: block;
}

.hero-locality {
  font-family: var(--font-serif);
  font-size: clamp(1.2rem, 2vw, 1.55rem);
  color: #cbd5e1;
  font-weight: 400;
  margin-bottom: 1.5rem;
  display: block;
  font-style: italic;
}

.hero-lead {
  font-size: clamp(1.05rem, 1.4vw, 1.22rem);
  color: #f1f5f9;
  line-height: 1.6;
  margin-bottom: 2.25rem;
  max-width: 580px;
  border-left: 3px solid var(--color-gold);
  padding-left: 1rem;
  background: rgba(255, 255, 255, 0.03);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2.25rem;
}

.hero-trust-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 1.75rem;
  padding-top: 1.75rem;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.88rem;
  color: #cbd5e1;
  font-weight: 500;
}

.trust-item svg {
  color: var(--color-gold);
  flex-shrink: 0;
}

/* Tarjeta Gráfica Oficial en el Hero */
.hero-visual-card {
  position: relative;
  background: rgba(11, 31, 58, 0.75);
  border: 1px solid var(--color-gold-border);
  border-radius: var(--radius-lg);
  padding: 0.85rem;
  box-shadow: var(--shadow-lg), 0 0 30px rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(6px);
}

.hero-visual-frame {
  overflow: hidden;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: #040d18;
}

.hero-visual-frame img {
  width: 100%;
  height: auto;
  object-fit: contain;
  transition: transform 0.4s ease;
}

.hero-visual-frame:hover img {
  transform: scale(1.02);
}

.hero-visual-caption {
  margin-top: 0.75rem;
  text-align: center;
  font-size: 0.8rem;
  color: #cbd5e1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.hero-visual-caption span {
  color: var(--color-gold);
  font-weight: 700;
}

/* --------------------------------------------------------------------------
   Secciones Comunes
   -------------------------------------------------------------------------- */
.section {
  padding: 5rem 0;
}

.section-bg-muted {
  background-color: var(--color-bg-muted);
}

.section-header {
  text-align: center;
  max-width: 780px;
  margin: 0 auto 3.5rem auto;
}

.section-eyebrow {
  display: inline-block;
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-teal);
  margin-bottom: 0.5rem;
}

.section-title {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 800;
  color: var(--color-navy);
  line-height: 1.25;
  margin-bottom: 1rem;
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--color-text-muted);
  line-height: 1.6;
}

.gold-divider {
  width: 70px;
  height: 3px;
  background: var(--color-gold);
  margin: 1.25rem auto 0 auto;
  border-radius: 2px;
}

/* --------------------------------------------------------------------------
   Sección: ¿Quiénes Somos? (APPE)
   -------------------------------------------------------------------------- */
.about-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3.5rem;
  align-items: center;
}

.about-lead {
  font-size: 1.18rem;
  color: var(--color-navy);
  font-weight: 600;
  line-height: 1.6;
  margin-bottom: 1.25rem;
}

.about-text {
  font-size: 1.02rem;
  color: var(--color-text-muted);
  margin-bottom: 1.5rem;
}

/* Bloque Destacado: NUESTRO NORTE */
.norte-card {
  background: linear-gradient(135deg, #0b1f3a 0%, #0d2c52 100%);
  color: #ffffff;
  padding: 2.25rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-gold-border);
  box-shadow: var(--shadow-md);
  position: relative;
  overflow: hidden;
}

.norte-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 6px;
  height: 100%;
  background: var(--color-gold);
}

.norte-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: #fed788;
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}

.norte-quote {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  line-height: 1.5;
  color: #ffffff;
  font-style: italic;
  margin-bottom: 1.25rem;
}

.norte-footer {
  font-size: 0.85rem;
  color: #cbd5e1;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  padding-top: 0.75rem;
}

/* Tarjeta de Claridad Sin Fines de Lucro */
.nonprofit-card {
  background: #ffffff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 1.75rem;
  box-shadow: var(--shadow-sm);
  margin-top: 1.5rem;
}

.nonprofit-card-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
  color: var(--color-teal);
  font-weight: 700;
  font-size: 1rem;
}

.nonprofit-card p {
  font-size: 0.95rem;
  color: var(--color-text-muted);
  line-height: 1.6;
}

/* --------------------------------------------------------------------------
   Sección: Nuestros Profesionales
   -------------------------------------------------------------------------- */
.professionals-intro {
  text-align: center;
  max-width: 820px;
  margin: 0 auto 3rem auto;
  font-size: 1.15rem;
  color: var(--color-navy);
  font-weight: 500;
  line-height: 1.6;
}

.professionals-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.pro-card {
  background: #ffffff;
  border-radius: var(--radius-md);
  padding: 2rem 1.5rem;
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition-normal), box-shadow var(--transition-normal), border-color var(--transition-normal);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.pro-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--color-gold);
}

.pro-icon-box {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-md);
  background: var(--color-gold-light);
  color: var(--color-gold-hover);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  border: 1px solid var(--color-gold-border);
}

.pro-card:nth-child(2) .pro-icon-box {
  background: var(--color-teal-soft);
  color: var(--color-teal);
  border-color: rgba(8, 82, 89, 0.2);
}

.pro-card:nth-child(3) .pro-icon-box {
  background: #eef2ff;
  color: #3730a3;
  border-color: rgba(55, 48, 163, 0.2);
}

.pro-card:nth-child(4) .pro-icon-box {
  background: #fef3c7;
  color: #92400e;
  border-color: rgba(146, 64, 14, 0.2);
}

.pro-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--color-navy);
  margin-bottom: 0.65rem;
  line-height: 1.3;
}

.pro-desc {
  font-size: 0.92rem;
  color: var(--color-text-muted);
  line-height: 1.55;
}

.pro-disclaimer-box {
  margin-top: 2.5rem;
  background: var(--color-bg-surface);
  border-left: 4px solid var(--color-teal);
  padding: 1.25rem 1.5rem;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  font-size: 0.92rem;
  color: var(--color-text-muted);
}

.pro-disclaimer-box svg {
  color: var(--color-teal);
  flex-shrink: 0;
  margin-top: 2px;
}

/* --------------------------------------------------------------------------
   Sección: ¿En qué podemos ayudarle? (Servicios)
   -------------------------------------------------------------------------- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}

.service-card {
  background: #ffffff;
  border-radius: var(--radius-md);
  padding: 2.25rem 1.85rem;
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  position: relative;
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.service-number {
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--color-gold);
  background: var(--color-gold-light);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  border: 1px solid var(--color-gold-border);
}

.service-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-navy);
  margin-bottom: 0.75rem;
  line-height: 1.3;
}

.service-text {
  font-size: 0.98rem;
  color: var(--color-text-muted);
  line-height: 1.6;
  flex-grow: 1;
}

/* Banner de advertencia técnica formal */
.technical-disclaimer-banner {
  margin-top: 3rem;
  background: #fffbeb;
  border: 1px solid #fde68a;
  border-radius: var(--radius-md);
  padding: 1.5rem 1.75rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.technical-disclaimer-banner svg {
  color: #b45309;
  flex-shrink: 0;
}

.technical-disclaimer-banner p {
  font-size: 0.95rem;
  color: #92400e;
  line-height: 1.55;
}

/* --------------------------------------------------------------------------
   Sección: Preguntas Frecuentes (FAQ)
   -------------------------------------------------------------------------- */
.faq-container {
  max-width: 820px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.faq-item {
  background: #ffffff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: border-color var(--transition-fast);
}

.faq-item[open] {
  border-color: var(--color-gold);
}

.faq-question {
  padding: 1.35rem 1.5rem;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--color-navy);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  list-style: none;
  user-select: none;
  transition: background-color var(--transition-fast);
}

.faq-question::-webkit-details-marker {
  display: none;
}

.faq-question:hover {
  background-color: #f8fafc;
}

.faq-icon {
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-gold);
  flex-shrink: 0;
  transition: transform 0.3s ease;
}

.faq-item[open] .faq-icon {
  transform: rotate(180deg);
}

.faq-answer {
  padding: 0 1.5rem 1.5rem 1.5rem;
  font-size: 1rem;
  color: var(--color-text-muted);
  line-height: 1.65;
  border-top: 1px solid #f1f5f9;
  padding-top: 1rem;
}

/* --------------------------------------------------------------------------
   Sección: Contacto
   -------------------------------------------------------------------------- */
.contact-section {
  background: linear-gradient(135deg, #071527 0%, #0b1f3a 50%, #08293d 100%);
  color: #ffffff;
  position: relative;
  overflow: hidden;
}

.contact-card-main {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--color-gold-border);
  border-radius: var(--radius-lg);
  padding: 3.5rem 2.5rem;
  text-align: center;
  max-width: 860px;
  margin: 0 auto;
  box-shadow: var(--shadow-lg);
  backdrop-filter: blur(8px);
}

.contact-eyebrow {
  color: #fed788;
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}

.contact-title {
  font-size: clamp(2rem, 3.5vw, 2.7rem);
  font-weight: 900;
  color: #ffffff;
  margin-bottom: 1rem;
}

.contact-lead {
  font-size: 1.2rem;
  color: #cbd5e1;
  max-width: 640px;
  margin: 0 auto 2.5rem auto;
  line-height: 1.6;
}

.phone-showcase {
  background: rgba(201, 147, 39, 0.12);
  border: 2px solid var(--color-gold);
  border-radius: var(--radius-md);
  padding: 1.75rem 2rem;
  display: inline-block;
  margin-bottom: 2.25rem;
  box-shadow: var(--shadow-gold);
  transition: transform var(--transition-fast);
}

.phone-showcase:hover {
  transform: scale(1.02);
}

.phone-showcase-label {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #fed788;
  font-weight: 700;
  margin-bottom: 0.35rem;
}

.phone-number-link {
  font-size: clamp(2.2rem, 4.5vw, 3.4rem);
  font-weight: 900;
  letter-spacing: 0.04em;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.8rem;
  line-height: 1;
}

.phone-number-link:hover {
  color: #fed788;
}

.phone-number-link svg {
  color: var(--color-gold);
}

.contact-buttons {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.25rem;
  margin-bottom: 2rem;
}

.contact-note {
  font-size: 0.85rem;
  color: #94a3b8;
  max-width: 580px;
  margin: 0 auto;
  line-height: 1.5;
}

/* --------------------------------------------------------------------------
   Pie de Página (Footer)
   -------------------------------------------------------------------------- */
.footer {
  background: #040d18;
  color: #94a3b8;
  padding: 4.5rem 0 2rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.92rem;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr 0.8fr;
  gap: 3rem;
  padding-bottom: 3.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.footer-logo-wrap {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.footer-logo {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  border: 2px solid var(--color-gold);
  flex-shrink: 0;
}

.footer-title {
  color: #ffffff;
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.3;
}

.footer-motto {
  font-family: var(--font-serif);
  color: #fed788;
  font-style: italic;
  font-size: 1.02rem;
  line-height: 1.5;
  border-left: 2px solid var(--color-gold);
  padding-left: 0.85rem;
}

.footer-heading {
  color: #ffffff;
  font-size: 0.98rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 1.25rem;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-links a:hover {
  color: #ffffff;
  text-decoration: underline;
}

.footer-contact-info {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.footer-contact-item svg {
  color: var(--color-gold);
  margin-top: 4px;
  flex-shrink: 0;
}

.footer-disclaimer-box {
  padding: 1.75rem 0;
  font-size: 0.84rem;
  color: #94a3b8;
  line-height: 1.6;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-disclaimer-box strong {
  color: #cbd5e1;
}

.footer-bottom {
  padding-top: 1.75rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.82rem;
  color: #64748b;
}

/* --------------------------------------------------------------------------
   Responsividad y Media Queries
   -------------------------------------------------------------------------- */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .hero-visual-card {
    max-width: 600px;
    margin: 0 auto;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .professionals-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-top {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }

  .footer-brand {
    grid-column: span 2;
  }
}

@media (max-width: 768px) {
  .topbar-content {
    justify-content: center;
    text-align: center;
  }

  .brand-name {
    display: none;
  }

  .mobile-toggle {
    display: flex;
  }

  .nav-menu {
    position: fixed;
    top: var(--header-height);
    left: 0;
    right: 0;
    background: #ffffff;
    flex-direction: column;
    padding: 1.5rem 1.5rem 2rem 1.5rem;
    box-shadow: var(--shadow-lg);
    border-bottom: 2px solid var(--color-gold);
    transform: translateY(-150%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.3s ease, opacity 0.3s ease;
    align-items: stretch;
    gap: 0.5rem;
    max-height: calc(100vh - var(--header-height));
    overflow-y: auto;
  }

  .nav-menu.is-active {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .nav-link {
    padding: 0.85rem 0.5rem;
    border-bottom: 1px solid var(--color-border);
    font-size: 1.05rem;
  }

  .nav-cta {
    margin-left: 0;
    margin-top: 1rem;
    width: 100%;
  }

  .nav-cta .btn {
    width: 100%;
  }

  .professionals-grid {
    grid-template-columns: 1fr;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .contact-card-main {
    padding: 2.5rem 1.5rem;
  }

  .phone-number-link {
    font-size: 2.2rem;
  }

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

  .footer-brand {
    grid-column: span 1;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .hero-actions {
    flex-direction: column;
    width: 100%;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .contact-buttons {
    flex-direction: column;
    width: 100%;
  }

  .contact-buttons .btn {
    width: 100%;
  }

  .phone-number-link {
    font-size: 1.85rem;
  }
}
