/* CarlosCosio.site | Correcciones responsive verificadas en móvil y tablet | 05 nov 2026.
   Este archivo se carga AL FINAL para evitar que los estilos de laptop reemplacen
   accidentalmente las reglas específicas de celular. */
:root { --cc-gutter: clamp(16px, 4vw, 28px); }
html { width:100%; max-width:100%; -webkit-text-size-adjust:100%; }
body { min-width:0; }
img,svg,video,canvas {max-width:100%;}
.container,.ccp-shell .container {min-width:0;}
/* Los elementos de un grid/flex deben poder reducir su ancho. */
.intro>*,.web-intro>*,.product-grid>*,.benefit-grid>*,.destination-grid>*,.web-services>*,.cta-panel>*,.ccp-two>*,.ccp-cards>*,.ccp-flow>*,.ccp-hero-inner>*{min-width:0;}
.foot{min-width:0}
.footlinks{min-width:0;max-width:100%;display:flex;flex-wrap:wrap;gap:12px 20px}
@media (max-width:920px){
  .foot{flex-wrap:wrap;justify-content:flex-start;gap:16px 28px}
  .footlinks{flex:1 1 100%;justify-content:flex-start}
  /* La sección de presentación necesita más espacio que dos columnas a 800px. */
  .intro{grid-template-columns:minmax(0,1fr);gap:30px}
  .intro>div:first-child{max-width:700px}
  .intro .frame{width:100%;max-width:680px;margin:0 auto;min-height:340px}
}
@media (max-width:720px){
  .container{width:calc(100% - 34px)}
  /* BUG CORREGIDO: polish.css había cambiado padding-top:305px por 47px,
     ocultando la fotografía principal debajo del panel azul. */
  .hero{overflow:hidden}
  .hero-inner{display:block;grid-template-columns:none!important;min-height:0!important;padding:305px 0 0!important}
  .hero-art{inset:0 0 auto;height:305px;min-height:0;background-size:cover;background-position:center 34%}
  .hero-copy{padding:30px 24px 34px!important;overflow:visible;isolation:isolate}
  .hero-copy:before{pointer-events:none}
  .hero h1{font-size:clamp(36px,9.2vw,48px);line-height:1.08;overflow-wrap:normal}
  .hero p{line-height:1.8;margin-bottom:20px}
  .hero .floating-note{position:absolute;left:18px!important;top:246px!important;right:auto!important;bottom:auto!important;max-width:calc(100% - 36px);z-index:6}
  .hero .actions{display:flex;flex-wrap:wrap;gap:9px;max-width:100%}
  .hero .actions .btn{max-width:100%;white-space:normal;text-align:center}
  .hero-bottom{margin-top:23px}
  /* BUG CORREGIDO: polish.css restablecía dos columnas en el bloque de seguidores. */
  .intro{display:grid;grid-template-columns:minmax(0,1fr)!important;gap:28px}
  .intro .frame{width:100%;min-height:340px;max-width:100%;margin:0 auto}
  .intro .phone{transform:translateX(-8px) rotate(7deg);max-width:53%;flex-shrink:0}
  .intro .signe{transform:rotate(-9deg) translate(7px,24px);max-width:42%;flex-shrink:0}
  .intro .tag{bottom:16px;left:16px;right:16px;width:max-content;max-width:calc(100% - 32px);white-space:normal}
  /* En teléfono: foto y datos de cada producto a ancho completo, texto legible. */
  .product-grid{grid-template-columns:minmax(0,1fr);gap:20px}
  .prod{display:flex;flex-direction:column;grid-template-columns:none;min-height:0;border-radius:20px}
  .prod .visual{width:100%;height:232px;min-height:232px;flex:0 0 232px}
  .prod .product-meta{padding:22px 22px 24px;min-width:0}
  .prod .product-meta h3{font-size:22px;line-height:1.2}
  .prod .product-meta p{font-size:13px;line-height:1.75}
  .prod .product-meta a{font-size:13px;line-height:1.55}
  .prod .price{font-size:12px;padding:8px 11px}
  .prod .stand{transform:rotate(-7deg) scale(.9)}
  .prod .luxe .stand,.prod .visual.luxe .stand{transform:rotate(6deg) scale(.9)}
  .prod .double .stand,.prod .visual.double .stand{transform:rotate(-6deg) scale(.9)}
  .products-head{display:block}
  .benefit-grid,.destination-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .web-services{grid-template-columns:minmax(0,1fr)}
  .web-services .cc-click-card{min-width:0}
  .web-illustration{width:100%;height:280px}
  .cta-panel{grid-template-columns:minmax(0,1fr);padding:28px 19px;gap:23px;border-radius:20px}
  .cta-panel .quote{width:100%;max-width:100%;padding:19px 16px}
  .quote input,.quote select{max-width:100%;min-width:0}
  .foot{align-items:flex-start;flex-direction:column}
  .footlinks{width:100%;gap:14px 20px}
  /* Subpáginas de servicios: evitar que los hijos del grid fuercen el ancho de 320px. */
  .ccp-shell,.ccp-shell main{min-width:0;max-width:100%}
  .ccp-shell .container{width:calc(100% - 34px);max-width:100%;min-width:0}
  .ccp-hero-inner,.ccp-two,.ccp-cards,.ccp-flow{grid-template-columns:minmax(0,1fr)!important}
  .ccp-hero-inner>*,.ccp-two>*,.ccp-cards>*,.ccp-flow>*{min-width:0;max-width:100%}
  .ccp-hero{padding:49px 0 58px}
  .ccp-panel{width:100%;max-width:100%;margin:4px 0 0;padding:19px}
  .ccp-hero h1{font-size:clamp(34px,9vw,46px);line-height:1.12;overflow-wrap:break-word}
  .ccp-bottom-inner{padding:27px 22px}
  .ccp-visual{min-width:0;width:100%;padding:19px;overflow:hidden}
  .ccp-stat-row,.ccp-mini-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .ccp-stat,.ccp-mini{min-width:0;overflow-wrap:break-word}
  .ccp-action,.ccp-service-nav a{max-width:100%;white-space:normal;text-align:center}
  .ccp-service-nav-inner{align-items:flex-start}
  .ccp-price-inline{min-width:0}
  /* Las acciones de cookies deben poder saltar de línea en celulares. */
  .cc-cookie-actions{display:flex;flex-wrap:wrap}
  .cc-cookie-btn{white-space:normal;min-width:0}
}
@media (max-width:380px){
  .hero-inner{padding-top:277px!important}
  .hero-art{height:277px;background-position:center 34%}
  .hero .floating-note{top:220px!important}
  .hero-copy{padding:27px 20px 29px!important}
  .hero h1{font-size:clamp(34px,9.6vw,39px)}
  .hero .actions{flex-direction:column;align-items:flex-start}
  .hero .actions .btn{width:100%;justify-content:center}
  .intro .frame{min-height:302px}
  .intro .phone{width:154px;height:280px;padding:16px 9px 8px}
  .intro .signe{width:132px;height:168px}
  .intro .signe img{width:76px}
  .benefit-grid{grid-template-columns:minmax(0,1fr);gap:12px}
  .destination-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .prod .product-meta{padding:19px 19px 22px}
  .ccp-shell .container{width:calc(100% - 32px)}
  .ccp-panel{padding:16px}
  .ccp-mini{padding:12px 9px}
  .ccp-mini strong{font-size:12px}
  .ccp-stat{padding:12px 9px}
  .ccp-hero-buttons{flex-direction:column;align-items:stretch}
  .ccp-action{width:100%}
  .cc-cookie-banner{padding:15px}
  .cc-cookie-actions .cc-cookie-btn{flex:1 1 46%}
}
