/* =========================================================
   GRUPO MEGASUR - estilos de la página de inicio
   Requiere Bootstrap 5.3 + Bootstrap Icons.
   Sustituye las imágenes URL por tus fotografías definitivas.
   ========================================================= */

:root {
  --mega-green: #087c48;
  --mega-green-dark: #00683d;
  --mega-yellow: #ffd21c;
  --ink: #172331;
  --muted: #59616b;
  --soft-bg: #f3f6f8;
  --sidebar-width: 254px;
  --card-radius: 11px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%; }
body {
  margin: 0;
  color: var(--ink);
  background: #fff;
  font-family: 'Inter', Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  font-size: 16px;
  line-height: 1.5;
}
a { color: inherit; }
.site-shell { min-height: 100vh; }

/* Marca */
.brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  text-decoration: none;
  color: #111;
  line-height: 1;
}
.brand-mark {
  display: inline-flex;
  align-items: flex-end;
  gap: 3px;
  height: 33px;
  width: 39px;
  transform: skew(-14deg);
}
.brand-mark i { display: block; width: 10px; height: 29px; background: #07834a; }
.brand-mark i:nth-child(2) { height: 33px; background: #f1c400; }
.brand-mark i:nth-child(3) { height: 25px; background: #07834a; }
.brand-copy { display: flex; flex-direction: column; gap: 1px; letter-spacing: -.45px; }
.brand-copy small { font-size: 10px; font-weight: 900; letter-spacing: .35px; }
.brand-copy strong { font-size: 22px; line-height: .96; font-weight: 950; letter-spacing: -1px; }

/* Sidebar escritorio */
.sidebar {
  position: fixed;
  z-index: 20;
  inset: 0 auto 0 0;
  width: var(--sidebar-width);
  padding: 31px 17px 22px 24px;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  background: #fff;
  border-right: 1px solid #e9edf0;
}
.sidebar > .brand { margin: 6px 0 28px 14px; }
.sidebar-nav { display: flex; flex-direction: column; gap: 2px; }
.sidebar-nav .nav-link {
  min-height: 39px;
  padding: 10px 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-radius: 8px;
  color: #17191d;
  font-size: 13px;
  font-weight: 550;
  text-decoration: none;
  transition: background .2s ease, color .2s ease;
}
.sidebar-nav .nav-link:hover,
.sidebar-nav .nav-link.active { background: #f0f2f3; color: #101820; }
.sidebar-nav .has-arrow i { color: #8c9298; font-size: 10px; }
.sidebar-actions { display: grid; gap: 9px; margin: 17px 0 20px; }
.quick-link {
  min-height: 39px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 3px 12px 3px 0;
  border-radius: 30px;
  background: var(--mega-green);
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  text-decoration: none;
  letter-spacing: .05px;
  transition: background .2s ease, transform .2s ease;
}
.quick-link:hover { color: #fff; background: var(--mega-green-dark); transform: translateX(2px); }
.quick-link > span {
  width: 39px; height: 39px; flex: 0 0 39px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: #75b99a;
  color: #fff;
  font-size: 19px;
}
.sidebar-contact { margin: 0 0 14px 7px; }
.sidebar-contact p {
  display: flex; gap: 9px; align-items: flex-start;
  margin: 0 0 8px; color: #333a40; font-size: 11.5px; line-height: 1.4;
}
.sidebar-contact p i { color: #171e25; font-size: 13px; }
.privacy-link { margin: 10px 0 25px 13px; color: #30363c; font-size: 11.5px; text-decoration: none; }
.privacy-link:hover { text-decoration: underline; }
.side-partner { margin: 0 0 27px 13px; color: #112c5a; font-size: 30px; font-weight: 800; letter-spacing: -2px; line-height: .8; }
.side-partner span { display: block; margin-left: 2px; font-size: 6px; letter-spacing: 2px; font-weight: 700; }
.copyright { margin: auto 0 0 13px; color: #353b40; font-size: 10.5px; line-height: 1.45; }

/* Header móvil/tableta */
.mobile-header { display: none; }
.mobile-offcanvas { max-width: min(330px, 88vw); }
.mobile-offcanvas .offcanvas-header { padding: 22px 20px; border-bottom: 1px solid #edf0f2; }
.mobile-offcanvas .offcanvas-body { padding: 12px 20px 24px; }
.mobile-nav { display: grid; gap: 2px; }
.mobile-nav a { padding: 11px 12px; border-radius: 8px; color: #17202a; font-size: 14px; text-decoration: none; }
.mobile-nav a:hover, .mobile-nav a.active { background: #f0f2f3; }
.mobile-actions { margin-top: 18px; }
.mobile-contact { padding: 12px 3px 0; border-top: 1px solid #edf0f2; }
.mobile-contact p { display: flex; gap: 8px; font-size: 12px; color: #454d54; }
.mobile-contact i { color: var(--mega-green); }

/* Contenido principal */
.main-content { margin-left: var(--sidebar-width); padding: 25px 12px 24px; }
.content-wrap { width: 100%; max-width: 1600px; margin: 0 auto; }

/* ========================================= */
/* MENU DESPLEGABLE: ESTACIONES DE SERVICIO  */
/* ========================================= */

/* Flecha del menú principal */
.has-arrow i {
    float: right;
    font-size: 11px;
    margin-top: 5px;
    transition: transform 0.3s ease;
}

/* Girar flecha cuando el menú está abierto */
.has-arrow[aria-expanded="true"] i {
    transform: rotate(180deg);
}

/* Contenedor del submenú */
.submenu {
    padding-left: 15px;
    margin-top: 5px;
}

/* Enlaces del submenú */
.submenu .nav-link {
    font-size: 13px;
    padding: 10px 15px;
    color: #555;
    border-left: 2px solid #e5e5e5;
}

/* Efecto al pasar el cursor */
.submenu .nav-link:hover {
    color: #00834b;
    background-color: #f5f8f6;
    border-left-color: #00834b;
}


/* Hero */
.hero {
  position: relative;
  min-height: 0;
  overflow: hidden;
  display: flex;
  align-items: center;
  isolation: isolate;
  border-radius: 0;
  color: #fff;
  background-image: url("../img/Gasolinera\ urbana\ al\ atardecer\ copia.png");
  background-size: 100% 100%;
  background-position: center;
  background-repeat: no-repeat;
}
.hero-shade {
  position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(70deg, rgba(5,16,23,.88) 0%, rgba(5,16,23,.66) 38%, rgba(5,16,23,.13) 78%, rgba(5,16,23,.15) 100%),
              linear-gradient(0deg, rgba(0,0,0,.25), transparent 55%);
}
.hero-content { position: relative; z-index: 2; width: min(57%, 560px); padding: 40px 0 67px 36px; }
.eyebrow { margin: 0 0 2px; color: var(--mega-yellow); font-size: 15px; font-weight: 850; letter-spacing: .7px; }
.hero h1 { margin: 0; max-width: 530px; color: #fff; font-size: clamp(36px, 4.1vw, 52px); line-height: .96; letter-spacing: -2px; font-weight: 900; }
.hero h1,.section-heading h2{ font-family: 'Aileron-Black', Arial, sans-serif;
    font-weight: 400;}
 
.hero h1 span { display: block; font-size: .62em; line-height: 1.25; letter-spacing: -.75px; font-weight: 750; }
.yellow-rule { width: 82px; height: 4px; margin: 11px 0 13px; background: var(--mega-yellow); }
.hero-description { margin: 0 0 13px; font-size: 17px; line-height: 1.25; font-weight: 450; }
.btn-yellow {
  display: inline-flex; align-items: center; gap: 13px;
  padding: 7px 17px; border: 0; border-radius: 30px;
  background: var(--mega-yellow); color: #111; font-size: 12px; font-weight: 800;
}
.btn-yellow:hover { background: #ffe15e; color: #111; }
.btn-yellow i { font-size: 11px; }
.hero-play {
  position: absolute; z-index: 2; top: 50%; left: 50%;
  width: 58px; height: 58px; transform: translate(-50%, -50%);
  display: grid; place-items: center; padding: 0;
  border: 2px solid rgba(255,255,255,.95); border-radius: 50%;
  background: rgba(16,20,24,.18); color: #fff; font-size: 27px;
  transition: background .2s ease, transform .2s ease;
}
.hero-play:hover { background: rgba(255,255,255,.22); transform: translate(-50%, -50%) scale(1.06); }
.hero-play i { margin-left: 3px; }
.hero-brands {
  position: absolute; right: 4.5%; bottom: 20px; z-index: 2;
  display: flex; align-items: center; gap: 22px;
  color: #fff; text-shadow: 0 1px 5px rgba(0,0,0,.35);
}
.hero-brands > span { display: flex; align-items: center; gap: 7px; font-size: clamp(15px, 1.7vw, 23px); font-weight: 900; font-style: italic; white-space: nowrap; }
.hero-brands > span + span { padding-left: 20px; border-left: 1px solid rgba(255,255,255,.4); }
.mega-logo b { color: #f7cb18; font-size: 30px; }
.pemex-logo b { color: #e52336; font-size: 28px; }
.g500-logo b { color: #08a9d8; font-size: 27px; }

/* Métricas */
.metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 7px 17px 17px;
  padding: 10px 8px;
  border-radius: 10px;
  background: #f1f4f6;
}
.metric-item {
  min-width: 0; min-height: 65px;
  display: flex; align-items: center; justify-content: center; gap: 13px;
  padding: 4px 13px;
}
.metric-item + .metric-item { border-left: 1px solid #cbd2d7; }
.metric-icon { flex: 0 0 auto; color: var(--mega-green); font-size: 33px; line-height: 1; }
.metric-item strong { display: block; margin-bottom: 0; color: #087c48; font-size: 30px; font-weight: 900; line-height: 1; letter-spacing: -.8px; }
.metric-item span { display: block; color: #171d23; font-size: 11.5px; line-height: 1.22; }

/* Encabezado de servicios y tarjetas */
.services-section { padding: 0 22px; }
.section-heading { margin: 0 0 12px; }
.section-heading h2 { margin: 0 0 2px; color: #192838; font-size: 27px; line-height: 1.1; font-weight: 850; letter-spacing: -.65px; }
.section-heading p { margin: 0; color: #4e555c; font-size: 16px; line-height: 1.3; }
.services-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.service-card {
  min-width: 0; min-height: 160px;
  display: flex; overflow: hidden;
  border: 1px solid #e2e7ea; border-radius:11px;
  background: #fff; color: inherit; text-decoration: none;
  box-shadow: 0 1px 3px rgba(17,35,48,.05);
  transition: transform .2s ease, box-shadow .2s ease;
}
.service-card:hover { transform: translateY(-2px); box-shadow: 0 6px 18px rgba(17,35,48,.11); }
.service-image { 
  flex: 0 0 47%; min-width: 0; 
  overflow: hidden;
}
.service-image img{
  
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 48% center;
}

/* Megasur card */
/*.fuel-image { 
  height: 100%;}
/*Megacard club*/
/*.card-image {}*/
/*Megasur prime*/
/*.truck-image { }*/
/*Locales en renta*/
/*.store-image { }*/


.service-copy { min-width: 0; flex: 1 1 auto; padding: 12px 9px 9px; display: flex; flex-direction: column; justify-content: center; }
.service-icon { margin-bottom: 4px; color: var(--mega-green); font-size: 22px; line-height: 1; }
.service-copy h3 { 
   font-family: 'Aileron-Bold', Arial, sans-serif;
  margin: 0 0 4px; color: #111a22; font-size: 16px; line-height: 1.3; 
  font-weight: 400; letter-spacing: -.25px; }
.service-copy p { 
   font-family: 'Inter', Arial, sans-serif;
  margin: 0; color: #3f464c; font-size: 13px; line-height: 1.5; }
.service-copy a {
    font-family: 'Inter', Arial, sans-serif;
    font-size: 13px;
    font-weight: 500;
}

/* Tarjetas inferiores AdBlue y mapa */
.feature-grid {
  display: grid;
  grid-template-columns: 1.42fr 1fr;
  gap: 14px;
  margin: 12px 14px 0;
}
.adblue-card, .map-card { position: relative; min-width: 0; min-height: 200px; overflow: hidden; border-radius: 11px; }
.adblue-card {
   position: relative;
    width: 100%;
    height: auto;
    min-height: 0;
    overflow: hidden;
    border-radius: 11px;
}

.powerbank-img{
  display: block;
  width: 100%;
  height: auto;
  max-width: 100%;
  object-fit: contain;
}


.adblue-card::before {
  content: ""; position: absolute; inset: 0;
  
}
.adblue-content { position: relative; z-index: 2; width: 43%; padding: 16px 0 13px 23px; }
.adblue-title { display: block; font-size: clamp(36px, 4vw, 52px); line-height: .9; font-weight: 950; letter-spacing: -2px; }
.adblue-subtitle { display: block; margin-top: 3px; font-size: 15px; font-weight: 750; }
.adblue-content p { max-width: 205px; margin: 5px 0 10px; font-size: 11.5px; line-height: 1.2; }
.btn-light-pill, .btn-green-pill { display: inline-flex; align-items: center; justify-content: center; gap: 10px; border-radius: 30px; font-size: 11px; font-weight: 800; white-space: nowrap; }
.btn-light-pill { padding: 7px 14px; background: #fff; color: #12375d; }
.btn-light-pill:hover { background: #eaf4ff; color: #12375d; }
/*.adblue-photo {
  
  background-image: url("../img/Power\ Bank.jpg.jpeg");
  background-size: 50%;
  opacity: .92;
}*/
.map-card { display: flex; align-items: center; background: #f1f4f6; }
.map-copy { position: relative; z-index: 2; width: 65%; padding: 17px 0 16px 17px; }
.map-copy h2 { margin: 0 0 5px; color: #172331; font-size: 14px; line-height: 1.15; font-weight: 850; }
.map-copy p { margin: 0 0 10px; color: #3d464d; font-size: 11.5px; line-height: 1.25; }
.btn-green-pill { max-width: 100%; padding: 8px 13px; background: var(--mega-green); color: #fff; }
.btn-green-pill:hover { background: var(--mega-green-dark); color: #fff; }
.btn-green-pill i { font-size: 13px; }
.map-art {
  position: absolute; inset: 0 0 0 auto; width: 40%; overflow: hidden;
  background-color: #c9e3e4;
  background-image: linear-gradient(25deg, transparent 40%, rgba(255,255,255,.85) 41%, rgba(255,255,255,.85) 43%, transparent 44%),
                    linear-gradient(130deg, transparent 30%, rgba(255,255,255,.75) 31%, rgba(255,255,255,.75) 33%, transparent 34%),
                    repeating-linear-gradient(60deg, transparent 0 18px, rgba(255,255,255,.45) 19px 21px);
  clip-path: polygon(20% 0, 100% 0, 100% 100%, 0 100%);
}
.map-art::before, .map-art::after { content: ""; position: absolute; background: rgba(249,255,255,.8); height: 5px; width: 140%; left: -10%; transform: rotate(-34deg); }
.map-art::before { top: 34%; }
.map-art::after { top: 68%; transform: rotate(24deg); }
.map-pin { position: absolute; z-index: 2; color: #0a8050; font-size: 20px; filter: drop-shadow(0 1px 1px rgba(0,0,0,.18)); }
.pin-1 { top: 13%; left: 57%; color: #e8ae13; }
.pin-2 { top: 37%; left: 30%; }
.pin-3 { top: 55%; left: 66%; color: #0872bb; }
.pin-4 { top: 73%; left: 42%; }
.pin-5 { top: 20%; left: 82%; color: #0872bb; }
.pin-6 { top: 78%; left: 82%; color: #e8ae13; }
.mobile-footer { display: none; }

/* Modal */
.video-modal-content { border: 0; border-radius: 14px; background: #101820; color: #fff; }
.video-placeholder { min-height: 270px; display: flex; flex-direction: column; align-items: center; justify-content: center; color: #dfe7ee; background: #17232d; border-radius: 9px; }
.video-placeholder i { font-size: 55px; color: var(--mega-yellow); }
.video-placeholder p { margin: 10px 15px 0; text-align: center; font-size: 14px; }

/* Tablet: menú compacto arriba y tarjetas 2 x 2 */
@media (max-width: 1199.98px) {
  :root { --sidebar-width: 0px; }
  .sidebar { display: none; }
  .adblue-card {
    
    min-height: 180px;
    background-size: contain;
    background-position: center;
}
  .mobile-header {
    position: sticky; top: 0; z-index: 30;
    display: flex; align-items: center; justify-content: space-between;
    min-height: 72px; padding: 12px 22px;
    background: rgba(255,255,255,.97); border-bottom: 1px solid #edf0f2;
    box-shadow: 0 2px 8px rgba(13,29,40,.04);
  }
  .mobile-menu-button {
    width: 43px; height: 43px; display: grid; place-items: center;
    border: 0; border-radius: 9px; background: var(--mega-green); color: #fff; font-size: 27px;
  }
  .main-content { margin-left: 0; padding: 18px 18px 25px; }
  .metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); margin: 10px 8px 20px; }
  .metric-item { justify-content: flex-start; padding: 11px 18px; min-height: 76px;  }
  .metric-item:nth-child(3) { border-left: 0; border-top: 1px solid #cbd2d7; }
  .metric-item:nth-child(4) { border-top: 1px solid #cbd2d7; }
  .services-section { padding: 0 8px; }
  .services-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 13px; }

  .service-card { min-height: 160px; }
  .service-image{flex: 0 0 43%;}
  .service-copy { padding: 12px; }
  .service-copy h3 { font-size: 14px; }
  .service-copy p { font-size: 11px; }
  .feature-grid { margin: 15px 8px 0; }
}

/* Móvil */
@media (max-width: 767.98px) {
.hero {
    position: relative;
    width: 100%;
    min-height: 380px;
    overflow: hidden;

    display: flex;
    align-items: center;
    isolation: isolate;
    color: #fff;

    background-image: url("../img/fondopantalla.png");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

  
  .adblue-card, .map-card {
    min-height: 157px;
}
  .mobile-header { min-height: 66px; padding: 10px 16px; }
  .brand-mark { height: 29px; width: 34px; }
  .brand-mark i { width: 9px; height: 26px; }
  .brand-mark i:nth-child(2) { height: 29px; }
  .brand-mark i:nth-child(3) { height: 22px; }
  .brand-copy strong { font-size: 20px; }
  .brand-copy small { font-size: 9px; }
  .mobile-menu-button { width: 40px; height: 40px; }
  .main-content { padding: 12px 10px 20px; }
 
  .hero-shade { background: linear-gradient(90deg, rgba(3,14,20,.86), rgba(3,14,20,.46) 72%, rgba(3,14,20,.25)); }
  .hero-content { width: 83%; padding: 39px 0 89px 20px; }
  .eyebrow { font-size: 12px; }
  .hero h1 { max-width: 340px; font-size: clamp(34px, 9.3vw, 43px); letter-spacing: -1.4px; }
  .hero h1 span { font-size: .58em; letter-spacing: -.35px; }
  .yellow-rule { width: 62px; height: 3px; margin: 10px 0 11px; }
  .hero-description { font-size: 14px; }
  .btn-yellow { font-size: 11px; padding: 7px 13px; }
  .hero-play { left: auto; right: 18px; top: 48%; width: 48px; height: 48px; transform: translateY(-50%); font-size: 23px; }
  .hero-play:hover { transform: translateY(-50%) scale(1.05); }
  .hero-brands { right: 14px; left: 14px; bottom: 14px; justify-content: center; gap: 10px; }
  .hero-brands > span { gap: 4px; font-size: 13px; }
  .hero-brands > span + span { padding-left: 10px; }
  .mega-logo b, .pemex-logo b, .g500-logo b { font-size: 20px; }
  .metrics { margin: 10px 0 19px; padding: 5px; border-radius: 9px; }
  .metric-item { min-height: 92px; gap: 9px; padding: 9px 8px; }
  .metric-icon { font-size: 45px; }
  .metric-item strong { font-size: 25px; }
  .metric-item span { font-size: 10.5px; line-height: 1.2; }
  .section-heading { margin-bottom: 11px; text-align: center; }
  .section-heading h2 { font-size: clamp(21px, 6vw, 25px); letter-spacing: -.5px; }
  .section-heading p { font-size: 12.5px; }
  .services-section { padding: 0 1px; }
  .services-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px;width: 100%; }
  /*Tarjetas*/
  .service-card { display: flex;
     min-height: 245px; border-radius: 9px; flex-direction: column; 
    height: 100%; overflow: hidden; border-radius: 12px;}
  .service-image { flex: 0 0 125px; width: 100%; height: 125px; min-width: 0;overflow: hidden; }
  .service-image img{
    display: block;
    width: 100%;
    height: 100%;
    max-width: none;
    object-fit: cover;
    object-position: center;
  }
  .service-copy {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    flex: 1;
    min-width: 0;
    min-height: 0;
    padding: 12px;

  }
  .service-icon {  font-size: 23px;
    margin-bottom: 7px; }
  .service-copy h3 { 
    font-size: 15px;
    line-height: 1.2;
    margin-bottom: 6px;
    font-weight: 800;
   }
  .service-copy p { font-size: 15px; line-height: 1.18; }
  .feature-grid { display: grid; grid-template-columns: 1fr;gap: 10px;margin: 12px 0 0;align-items: start; }
  .adblue-card{width: 100%; height: auto;min-height: 0;overflow: hidden;} 
  .powerbank-img {
    display: block;
    width: 100%;
    height: auto;
    object-fit: contain;
}

  .map-card { min-height: 150px; height: auto; }
  .adblue-content { width: 48%; padding: 17px 0 12px 16px; }
  .adblue-title { font-size: 42px; }
  .adblue-subtitle { font-size: 13px; }
  .adblue-content p { max-width: 145px; font-size: 10px; }
  .btn-light-pill { padding: 7px 11px; font-size: 10px; }
  .adblue-photo { left: 40%; background-position: center; }
  .map-copy { width: 60%; padding: 14px 12px 14px 14px; box-sizing: border-box; }
  .map-copy h2 { font-size: 13px; }
  .map-copy p { width: 100%;
    max-width: 100%;
    min-width: 0;
    font-size: 12px;
    line-height: 1.4;
    white-space: normal;
    overflow-wrap: break-word;
    word-break: normal;
    margin-bottom: 10px; }
  .btn-green-pill { gap: 6px; padding: 8px 10px; font-size: 9.5px; }
  .map-art { width: 40%; }
  .mobile-footer { display: flex; justify-content: space-between; gap: 12px; margin: 17px 2px 0; color: #6b747b; font-size: 9.5px; }
  .mobile-footer a { color: #59636b; text-decoration: none; }
}

/* Móviles estrechos: evita que las tarjetas o botones rebasen 360 px */
@media (max-width: 380px) {
  .main-content { padding-left: 8px; padding-right: 8px; }
  .hero {
    position: relative;
    width: 100%;
    min-height: 380px;
    overflow: hidden;

    display: flex;
    align-items: center;
    isolation: isolate;
    color: #fff;

    background-image: url("../img/fondopantalla.png");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}
  .hero-content { width: 88%; padding-left: 16px; }
  .hero h1 { font-size: 34px; }
  .hero-brands { gap: 7px; }
  .hero-brands > span { font-size: 11px; }
  .hero-brands > span + span { padding-left: 7px; }
  .metric-item { gap: 6px; padding-left: 6px; padding-right: 5px; }
  .metric-icon { font-size: 24px; }
  .metric-item strong { font-size: 23px; }
  .metric-item span { font-size: 9.5px; }
  .services-grid { gap: 7px; font-size: 20px; }
  .service-card { min-height: 154px; }
  .service-image { flex-basis: 105px; height: 105px; }
  .service-copy { padding: 9px; grid-template-columns: 20px 1fr; column-gap: 4px; }
  .service-icon { font-size: 20px; }
  .service-copy h3 { font-size: 13px; }
  .service-copy p { width: 100%;font-size: 11px; line-height: 1.4;
  overflow-wrap: break-word;  margin-bottom: 8px; max-width: 100%;
text-wrap: inherit;}
  .map-copy { width: 72%; }
  .map-copy h2 { font-size: 15px; }
  .btn-green-pill { font-size: 8.8px; }
}
/* Mascota dentro del botón de Atención a Clientes */

/* =========================
   AVISO DE COOKIES
========================= */

.cookie-banner {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);

    width: calc(100% - 40px);
    max-width: 1050px;

    padding: 20px;
    background: #fff;
    border: 1px solid #e5e8eb;
    border-radius: 14px;

    box-shadow: 0 8px 35px rgba(0,0,0,.18);
    z-index: 2000;
}

.cookie-banner[hidden] {
    display: none;
}

.cookie-content {
    display: flex;
    align-items: center;
    gap: 18px;
}

.cookie-content > i {
    font-size: 32px;
    color: #087c48;
}

.cookie-text {
    flex: 1;
    min-width: 0;
}

.cookie-text h3 {
    font-size: 17px;
    font-weight: 800;
    margin-bottom: 6px;
}

.cookie-text p {
    font-size: 13px;
    line-height: 1.5;
    margin: 0;
}

.cookie-text a {
    color: #00683d;
    font-weight: 600;
}

.cookie-buttons {
    display: flex;
    gap: 10px;
}

.cookie-buttons button {
    border: 1px solid #087c48;
    border-radius: 25px;
    padding: 10px 16px;

    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
}

#accept-cookies {
    background: #087c48;
    color: #fff;
}

#reject-cookies {
    background: #fff;
    color: #087c48;
}

/* TABLET */
@media (max-width: 1199.98px) {
    .cookie-content {
        flex-wrap: wrap;
    }
}

/* MÓVIL */
@media (max-width: 767.98px) {
    .cookie-banner {
        bottom: 10px;
        width: calc(100% - 20px);
        padding: 16px;
    }

    .cookie-content {
        gap: 10px;
    }

    .cookie-content > i {
        font-size: 25px;
    }

    .cookie-text {
        flex-basis: calc(100% - 40px);
    }

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

    .cookie-buttons button {
        width: 100%;
    }
}