/*!
 * +------------------------------------------------------------------+
 * |         PABLINNI'S CHEF  --  Plataforma Web Oficial              |
 * +------------------------------------------------------------------+
 * |  Desarrollador  :  Ing. Henry Munoz                              |
 * |  Perfil         :  Ingeniero de Software  /  Desarrollador Senior|
 * |  Proyecto       :  Pablinni's Chef                               |
 * |  Sitio web      :  pablinnis.genesiservices.com                  |
 * |  (c) 2025 Pablinni's Chef -- Todos los derechos reservados       |
 * +------------------------------------------------------------------+
 */
/* ═══════════════════════════════════════════
   CSS VARIABLES — LIGHT THEME (fixed)
═══════════════════════════════════════════ */
:root {
  --primary:        #F57C00;
  --primary-light:  #FF9A3C;
  --primary-dark:   #E65100;
  --accent:         #FFD54F;

  /* Light theme — site default */
  --bg:             #fafafa;
  --bg-2:           #f3f3f3;
  --bg-3:           #ebebeb;
  --bg-card:        #ffffff;
  --surface:        #ffffff;
  --border:         rgba(0,0,0,.09);
  --text:           #111111;
  --text-muted:     #555555;
  --text-faint:     #aaaaaa;
  --overlay:        rgba(250,250,250,.82);
  --hero-overlay:   rgba(0,0,0,.55);
  --shadow:         0 8px 40px rgba(0,0,0,.12);
  --shadow-sm:      0 2px 12px rgba(0,0,0,.08);

  /* Navbar & Footer — always dark */
  --nav-bg-fixed:   rgba(8,8,8,.92);
  --footer-bg:      #0f0f0f;
  --nav-text:       rgba(255,255,255,.75);
  --nav-border:     rgba(255,255,255,.08);
}

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

html {
  scroll-behavior: smooth;
  overflow: hidden;
  height: 100%;
}

body {
  font-family: 'Outfit', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  height: 100%;
  overflow: hidden;
  transition: background .35s, color .35s;
}

/* scroll container */
#scroll-container {
  height: 100vh;
  overflow-y: scroll;
  scroll-snap-type: y mandatory;
  scroll-behavior: smooth;
}
#scroll-container::-webkit-scrollbar { width: 5px; }
#scroll-container::-webkit-scrollbar-track { background: var(--bg-2); }
#scroll-container::-webkit-scrollbar-thumb { background: var(--primary); border-radius: 4px; }

section {
  scroll-snap-align: start;
  scroll-snap-stop: always;
  min-height: 100vh;
  position: relative;
}

img {
  max-width: 100%; display: block;
  -webkit-user-drag: none; user-drag: none;
  -webkit-touch-callout: none;
  pointer-events: none;
}
/* Restore pointer-events where interaction is needed */
a img, button img, .svc-panel, .gallery-item, .svc-gallery-img { pointer-events: auto; }

/* Disable text selection site-wide */
body {
  -webkit-user-select: none;
  -moz-user-select: none;
  user-select: none;
}
/* Allow selection inside forms and modal text */
input, textarea, select, .svc-tab-panel { -webkit-user-select: text; user-select: text; }

/* Hide content when printing */
@media print { body { display: none !important; } }

a  { color: inherit; text-decoration: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

/* ═══════════════════════════════════════════
   TYPOGRAPHY HELPERS
═══════════════════════════════════════════ */
.section-label {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: .6rem;
}
.section-label::before {
  content: '';
  display: inline-block;
  width: 1.8rem;
  height: 2px;
  background: var(--primary);
  border-radius: 1px;
  flex-shrink: 0;
}
.section-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 700;
  line-height: 1.15;
  color: var(--text);
}
.section-title span { color: var(--primary); font-style: italic; }
.section-sub {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 600px;
  margin-top: .75rem;
}

/* ═══════════════════════════════════════════
   BUTTONS
═══════════════════════════════════════════ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .75rem 1.8rem;
  border-radius: 50px;
  font-weight: 600;
  font-size: .95rem;
  transition: all .3s ease;
  white-space: nowrap;
}
.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff;
  box-shadow: 0 4px 18px rgba(245,124,0,.35);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(245,124,0,.55);
}
.btn-outline {
  border: 1.5px solid var(--primary);
  color: var(--primary);
}
.btn-outline:hover {
  background: var(--primary);
  color: #fff;
}

/* ═══════════════════════════════════════════
   NAVBAR
═══════════════════════════════════════════ */
#navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 900;
  padding: 1rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  background: var(--nav-bg-fixed);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--nav-border);
  transition: background .35s;
}

.nav-logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}
.nav-logo img {
  height: 42px;
  width: auto;
  object-fit: contain;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 2rem;
  align-items: center;
}
.nav-links a {
  font-size: .9rem;
  font-weight: 500;
  color: var(--nav-text);
  transition: color .25s;
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -3px; left: 0;
  width: 0; height: 1.5px;
  background: var(--primary);
  transition: width .25s;
}
.nav-links a:hover { color: var(--primary); }
.nav-links a:hover::after { width: 100%; }

.nav-actions { display: flex; align-items: center; gap: .75rem; flex-shrink: 0; }

