/* =========================================================
   DE LA MENTE — hoja de estilos principal (VERSIÓN DEFINITIVA Y BLINDADA)
   ========================================================= */

:root{
  /* Paleta */
  --cream:        #F4F1E9;
  --cream-soft:    #FAF8F3;
  --white:        #FFFFFF;
  --ink:          #17211E;
  --ink-soft:     #4B5350;
  --muted:        #8A8F8B;
  --line:         #E4E0D5;

  --dark:         #0E211D;
  --dark-soft:    #16332C;

  --teal:         #1F6F5C;
  --purple:       #7A63E8;
  --orange:       #EFA23C;
  --pink:         #E4638C;
  --blue:         #3E86C4;

  --mint-card:    #DCEEE4;
  --mint-card-ink:#1F6F5C;
  --lav-card:     #E6E1F7;
  --lav-card-ink: #6952C6;
  --yellow-card:  #FAF0CF;
  --yellow-card-ink:#B8862B;

  --radius-lg: 22px;
  --radius-md: 14px;
  --radius-sm: 10px;

  --shadow-card: 0 10px 30px rgba(23,33,30,.06);
  --shadow-card-hover: 0 16px 40px rgba(23,33,30,.10);
}

*,*::before,*::after{ box-sizing:border-box; }

/* === BLINDAJE GLOBAL (SAMSUNG, FIREFOX, IPHONE) === */
html { 
  scroll-behavior: smooth; 
  color-scheme: light; 
  overflow-x: hidden;  
}
body {
  margin: 0;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden; 
  width: 100%;
  position: relative;
}
img { max-width: 100%; display: block; }

/* BLINDAJE PARA QUE NINGÚN ÍCONO EXPLOTE EN LA PANTALLA */
svg { 
  max-width: 100%; 
  height: auto; 
}

a { color: inherit; text-decoration: none; }
ul { list-style: none; margin: 0; padding: 0; }
button { font-family: inherit; cursor: pointer; }

.container { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 32px; }
h1,h2,h3,h4 { font-family: 'Poppins', 'Inter', sans-serif; margin: 0; line-height: 1.15; letter-spacing: -0.01em; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--teal); }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 48px; }
.section-head h2 { font-size: 34px; margin-top: 10px; }
.section-head p { color: var(--ink-soft); margin-top: 14px; font-size: 16px; }

