/*
Theme Name: Asmaq Industrial Theme
Theme URI: https://asmaq.com
Author: Asmaq / Antigravity Ready
Description: Tema WordPress a medida para Asmaq - Soluciones industriales para un futuro más eficiente.
Version: 1.0.4
Text Domain: asmaq
*/

:root {
  --bg-light: #ededed;
  --bg-dark: #121212;
  --accent-orange: #ea5446;
  --accent-color: #ea5446;
  --text-main: #141414;
  --text-muted: #595959;
  --border-color: #d4d4d4;
  --font-main: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --container-width: 1180px;

  /* --- VARIABLES TIPOGRÁFICAS DINÁMICAS --- */
  --body-font-size: 16px;
  --body-font-weight: 400;
  --h1-font-size: 52px;
  --h1-font-weight: 700;
  --h2-font-size: 34px;
  --h2-font-weight: 700;
  --h3-font-size: 22px;
  --h3-font-weight: 600;
  --nav-font-size: 14px;
  --nav-font-weight: 500;
  --nav-text-transform: none;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

body {
  background-color: var(--bg-light);
  color: var(--text-main);
  font-family: var(--font-main);
  font-size: var(--body-font-size);
  font-weight: var(--body-font-weight);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

::selection {
  background-color: var(--accent-orange);
  color: #ffffff;
}

h1,
.hero-title,
.page-title,
.single-title,
.proyecto-title {
  font-size: var(--h1-font-size);
  font-weight: var(--h1-font-weight);
  line-height: 1.15;
  letter-spacing: -0.03em;
  color: var(--text-main);
}

h2,
.section-heading,
.cta-title,
.archive-title,
.cta-banner-heading {
  font-size: var(--h2-font-size);
  font-weight: var(--h2-font-weight);
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--text-main);
}

h3,
.feature-pill h3,
.project-info h3,
.project-card-title,
.form-title {
  font-size: var(--h3-font-size);
  font-weight: var(--h3-font-weight);
  line-height: 1.25;
  color: var(--text-main);
}

p,
.body-text {
  color: var(--text-main);
}

.text-orange,
.highlight {
  color: var(--accent-orange) !important;
}

.text-muted {
  color: var(--text-muted) !important;
}

.bg-light {
  background-color: var(--bg-light) !important;
}

.bg-dark {
  background-color: var(--bg-dark) !important;
}

.main-nav a,
.footer-nav a,
.btn-outline-orange,
.btn-dark,
.btn-orange-solid,
.btn-outline-white,
.btn-submit {
  font-size: var(--nav-font-size);
  font-weight: var(--nav-font-weight);
  text-transform: var(--nav-text-transform);
}

a {
  color: inherit;
  text-decoration: none;
  transition: opacity 0.2s ease, color 0.2s ease;
}

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

.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* --- HEADER --- */
.site-header {
  background-color: var(--header-bg, #ededed);
  padding: var(--header-padding-y, 22px) 0;
  transition: padding 0.3s cubic-bezier(0.16, 1, 0.3, 1), 
              background-color 0.3s ease, 
              box-shadow 0.3s ease,
              border-color 0.3s ease;
  width: 100%;
}

.site-header.is-sticky {
  position: sticky;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
}

.site-header.has-blur {
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
}

.site-header.has-border {
  border-bottom: 1px solid var(--header-border-color, rgba(0, 0, 0, 0.08));
}

/* Scrolled state for sticky header */
.site-header.is-sticky.scrolled {
  padding: var(--header-padding-y-scrolled, 12px) 0;
  background-color: var(--header-bg-scrolled, rgba(237, 237, 237, 0.94));
}

.site-header.is-sticky.scrolled.has-scroll-shadow {
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05), 0 1px 3px rgba(0, 0, 0, 0.03);
}

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

.site-branding {
  display: flex;
  align-items: center;
}

.site-branding .custom-logo-link {
  display: inline-flex;
  align-items: center;
  line-height: 0;
  text-decoration: none;
}

.site-branding .custom-logo,
.site-branding .asmaq-logo-img {
  max-height: var(--header-logo-height, 42px);
  width: auto;
  object-fit: contain;
  transition: max-height 0.3s ease;
}

.site-header.scrolled .site-branding .custom-logo,
.site-header.scrolled .site-branding .asmaq-logo-img {
  max-height: calc(var(--header-logo-height, 42px) * 0.88);
}

.logo,
.asmaq-text-logo {
  font-size: 1.35rem;
  font-weight: var(--header-logo-weight, 800);
  color: var(--header-logo-color, #121212);
  letter-spacing: -0.04em;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
}

.logo-dot {
  color: var(--accent-orange, #ea5446);
  margin-left: 1px;
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  flex-direction: column;
  gap: 5px;
  z-index: 1001;
}

.hamburger-bar {
  display: block;
  width: 24px;
  height: 2px;
  background-color: var(--text-main);
  transition: all 0.3s ease;
}

.menu-toggle.is-active .hamburger-bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.menu-toggle.is-active .hamburger-bar:nth-child(2) {
  opacity: 0;
}
.menu-toggle.is-active .hamburger-bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* --- NAVEGACIÓN --- */
.main-nav ul {
  display: flex;
  align-items: center;
  list-style: none;
  gap: var(--header-nav-gap, 32px);
  margin: 0;
  padding: 0;
}

.main-nav a {
  display: inline-block;
  font-size: var(--header-nav-size, 14px);
  font-weight: var(--header-nav-weight, 500);
  letter-spacing: var(--header-nav-letter-spacing, 0px);
  text-transform: var(--header-nav-transform, none);
  color: var(--header-nav-color, #121212);
  text-decoration: none;
  transition: color 0.25s ease, opacity 0.2s ease, background-color 0.25s ease;
}

.main-nav a:hover,
.main-nav .current-menu-item > a,
.main-nav .current_page_item > a,
.main-nav .is-active-section > a {
  color: var(--header-nav-hover-color, #ea5446) !important;
}

/* Hover: Underline (Línea animada inferior estilo Suizo) */
.nav-hover-underline .main-nav a {
  position: relative;
  padding: 4px 0;
}
.nav-hover-underline .main-nav a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--header-nav-hover-color, #ea5446);
  transition: width 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}
.nav-hover-underline .main-nav a:hover,
.nav-hover-underline .main-nav .current-menu-item > a,
.nav-hover-underline .main-nav .is-active-section > a {
  color: var(--header-nav-hover-color, #ea5446) !important;
}
.nav-hover-underline .main-nav a:hover::after,
.nav-hover-underline .main-nav .current-menu-item > a::after,
.nav-hover-underline .main-nav .is-active-section > a::after {
  width: 100%;
}

/* Hover: Color Only */
.nav-hover-color .main-nav a:hover,
.nav-hover-color .main-nav .current-menu-item > a,
.nav-hover-color .main-nav .is-active-section > a {
  color: var(--header-nav-hover-color, #ea5446) !important;
}

/* Hover: Pill / Cápsula de fondo */
.nav-hover-pill .main-nav a {
  padding: 7px 14px;
  border-radius: 999px;
}
.nav-hover-pill .main-nav a:hover,
.nav-hover-pill .main-nav .current-menu-item > a,
.nav-hover-pill .main-nav .is-active-section > a {
  background-color: rgba(234, 84, 70, 0.12);
  color: var(--header-nav-hover-color, #ea5446) !important;
}

/* Hover: Dot Indicator */
.nav-hover-dot .main-nav a {
  position: relative;
  padding-bottom: 6px;
}
.nav-hover-dot .main-nav a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%) scale(0);
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background-color: var(--header-nav-hover-color, #ea5446);
  transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}
.nav-hover-dot .main-nav a:hover,
.nav-hover-dot .main-nav .current-menu-item > a,
.nav-hover-dot .main-nav .is-active-section > a {
  color: var(--header-nav-hover-color, #ea5446) !important;
}
.nav-hover-dot .main-nav a:hover::after,
.nav-hover-dot .main-nav .current-menu-item > a::after,
.nav-hover-dot .main-nav .is-active-section > a::after {
  transform: translateX(-50%) scale(1);
}

/* --- BOTÓN DE LLAMADA A LA ACCIÓN (HEADER CTA) --- */
.btn-header {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 9px 20px;
  font-size: var(--header-nav-size, 13.5px);
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  white-space: nowrap;
  line-height: 1.2;
}

/* Border radius */
.btn-radius--pill {
  border-radius: 999px;
}
.btn-radius--rounded {
  border-radius: 6px;
}
.btn-radius--square {
  border-radius: 0px;
}

/* Estilos de Botón */
.btn-header--outline-orange {
  background-color: transparent;
  color: var(--accent-orange, #ea5446);
  border: 1.5px solid var(--accent-orange, #ea5446);
}
.btn-header--outline-orange:hover {
  background-color: var(--accent-orange, #ea5446);
  color: #ffffff;
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(234, 84, 70, 0.25);
}

.btn-header--solid-orange {
  background-color: var(--accent-orange, #ea5446);
  color: #ffffff;
  border: 1.5px solid var(--accent-orange, #ea5446);
}
.btn-header--solid-orange:hover {
  filter: brightness(0.9);
  color: #ffffff;
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(234, 84, 70, 0.35);
}

.btn-header--solid-dark {
  background-color: #121212;
  color: #ffffff;
  border: 1.5px solid #121212;
}
.btn-header--solid-dark:hover {
  background-color: var(--accent-orange, #ea5446);
  border-color: var(--accent-orange, #ea5446);
  color: #ffffff;
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(18, 18, 18, 0.25);
}

.btn-header--outline-dark {
  background-color: transparent;
  color: #121212;
  border: 1.5px solid #121212;
}
.btn-header--outline-dark:hover {
  background-color: #121212;
  color: #ffffff;
  transform: translateY(-1px);
}

.btn-header--whatsapp {
  background-color: #25D366;
  color: #ffffff;
  border: 1.5px solid #25D366;
}
.btn-header--whatsapp:hover {
  background-color: #1ebc57;
  border-color: #1ebc57;
  color: #ffffff;
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(37, 211, 102, 0.3);
}

.btn-header--custom {
  background-color: var(--header-btn-custom-bg, #ea5446);
  color: var(--header-btn-custom-color, #ffffff);
  border: 1.5px solid var(--header-btn-custom-border, #ea5446);
}
.btn-header--custom:hover {
  opacity: 0.92;
  transform: translateY(-1px);
}

.header-cta-icon {
  width: 16px;
  height: 16px;
  display: inline-block;
  vertical-align: middle;
  flex-shrink: 0;
}

.header-cta-arrow {
  display: inline-block;
  transition: transform 0.2s ease;
  font-size: 1.1em;
  line-height: 1;
}
.btn-header:hover .header-cta-arrow {
  transform: translateX(4px);
}

.btn-outline-orange {
  border: 1px solid var(--accent-orange);
  color: var(--accent-orange);
  padding: 8px 18px;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 500;
  transition: all 0.2s ease;
}

.btn-outline-orange:hover {
  background-color: var(--accent-orange);
  color: #fff;
}

/* --- HERO --- */
.hero-section {
  padding: 56px 0 40px;
}

.hero-title {
  font-size: var(--h1-font-size, clamp(2.2rem, 4.5vw, 3.6rem));
  font-weight: var(--h1-font-weight, 700);
  line-height: 1.1;
  letter-spacing: -0.03em;
  max-width: 760px;
  margin-bottom: 20px;
}

.text-orange {
  color: var(--accent-orange);
}

.hero-subtitle {
  color: var(--text-muted);
  font-size: var(--body-font-size, 0.95rem);
  font-weight: var(--body-font-weight, 400);
  max-width: 440px;
  margin-bottom: 24px;
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-main);
}

.link-arrow .arrow {
  color: var(--accent-orange);
  transition: transform 0.2s ease;
}

.link-arrow:hover .arrow {
  transform: translateX(4px);
}

/* --- HERO MEDIA BANNER --- */
.full-bleed-banner {
  position: relative;
  width: 100%;
  height: var(--hero-banner-height, 440px);
  max-height: var(--hero-banner-height, 440px);
  overflow: hidden !important;
  background: #000;
  display: block;
  box-sizing: border-box;
}

.full-bleed-banner img,
.hero-banner-static-img,
.hero-banner-poster-layer {
  position: absolute;
  top: 0;
  left: 0;
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  max-height: none !important;
  object-fit: cover !important;
  object-position: center center !important;
  display: block;
  z-index: 0;
}

.hero-banner-video-wrap {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  overflow: hidden !important;
  z-index: 1;
  pointer-events: none;
}

.hero-bg-video-element {
  position: absolute;
  top: 0;
  left: 0;
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  max-height: none !important;
  object-fit: cover !important;
  object-position: center center !important;
  pointer-events: none;
  display: block;
  opacity: 1 !important;
}

.hero-banner-video-iframe {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100vw;
  height: 56.25vw;
  min-height: 100%;
  min-width: 177.77vh;
  transform: translate(-50%, -50%);
  pointer-events: none;
  border: 0;
}

.video-controls {
  position: absolute;
  bottom: 24px;
  left: 32px;
  display: flex;
  align-items: center;
  gap: 14px;
  color: #fff;
  font-size: 0.85rem;
  z-index: 2;
  background: rgba(18, 18, 18, 0.6);
  padding: 8px 16px;
  border-radius: 30px;
  backdrop-filter: blur(4px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  transition: background 0.2s ease;
}

.video-controls:hover {
  background: rgba(18, 18, 18, 0.85);
}

.hero-video-toggle-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  outline: none;
}

.hero-video-toggle-btn:hover {
  color: var(--accent-orange, #ea5446);
}

.progress-bar {
  width: 140px;
  height: 2px;
  background: rgba(255,255,255,0.35);
  position: relative;
  overflow: hidden;
  border-radius: 2px;
}

.progress-bar::after {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  width: 40%;
  height: 100%;
  background: var(--accent-orange, #ea5446);
  animation: heroProgressLoop 4s linear infinite;
}

@keyframes heroProgressLoop {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(350%); }
}

/* --- FULL BLEED CTA BANNER INTERMEDIO --- */
.full-bleed-cta-banner {
  position: relative;
  width: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 80px 0;
  box-sizing: border-box;
}

.cta-banner-video-wrap {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 0;
  pointer-events: none;
}

.cta-banner-video-wrap video,
.cta-bg-video-element {
  position: absolute;
  top: 0;
  left: 0;
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  max-height: none !important;
  object-fit: cover !important;
  object-position: center center !important;
  pointer-events: none;
  display: block;
  opacity: 1 !important;
}

.cta-banner-video-wrap iframe,
.cta-banner-video-iframe {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100vw;
  height: 56.25vw;
  min-height: 100vh;
  min-width: 177.77vh;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.cta-banner-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
  pointer-events: none;
}

.cta-banner-container {
  position: relative;
  z-index: 2;
  width: 100%;
}

.cta-banner-video-toggle {
  position: absolute;
  bottom: 24px;
  right: 28px;
  z-index: 3;
  background: rgba(18, 18, 18, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #ffffff;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 13px;
  transition: all 0.2s ease;
  backdrop-filter: blur(4px);
}

.cta-banner-video-toggle:hover {
  background: var(--accent-orange, #ea5446);
  border-color: var(--accent-orange, #ea5446);
  transform: scale(1.08);
}

.cta-banner-content {
  max-width: 820px;
  color: #ffffff;
}

.full-bleed-cta-banner.align-center .cta-banner-content {
  margin: 0 auto;
  text-align: center;
}

.full-bleed-cta-banner.align-center .cta-banner-actions {
  justify-content: center;
}

.cta-banner-tag {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent-orange);
  margin-bottom: 16px;
  background: rgba(234, 84, 70, 0.15);
  border: 1px solid rgba(234, 84, 70, 0.4);
  padding: 6px 14px;
  border-radius: 50px;
}

.cta-banner-heading {
  font-size: clamp(2rem, 3.8vw, 2.9rem);
  font-weight: 700;
  line-height: 1.18;
  letter-spacing: -0.03em;
  color: #ffffff;
  margin-bottom: 18px;
}

.cta-banner-desc {
  font-size: 1.05rem;
  line-height: 1.6;
  color: #d1d5db;
  margin-bottom: 32px;
  max-width: 680px;
}

.full-bleed-cta-banner.align-center .cta-banner-desc {
  margin-left: auto;
  margin-right: auto;
}

.cta-banner-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.btn-orange-solid {
  background-color: var(--accent-orange);
  color: #ffffff;
  padding: 14px 28px;
  border-radius: 4px;
  font-size: 0.9rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: background-color 0.2s ease, transform 0.2s ease;
  box-shadow: 0 4px 14px rgba(234, 84, 70, 0.35);
}

.btn-orange-solid:hover {
  filter: brightness(0.9);
  color: #ffffff;
  transform: translateY(-2px);
}

.btn-outline-white {
  border: 1px solid rgba(255, 255, 255, 0.5);
  color: #ffffff;
  padding: 13px 26px;
  border-radius: 4px;
  font-size: 0.9rem;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.2s ease;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(4px);
}

.btn-outline-white:hover {
  background: #ffffff;
  color: #121212;
  border-color: #ffffff;
  transform: translateY(-2px);
}

/* --- INTRO SPLIT --- */
.section-split {
  padding: 80px 0;
}

.grid-2col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}

.section-heading {
  font-size: var(--h2-font-size, clamp(1.8rem, 3vw, 2.5rem));
  font-weight: var(--h2-font-weight, 700);
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
}

.body-text {
  color: var(--text-muted);
  font-size: var(--body-font-size, 0.95rem);
  font-weight: var(--body-font-weight, 400);
  margin-bottom: 18px;
  max-width: 440px;
}

/* --- CAPACIDADES (ACCORDION) --- */
.section-capabilities {
  padding: 20px 0 90px;
}

.accordion-list {
  border-top: 1px solid var(--border-color);
}

.accordion-item {
  border-bottom: 1px solid var(--border-color);
  padding: 20px 0;
}

.accordion-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  list-style: none;
}

.accordion-header::-webkit-details-marker {
  display: none;
}

.accordion-title {
  font-size: var(--h3-font-size, 1.15rem);
  font-weight: var(--h3-font-weight, 600);
  margin-bottom: 4px;
}

.accordion-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.accordion-icon {
  color: var(--accent-orange);
  font-size: 1.4rem;
  font-weight: 400;
  line-height: 1;
}

.accordion-content {
  padding-top: 14px;
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* ==============================================================
 * SECCIÓN VIDEO DE PRESENTACIÓN / REPRODUCTOR ASMAQ
 * ============================================================== */
.section-presentation-video {
  padding: 30px 0 90px;
  background-color: var(--bg-light);
  position: relative;
}

.presentation-video-header {
  text-align: center;
  max-width: 820px;
  margin: 0 auto 36px;
}

.presentation-video-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent-orange, #ea5446);
  background: rgba(234, 84, 70, 0.08);
  border: 1px solid rgba(234, 84, 70, 0.2);
  padding: 5px 14px;
  border-radius: 999px;
  margin-bottom: 16px;
}

.presentation-video-tag .tag-pulse-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--accent-orange, #ea5446);
  box-shadow: 0 0 6px var(--accent-orange, #ea5446);
  animation: asmaqDotPulse 2s infinite ease-in-out;
}

@keyframes asmaqDotPulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.4); opacity: 0.5; }
}

.presentation-video-title {
  margin-bottom: 14px;
  font-size: var(--h2-font-size, clamp(1.8rem, 3vw, 2.5rem));
  line-height: 1.18;
}

.presentation-video-desc {
  font-size: var(--body-font-size, 1.02rem);
  line-height: 1.6;
  color: var(--text-muted);
  max-width: 720px;
  margin: 0 auto;
}

.presentation-video-wrapper {
  max-width: var(--vp-max-width, 1080px);
  margin: 0 auto;
}

/* Tarjeta del Reproductor con Marco Industrial */
.asmaq-video-card {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background-color: #0b0c10;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 24px 60px -15px rgba(0, 0, 0, 0.2), 0 6px 18px -4px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(0, 0, 0, 0.08);
  transition: box-shadow 0.35s ease, border-color 0.35s ease;
}

.asmaq-video-card:hover {
  border-color: rgba(234, 84, 70, 0.35);
  box-shadow: 0 30px 70px -12px rgba(0, 0, 0, 0.26), 0 8px 24px -4px rgba(234, 84, 70, 0.12);
}

/* Pantalla del Reproductor (Video / Iframe) */
.asmaq-video-screen {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background-color: #000;
}

.asmaq-video-screen video,
.asmaq-video-screen iframe {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
  object-fit: cover;
}

/* Capa Carátula / Image Overlay (Elementor Style) */
.asmaq-video-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 5;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.4s ease, visibility 0.4s ease;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
}

.asmaq-video-card.is-playing .asmaq-video-overlay {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.asmaq-video-poster {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1), filter 0.4s ease;
}

.asmaq-video-card:hover .asmaq-video-poster {
  transform: scale(1.025);
  filter: brightness(0.95);
}

.asmaq-overlay-vignette {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, rgba(0, 0, 0, 0.2) 0%, rgba(0, 0, 0, 0.6) 100%);
  pointer-events: none;
}

/* Botón de Reproducción Elementor Style */
.asmaq-play-button-wrap {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}

.asmaq-play-btn {
  position: relative;
  width: 86px;
  height: 86px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--accent-orange, #ea5446);
  color: #ffffff;
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.35s ease, background-color 0.3s ease;
  box-shadow: 0 10px 30px rgba(234, 84, 70, 0.45);
}

.asmaq-video-card:hover .asmaq-play-btn {
  transform: scale(1.08);
  box-shadow: 0 14px 42px rgba(234, 84, 70, 0.65);
}

.asmaq-video-overlay:focus-visible {
  outline: none;
}

.asmaq-video-overlay:focus-visible .asmaq-play-btn {
  outline: 3px solid #ffffff;
  outline-offset: 4px;
}

/* Ondas de Pulso (Ripples) */
.asmaq-play-ripple {
  position: absolute;
  inset: -12px;
  border-radius: 50%;
  border: 2px solid rgba(234, 84, 70, 0.6);
  pointer-events: none;
  animation: asmaqRipple 2.8s cubic-bezier(0.2, 0.8, 0.2, 1) infinite;
}

.asmaq-play-ripple.ripple-2 {
  animation-delay: 1.4s;
}

@keyframes asmaqRipple {
  0% {
    transform: scale(0.9);
    opacity: 0.85;
  }
  100% {
    transform: scale(1.6);
    opacity: 0;
  }
}

.asmaq-play-icon-box {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-left: 4px; /* Centrado visual del triángulo */
}

.asmaq-play-svg {
  width: 100%;
  height: 100%;
}

.asmaq-play-label {
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #ffffff;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.6);
  opacity: 0.95;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.asmaq-video-card:hover .asmaq-play-label {
  opacity: 1;
  transform: translateY(-2px);
}

/* Pie del Reproductor (Caption y Badges) */
.presentation-video-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 20px;
  padding: 0 4px;
}

.presentation-video-caption {
  font-size: 0.85rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  margin: 0;
}

.presentation-video-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.pv-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.76rem;
  font-weight: 600;
  color: var(--text-main);
  background: rgba(0, 0, 0, 0.04);
  padding: 5px 12px;
  border-radius: 6px;
  border: 1px solid rgba(0, 0, 0, 0.06);
}

.pv-badge-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background-color: var(--accent-orange, #ea5446);
}

/* Responsividad en Móviles */
@media (max-width: 768px) {
  .section-presentation-video {
    padding: 24px 0 60px;
  }

  .presentation-video-header {
    margin-bottom: 24px;
    text-align: left;
  }

  .presentation-video-tag {
    font-size: 0.72rem;
    padding: 4px 12px;
  }

  .presentation-video-desc {
    font-size: 0.95rem;
  }

  .asmaq-video-card {
    border-radius: 12px;
  }

  .asmaq-play-btn {
    width: 66px;
    height: 66px;
  }

  .asmaq-play-icon-box {
    width: 24px;
    height: 24px;
    margin-left: 3px;
  }

  .presentation-video-footer {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
}

/* --- DARK METRICS BAR --- */
.dark-bar {
  background-color: var(--bg-dark);
  color: #fff;
  padding: 48px 0;
}

.grid-3col {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.feature-pill::before {
  content: '';
  display: block;
  width: 18px;
  height: 2px;
  background-color: var(--accent-orange);
  margin-bottom: 14px;
}

.feature-pill h3 {
  font-size: 1rem;
  font-weight: 500;
  margin-bottom: 4px;
}

.feature-pill p {
  font-size: 0.8rem;
  color: #9e9e9e;
}

/* --- CASO DESTACADO & PROYECTOS --- */
.case-banner {
  height: 290px;
}

.case-study-intro {
  padding: 48px 0;
}

.case-study-intro h2 {
  font-size: 1.6rem;
  margin-bottom: 12px;
}

.projects-zig-zag {
  padding: 20px 0 64px;
  display: flex;
  flex-direction: column;
  gap: 48px;
}

.project-row {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
}

.project-row.reverse {
  grid-template-columns: 0.9fr 1.1fr;
}

.project-image img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  filter: grayscale(100%);
}

.project-info h3 {
  font-size: var(--h3-font-size, 1.35rem);
  font-weight: var(--h3-font-weight, 600);
  line-height: 1.2;
  margin-bottom: 12px;
}

/* --- INSIGHTS / TOPICS LIST --- */
.insights-section {
  padding: 20px 0 80px;
}

.insight-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  padding: 18px 0;
  border-bottom: 1px solid var(--border-color);
  align-items: center;
}

.insight-row:first-child {
  border-top: 1px solid var(--border-color);
}

.insight-title {
  font-size: 0.9rem;
  font-weight: 600;
}

.insight-sub {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.insight-meta {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* --- BRANDS CAROUSEL --- */
.section-brands {
  background-color: var(--brands-bg, #f7f7f7);
  padding: var(--brands-padding-y, 44px) 0;
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
  overflow: hidden;
  position: relative;
  transition: background-color 0.3s ease;
}

.section-brands.is-full-width {
  width: 100%;
}

.brands-full-container {
  width: 100%;
  padding: 0;
}

.brands-subheading {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  font-weight: 700;
  color: var(--brands-text, #595959);
  text-align: center;
  margin-bottom: 24px;
  padding: 0 16px;
}

.brands-carousel-wrapper {
  overflow: hidden;
  width: 100%;
  position: relative;
  /* Efecto fade-out en los bordes para transición suave */
  mask-image: linear-gradient(to right, transparent 0%, black 10%, black 90%, transparent 100%);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 10%, black 90%, transparent 100%);
}

.brands-carousel-track {
  display: flex;
  width: max-content;
  will-change: transform;
  animation: brandsScrollAnimation var(--brands-speed, 26s) linear infinite;
}

.section-brands.pause-on-hover .brands-carousel-wrapper:hover .brands-carousel-track {
  animation-play-state: paused;
}

@keyframes brandsScrollAnimation {
  0% {
    transform: translate3d(0, 0, 0);
  }
  100% {
    transform: translate3d(-50%, 0, 0);
  }
}

.brands-group {
  display: flex;
  align-items: center;
  gap: var(--brands-gap, 64px);
  padding-right: var(--brands-gap, 64px);
  flex-shrink: 0;
}

.brand-item {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  opacity: 0.75;
  transition: opacity 0.25s ease, filter 0.25s ease, transform 0.25s ease;
}

.brand-item:hover {
  opacity: 1;
  transform: translateY(-2px);
}

.brand-logo-img {
  height: var(--brands-logo-h, 38px);
  width: auto;
  max-width: 180px;
  object-fit: contain;
  display: block;
}

.section-brands.has-grayscale .brand-logo-img {
  filter: grayscale(100%);
  opacity: 0.8;
  transition: filter 0.3s ease, opacity 0.3s ease;
}

.section-brands.has-grayscale .brand-item:hover .brand-logo-img {
  filter: grayscale(0%);
  opacity: 1;
}

.brand-wordmark {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  line-height: 1.1;
  white-space: nowrap;
}

.brand-wordmark .brand-name {
  font-size: clamp(1.05rem, 1.4vw, 1.35rem);
  font-weight: 800;
  letter-spacing: -0.01em;
  color: var(--text-main);
}

.brand-wordmark .brand-tag {
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-orange);
  margin-top: 3px;
}

/* --- BADGES & PROJECT STYLES --- */
.project-sector-badge {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--accent-orange);
  margin-bottom: 8px;
}

.proyecto-header {
  margin-bottom: 32px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border-color);
}

.proyecto-sector-tag {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--accent-orange);
  letter-spacing: 0.08em;
  margin-bottom: 8px;
}

.proyecto-title {
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin-bottom: 16px;
}

.proyecto-lead-text {
  font-size: 1.15rem;
  line-height: 1.6;
  max-width: 800px;
}

.proyecto-content-wrapper {
  max-width: 860px;
  margin: 0 auto;
}

.proyecto-cta-box {
  background-color: var(--bg-dark);
  color: #fff;
  padding: 40px;
  border-radius: 6px;
  margin: 60px 0 40px;
}

.proyecto-cta-box h3 {
  font-size: 1.4rem;
  margin-bottom: 12px;
}

.proyecto-cta-box p {
  color: #b0b0b0;
  margin-bottom: 24px;
  font-size: 0.95rem;
}

.projects-archive-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 36px;
  margin-top: 40px;
}

.home-projects-grid-3col {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 36px;
}

.project-card {
  background: #fff;
  border: 1px solid var(--border-color);
  border-radius: 4px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

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

.project-card-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.project-card-title {
  font-size: 1.3rem;
  font-weight: 700;
  margin: 8px 0 12px;
  line-height: 1.25;
}

.project-card-excerpt {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 20px;
  flex-grow: 1;
}

/* --- CTA ORANGE BANNER & FORM --- */
.cta-orange {
  background-color: var(--accent-orange);
  color: #121212;
  padding: 72px 0;
}

.cta-contact-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 60px;
  align-items: flex-start;
}

.cta-title {
  font-size: var(--h2-font-size, clamp(2rem, 3.5vw, 2.8rem));
  font-weight: var(--h2-font-weight, 700);
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin-bottom: 16px;
  color: #121212;
}

.cta-subtitle {
  font-size: 1.05rem;
  line-height: 1.6;
  margin-bottom: 32px;
  color: rgba(18, 18, 18, 0.85);
  max-width: 500px;
}

.cta-contact-details {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.cta-detail-item {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.detail-label {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: rgba(18, 18, 18, 0.75);
}

.btn-wa-direct {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 12px 24px;
  background-color: #121212;
  color: #fff;
  border-radius: 4px;
  max-width: fit-content;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.btn-wa-direct:hover {
  transform: translateY(-2px);
  opacity: 0.92;
}

.btn-wa-direct .btn-subtext {
  font-size: 0.75rem;
  color: var(--accent-orange);
  font-weight: 600;
  margin-top: 2px;
}

.cta-email-link {
  font-size: 1.05rem;
  font-weight: 700;
  color: #121212;
  text-decoration: underline;
}

.coverage-text {
  font-size: 0.9rem;
  color: #121212;
  font-weight: 500;
}

.contact-form-card {
  background: #ffffff;
  padding: 36px 32px;
  border-radius: 6px;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.12);
}

.form-title {
  font-size: 1.3rem;
  font-weight: 700;
  color: #121212;
  margin-bottom: 20px;
  letter-spacing: -0.02em;
}

.asmaq-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group label {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-main);
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid var(--border-color);
  border-radius: 4px;
  font-family: inherit;
  font-size: 0.9rem;
  background-color: #fbfbfb;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent-orange);
  box-shadow: 0 0 0 3px rgba(234, 84, 70, 0.15);
  background-color: #fff;
}

.form-row-2col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.btn-submit {
  width: 100%;
  padding: 14px 24px;
  margin-top: 8px;
  cursor: pointer;
  border: none;
  font-size: 0.95rem;
  font-weight: 600;
}

.form-privacy-note {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-align: center;
  margin-top: 4px;
}

.btn-dark {
  background-color: var(--bg-dark);
  color: #fff;
  padding: 12px 32px;
  border-radius: 4px;
  font-size: 0.85rem;
  font-weight: 500;
  display: inline-block;
  transition: opacity 0.2s ease;
}

.btn-dark:hover {
  opacity: 0.85;
}

/* --- FOOTER --- */
.site-footer {
  background-color: var(--bg-dark);
  color: #fff;
  padding: 60px 0 40px;
  font-size: 0.85rem;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1.5fr;
  gap: 40px;
  align-items: flex-start;
}

.footer-col-brand .logo,
.footer-col-brand .custom-logo-link {
  color: #fff;
  font-size: 1.4rem;
}

.footer-tagline {
  color: #888;
  margin-top: 12px;
  font-size: 0.85rem;
  line-height: 1.5;
}

.footer-nav ul {
  display: flex;
  flex-direction: column;
  list-style: none;
  gap: 12px;
}

.footer-nav a {
  color: #a0a0a0;
  transition: color 0.2s ease;
}

.footer-nav a:hover {
  color: var(--accent-orange);
}

.footer-col-meta {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.footer-contact-link {
  color: #a0a0a0;
  font-weight: 500;
}

.footer-contact-link:hover {
  color: #fff;
}

.footer-social {
  display: flex;
  gap: 16px;
}

.footer-social a {
  color: var(--accent-orange);
  font-weight: 600;
  font-size: 0.85rem;
}

.footer-social a:hover {
  text-decoration: underline;
}

.footer-copyright {
  color: #666;
  font-size: 0.75rem;
  margin-top: 4px;
}

/* --- PÁGINAS Y BLOG --- */
.page-template,
.single-post-template,
.archive-template {
  padding: 56px 0 90px;
}

.page-header-section,
.single-header,
.archive-header-section {
  margin-bottom: 36px;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 28px;
}

.page-title,
.single-title,
.archive-title {
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.15;
}

.post-meta-top {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 600;
}

.post-category a {
  color: var(--accent-orange);
}

.page-featured-image,
.single-featured-image {
  margin-bottom: 36px;
}

.page-featured-image img,
.single-featured-image img {
  width: 100%;
  max-height: 480px;
  object-fit: cover;
  border-radius: 4px;
}

.single-content-wrapper {
  max-width: 820px;
  margin: 0 auto;
}

.entry-content {
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--text-main);
}

.entry-content h2 {
  font-size: 1.8rem;
  font-weight: 600;
  margin: 36px 0 16px;
  letter-spacing: -0.02em;
}

.entry-content h3 {
  font-size: 1.35rem;
  font-weight: 600;
  margin: 28px 0 12px;
}

.entry-content p {
  margin-bottom: 20px;
}

.entry-content ul,
.entry-content ol {
  margin: 0 0 24px 28px;
}

.entry-content li {
  margin-bottom: 8px;
}

.entry-content blockquote {
  border-left: 3px solid var(--accent-orange);
  padding: 12px 24px;
  margin: 28px 0;
  font-style: italic;
  background: rgba(0, 0, 0, 0.02);
}

.post-navigation {
  display: flex;
  justify-content: space-between;
  margin-top: 50px;
  padding-top: 28px;
  border-top: 1px solid var(--border-color);
  font-weight: 600;
  font-size: 0.9rem;
}

.posts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 36px 28px;
  margin-top: 36px;
}

.post-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--border-color);
  border-radius: 4px;
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.post-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.06);
}

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

.post-card-content {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.post-card-meta {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
  margin-bottom: 8px;
}

.post-card-meta a {
  color: var(--accent-orange);
  font-weight: 600;
}

.post-card-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 12px;
  line-height: 1.3;
}

.post-card-title a:hover {
  color: var(--accent-orange);
}

.post-card-excerpt {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 20px;
  flex-grow: 1;
}

.archive-pagination {
  margin-top: 60px;
  text-align: center;
}

.archive-pagination .nav-links {
  display: inline-flex;
  gap: 8px;
}

.archive-pagination a,
.archive-pagination span.current {
  padding: 8px 16px;
  border-radius: 4px;
  border: 1px solid var(--border-color);
  font-size: 0.85rem;
  font-weight: 600;
}

.archive-pagination span.current {
  background-color: var(--accent-orange);
  color: #fff;
  border-color: var(--accent-orange);
}

/* --- RESPONSIVE --- */
@media (max-width: 768px) {
  .site-header {
    padding: 16px 0;
  }

  .site-header.is-sticky {
    position: sticky;
    top: 0;
    z-index: 1000;
  }

  .menu-toggle {
    display: flex;
  }

  .header-cta {
    display: none;
  }

  .main-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: var(--header-bg, #ededed);
    border-bottom: 1px solid var(--header-border-color, rgba(0, 0, 0, 0.08));
    padding: 24px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08);
    z-index: 1000;
  }

  .main-nav.is-open {
    display: block;
  }

  .main-nav ul {
    flex-direction: column;
    gap: 16px;
  }

  .main-nav a {
    font-size: 1rem;
    font-weight: 600;
    display: block;
    padding: 8px 0;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .grid-2col,
  .grid-3col,
  .project-row,
  .project-row.reverse,
  .insight-row,
  .cta-inner,
  .cta-contact-grid {
    grid-template-columns: 1fr;
    flex-direction: column;
    align-items: flex-start;
    gap: 32px;
  }

  .form-row-2col {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .brands-grid {
    gap: 28px;
  }

  .posts-grid,
  .projects-archive-grid,
  .home-projects-grid-3col {
    grid-template-columns: 1fr;
  }

  .full-bleed-banner {
    height: clamp(200px, 32vw, 320px) !important;
    max-height: 320px !important;
  }

  .hero-banner-video-wrap.hide-mobile-video,
  .cta-banner-video-wrap.hide-mobile-video {
    display: none !important;
  }

  .controls-hide-mobile,
  .cta-banner-video-toggle.hide-mobile-video {
    display: none !important;
  }

  .full-bleed-cta-banner {
    padding: 56px 0;
    min-height: auto !important;
  }

  .cta-banner-actions {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
  }

  .btn-orange-solid,
  .btn-outline-white {
    width: 100%;
    justify-content: center;
    text-align: center;
  }
}

/* --- PÁGINA INTERNA DE CONTACTO --- */
.page-contacto-template {
  padding-bottom: 0;
}

.contact-page-hero {
  padding: 60px 0 40px;
  background-color: var(--bg-light);
  border-bottom: 1px solid var(--border-color);
}

.contact-hero-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent-orange);
  margin-bottom: 14px;
}

.contact-hero-title {
  font-size: var(--h1-font-size, clamp(2.4rem, 4vw, 3.4rem));
  font-weight: var(--h1-font-weight, 700);
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin-bottom: 16px;
  color: var(--text-main);
}

.contact-hero-subtitle {
  font-size: 1.05rem;
  line-height: 1.6;
  color: var(--text-muted);
  max-width: 720px;
}

.contact-cards-section {
  padding: 48px 0 60px;
  background-color: var(--bg-light);
}

.contact-cards-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.contact-card {
  background: #ffffff;
  padding: 28px 24px;
  border-radius: 6px;
  border: 1px solid var(--border-color);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.contact-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.08);
}

.contact-card-icon {
  font-size: 1.8rem;
  margin-bottom: 14px;
  line-height: 1;
}

.contact-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 8px;
}

.contact-card p {
  font-size: 0.85rem;
  line-height: 1.5;
  color: var(--text-muted);
  margin-bottom: 18px;
  flex-grow: 1;
}

.contact-card-link {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--accent-orange);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: gap 0.2s ease;
}

.contact-card-link:hover {
  gap: 8px;
}

.contact-card-badge {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--accent-orange);
}

.contact-page-extra-content {
  padding: 60px 24px;
}

@media (max-width: 992px) {
  .contact-cards-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .contact-cards-grid {
    grid-template-columns: 1fr;
  }
}