/* hamburger */
#hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 6px;
}
#hamburger span {
  display: block;
  width: 24px; height: 2px;
  background: rgba(255,255,255,.8);
  border-radius: 2px;
  transition: all .3s;
}
#hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
#hamburger.open span:nth-child(2) { opacity: 0; }
#hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* mobile nav */
#mobile-nav {
  display: none;
  position: fixed;
  top: 69px; left: 0; right: 0;
  background: var(--bg-2);
  border-bottom: 1px solid var(--border);
  z-index: 899;
  padding: 1.25rem 2rem 1.5rem;
  flex-direction: column;
  gap: .5rem;
}
#mobile-nav.open { display: flex; }
#mobile-nav a {
  font-size: 1rem;
  font-weight: 500;
  color: var(--text-muted);
  padding: .5rem 0;
  border-bottom: 1px solid var(--border);
  transition: color .2s;
}
#mobile-nav a:last-child { border-bottom: none; }
#mobile-nav a:hover { color: var(--primary); }

/* ═══════════════════════════════════════════
   HERO
═══════════════════════════════════════════ */
#inicio {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  min-height: 100vh;
}

#hero-bg-blur {
  position: absolute;
  inset: -30px;
  background-size: cover;
  background-position: center;
  filter: blur(18px);
  transform: scale(1.08);
  z-index: 0;
}

#hero-video {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  z-index: 1;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: var(--hero-overlay);
  z-index: 2;
}

.hero-content {
  position: relative;
  z-index: 3;
  text-align: center;
  padding: 2rem;
  max-width: 800px;
}

.hero-tag {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .55rem;
  margin-bottom: 2rem;
  text-align: center;
}

.hero-tag-line {
  width: 60px;
  height: 2px;
  background: linear-gradient(90deg, transparent, #F57C00, transparent);
}

.hero-tag-years {
  font-family: 'Playfair Display', serif;
  font-size: 6rem;
  font-weight: 700;
  font-style: italic;
  color: #F57C00;
  line-height: 1;
  text-shadow: 0 0 40px rgba(245,124,0,.45), 0 2px 12px rgba(0,0,0,.5);
  letter-spacing: -.01em;
}

.hero-tag-years span {
  font-size: 3rem;
  font-weight: 400;
  font-style: italic;
  color: #ffffff;
  text-shadow: 0 2px 12px rgba(0,0,0,.6);
  margin-left: -1.2rem;
}

.hero-tag-sub {
  font-family: 'Outfit', sans-serif;
  font-size: 1.15rem;
  font-weight: 300;
  color: rgba(255,255,255,.9);
  letter-spacing: .14em;
  text-transform: uppercase;
  line-height: 1.7;
  text-shadow: 0 1px 8px rgba(0,0,0,.7);
}

.hero-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.8rem, 7vw, 5.5rem);
  font-weight: 700;
  color: #fff;
  line-height: 1.08;
  margin-bottom: 1.25rem;
  text-shadow: 0 2px 20px rgba(0,0,0,.5);
}
.hero-title em { color: var(--primary-light); font-style: italic; }

.hero-sub {
  font-size: clamp(1rem, 2.2vw, 1.25rem);
  color: rgba(255,255,255,.82);
  margin-bottom: 2.5rem;
  text-shadow: 0 1px 8px rgba(0,0,0,.4);
}

.hero-btns { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

.hero-scroll {
  position: absolute;
  bottom: 2rem; left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .4rem;
  color: rgba(255,255,255,.5);
  font-size: .75rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  animation: bounce 2s ease-in-out infinite;
}
.hero-scroll-arrow {
  width: 24px; height: 24px;
  border-right: 2px solid rgba(255,255,255,.4);
  border-bottom: 2px solid rgba(255,255,255,.4);
  transform: rotate(45deg);
}
@keyframes bounce {
  0%,100% { transform: translateX(-50%) translateY(0); }
  50%      { transform: translateX(-50%) translateY(8px); }
}

/* ═══════════════════════════════════════════
   SECTION WRAP (shared)
═══════════════════════════════════════════ */
.section-wrap {
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
}
.section-header { margin-bottom: 3.5rem; }

/* ═══════════════════════════════════════════
   SERVICES — DIAGONAL PANELS
═══════════════════════════════════════════ */
#servicios {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  overflow: hidden;
  background: #0a0a0a;
}

/* Top label bar */
.svc-top-bar {
  position: absolute;
  top: 2.5rem;
  left: 0;
  right: 0;
  z-index: 10;
  text-align: center;
  pointer-events: none;
  padding: 0 1.5rem;
}
.svc-main-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 700;
  color: #fff;
  line-height: 1.15;
  text-shadow: 0 2px 12px rgba(0,0,0,.6);
  margin: .4rem 0;
  white-space: normal;
}
.svc-main-title em { color: var(--primary-light); font-style: italic; }
.svc-main-sub {
  font-size: .92rem;
  color: rgba(255,255,255,.8);
  letter-spacing: .04em;
}

/* Panels container */
.svc-panels {
  display: flex;
  width: 100%;
  height: 100vh;
  overflow: hidden;
}

/* Individual panel */
.svc-panel {
  flex: 1;
  position: relative;
  cursor: pointer;
  overflow: hidden;
  transition: flex .55s cubic-bezier(.4,0,.2,1);
  min-width: 60px;
}
.svc-panel:hover { flex: 2.2; }

/* Background image */
.svc-panel-bg {
  position: absolute;
  inset: -4px;
  background-size: cover;
  background-position: center;
  transition: transform .6s ease, filter .4s ease;
  filter: brightness(.45) saturate(.8);
}
.svc-panel:hover .svc-panel-bg {
  transform: scale(1.05);
  filter: brightness(.65) saturate(1);
}