/* =========================== BOTONES =========================== */
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 14px 26px; border-radius: 100px; font-weight: 600; font-size: 14.5px; border: 1px solid transparent; transition: all .25s cubic-bezier(0.4, 0, 0.2, 1); white-space: nowrap; }
.btn svg { width: 16px; height: 16px; flex-shrink: 0; }
.btn-dark { background: var(--ink); color: var(--white); }
.btn-dark:hover { background: #000; transform: translateY(-2px) scale(1.03); box-shadow: 0 10px 24px rgba(0,0,0,.18); }
.btn-outline { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-outline:hover { background: var(--ink); color: var(--white); transform: translateY(-2px) scale(1.03); box-shadow: 0 10px 24px rgba(0,0,0,.10); }
.btn-outline-light { background: transparent; color: var(--white); border-color: rgba(255,255,255,.55); }
.btn-outline-light:hover { background: var(--white); color: var(--ink); transform: translateY(-2px) scale(1.03); }
.btn-link { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; font-size: 14px; color: var(--ink); border-bottom: 1px solid var(--ink); padding-bottom: 2px; transition: all .25s ease; }
.btn-link svg { width: 14px; height: 14px; transition: transform .25s ease; }
.btn-link:hover { color: var(--teal); border-bottom-color: var(--teal); }
.btn-link:hover svg { transform: translateX(5px); }
.btn-sm { padding: 10px 18px; font-size: 13px; }

/* =========================== HEADER =========================== */
.site-header { 
  position: sticky; top: 0; z-index: 100; 
  background: var(--cream); 
  background: rgba(244,241,233,.92); 
  backdrop-filter: blur(10px); 
  border-bottom: 1px solid var(--line); 
}
.header-inner { display: flex; align-items: center; justify-content: space-between; padding: 18px 32px; }
.logo { display: flex; align-items: center; gap: 10px; }
.logo-mark { width: 36px; height: 36px; flex-shrink: 0; }
.logo-text { font-family: 'Poppins',sans-serif; font-weight: 700; font-size: 14px; line-height: 1.15; letter-spacing: .02em; }
.logo-text span { display: block; font-size: 16px; }

.main-nav { display: flex; align-items: center; gap: 32px; }
.main-nav a { font-size: 14.5px; font-weight: 500; color: var(--ink); position: relative; padding-bottom: 4px; transition: color 0.3s ease; }
.main-nav a::after { content: ""; position: absolute; left: 0; bottom: -2px; width: 100%; height: 2px; background: var(--teal); border-radius: 2px; transform: scaleX(0); transform-origin: right; transition: transform 0.3s ease; }
.main-nav a:hover { color: var(--teal); }
.main-nav a:hover::after { transform: scaleX(1); transform-origin: left; }

.header-actions { display: flex; align-items: center; gap: 22px; }
.shop-mini { display: flex; align-items: center; gap: 8px; font-size: 12.5px; color: var(--ink-soft); }
.shop-mini strong { display: block; font-size: 13px; color: var(--ink); font-weight: 600; }
.shop-mini svg { width: 20px; height: 20px; }
.nav-toggle { display: none; background: none; border: none; }

/* =========================== HERO =========================== */
.hero { padding: 64px 0 0px; }
.hero-grid { display: grid; grid-template-columns: 1fr 1.3fr; align-items: center; gap: 20px; }
.hero-eyebrow { font-size: 12px; letter-spacing: .16em; color: var(--muted); text-transform: uppercase; margin-bottom: 18px; display: block; }
.hero-title { font-size: 84px; font-weight: 800; line-height: 0.9; color: var(--ink); }
.hero-title .font-light { display: block; font-size: 46px; font-weight: 400; line-height: 1; margin-bottom: -10px; }
.hero-tag { display: block; margin-top: 18px; font-size: 13px; font-weight: 600; letter-spacing: .22em; color: var(--ink-soft); }
.hero-copy { margin-top: 22px; font-size: 16.5px; line-height: 1.6; color: var(--ink-soft); max-width: 420px; }
.hero-actions { display: flex; gap: 14px; margin-top: 30px; flex-wrap: wrap; }
.hero-social { margin-top: 56px; }
.hero-social span { font-size: 13px; color: var(--muted); display: block; margin-bottom: 12px; }
.social-row { display: flex; gap: 12px; }
.social-row a { width: 42px; height: 42px; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: var(--white); border: 1.5px solid var(--ink); color: var(--ink); transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1); }
.social-row a:hover { background: var(--ink); color: var(--white); transform: translateY(-4px) scale(1.1); box-shadow: 0 8px 16px rgba(0,0,0,0.15); }
.social-row svg { width: 18px; height: 18px; }

.hero-art { position: relative; width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; }
.hero-img-free { position: relative; z-index: 2; width: 110%; max-width: 800px; height: auto; display: block; margin: 0 auto; pointer-events: none; }
.hero-nodes-bg { position: absolute; inset: -80%; z-index: 1; pointer-events: none; background-image: radial-gradient(circle at 50% 50%, rgba(239, 162, 60, 0.15) 0%, transparent 50%), url("data:image/svg+xml,%3Csvg width='800' height='800' viewBox='0 0 800 800' xmlns='http://www.w3.org/2000/svg'%3E%3Cg stroke='%23EFA23C' stroke-width='1.5' stroke-opacity='0.4' fill='none'%3E%3Cpath d='M100 200l200 150l150-100l200 250M300 350l50 200l250-100'/%3E%3Ccircle cx='100' cy='200' r='5' fill='%23EFA23C'/%3E%3Ccircle cx='300' cy='350' r='8' fill='%23EFA23C'/%3E%3Ccircle cx='450' cy='250' r='6' fill='%23EFA23C'/%3E%3Ccircle cx='650' cy='500' r='9' fill='%23EFA23C'/%3E%3Ccircle cx='350' cy='550' r='5' fill='%23EFA23C'/%3E%3Ccircle cx='600' cy='450' r='4' fill='%23EFA23C'/%3E%3Ccircle cx='50' cy='400' r='3' fill='%23EFA23C'/%3E%3Cpath d='M50 400l250-50' stroke-dasharray='4 4'/%3E%3C/g%3E%3C/svg%3E"); background-size: 80% 80%; background-position: center; background-repeat: no-repeat; }

/* =========================== ECOSISTEMA =========================== */
.ecosystem { padding: 70px 0 90px; }
.ecosystem .container { max-width: 1380px; }
.ecosystem-grid { display: grid; grid-template-columns: 0.9fr 3fr; gap: 24px; align-items: start; }
.ecosystem-intro h2 { font-size: 30px; margin-top: 12px; }
.ecosystem-intro p { margin-top: 16px; color: var(--ink-soft); font-size: 15.5px; line-height: 1.6; max-width: 340px; }
.ecosystem-intro .btn-link { margin-top: 22px; }

.card-row { display: grid; grid-template-columns: repeat(5,1fr); gap: 18px; }
.eco-card { background: var(--white); border: 1px solid transparent; border-radius: var(--radius-lg); padding: 32px 18px; box-shadow: 0 10px 40px rgba(23,33,30, 0.04); transition: box-shadow .2s ease, transform .2s ease; display: flex; flex-direction: column; align-items: center; text-align: center; }
.eco-card:hover { box-shadow: 0 16px 50px rgba(23,33,30, 0.08); transform: translateY(-6px) scale(1.02); }
.eco-card:hover .btn-link { color: var(--teal); border-bottom-color: var(--teal); }
.eco-card:hover .btn-link svg { transform: translateX(5px); }
.eco-icon { width: 64px; height: 64px; margin-bottom: 24px; display: block; }
.eco-icon--teal { color: var(--teal); }
.eco-icon--purple { color: var(--purple); }
.eco-icon--orange { color: var(--orange); }
.eco-icon--pink { color: var(--pink); }
.eco-icon--blue { color: var(--blue); }
.icon-badge { width: 58px; height: 58px; border-radius: 16px; display: flex; align-items: center; justify-content: center; margin-bottom: 18px; }
.icon-badge svg { width: 32px; height: 32px; display: block; margin: auto; }
.eco-card h3 { font-size: 16px; margin-bottom: 8px; }
.eco-card p { font-size: 13.5px; color: var(--ink-soft); line-height: 1.55; margin-bottom: 24px; min-height: 60px; }
.eco-card .btn-link { font-size: 13px; margin-top: auto; }

/* =========================== SERVICIOS (INDEX) =========================== */
.services { padding: 45px 0 55px; background: var(--white); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.service-icons { display: grid; grid-template-columns: repeat(7,1fr); gap: 10px; max-width: 1000px; margin: 0 auto 32px; }
.service-item { text-align: center; padding: 18px 8px; border-radius: var(--radius-md); transition: background .18s ease; }
.service-item:hover { background: var(--cream); }
.service-icon-circle { width: 56px; height: 56px; margin: 0 auto 14px; border-radius: 50%; background: var(--cream); display: flex; align-items: center; justify-content: center; border: 1px solid var(--line); }
.service-icon-circle svg { width: 24px; height: 24px; color: var(--ink); }
.service-item h4 { font-size: 13.5px; font-weight: 600; line-height: 1.35; }
.services .btn-row { text-align: center; }

/* =========================== ENFOQUE =========================== */
.approach { background: var(--dark); color: var(--white); padding: 74px 0; }
.approach .eyebrow { color: #8FD4BE; justify-content: center; width: 100%; }
.approach .section-head { max-width: 720px; }
.approach .section-head h2 { color: var(--white); }
.approach-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 0; margin-top: 36px; }
.approach-col { display: flex; align-items: flex-start; gap: 16px; padding: 0 32px; border-left: 1px solid rgba(255,255,255,.16); }
.approach-col:first-child { border-left: none; padding-left: 0; }
.approach-col:last-child { padding-right: 0; }
.approach-icon { width: 56px; height: 56px; flex-shrink: 0; margin-top: 0px; }
.approach-col h3 { font-size: 13px; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 8px; color: #EDEBE2; }
.approach-col p { font-size: 13.5px; line-height: 1.6; color: #B7C2BE; }

/* =========================== QUIENES SOMOS (INDEX) =========================== */
.about { padding: 90px 0; }
.about-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 56px; align-items: center; }
.about-copy .eyebrow { margin-bottom: 16px; }
.about-copy h2 { font-size: 32px; }
.about-copy p { margin-top: 18px; color: var(--ink-soft); font-size: 15.5px; line-height: 1.65; max-width: 400px; }
.about-copy .btn { margin-top: 26px; }
.video-frame { position: relative; border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 16/10.5; background: linear-gradient(150deg,#2a2320,#141313 60%); }
.video-frame img.fill, .video-frame .fill-gradient { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.fill-gradient { background: radial-gradient(circle at 75% 15%, rgba(239,162,60,.5), transparent 40%), linear-gradient(150deg,#3a2e28,#17140f 70%); }
.play-btn { position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); width: 64px; height: 64px; border-radius: 50%; background: rgba(255,255,255,.92); display: flex; align-items: center; justify-content: center; box-shadow: 0 8px 24px rgba(0,0,0,.25); transition: transform .2s ease; }
.video-frame:hover .play-btn { transform: translate(-50%,-50%) scale(1.08); }
.play-btn svg { width: 22px; height: 22px; margin-left: 3px; color: var(--ink); }

/* =========================== AYUDARTE HOY =========================== */
.help { padding: 20px 0 90px; }
.help-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 22px; }
.help-card { border-radius: var(--radius-lg); padding: 30px 26px; display: flex; flex-direction: column; align-items: center; text-align: center; transition: transform .25s ease, box-shadow .25s ease; }
.help-card .icon-badge { background: rgba(255,255,255,.6); margin: 0 auto 18px auto; }
.help-card h3 { font-size: 18px; margin-bottom: 10px; }
.help-card p { font-size: 14px; line-height: 1.55; margin-bottom: 22px; }
.help-mint { background: var(--mint-card); color: #0F3A2C; }
.help-mint p { color: #2E5847; }
.help-mint .icon-badge svg { color: var(--mint-card-ink); }
.help-lav { background: var(--lav-card); color: #2C2352; }
.help-lav p { color: #4B4173; }
.help-lav .icon-badge svg { color: var(--lav-card-ink); }
.help-yellow { background: var(--yellow-card); color: #4A3A12; }
.help-yellow p { color: #6B5A2D; }
.help-yellow .icon-badge svg { color: var(--yellow-card-ink); }
.help-card:hover { transform: translateY(-4px) scale(1.02); box-shadow: 0 16px 40px rgba(0,0,0,.08); }
.help-card .btn { background: var(--ink); color: var(--white); }
.help-card .btn:hover { background: #000; transform: translateY(-2px) scale(1.03); box-shadow: 0 10px 24px rgba(0,0,0,.18); }

/* =========================== CONTENIDO =========================== */
.content { padding: 20px 0 100px; }
.content-grid { display: grid; grid-template-columns: 1fr 1fr 1fr 1fr 1.35fr; gap: 18px; align-items: start; }
.content-card { position: relative; width: 100%; min-width: 0; border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 3/4; background: var(--ink); transition: box-shadow .2s ease, transform .2s ease; }
.content-card:hover { box-shadow: var(--shadow-card-hover); transform: translateY(-4px); }
.content-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.content-overlay { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: space-between; padding: 14px; background: linear-gradient(180deg, rgba(0,0,0,.05) 0%, rgba(0,0,0,0) 32%, rgba(0,0,0,.35) 68%, rgba(0,0,0,.78) 100%); }
.content-badge { width: 30px; height: 30px; border-radius: 9px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.content-badge svg { width: 16px; height: 16px; color: #fff; }
.content-badge--youtube { background: #FF3B30; }
.content-badge--instagram { background: linear-gradient(45deg,#F6A835,#E1306C 45%,#8134AF); }
.content-caption h4 { color: #fff; font-size: 14px; font-weight: 600; line-height: 1.35; margin-bottom: 7px; }
.content-caption .tag { font-size: 11px; text-transform: uppercase; letter-spacing: .08em; color: rgba(255,255,255,.78); font-weight: 600; }

.newsletter-card { background: var(--ink); color: var(--white); border-radius: var(--radius-lg); padding: 28px 26px; display: flex; flex-direction: column; justify-content: center; }
.newsletter-card h3 { font-size: 17px; margin-bottom: 10px; }
.newsletter-card p { font-size: 13px; color: #C7CBC8; margin-bottom: 20px; line-height: 1.5; }
.newsletter-form { display: flex; flex-direction: column; gap: 10px; }
.newsletter-form input { padding: 12px 14px; border-radius: 100px; border: 1px solid rgba(255,255,255,.25); background: rgba(255,255,255,.08); color: #fff; font-size: 13.5px; outline: none; }
.newsletter-form button { padding: 12px 14px; border-radius: 100px; background: var(--white); color: var(--ink); border: none; font-weight: 600; font-size: 13.5px; }

/* =========================== FOOTER =========================== */
.site-footer { background: var(--dark); color: #C9D0CC; padding: 70px 0 26px; }
.footer-top { display: grid; grid-template-columns: 1.3fr 0.9fr 0.9fr 0.9fr 0.9fr; gap: 32px; padding-bottom: 36px; border-bottom: 1px solid rgba(255,255,255,.12); }
.footer-brand .logo-text { color: #fff; }
.footer-brand p { margin-top: 16px; font-size: 14px; line-height: 1.6; max-width: 260px; color: #9CA6A1; }
.footer-social { display: flex; gap: 10px; margin-top: 20px; }
.footer-social a { width: 34px; height: 34px; border-radius: 50%; background: rgba(255,255,255,.08); display: flex; align-items: center; justify-content: center; }
.footer-social svg { width: 15px; height: 15px; }
.footer-col h5 { color: #fff; font-size: 13px; letter-spacing: .06em; text-transform: uppercase; margin-bottom: 18px; }
.footer-col ul li { margin-bottom: 11px; font-size: 14px; }
.footer-contact li { display: flex; align-items: center; gap: 10px; }
.footer-contact svg { width: 16px; height: 16px; flex-shrink: 0; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; padding-top: 22px; font-size: 12.5px; color: #8B958F; }
.footer-bottom .legal-links { display: flex; gap: 22px; }

.shop-bar { position: sticky; bottom: 0; z-index: 90; background: var(--dark-soft); color: #fff; border-top: 1px solid rgba(255,255,255,.08); }
.shop-bar-inner { display: flex; align-items: center; justify-content: space-between; padding: 16px 32px; gap: 20px; }
.shop-bar-text { display: flex; align-items: center; gap: 14px; }
.shop-bar-text svg { width: 26px; height: 26px; color: #EFA23C; flex-shrink: 0; }
.shop-bar-text strong { display: block; font-size: 14.5px; }
.shop-bar-text span { font-size: 12.5px; color: #AAB5B0; }

/* =========================== FORMULARIOS & LIBRO RECLAMACIONES =========================== */
.page-header { background-color: var(--dark); background-image: linear-gradient(rgba(14, 33, 29, 0.75), rgba(14, 33, 29, 0.85)), url('/assets/img/libro-reclamos-banner.png'); background-size: cover; background-position: center; color: var(--white) !important; padding: 85px 20px; text-align: center; }
.page-header h1 { font-size: 36px; margin-bottom: 12px; color: var(--white); }
.page-header p { color: #AAB5B0; font-size: 15px; max-width: 600px; margin: 0 auto; line-height: 1.5; }

.form-section { padding: 60px 20px; background: var(--cream); }
.form-card { background: var(--white); border-radius: var(--radius-lg); padding: 40px; box-shadow: 0 10px 40px rgba(23,33,30, 0.04); margin-bottom: 24px; }
.form-card-title { font-size: 18px; color: var(--teal); border-bottom: 1px solid var(--line); padding-bottom: 14px; margin-bottom: 24px; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 10px; }
.form-card-title span { color: var(--ink-soft); font-size: 14px; font-weight: 500; }

.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-group { display: flex; flex-direction: column; gap: 8px; width: 100%; }
.form-group.full { grid-column: 1 / -1; }
.form-group label { font-size: 13.5px; font-weight: 600; color: var(--ink); display: block; }
.form-group label span { color: var(--pink); font-weight: 400; font-size: 12px; margin-left: 4px; display: inline-block; }
.form-control { width: 100%; box-sizing: border-box; padding: 14px 16px; border-radius: var(--radius-sm); border: 1px solid var(--line); background: var(--cream-soft); color: var(--ink); font-size: 14.5px; font-family: inherit; transition: border-color 0.2s ease, background 0.2s ease; }
.form-control:focus { outline: none; border-color: var(--teal); background: var(--white); }
textarea.form-control { resize: vertical; min-height: 120px; }
.form-text { font-size: 12px; color: var(--muted); margin-top: 4px; line-height: 1.4; }

.file-upload-wrapper { position: relative; display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.file-upload-wrapper input[type="file"] { display: none; }
.btn-file { padding: 12px 20px; background: var(--lav-card); color: var(--lav-card-ink); border-radius: 100px; font-size: 13px; font-weight: 600; cursor: pointer; transition: transform 0.2s; text-align: center; }
.btn-file:hover { transform: translateY(-2px); }
.file-name { font-size: 13.5px; color: var(--ink-soft); word-break: break-all; }

/* =========================== MODAL FLOTANTE DE ÉXITO =========================== */
.success-modal {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.9);
  background: rgba(14, 33, 29, 0.85); /* El color corporativo oscuro translúcido */
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 30px 40px;
  border-radius: var(--radius-lg);
  box-shadow: 0 25px 50px rgba(0,0,0,0.25);
  z-index: 9999;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  width: 90%;
  max-width: 360px;
  
  /* Animación de entrada/salida */
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Esta clase se la pondremos con JavaScript para que aparezca */
.success-modal.show {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, -50%) scale(1);
}

.success-modal-icon {
  width: 54px;
  height: 54px;
  background: var(--teal);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.success-modal-icon svg {
  width: 28px;
  height: 28px;
  color: var(--white);
}

.success-modal h4 {
  font-size: 20px;
  margin: 0;
  color: var(--white);
}
.success-modal p {
  font-size: 14.5px;
  margin: 0;
  color: #AAB5B0;
  line-height: 1.5;
}

/* =========================== PÁGINA DE SERVICIOS =========================== */
.services-list { display: flex; flex-direction: column; gap: 32px; max-width: 900px; margin: 0 auto; }
.service-detail-card { display: flex; gap: 32px; background: var(--white); border-radius: var(--radius-lg); padding: 40px; box-shadow: 0 10px 40px rgba(23,33,30, 0.04); align-items: center; transition: transform 0.3s ease; }
.service-detail-card:hover { transform: translateY(-4px); }
.service-detail-icon { width: 90px; height: 90px; flex-shrink: 0; background: var(--cream); border-radius: 50%; display: flex; align-items: center; justify-content: center; }
.service-detail-icon svg { width: 44px !important; height: 44px !important; flex-shrink: 0 !important; display: block; color: var(--teal); }
.service-detail-content { flex: 1; }
.service-detail-content h3 { font-size: 24px; color: var(--ink); margin-bottom: 12px; }
.service-detail-content p { font-size: 15px; color: var(--ink-soft); line-height: 1.6; margin-bottom: 20px; }
.service-tags { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 20px; }
.service-tag { background: var(--cream-soft); color: var(--teal); font-size: 12.5px; font-weight: 600; padding: 6px 14px; border-radius: 100px; border: 1px solid var(--line); }
.cta-banner { background: linear-gradient(rgba(14, 33, 29, 0.85), rgba(14, 33, 29, 0.92)), url('/assets/img/fantasma.png'); background-size: cover; background-position: center; color: var(--white); border-radius: var(--radius-lg); padding: 50px 40px; text-align: center; margin-top: 60px; }

/* =========================== PÁGINA SOBRE NOSOTROS =========================== */
.about-story { padding: 80px 0; background: var(--white); }
.story-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; max-width: 1000px; margin: 0 auto; }
.story-text h2 { font-size: 32px; color: var(--ink); margin-bottom: 20px; }
.story-text p { font-size: 16px; color: var(--ink-soft); line-height: 1.7; margin-bottom: 16px; }
.story-image img { width: 100%; border-radius: var(--radius-lg); box-shadow: 0 20px 40px rgba(23,33,30, 0.08); }
.team-section { padding: 80px 0; background: var(--cream); text-align: center; }
.team-section h2 { font-size: 32px; color: var(--ink); margin-bottom: 16px; }
.team-section > p { font-size: 16px; color: var(--ink-soft); max-width: 600px; margin: 0 auto 50px; line-height: 1.6; }
.team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; max-width: 1100px; margin: 0 auto; }
.team-card { background: var(--white); border-radius: var(--radius-lg); padding: 40px 24px; box-shadow: 0 10px 40px rgba(23,33,30, 0.04); transition: transform 0.3s ease; }
.team-card:hover { transform: translateY(-6px); }
.team-photo { width: 120px; height: 120px; border-radius: 50%; object-fit: cover; margin: 0 auto 20px; border: 4px solid var(--cream-soft); transform: translateZ(0); }
.team-name { font-size: 20px; color: var(--ink); margin-bottom: 4px; }
.team-role { font-size: 13.5px; font-weight: 600; color: var(--teal); margin-bottom: 16px; display: inline-block; padding: 4px 12px; background: var(--lav-card); border-radius: 100px;}
.team-desc { font-size: 14.5px; color: var(--ink-soft); line-height: 1.6; }

/* =========================== PÁGINA DE CONTACTO =========================== */
.contact-grid { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 40px; align-items: start; max-width: 1100px; margin: 0 auto; }
.contact-info-card { background: var(--white); border-radius: var(--radius-lg); padding: 40px; box-shadow: 0 10px 40px rgba(23,33,30, 0.04); margin-bottom: 24px; }
.contact-info-card h3 { font-size: 22px; margin-bottom: 24px; color: var(--ink); }
.contact-list { display: flex; flex-direction: column; gap: 24px; margin-bottom: 32px; }
.contact-item { display: flex; align-items: flex-start; gap: 16px; }
.contact-item-icon { width: 44px; height: 44px; background: var(--cream); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: var(--teal); flex-shrink: 0; }
.contact-item-icon svg { width: 24px !important; height: 24px !important; flex-shrink: 0 !important; display: block !important; }
.contact-item-text h4 { font-size: 13px; color: var(--ink-soft); margin-bottom: 4px; font-weight: 500; text-transform: uppercase; letter-spacing: 0.05em; }
.contact-item-text p { font-size: 15px; color: var(--ink); font-weight: 600; margin: 0; }
.contact-social .eyebrow { margin-bottom: 16px; font-size: 11px; }
.map-container { border-radius: var(--radius-lg); overflow: hidden; box-shadow: 0 10px 40px rgba(23,33,30, 0.04); height: 350px; background: var(--white); padding: 10px; }
.map-container iframe { width: 100%; height: 100%; border-radius: var(--radius-md); border: none; }

/* =========================================================================
   RESPONSIVE: ADAPTACIONES PARA TABLET Y MÓVIL (ÚNICOS BLOQUES @MEDIA)
   ========================================================================= */

@media (max-width: 1080px){
  .card-row{ grid-template-columns:repeat(3,1fr); }
  .service-icons{ grid-template-columns:repeat(4,1fr); }
  .content-grid{ grid-template-columns:repeat(2,1fr); }
  .ecosystem-grid, .about-grid{ grid-template-columns:1fr; }
  .approach-grid, .help-grid{ grid-template-columns:1fr; }
  .footer-top{ grid-template-columns:1fr 1fr; }
}

@media (max-width: 760px){
  /* === 0. UTILIDADES GLOBALES === */
  .hide-mobile { display: none !important; }

  /* === 1. HEADER === */
  .main-nav, .shop-mini { display: none !important; }
  .header-actions { display: flex !important; gap: 12px; } 
  .nav-toggle { display: block; }
  .header-inner { padding: 12px 20px; }
  
  /* === REDUCCIÓN DRÁSTICA DE ESPACIOS (INDEX) === */
  .hero { padding-top: 15px; } 
  .ecosystem { padding: 35px 0; }
  .services { padding: 35px 0 40px; }
  .approach { padding: 40px 0; }
  .about { padding: 40px 0; }
  .help { padding: 20px 0 40px; }
  .content { padding: 20px 0 40px; }
  .site-footer { padding: 40px 0 20px; }
  .section-head { margin-bottom: 22px; } 

  /* === 2. HERO Y CHICA (BLINDADO FINAL) === */
  .hero-grid{ grid-template-columns:1fr; gap: 16px; }
  .hero-eyebrow { margin-bottom: 8px; font-size: 10px; } 
  .hero-title{ font-size:40px; }
  .hero-title .font-light{ font-size: 24px; margin-bottom: 0px; } 
  .hero-copy { margin-top: 12px; font-size: 14.5px; } 
  .hero-actions { margin-top: 18px; gap: 10px; } 
  
  .hero-art { 
    position: relative !important; 
    width: 100% !important;
    min-height: 320px !important; 
    display: flex !important; 
    justify-content: center !important; 
    align-items: center !important;
    margin-top: 30px !important;
    overflow: hidden !important; 
  }
  
  .hero-img-free { 
    position: relative !important; 
    width: 100% !important; 
    max-width: 320px !important; 
    height: auto !important;
    margin: 0 auto !important; 
    top: auto !important; 
    bottom: auto !important;
    left: auto !important;
    right: auto !important; 
    transform: none !important; 
    display: block !important; 
    z-index: 2 !important;
  }

  .hero-nodes-bg { 
    inset: -10% !important; 
    width: 120% !important;
    height: 120% !important;
    background-size: contain; 
    background-position: center; 
    margin: 0 auto;
    z-index: 1 !important;
  }

  /* === 3. ECOSISTEMA === */
  .card-row{ grid-template-columns:1fr 1fr; gap: 10px; }
  .card-row .eco-card:nth-child(5) { display: none !important; }
  .eco-card { padding: 14px 8px; }
  .eco-card p { display: none; } 
  .eco-card h3 { font-size: 12.5px; min-height: 38px; margin-bottom: 6px; }
  .icon-badge { width: 38px; height: 38px; margin-bottom: 10px; }
  .icon-badge svg { width: 20px; height: 20px; }
  
  /* === 4. SERVICIOS (INDEX) === */
  .service-icons{ grid-template-columns:repeat(2,1fr); gap: 12px; margin-bottom: 20px;}
  .service-icons .service-item:nth-child(2),
  .service-icons .service-item:nth-child(3),
  .service-icons .service-item:nth-child(6) { display: none !important; }
  
  /* === 5. NUESTRO ENFOQUE === */
  .approach-grid { grid-template-columns:1fr; gap: 26px; }
  .approach-col { padding: 0 !important; border-left: none !important; }
  
  /* === 6. AYUDARTE HOY === */
  .help-grid { gap: 12px; }
  .help-card { padding: 20px 16px; } 
  .help-card h3 { font-size: 15px; margin-bottom: 6px; }
  .help-card p { font-size: 13px; margin-bottom: 14px; }
  .help-card .icon-badge { margin-bottom: 12px; width: 40px; height: 40px; }
  .help-card .icon-badge svg { width: 24px !important; height: 24px !important; }
  .help-card .btn { font-size: 13px; padding: 10px 16px; }

  /* === 7. CONTENIDO / APRENDE === */
  .content-grid{ grid-template-columns:1fr; gap: 12px; }
  .content-card { height: 110px; aspect-ratio: auto; } 
  .content-caption h4 { font-size: 13px; margin-bottom: 4px; }
  .content-badge { width: 24px; height: 24px; border-radius: 6px; }
  .content-badge svg { width: 12px; height: 12px; }
  .newsletter-card { padding: 20px 16px; }
  
  /* === 8. FOOTER === */
  .footer-top{ grid-template-columns:1fr; gap: 20px; padding-bottom: 20px; }
  .footer-col { display: none; }
  .footer-col:nth-last-of-type(2), 
  .footer-col:nth-last-of-type(1) { display: block; }
  .footer-bottom{ flex-direction:column; gap:10px; align-items:flex-start; padding-top: 14px;}
  
  /* === 9. TIENDA POP-UP === */
  .shop-bar-inner { flex-direction: row; align-items: center; padding: 10px 16px; gap: 8px; }
  .shop-bar-text { gap: 10px; }
  .shop-bar-text svg { width: 18px; height: 18px; }
  .shop-bar-text strong { font-size: 13px; margin: 0; }
  .shop-bar-text span { display: none; } 
  .shop-bar-text + a { padding: 8px 14px; font-size: 12px; }

  /* === 10. FORMULARIOS & LIBRO RECLAMACIONES === */
  .page-header { padding: 50px 20px; }
  .page-header h1 { font-size: 28px; }
  .form-section { padding: 30px 16px; }
  .form-card { padding: 24px 16px; }
  .form-grid { grid-template-columns: 1fr; gap: 16px; }
  .form-group.full { grid-column: 1; }
  .form-card-title { font-size: 16px; flex-direction: column; align-items: flex-start; }
  .form-card-title span { font-size: 13.5px; color: var(--orange); }
  .file-upload-wrapper { flex-direction: column; align-items: stretch; }

  /* === 11. PÁGINA DE SERVICIOS === */
  .service-detail-card { flex-direction: column; gap: 20px; padding: 30px 20px; text-align: center; }
  .service-detail-icon { margin: 0 auto; width: 70px; height: 70px; }
  .service-detail-icon svg { width: 34px !important; height: 34px !important; }
  .service-tags { justify-content: center; }
  .cta-banner { padding: 40px 20px; margin-top: 40px; }
  .cta-banner h2 { font-size: 24px; line-height: 1.3; }

  /* === 12. PÁGINA SOBRE NOSOTROS === */
  .about-story { padding: 40px 20px; }
  .story-grid { grid-template-columns: 1fr; gap: 30px; text-align: center; }
  .story-text h2 { font-size: 28px; line-height: 1.3; }
  .team-section { padding: 40px 20px; }
  .team-grid { grid-template-columns: 1fr; gap: 20px; }
  .team-card { padding: 30px 20px; }

  /* === 13. PÁGINA DE CONTACTO === */
  .contact-grid { grid-template-columns: 1fr; gap: 24px; }
  .contact-info-card { padding: 30px 20px; }
  .map-container { height: 250px; }
}