:root {
  --navy: #102b46;
  --navy-deep: #091d31;
  --blue: #1677c8;
  --sky: #63c8f2;
  --ice: #f3f8fc;
  --white: #ffffff;
  --text: #18334b;
  --muted: #65788a;
  --line: #e3edf4;
  --shadow: 0 18px 50px rgba(9, 29, 49, .13);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--text); font-family: "DM Sans", sans-serif; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
.container { width: min(1160px, calc(100% - 48px)); margin-inline: auto; }
.topbar { background: var(--navy-deep); color: #d9e8f4; font-size: 12px; letter-spacing: .02em; }
.topbar-inner { min-height: 36px; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.topbar-inner a { color: var(--sky); font-weight: 700; }
.status-dot { display: inline-block; width: 7px; height: 7px; margin-right: 8px; border-radius: 50%; background: #61d6a5; box-shadow: 0 0 0 4px rgba(97,214,165,.12); }
.site-header { position: relative; z-index: 20; background: var(--white); }
.navbar { min-height: 86px; display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.brand { display: inline-flex; align-items: center; gap: 12px; min-width: 235px; }
.brand img { width: 58px; height: 58px; object-fit: contain; }
.brand-name { font-family: "Manrope", sans-serif; font-size: 14px; line-height: 1.15; letter-spacing: -.045em; font-weight: 800; color: var(--navy); }
.brand-name strong { display: block; color: var(--blue); font-size: 12px; letter-spacing: .09em; margin-top: 4px; }
.nav-links { display: flex; align-items: center; gap: 27px; font-size: 13px; font-weight: 700; color: #526779; }
.nav-links > a:not(.nav-cta) { transition: color .2s ease; }
.nav-links > a:not(.nav-cta):hover, .nav-links > a.active { color: var(--blue); }
.nav-cta { padding: 13px 18px; border-radius: 6px; background: var(--blue); color: white; box-shadow: 0 7px 18px rgba(22,119,200,.2); transition: transform .2s, background .2s; }
.nav-cta:hover { background: var(--navy); transform: translateY(-2px); }
.menu-toggle { display: none; border: 0; background: transparent; padding: 8px; cursor: pointer; }
.menu-toggle span { display: block; width: 24px; height: 2px; margin: 5px; background: var(--navy); transition: .2s; }

.hero { position: relative; min-height: 640px; height: min(740px, calc(100vh - 122px)); display: flex; align-items: center; overflow: hidden; isolation: isolate; background: var(--navy-deep); color: white; }
.hero-photo { position: absolute; z-index: -3; inset: 0; background-image: url("https://i.ibb.co/8DBnrVkk/20260305-123710.jpg"); background-size: cover; background-position: center 45%; transform: scale(1.015); }
.hero-shade { position: absolute; z-index: -2; inset: 0; background: linear-gradient(90deg, rgba(7,25,43,.96) 0%, rgba(9,35,59,.88) 42%, rgba(9,35,59,.45) 75%, rgba(9,35,59,.28) 100%), linear-gradient(0deg, rgba(7,25,43,.45), transparent 55%); }
.hero-content { display: flex; align-items: center; justify-content: space-between; gap: 40px; padding-top: 28px; padding-bottom: 64px; }
.hero-copy { max-width: 690px; animation: rise .8s ease both; }
.eyebrow, .section-kicker { display: flex; align-items: center; gap: 12px; color: var(--sky); font-size: 11px; font-weight: 800; letter-spacing: .19em; }
.eyebrow-line { width: 30px; height: 2px; background: var(--sky); }
.hero h1 { max-width: 720px; margin: 24px 0 20px; font-family: "Manrope", sans-serif; font-size: clamp(43px, 6.2vw, 76px); line-height: 1.06; letter-spacing: -.065em; font-weight: 800; }
.hero h1 span { color: var(--sky); }
.hero-description { max-width: 560px; margin: 0; color: #d7e4ee; font-size: 17px; line-height: 1.75; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 13px; margin-top: 34px; }
.button { min-height: 52px; display: inline-flex; align-items: center; justify-content: center; gap: 17px; padding: 0 21px; border: 1px solid transparent; border-radius: 5px; font-size: 13px; font-weight: 800; transition: transform .2s, background .2s, border-color .2s; }
.button:hover { transform: translateY(-3px); }
.button-primary { color: var(--navy-deep); background: var(--sky); box-shadow: 0 10px 24px rgba(99,200,242,.18); }
.button-primary:hover { background: white; }
.button-outline { color: white; border-color: rgba(255,255,255,.4); background: rgba(255,255,255,.04); }
.button-outline:hover { border-color: var(--sky); background: rgba(99,200,242,.1); }
.hero-note { display: flex; align-items: center; gap: 10px; margin-top: 30px; color: #c7d7e4; font-size: 12px; }
.note-icon { display: grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; color: var(--navy-deep); background: var(--sky); font-size: 12px; font-weight: 900; }
.hero-side-card { align-self: flex-end; width: 235px; margin-bottom: 20px; padding: 23px; border: 1px solid rgba(255,255,255,.2); border-radius: 7px; background: rgba(10,37,61,.42); backdrop-filter: blur(12px); animation: rise .9s .15s ease both; }
.side-card-label { display: block; color: var(--sky); font-size: 9px; font-weight: 800; letter-spacing: .14em; }
.hero-side-card strong { display: block; margin-top: 14px; font-family: "Manrope", sans-serif; font-size: 19px; line-height: 1.3; }
.side-card-rule { display: block; width: 35px; height: 2px; margin: 18px 0 13px; background: var(--sky); }
.side-card-location { color: #c4d5e3; font-size: 11px; }
.scroll-cue { position: absolute; bottom: 23px; left: 50%; display: flex; align-items: center; gap: 10px; transform: translateX(-50%); color: rgba(255,255,255,.65); font-size: 9px; font-weight: 800; letter-spacing: .17em; white-space: nowrap; }
.scroll-cue span { width: 23px; height: 1px; background: var(--sky); }
.intro-strip { padding: 85px 0 75px; background: var(--ice); }
.intro-inner { display: flex; align-items: flex-end; justify-content: space-between; gap: 55px; }
.section-kicker { color: var(--blue); }
.intro-inner h2 { margin: 15px 0 0; color: var(--navy); font-family: "Manrope", sans-serif; font-size: clamp(32px, 4vw, 46px); line-height: 1.13; letter-spacing: -.055em; }
.intro-inner h2 span { color: var(--blue); }
.intro-inner > p { max-width: 450px; margin: 0 0 5px; color: var(--muted); font-size: 15px; line-height: 1.8; }
.next-step { margin-top: 38px; padding: 17px 20px; border-left: 3px solid var(--sky); background: white; }
.next-step span { color: var(--blue); font-size: 9px; font-weight: 800; letter-spacing: .15em; }
.next-step p { margin: 5px 0 0; color: var(--muted); font-size: 13px; }
.site-footer { padding: 25px 0; color: #c7d5e1; background: var(--navy-deep); font-size: 11px; }
.footer-inner { display: flex; justify-content: space-between; align-items: center; gap: 15px; flex-wrap: wrap; }
.footer-inner > span:first-child { color: white; font-family: "Manrope", sans-serif; font-weight: 800; letter-spacing: -.03em; }
.footer-inner strong { color: var(--sky); }
.floating-whatsapp { position: fixed; z-index: 30; right: 24px; bottom: 23px; display: flex; align-items: center; gap: 9px; padding: 13px 18px; border-radius: 50px; color: white; background: #20b968; box-shadow: 0 8px 25px rgba(0,0,0,.2); font-size: 12px; font-weight: 800; transition: transform .2s; }
.floating-whatsapp:hover { transform: translateY(-3px); }
.wa-symbol { display: grid; place-items: center; width: 19px; height: 19px; border: 2px solid white; border-radius: 50%; font-size: 12px; }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: translateY(0); } }

@media (max-width: 900px) {
  .navbar { min-height: 76px; }
  .menu-toggle { display: block; }
  .nav-links { position: absolute; top: 100%; left: 0; right: 0; display: none; align-items: stretch; gap: 0; padding: 10px 24px 22px; background: white; border-top: 1px solid var(--line); box-shadow: 0 15px 25px rgba(9,29,49,.1); }
  .nav-links.open { display: flex; flex-direction: column; }
  .nav-links > a:not(.nav-cta) { padding: 13px 4px; border-bottom: 1px solid var(--line); }
  .nav-cta { margin-top: 14px; text-align: center; }
  .hero { height: auto; min-height: 660px; }
  .hero-content { padding-top: 75px; padding-bottom: 90px; }
  .hero-side-card { display: none; }
}
@media (max-width: 600px) {
  .container { width: min(100% - 36px, 1160px); }
  .topbar-inner { min-height: 34px; font-size: 10px; }
  .topbar-inner a { display: none; }
  .brand { min-width: 0; gap: 9px; }
  .brand img { width: 48px; height: 48px; }
  .brand-name { font-size: 12px; }
  .brand-name strong { font-size: 10px; }
  .hero { min-height: 650px; }
  .hero-photo { background-position: 58% center; }
  .hero-shade { background: linear-gradient(90deg, rgba(7,25,43,.94), rgba(9,35,59,.7)), linear-gradient(0deg, rgba(7,25,43,.55), transparent); }
  .hero-content { padding-top: 64px; padding-bottom: 88px; }
  .eyebrow { font-size: 9px; letter-spacing: .13em; }
  .hero h1 { margin-top: 20px; font-size: clamp(42px, 12vw, 58px); }
  .hero-description { font-size: 15px; line-height: 1.65; }
  .hero-actions { flex-direction: column; align-items: stretch; margin-top: 27px; }
  .button { width: 100%; }
  .hero-note { align-items: flex-start; font-size: 11px; line-height: 1.5; }
  .scroll-cue { bottom: 20px; font-size: 8px; }
  .intro-strip { padding: 62px 0 55px; }
  .intro-inner { display: block; }
  .intro-inner > p { margin-top: 20px; font-size: 14px; }
  .next-step { margin-top: 25px; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
  .floating-whatsapp { right: 14px; bottom: 14px; padding: 12px 15px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; transition-duration: .01ms !important; }
}


/* Servicios */
.services-section { padding: 92px 0 100px; background: #fff; }
.section-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 50px; margin-bottom: 42px; }
.section-heading h2, .callout-inner h2, .about-inner h2 { margin: 15px 0 0; color: var(--navy); font-family: "Manrope", sans-serif; font-size: clamp(32px, 4vw, 46px); line-height: 1.13; letter-spacing: -.055em; }
.section-heading h2 span, .about-inner h2 span { color: var(--blue); }
.section-heading > p { max-width: 420px; margin: 0 0 4px; color: var(--muted); font-size: 14px; line-height: 1.8; }
.services-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 23px; }
.service-card { overflow: hidden; border: 1px solid var(--line); border-radius: 8px; background: white; box-shadow: 0 8px 28px rgba(16,43,70,.055); transition: transform .25s ease, box-shadow .25s ease; }
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.service-image { position: relative; height: 220px; overflow: hidden; background: #e8f1f7; }
.service-image::after { content: ""; position: absolute; inset: 45% 0 0; background: linear-gradient(0deg, rgba(7,25,43,.5), transparent); pointer-events: none; }
.service-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.service-card:hover .service-image img { transform: scale(1.055); }
.service-number { position: absolute; z-index: 1; right: 17px; top: 16px; display: grid; place-items: center; width: 38px; height: 38px; border: 1px solid rgba(255,255,255,.65); border-radius: 50%; color: white; background: rgba(16,43,70,.48); backdrop-filter: blur(8px); font-size: 11px; font-weight: 800; }
.service-content { display: flex; flex-direction: column; min-height: 260px; padding: 25px 24px 23px; }
.service-tag { color: var(--blue); font-size: 9px; font-weight: 800; letter-spacing: .15em; }
.service-content h3 { margin: 12px 0 10px; color: var(--navy); font-family: "Manrope", sans-serif; font-size: 19px; line-height: 1.35; letter-spacing: -.035em; }
.service-content p { margin: 0 0 22px; color: var(--muted); font-size: 13px; line-height: 1.75; }
.service-link { display: inline-flex; align-items: center; gap: 12px; margin-top: auto; color: var(--blue); font-size: 12px; font-weight: 800; }
.service-link span { transition: transform .2s ease; }
.service-link:hover span { transform: translate(3px, -3px); }
.service-callout { padding: 62px 0; color: white; background: var(--navy); }
.callout-inner { display: flex; justify-content: space-between; align-items: center; gap: 35px; }
.callout-inner .section-kicker { color: var(--sky); }
.callout-inner h2 { color: white; font-size: clamp(30px, 3.5vw, 40px); }
.callout-inner p { margin: 13px 0 0; color: #c4d5e3; font-size: 13px; line-height: 1.7; }
.callout-inner .button { flex-shrink: 0; }
.about-placeholder { padding: 75px 0; background: var(--ice); }
.about-inner { text-align: center; }
.about-inner .section-kicker { justify-content: center; }
.about-inner h2 { font-size: clamp(32px, 4vw, 44px); }
.about-inner p { margin: 15px 0 0; color: var(--muted); font-size: 14px; }
@media (max-width: 900px) {
  .services-grid { grid-template-columns: 1fr 1fr; }
  .service-card:last-child { grid-column: 1 / -1; }
  .service-card:last-child .service-image { height: 250px; }
}
@media (max-width: 600px) {
  .services-section { padding: 65px 0 70px; }
  .section-heading { display: block; margin-bottom: 28px; }
  .section-heading > p { margin-top: 18px; }
  .services-grid { grid-template-columns: 1fr; gap: 17px; }
  .service-card:last-child { grid-column: auto; }
  .service-card:last-child .service-image, .service-image { height: 205px; }
  .service-content { min-height: 0; padding: 22px; }
  .service-content p { margin-bottom: 20px; }
  .service-callout { padding: 48px 0; }
  .callout-inner { display: block; }
  .callout-inner .button { margin-top: 25px; }
  .about-placeholder { padding: 58px 0; }
}

/* Asistente virtual: integrado a la identidad visual original */
.callout-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; flex-shrink: 0; }
.callout-actions .button { cursor: pointer; }
.callout-actions .button-outline { color: white; border-color: rgba(255,255,255,.38); }
.chat-launcher { position: fixed; z-index: 35; left: 24px; bottom: 23px; display: flex; align-items: center; gap: 11px; padding: 10px 17px 10px 10px; border: 1px solid rgba(255,255,255,.22); border-radius: 50px; color: white; background: var(--navy); box-shadow: 0 9px 28px rgba(9,29,49,.24); cursor: pointer; font: 700 12px "DM Sans", sans-serif; transition: transform .2s, opacity .2s, visibility .2s; }
.chat-launcher:hover { transform: translateY(-3px); }
.chat-launcher-icon { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; color: var(--navy); background: var(--sky); font-size: 19px; }
.chat-panel { position: fixed; z-index: 40; left: 24px; bottom: 84px; display: flex; flex-direction: column; width: min(370px, calc(100vw - 28px)); height: min(550px, calc(100dvh - 115px)); overflow: hidden; border: 1px solid #dce7ef; border-radius: 14px; background: #fff; box-shadow: 0 22px 65px rgba(9,29,49,.23); opacity: 0; visibility: hidden; pointer-events: none; transform: translateY(12px) scale(.985); transform-origin: bottom left; transition: opacity .2s ease, transform .2s ease, visibility .2s; }
.chat-panel.is-open { opacity: 1; visibility: visible; pointer-events: auto; transform: translateY(0) scale(1); }
.chat-panel-header { display: flex; align-items: center; gap: 11px; padding: 16px 17px; color: white; background: var(--navy); }
.chat-avatar { display: grid; place-items: center; width: 39px; height: 39px; border: 1px solid rgba(255,255,255,.2); border-radius: 50%; color: var(--navy); background: var(--sky); font: 800 11px "Manrope", sans-serif; }
.chat-heading { display: flex; flex: 1; flex-direction: column; gap: 4px; }
.chat-heading strong { font: 700 13px "Manrope", sans-serif; }
.chat-heading span { display: flex; align-items: center; gap: 6px; color: #c9d9e6; font-size: 10px; }
.chat-heading i { width: 6px; height: 6px; border-radius: 50%; background: #63d6a1; }
.chat-close { width: 30px; height: 30px; border: 0; border-radius: 50%; color: white; background: rgba(255,255,255,.1); cursor: pointer; font-size: 21px; line-height: 1; }
.chat-messages { display: flex; flex: 1; flex-direction: column; gap: 10px; overflow-y: auto; padding: 17px 14px 10px; background: #f6f9fc; }
.chat-message { max-width: 88%; padding: 11px 13px; border-radius: 12px; font-size: 12px; line-height: 1.55; white-space: pre-wrap; overflow-wrap: anywhere; }
.bot-message { align-self: flex-start; border: 1px solid #e5edf3; border-bottom-left-radius: 4px; color: #28445c; background: white; }
.user-message { align-self: flex-end; border-bottom-right-radius: 4px; color: white; background: var(--blue); }
.chat-options { display: flex; flex-wrap: wrap; gap: 7px; padding: 9px 13px 3px; background: #f6f9fc; }
.chat-option { padding: 8px 11px; border: 1px solid #cbdce9; border-radius: 20px; color: var(--navy); background: white; cursor: pointer; font: 600 11px "DM Sans", sans-serif; transition: border-color .15s, background .15s; }
.chat-option:hover { border-color: var(--blue); background: #edf7fd; }
.chat-form { display: flex; gap: 8px; padding: 11px 13px 8px; border-top: 1px solid #e8eef3; background: white; }
.chat-form input { min-width: 0; flex: 1; padding: 11px 13px; border: 1px solid #dce6ee; border-radius: 22px; outline: none; color: var(--text); background: #f9fbfd; font: 12px "DM Sans", sans-serif; }
.chat-form input:focus { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(22,119,200,.09); }
.chat-form button { width: 39px; height: 39px; flex: 0 0 39px; border: 0; border-radius: 50%; color: var(--navy); background: var(--sky); cursor: pointer; font-size: 17px; }
.chat-privacy-note { margin: 0; padding: 0 12px 10px; color: #8798a7; background: white; text-align: center; font-size: 9px; }
.chat-launcher.is-hidden { opacity: 0; visibility: hidden; pointer-events: none; }
.chat-done-link { display: inline-flex; align-items: center; gap: 8px; margin-top: 3px; padding: 10px 13px; border-radius: 7px; color: white; background: #20a968; font-size: 11px; font-weight: 800; }
@media (max-width: 600px) {
  .callout-actions { display: grid; grid-template-columns: 1fr; }
  .callout-actions .button { width: 100%; }
  .chat-launcher { left: 13px; bottom: 14px; padding-right: 14px; }
  .chat-panel { left: 14px; bottom: 76px; width: calc(100vw - 28px); height: min(540px, calc(100dvh - 96px)); }
}


/* Resumen final del asistente Polar */
.chat-summary { max-width: 94%; padding: 12px 13px; border: 1px solid #dce7ef; border-radius: 11px; color: var(--text); background: #fff; font-size: 11px; line-height: 1.5; overflow-wrap: anywhere; }
.chat-summary > strong { display: block; margin-bottom: 7px; color: var(--navy); font: 700 12px "Manrope", sans-serif; }
.chat-summary p { margin: 4px 0; }
.chat-summary b { color: var(--navy); }
.chat-send-note { max-width: 94%; margin: 0; color: #718394; font-size: 10px; line-height: 1.45; }
.chat-done-link { text-decoration: none; }
.chat-done-link:hover { background: #168b55; }


/* ==========================================
   OPTIMIZACIÓN RESPONSIVE Y EXPERIENCIA MÓVIL
   Sebastián Refrigeración
========================================== */

/* Imágenes y elementos */
img {
  max-width: 100%;
}

.service-image img {
  display: block;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button:focus-visible,
a:focus-visible,
input:focus-visible {
  outline: 3px solid var(--sky);
  outline-offset: 3px;
}

/* Navegación */
.menu-toggle {
  flex-shrink: 0;
}

.nav-links a {
  min-height: 42px;
  display: flex;
  align-items: center;
}

/* Mejoras para tablets */
@media (max-width: 900px) {
  .section-heading {
    gap: 25px;
  }

  .hero-content {
    gap: 20px;
  }

  .callout-inner {
    align-items: flex-start;
  }

  .callout-actions {
    max-width: 300px;
  }
}

/* Mejoras para celulares */
@media (max-width: 600px) {
  html {
    scroll-padding-top: 15px;
  }

  body {
    overflow-x: hidden;
  }

  .container {
    width: calc(100% - 32px);
  }

  /* Encabezado */
  .topbar-inner {
    justify-content: center;
    text-align: center;
  }

  .navbar {
    min-height: 72px;
    gap: 10px;
  }

  .brand {
    max-width: calc(100% - 55px);
  }

  .brand img {
    flex-shrink: 0;
  }

  .brand-name {
    line-height: 1.25;
  }

  .menu-toggle {
    padding: 10px;
  }

  .nav-links {
    max-height: calc(100dvh - 110px);
    overflow-y: auto;
    padding-bottom: 20px;
  }

  .nav-links > a:not(.nav-cta) {
    min-height: 48px;
  }

  .nav-cta {
    min-height: 48px;
    justify-content: center;
  }

  /* Portada */
  .hero {
    min-height: 610px;
  }

  .hero-content {
    padding-top: 55px;
    padding-bottom: 85px;
  }

  .hero-copy {
    width: 100%;
  }

  .hero h1 {
    font-size: clamp(38px, 10.5vw, 54px);
    line-height: 1.08;
    overflow-wrap: break-word;
  }

  .hero-description {
    max-width: 100%;
  }

  .hero-actions {
    gap: 11px;
  }

  .button {
    min-height: 50px;
    padding-inline: 15px;
    gap: 10px;
    text-align: center;
  }

  .hero-note {
    max-width: 320px;
  }

  /* Servicios */
  .services-section {
    padding: 58px 0 62px;
  }

  .section-heading h2,
  .callout-inner h2,
  .about-inner h2 {
    font-size: clamp(29px, 8vw, 38px);
  }

  .section-heading > p {
    font-size: 13px;
    line-height: 1.75;
  }

  .services-grid {
    gap: 20px;
  }

  .service-card {
    border-radius: 9px;
  }

  .service-image,
  .service-card:last-child .service-image {
    height: 215px;
  }

  .service-content {
    padding: 21px 20px 22px;
  }

  .service-content h3 {
    font-size: 18px;
  }

  .service-content p {
    font-size: 13px;
  }

  .service-link {
    min-height: 42px;
  }

  /* Llamado a la acción */
  .service-callout {
    padding: 44px 0;
  }

  .callout-inner {
    gap: 20px;
  }

  .callout-inner p {
    font-size: 13px;
  }

  .callout-actions {
    max-width: none;
    gap: 10px;
    margin-top: 22px;
  }

  .callout-actions .button {
    margin-top: 0;
  }

  /* Nosotros */
  .about-placeholder {
    padding: 55px 0;
  }

  /* Footer */
  .site-footer {
    padding: 25px 0;
  }

  .footer-inner {
    gap: 11px;
    font-size: 11px;
  }

  /* WhatsApp */
  .floating-whatsapp {
    right: 12px;
    bottom: max(12px, env(safe-area-inset-bottom));
    min-height: 44px;
    padding: 10px 14px;
    font-size: 11px;
  }

  /* Botón de Polar */
  .chat-launcher {
    left: 12px;
    bottom: max(12px, env(safe-area-inset-bottom));
    min-height: 48px;
    padding: 6px 13px 6px 7px;
    gap: 8px;
  }

  .chat-launcher-icon {
    width: 34px;
    height: 34px;
  }

  .chat-launcher-label {
    font-size: 11px;
  }

  /* Ventana del chat */
  .chat-panel {
    left: 10px;
    right: 10px;
    bottom: max(70px, calc(env(safe-area-inset-bottom) + 65px));
    width: auto;
    height: min(570px, calc(100dvh - 95px));
    max-height: calc(100dvh - 95px);
    border-radius: 13px;
  }

  .chat-panel-header {
    flex-shrink: 0;
    padding: 13px 14px;
  }

  .chat-messages {
    min-height: 0;
    padding: 14px 12px;
    overscroll-behavior: contain;
  }

  .chat-message {
    max-width: 94%;
    font-size: 12px;
  }

  .chat-options {
    max-height: 135px;
    overflow-y: auto;
    flex-shrink: 0;
    padding: 9px 11px 5px;
  }

  .chat-option {
    min-height: 38px;
    padding: 9px 12px;
    font-size: 11px;
  }

  .chat-form {
    flex-shrink: 0;
    padding: 9px 10px 7px;
    gap: 7px;
  }

  .chat-form input {
    min-height: 43px;
    font-size: 16px;
  }

  .chat-form button {
    width: 43px;
    height: 43px;
    flex-basis: 43px;
  }

  .chat-privacy-note {
    flex-shrink: 0;
    padding-bottom: 9px;
  }

  .chat-summary {
    max-width: 100%;
    font-size: 11px;
  }

  .chat-done-link {
    min-height: 44px;
    justify-content: center;
    text-align: center;
    font-size: 11px;
  }

  .chat-send-note {
    max-width: 100%;
  }
}

/* Celulares pequeños */
@media (max-width: 380px) {
  .brand {
    gap: 6px;
  }

  .brand img {
    width: 42px;
    height: 42px;
  }

  .brand-name {
    font-size: 10px;
  }

  .brand-name strong {
    font-size: 9px;
  }

  .hero h1 {
    font-size: 38px;
  }

  .chat-launcher {
    padding-right: 10px;
  }

  .chat-launcher-label {
    font-size: 10px;
  }
}

/* Celular horizontal */
@media (max-height: 520px) and (max-width: 900px) {
  .chat-panel {
    height: calc(100dvh - 20px);
    max-height: calc(100dvh - 20px);
    bottom: 10px;
  }

  .chat-panel-header {
    padding-block: 8px;
  }

  .chat-messages {
    padding-block: 8px;
  }
}

/* Accesibilidad: reducir animaciones */
@media (prefers-reduced-motion: reduce) {
  .service-card,
  .service-image img,
  .chat-panel,
  .chat-launcher {
    transition: none !important;
  }
}