/* Dark gradient overlay */
.svc-panel-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,.8) 0%, rgba(0,0,0,.15) 60%);
  z-index: 1;
}

/* Diagonal separator (right edge) */
.svc-panel-sep {
  position: absolute;
  top: 0; right: -18px; bottom: 0;
  width: 36px;
  background: #0a0a0a;
  transform: skewX(-4deg);
  z-index: 3;
  pointer-events: none;
}

/* Content */
.svc-panel-content {
  position: absolute;
  bottom: 3rem; left: 0; right: 0;
  z-index: 2;
  padding: 0 1.8rem;
  transition: transform .4s ease;
}
.svc-panel:hover .svc-panel-content { transform: translateY(-8px); }

.svc-panel-num {
  display: block;
  font-size: .72rem;
  font-weight: 700;
  color: var(--primary-light);
  letter-spacing: .18em;
  margin-bottom: .5rem;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity .35s .1s, transform .35s .1s;
}
.svc-panel:hover .svc-panel-num { opacity: 1; transform: translateY(0); }

.svc-panel-emoji {
  font-size: 2rem;
  margin-bottom: .5rem;
  filter: drop-shadow(0 2px 6px rgba(0,0,0,.5));
}

.svc-panel-name {
  font-family: 'Playfair Display', serif;
  font-size: clamp(.9rem, 1.8vw, 1.5rem);
  font-weight: 700;
  color: #fff;
  line-height: 1.1;
  text-shadow: 0 2px 10px rgba(0,0,0,.6);
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  letter-spacing: .08em;
  transition: writing-mode .3s, transform .3s;
  white-space: nowrap;
}
.svc-panel:hover .svc-panel-name {
  writing-mode: horizontal-tb;
  transform: none;
  font-size: clamp(1.4rem, 2.5vw, 2rem);
}

.svc-panel-desc {
  position: absolute;
  top: 38%;
  left: 50%;
  transform: translateX(-50%) translateY(12px);
  width: 85%;
  font-size: 1.2rem;
  font-weight: 400;
  color: #ffffff;
  line-height: 1.75;
  text-align: center;
  opacity: 0;
  transition: opacity .4s .1s, transform .4s .1s;
  text-shadow: 0 2px 12px rgba(0,0,0,.9);
  z-index: 5;
  pointer-events: none;
}
.svc-panel:hover .svc-panel-desc {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.svc-panel-cta {
  display: inline-block;
  margin-top: .8rem;
  font-size: .8rem;
  font-weight: 600;
  color: var(--primary-light);
  letter-spacing: .1em;
  text-transform: uppercase;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity .35s .2s, transform .35s .2s;
}
.svc-panel:hover .svc-panel-cta { opacity: 1; transform: translateY(0); }

/* ── SERVICE MODAL ──────────────────────── */
.svc-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.85);
  backdrop-filter: blur(8px);column-rule-color: ;
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  animation: fadeIn .3s ease;
}
.svc-modal-overlay.open { display: flex; }

.svc-modal {
  background: #fff;
  border: 1px solid rgba(0,0,0,.08);
  border-radius: 20px;
  width: 100%;
  max-width: 900px;
  max-height: 88vh;
  display: grid;
  grid-template-columns: 300px 1fr;
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(0,0,0,.25);
  animation: slideUp .35s ease;
  position: relative;
}

.svc-modal-close {
  position: absolute;
  top: 1rem; right: 1rem;
  width: 36px; height: 36px;
  border-radius: 50%;
  background: rgba(0,0,0,.08);
  color: #333;
  font-size: 1.3rem;
  display: flex; align-items: center; justify-content: center;
  z-index: 10;
  transition: background .2s, color .2s;
  cursor: pointer;
  border: none;
  line-height: 1;
}
.svc-modal-close:hover { background: var(--primary); color: #fff; }

/* Left panel */
.svc-modal-left {
  position: relative;
  display: flex;
  flex-direction: column;
}
.svc-modal-left img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
}
.svc-modal-cat-info {
  padding: 1.5rem;
  background: #f5f3f0;
  flex: 1;
}
.svc-modal-emoji { font-size: 2rem; margin-bottom: .5rem; }
#svc-modal-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: .5rem;
}
#svc-modal-desc { font-size: .88rem; color: #666; line-height: 1.6; }

/* Right panel */
.svc-modal-right {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  min-height: 0;
  height: 88vh;
}

/* Tabs */
.svc-modal-tabs {
  display: flex;
  border-bottom: 1px solid rgba(0,0,0,.1);
  padding: 0 1.25rem;
  background: #fff;
  flex-shrink: 0;
}
.svc-tab {
  padding: 1rem 1.2rem;
  font-size: .85rem;
  font-weight: 600;
  color: #999;
  background: none;
  border: none;
  border-bottom: 2px solid transparent;
  cursor: pointer;
  transition: all .2s;
  white-space: nowrap;
}
.svc-tab.active { color: var(--primary); border-bottom-color: var(--primary); }
.svc-tab:hover { color: #333; }

/* Tab panels */
.svc-tab-panel {
  display: none;
  overflow-y: auto;
  flex: 1;
  min-height: 0;
  padding: 1.5rem;
}
.svc-tab-panel.active { display: block; }
.svc-tab-panel::-webkit-scrollbar { width: 4px; }
.svc-tab-panel::-webkit-scrollbar-thumb { background: #ccc; border-radius: 4px; }

/* Menu header separator */
.svc-menu-header {
  margin: .5rem -1.5rem 1.5rem;
  padding: 1rem 1.5rem .75rem;
  background: linear-gradient(135deg, rgba(245,124,0,.15), rgba(245,124,0,.05));
  border-top: 2px solid var(--primary);
  border-bottom: 1px solid rgba(245,124,0,.2);
}
.svc-menu-header:first-child { margin-top: -1.5rem; }
.svc-menu-header-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--primary);
  letter-spacing: .04em;
  text-transform: uppercase;
  margin-bottom: .35rem;
}
.svc-menu-header-nota {
  font-size: .78rem;
  color: #555;
  line-height: 1.55;
}
.svc-menu-section-nota {
  font-size: .78rem;
  color: #777;
  margin: -.4rem 0 .75rem;
  font-style: italic;
}

/* Menu items */
.svc-menu-section { margin-bottom: 1.75rem; }
.svc-menu-section-title {
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: .9rem;
  padding-bottom: .5rem;
  border-bottom: 1px solid rgba(245,124,0,.2);
}
.svc-menu-item {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
  padding: .65rem 0;
  border-bottom: 1px solid rgba(0,0,0,.07);
}
.svc-menu-item:last-child { border-bottom: none; }
.svc-menu-item-left { flex: 1; }
.svc-menu-item-name {
  font-size: .92rem;
  font-weight: 600;
  color: #1a1a1a;
  margin-bottom: .18rem;
}
.svc-menu-item-desc { font-size: .78rem; color: #777; line-height: 1.4; }
.svc-menu-item-price {
  font-size: .95rem;
  font-weight: 700;
  color: var(--primary);
  white-space: nowrap;
}

.svc-empty { color: #999; font-size: .9rem; text-align: center; padding: 2rem 0; }

/* Horarios tab */
.svc-horarios {
  display: flex;
  flex-direction: column;
  gap: .75rem;
  padding: .5rem 0;
}
.svc-horario-item {
  display: flex;
  align-items: center;
  gap: .75rem;
  font-size: .95rem;
  color: #333;
  padding: .85rem 1rem;
  background: rgba(245,124,0,.06);
  border-left: 3px solid var(--primary);
  border-radius: 0 8px 8px 0;
}
.svc-horario-item::before {
  content: '—';
  color: var(--primary);
  font-weight: 700;
  flex-shrink: 0;
}

/* Gallery / Promociones tab */
.svc-gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: .75rem;
}
.svc-promo-item {
  display: flex;
  flex-direction: column;
  gap: .35rem;
}
.svc-promo-titulo {
  font-size: .75rem;
  color: #888;
  text-align: center;
  margin: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.svc-gallery-img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  border-radius: 10px;
  transition: transform .3s;
}
.svc-gallery-img:hover { transform: scale(1.03); }

/* Lightbox */
#img-lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.92);
  z-index: 11000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  cursor: zoom-out;
  animation: fadeIn .25s ease;
}
#img-lightbox.open { display: flex; }
#img-lightbox-img {
  max-width: 90vw;
  max-height: 90vh;
  object-fit: contain;
  border-radius: 12px;
  box-shadow: 0 20px 60px rgba(0,0,0,.5);
  cursor: default;
  pointer-events: none;
}
#img-lightbox-close {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  width: 42px; height: 42px;
  border-radius: 50%;
  background: rgba(255,255,255,.15);
  color: #fff;
  font-size: 1.5rem;
  border: none;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background .2s;
  z-index: 1;
}
#img-lightbox-close:hover { background: var(--primary); }

/* Responsive */
@media (max-width: 700px) {
  /* Hide orange scrollbar on mobile */
  #scroll-container::-webkit-scrollbar { display: none; }
  #scroll-container { scrollbar-width: none; }

  /* Tabs horizontally scrollable */
  .svc-modal-tabs {
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    flex-wrap: nowrap;
    scrollbar-width: none;
  }
  .svc-modal-tabs::-webkit-scrollbar { display: none; }
  .svc-tab { white-space: nowrap; flex-shrink: 0; }

  #servicios { display: flex; flex-direction: column; }

  .svc-top-bar {
    position: relative;
    top: auto; left: auto;
    transform: none;
    width: 100%;
    padding: 5rem 1.5rem 1.5rem;
    background: linear-gradient(to bottom, rgba(0,0,0,.7), transparent);
  }

  .svc-panels {
    flex-direction: column;
    flex: 1;
  }

  .svc-panel {
    flex: 1;
    min-width: unset;
    min-height: 160px;
  }
  .svc-panel:hover { flex: 3; }
  /* On mobile, :focus keeps the panel expanded after modal closes — prevent that */
  .svc-panel:focus { outline: none; }

  .svc-panel-sep { display: none; }

  .svc-panel-name {
    writing-mode: horizontal-tb !important;
    transform: none !important;
    font-size: 1.15rem !important;
  }

  .svc-panel-desc {
    font-size: 1rem;
    width: 90%;
    top: 30%;
  }

  .svc-panel-content {
    bottom: 1.5rem;
  }

  /* Modal mobile — flex column so tabs are always visible */
  .svc-modal {
    display: flex;
    flex-direction: column;
    grid-template-columns: unset;
    max-height: 95vh;
  }
  .svc-modal-left {
    flex-shrink: 0;
    max-height: none;
  }
  .svc-modal-left img { height: 130px; }
  .svc-modal-cat-info { padding: .85rem 1.1rem; }
  #svc-modal-title    { font-size: 1.15rem; margin-bottom: .25rem; }
  #svc-modal-desc {
    font-size: .8rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
  .svc-modal-right {
    height: auto;
    flex: 1;
    min-height: 0;
  }
  .svc-modal-tabs {
    padding: 0 .75rem;
  }
  .svc-tab {
    padding: .75rem .8rem;
    font-size: .78rem;
  }
}

/* ═══════════════════════════════════════════
   GALLERY
═══════════════════════════════════════════ */
#galeria {
  background: var(--bg);
  display: flex;
  align-items: center;
  padding: 7rem 2rem;
}

.gallery-filters {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  justify-content: center;
  margin: 1.8rem 0 1.5rem;
}

.gf-btn {
  padding: .45rem 1.2rem;
  border-radius: 50px;
  border: 1.5px solid var(--border);
  background: transparent;
  color: var(--text-muted);
  font-size: .82rem;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all .25s;
}
.gf-btn:hover {
  border-color: var(--primary);
  color: var(--primary);
}
.gf-btn.active {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
  box-shadow: 0 4px 14px rgba(245,124,0,.35);
}

.gallery-item {
  transition: opacity .35s, transform .35s, box-shadow .35s;
}
.gallery-item.hidden {
  display: none;
}

.gallery-empty {
  text-align: center;
  color: var(--text-faint);
  font-size: .95rem;
  padding: 2rem 0;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 280px;
  gap: .75rem;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 14px;
  cursor: pointer;
  box-shadow: 0 4px 18px rgba(0,0,0,.13);
  transition: box-shadow .35s, transform .35s;
}
.gallery-item:nth-child(1) {
  grid-row: span 2;
}
.gallery-item:hover {
  box-shadow: 0 10px 32px rgba(0,0,0,.22);
  transform: translateY(-3px);
}

.gallery-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 20%;
  transition: transform .5s ease;
}
.gallery-item:hover img { transform: scale(1.07); }

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,.72) 0%, transparent 50%);
  opacity: 1;
  display: flex;
  align-items: flex-end;
  padding: .9rem 1rem;
}

.gallery-label {
  color: #fff;
  font-size: .82rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  text-shadow: 0 1px 6px rgba(0,0,0,.7);
  opacity: .7;
  transition: opacity .3s;
}
.gallery-item:hover .gallery-label { opacity: 1; }

@media (max-width: 700px) {
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 200px;
  }
  .gallery-item:nth-child(1) { grid-row: span 1; }
}

/* ═══════════════════════════════════════════
   FEATURES — ¿Por qué nosotros?
═══════════════════════════════════════════ */
#porque-nosotros {
  background: var(--bg-2);
  display: flex;
  align-items: center;
  padding: 7rem 2rem;
}

.features-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.features-visual {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow);
}
.features-visual img {
  width: 100%; height: 480px; object-fit: cover;
}
.features-badge {
  position: absolute;
  bottom: 1.5rem; left: 0;
  background: rgba(10,10,10,.78);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-left: 4px solid var(--primary);
  border-radius: 0 14px 14px 0;
  padding: 1rem 1.6rem 1rem 1.2rem;
  box-shadow: 0 8px 28px rgba(0,0,0,.35);
  color: #fff;
  line-height: 1;
}
.features-badge strong {
  font-family: 'Playfair Display', serif;
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--primary);
  display: block;
  line-height: 1;
  margin-bottom: .35rem;
}
.features-badge span {
  font-size: .75rem;
  font-weight: 500;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: rgba(255,255,255,.75);
}

.features-list { display: flex; flex-direction: column; gap: .7rem; }
.feature-item {
  padding: .85rem 1.25rem;
  border-radius: 12px;
  border: none;
  border-left: 3px solid var(--primary);
  background: #fff;
  box-shadow: 0 2px 10px rgba(0,0,0,.06);
  transition: box-shadow .3s, transform .3s;
}
.feature-item:hover {
  box-shadow: 0 6px 20px rgba(245,124,0,.15);
  transform: translateX(6px);
}
.feature-num {
  display: block;
  font-size: .65rem;
  font-weight: 800;
  letter-spacing: .2em;
  color: var(--primary);
  text-transform: uppercase;
  margin-bottom: .25rem;
}
.feature-text h4 {
  font-size: .92rem; font-weight: 700; color: var(--text); margin-bottom: .2rem;
}
.feature-text p { font-size: .81rem; color: var(--text-muted); line-height: 1.5; }

/* ═══════════════════════════════════════════
   ABOUT — Nosotros
═══════════════════════════════════════════ */
#nosotros {
  background: var(--bg);
  display: flex;
  align-items: center;
  padding: 7rem 2rem;
}

.about-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about-text { order: 2; }
.about-visual { order: 1; }

.about-visual-wrap { position: relative; }
.about-img-main {
  width: 100%; height: 420px; object-fit: cover;
  border-radius: 20px;
  box-shadow: var(--shadow);
}
.about-img-accent { display: none; }

.about-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-top: 2.5rem;
}
.stat-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 1.2rem 1.4rem;
}
.stat-number {
  font-family: 'Playfair Display', serif;
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--primary);
  line-height: 1;
}
.stat-label {
  font-size: .78rem;
  color: var(--text-muted);
  margin-top: .35rem;
  text-transform: uppercase;
  letter-spacing: .06em;
  font-weight: 600;
}
.about-body { font-size: .97rem; color: var(--text-muted); margin-top: 1rem; line-height: 1.75; }

/* About tabs */
.about-tabs {
  display: flex;
  gap: 0;
  border-bottom: 1px solid var(--border);
  margin: 1.5rem 0 0;
}
.about-tab {
  padding: .65rem 1.1rem;
  font-size: .82rem;
  font-weight: 600;
  color: var(--text-muted);
  background: none;
  border: none;
  border-bottom: 2px solid transparent;
  cursor: pointer;
  transition: color .2s, border-color .2s;
  white-space: nowrap;
}
.about-tab.active  { color: var(--primary); border-bottom-color: var(--primary); }
.about-tab:hover   { color: var(--text); }

.about-tab-panel   { display: none; padding-top: 1.25rem; }
.about-tab-panel.active { display: block; }

/* Misión & Visión */
.mv-block {
  border-left: 3px solid var(--primary);
  padding: .9rem 1.1rem;
  margin-bottom: 1rem;
  background: var(--bg-card);
  border-radius: 0 12px 12px 0;
}
.mv-label {
  font-size: .7rem;
  font-weight: 800;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: .4rem;
}
.mv-block p { font-size: .9rem; color: var(--text-muted); line-height: 1.65; margin: 0; }

/* Campañas RRSS */
.camp-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: .75rem;
}
.camp-item {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  aspect-ratio: 1/1;
  display: block;
}
.camp-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .35s;
}
.camp-item:hover img { transform: scale(1.06); }
.camp-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,.6) 0%, transparent 55%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: .75rem;
  gap: .2rem;
}
.camp-red {
  font-size: .62rem;
  font-weight: 800;
  letter-spacing: .12em;
  padding: .2rem .55rem;
  border-radius: 20px;
  align-self: flex-start;
}
.camp-instagram { background: #e1306c; color: #fff; }
.camp-facebook  { background: #1877f2; color: #fff; }
.camp-tiktok    { background: #010101; color: #fff; }
.camp-titulo    { font-size: .78rem; color: #fff; font-weight: 600; }

.camp-empty {
  text-align: center;
  padding: 2rem 1rem;
}
.camp-empty p { font-size: .9rem; color: var(--text-muted); margin-bottom: 1.25rem; }
.camp-social-links { display: flex; gap: .75rem; justify-content: center; flex-wrap: wrap; }
.camp-social-btn {
  padding: .55rem 1.2rem;
  border-radius: 20px;
  font-size: .8rem;
  font-weight: 700;
  text-decoration: none;
  transition: opacity .2s;
}
.camp-social-btn:hover { opacity: .85; }
.camp-social-btn.camp-instagram { background: #e1306c; color: #fff; }
.camp-social-btn.camp-facebook  { background: #1877f2; color: #fff; }
.camp-social-btn.camp-tiktok    { background: #010101; color: #fff; }

/* ═══════════════════════════════════════════
   TESTIMONIALS
═══════════════════════════════════════════ */
#testimonials-section {
  background: var(--bg-2);
  padding: 7rem 2rem;
  min-height: auto;
  scroll-snap-align: start;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.75rem;
  margin-top: 3rem;
}

.testimonial-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 1.75rem;
  box-shadow: var(--shadow-sm);
  transition: transform .3s, border-color .3s;
}
.testimonial-card:hover { transform: translateY(-4px); border-color: rgba(245,124,0,.3); }

.testi-stars { color: var(--accent); font-size: 1rem; letter-spacing: .1em; margin-bottom: 1rem; }
.testi-text {
  font-size: .95rem;
  color: var(--text-muted);
  line-height: 1.7;
  font-style: italic;
  margin-bottom: 1.4rem;
  position: relative;
}
.testi-text::before {
  content: '\201C';
  font-size: 3rem;
  color: var(--primary);
  opacity: .2;
  position: absolute;
  top: -1rem; left: -.3rem;
  font-family: 'Playfair Display', serif;
  line-height: 1;
}

.testi-author { display: flex; align-items: center; gap: .9rem; }
.testi-avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: .8rem;
  font-weight: 700;
  flex-shrink: 0;
}
.testi-name { font-weight: 600; font-size: .95rem; color: var(--text); }
.testi-role { font-size: .8rem; color: var(--text-muted); }

/* ═══════════════════════════════════════════
   COOKIES BANNER
═══════════════════════════════════════════ */
#cookie-banner {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 9999;
  background: #111;
  border-top: 1px solid rgba(245,124,0,.3);
  padding: 1.1rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
  box-shadow: 0 -4px 24px rgba(0,0,0,.3);
  animation: slideUpCookie .4s ease;
}
#cookie-banner.hidden { display: none; }
@keyframes slideUpCookie { from { transform: translateY(100%); } to { transform: translateY(0); } }
.cookie-text {
  font-size: .88rem;
  color: #bbb;
  flex: 1;
  min-width: 200px;
}
.cookie-text a { color: var(--primary); text-decoration: underline; }
.cookie-actions { display: flex; gap: .75rem; flex-shrink: 0; }
.cookie-btn {
  padding: .55rem 1.4rem;
  border-radius: 50px;
  font-size: .85rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: all .2s;
}
.cookie-accept { background: var(--primary); color: #fff; }
.cookie-accept:hover { background: var(--primary-dark); }
.cookie-reject { background: transparent; color: #888; border: 1px solid #333; }
.cookie-reject:hover { border-color: #666; color: #bbb; }

/* ═══════════════════════════════════════════
   CONTACT
═══════════════════════════════════════════ */
#contacto {
  background: var(--bg);
  display: flex;
  align-items: center;
  padding: 7rem 2rem;
}

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 4rem;
  align-items: start;
}

.contact-info-label {
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 1.5rem;
}

.contact-items { display: flex; flex-direction: column; gap: 1.1rem; margin-bottom: 1.75rem; }
.contact-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}
.ci-icon {
  width: 44px; height: 44px;
  border-radius: 10px;
  background: rgba(245,124,0,.13);
  border: 1px solid rgba(245,124,0,.2);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  color: var(--primary);
}
.ci-label {
  font-size: .68rem;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: .1em;
  font-weight: 700;
}
.ci-value {
  font-size: .97rem;
  color: var(--text);
  font-weight: 600;
  margin-top: .18rem;
  line-height: 1.4;
}

.contact-socials-label {
  font-size: .68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .14em;
  color: var(--text-faint);
  margin-bottom: .65rem;
}
.contact-socials { display: flex; gap: .6rem; flex-wrap: wrap; }
.social-btn {
  width: 38px; height: 38px;
  border-radius: 9px;
  border: 1.5px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  color: var(--text-muted);
  transition: all .25s;
}
.social-btn:hover { border-color: var(--primary); color: var(--primary); background: rgba(245,124,0,.08); }

/* Form */
.contact-form-wrap {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 2.25rem;
  box-shadow: var(--shadow-sm);
}
.form-title { font-size: 1.15rem; font-weight: 700; margin-bottom: 1.5rem; color: var(--text); }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-group { display: flex; flex-direction: column; gap: .4rem; margin-bottom: 1rem; }
.form-group label { font-size: .82rem; font-weight: 600; color: var(--text-muted); }

.form-group input,
.form-group select,
.form-group textarea {
  background: var(--bg-2);
  border: 1.5px solid var(--border);
  border-radius: 10px;
  padding: .72rem 1rem;
  font-family: 'Outfit', sans-serif;
  font-size: .92rem;
  color: var(--text);
  outline: none;
  transition: border-color .25s, box-shadow .25s;
  width: 100%;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(245,124,0,.15);
}
.form-group select option { background: var(--bg-2); }
.form-group textarea { resize: vertical; min-height: 110px; }

#form-submit {
  width: 100%;
  padding: .85rem;
  border-radius: 50px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff;
  font-size: 1rem;
  font-weight: 700;
  font-family: 'Outfit', sans-serif;
  box-shadow: 0 4px 18px rgba(245,124,0,.35);
  transition: all .3s;
  letter-spacing: .03em;
}
#form-submit:hover:not(:disabled) { transform: translateY(-2px); box-shadow: 0 8px 28px rgba(245,124,0,.55); }
#form-submit:disabled { opacity: .6; cursor: not-allowed; }

#form-msg {
  display: none;
  margin-top: 1rem;
  padding: .8rem 1rem;
  border-radius: 10px;
  font-size: .9rem;
  font-weight: 500;
}
#form-msg.success { background: rgba(76,175,80,.12); border: 1px solid rgba(76,175,80,.3); color: #4caf50; }
#form-msg.error   { background: rgba(244,67,54,.12); border: 1px solid rgba(244,67,54,.3); color: #f44336; }

/* ═══════════════════════════════════════════
   FOOTER
═══════════════════════════════════════════ */
#footer {
  background: var(--footer-bg);
  border-top: 1px solid var(--nav-border);
  padding: 4rem 2rem 2rem;
  scroll-snap-align: start;
  color: #e0e0e0;
}
#footer h4 { color: var(--primary) !important; }
#footer .footer-tagline { color: #9a9a9a; }
#footer .footer-nav a { color: #9a9a9a; }
#footer .footer-nav a:hover { color: var(--primary); }
#footer .footer-social-link { border-color: rgba(255,255,255,.12); color: #9a9a9a; }
#footer .footer-social-link:hover { border-color: var(--primary); color: var(--primary); }
#footer .footer-ci-text, #footer .footer-ci-text a { color: #9a9a9a; }
#footer .footer-ci-text a:hover { color: var(--primary); }
#footer .footer-bottom { color: #555; }

.footer-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid var(--border);
}

.footer-brand-name { margin-bottom: .6rem; }
.footer-tagline { font-size: .9rem; color: var(--text-muted); margin-bottom: 1.4rem; }

.footer-socials { display: flex; gap: .6rem; }
.footer-social-link {
  width: 36px; height: 36px;
  border-radius: 9px;
  border: 1.5px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  font-size: .85rem;
  color: var(--text-muted);
  transition: all .25s;
}
.footer-social-link:hover { border-color: var(--primary); color: var(--primary); background: rgba(245,124,0,.08); }

.footer-col h4 {
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 1.2rem;
}
.footer-nav { list-style: none; display: flex; flex-direction: column; gap: .65rem; }
.footer-nav a { font-size: .9rem; color: var(--text-muted); transition: color .2s; }
.footer-nav a:hover { color: var(--primary); }

.footer-contact-list { display: flex; flex-direction: column; gap: .8rem; }
.footer-ci { display: flex; gap: .65rem; align-items: flex-start; }
.footer-ci-text { font-size: .88rem; color: var(--text-muted); line-height: 1.4; }

.footer-bottom {
  max-width: 1200px;
  margin: 2rem auto 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: .82rem;
  color: var(--text-faint);
}

/* ═══════════════════════════════════════════
   BANNER POPUP
═══════════════════════════════════════════ */
#banner-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.7);
  z-index: 9990;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  backdrop-filter: blur(4px);
  animation: fadeIn .4s ease;
}
#banner-overlay.hidden { display: none; }

@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

.banner-box {
  position: relative;
  max-width: 560px;
  width: 100%;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0,0,0,.6);
  animation: slideUp .45s ease;
}
@keyframes slideUp { from { transform: translateY(30px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }

/* Carousel */
.banner-carousel {
  position: relative;
  overflow: hidden;
  border-radius: 20px 20px 0 0;
}
.banner-slides-track {
  display: flex;
  transition: transform .45s cubic-bezier(.4,0,.2,1);
}
.banner-slide { flex: 0 0 100%; }
.banner-img { width: 100%; height: auto; display: block; }

.banner-nav {
  position: absolute;
  top: 50%; transform: translateY(-50%);
  background: rgba(0,0,0,.45);
  color: #fff;
  border: none;
  width: 36px; height: 36px;
  border-radius: 50%;
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
  transition: background .2s;
  z-index: 2;
  display: flex; align-items: center; justify-content: center;
}
.banner-nav:hover { background: var(--primary); }
.banner-prev { left: .6rem; }
.banner-next { right: .6rem; }

.banner-dots {
  position: absolute;
  bottom: .6rem; left: 50%; transform: translateX(-50%);
  display: flex; gap: .4rem;
  z-index: 2;
}
.banner-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,.4);
  border: none; cursor: pointer;
  transition: background .2s, transform .2s;
}
.banner-dot.active { background: var(--primary); transform: scale(1.3); }

.banner-body { display: none; }

.banner-close-btn {
  position: absolute;
  top: .75rem; right: .75rem;
  width: 32px; height: 32px;
  border-radius: 50%;
  background: rgba(0,0,0,.5);
  color: #fff;
  font-size: 1rem;
  display: flex; align-items: center; justify-content: center;
  line-height: 1;
  transition: background .25s;
  z-index: 3;
}
.banner-close-btn:hover { background: rgba(245,124,0,.8); }

/* Botón Saltar flotante */
.banner-skip {
  position: absolute;
  bottom: 1rem;
  right: 1rem;
  background: rgba(0,0,0,.55);
  color: #fff;
  border: 1px solid rgba(255,255,255,.35);
  border-radius: 20px;
  padding: .4rem 1rem;
  font-size: .82rem;
  font-weight: 600;
  cursor: pointer;
  z-index: 3;
  transition: background .2s, border-color .2s;
  display: flex; align-items: center; gap: .35rem;
}
.banner-skip:hover { background: var(--primary); border-color: var(--primary); }
.banner-skip-count { color: rgba(255,255,255,.7); font-size: .75rem; }

/* ═══════════════════════════════════════════
   SCROLL ANIMATIONS
═══════════════════════════════════════════ */
.fade-in {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .65s ease, transform .65s ease;
}
.fade-in.visible { opacity: 1; transform: translateY(0); }
.fade-in-left  { opacity: 0; transform: translateX(-28px); transition: opacity .65s ease, transform .65s ease; }
.fade-in-left.visible  { opacity: 1; transform: translateX(0); }
.fade-in-right { opacity: 0; transform: translateX(28px);  transition: opacity .65s ease, transform .65s ease; }
.fade-in-right.visible { opacity: 1; transform: translateX(0); }

/* ═══════════════════════════════════════════
   RESPONSIVE
═══════════════════════════════════════════ */
@media (max-width: 900px) {
  .features-layout,
  .contact-layout {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  /* Force single-column flex on about section */
  .about-layout {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 2rem;
  }
  .about-text {
    order: 1 !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
  }
  .about-visual {
    order: 2 !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
  }

  /* Stats grid — full width, centered content */
  .about-stats {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    width: 100% !important;
    margin: 2rem 0 0 0 !important;
    padding: 0 !important;
    box-sizing: border-box !important;
  }
  .stat-item {
    width: 100% !important;
    box-sizing: border-box !important;
    text-align: center !important;
  }
  .stat-number,
  .stat-label {
    text-align: center !important;
  }

  /* Image full width on mobile */
  .about-visual-wrap { width: 100%; }
  .about-img-main    { width: 100%; height: 280px; }

  .footer-grid { grid-template-columns: 1fr 1fr; }
  .features-visual img { height: 300px; }
}

@media (max-width: 700px) {
  .nav-links { display: none; }
  #hamburger { display: flex; }
  .nav-actions .btn { display: none; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .form-row { grid-template-columns: 1fr; }
  .services-grid,
  .testimonials-grid { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  section { min-height: 100svh; }
  #navbar { padding: .8rem 1.2rem; }
  .nav-logo img { height: 32px; }
  .hero-btns { flex-direction: column; align-items: center; }
}
