
:root {
  --navy: #063d72;
  --blue: #087cc1;
  --sky: #69c8f3;
  --ice: #eaf8ff;
  --ice-2: #f7fcff;
  --ink: #0a2f4f;
  --muted: #5f7488;
  --white: #ffffff;
  --line: rgba(6, 61, 114, .13);
  --shadow: 0 20px 55px rgba(5, 73, 116, .14);
  --radius: 28px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: linear-gradient(180deg, #fff 0%, #f6fcff 55%, #eef9ff 100%);
  line-height: 1.6;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }

.wrap {
  width: min(1160px, calc(100% - 40px));
  margin-inline: auto;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  padding: 14px 0;
  transition: .25s ease;
}

.site-header.scrolled {
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(14px);
  box-shadow: 0 8px 30px rgba(5, 73, 116, .10);
}

.nav-shell {
  width: min(1180px, calc(100% - 28px));
  margin: 0 auto;
  min-height: 70px;
  border: 1px solid rgba(255,255,255,.55);
  border-radius: 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 12px 8px 16px;
  background: rgba(255,255,255,.86);
  backdrop-filter: blur(18px);
  box-shadow: 0 14px 36px rgba(8, 87, 132, .10);
}

.brand {
  display: flex;
  align-items: center;
  width: 145px;
  height: 52px;
  overflow: hidden;
}

.brand img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  mix-blend-mode: multiply;
}

.nav-links {
  display: flex;
  gap: 26px;
  align-items: center;
  font-weight: 700;
  font-size: .95rem;
  color: #245875;
}

.nav-links a {
  position: relative;
  transition: color .2s ease;
}

.nav-links a:not(.nav-cta)::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: -6px;
  height: 2px;
  background: var(--blue);
  transition: right .2s ease;
}

.nav-links a:hover { color: var(--blue); }
.nav-links a:hover::after { right: 0; }

.nav-cta {
  padding: 12px 20px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--navy), var(--blue));
  color: white !important;
  box-shadow: 0 10px 25px rgba(8, 124, 193, .24);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: #fff;
  padding: 11px;
}

.menu-toggle span {
  display: block;
  height: 2px;
  background: var(--navy);
  margin: 5px 0;
  border-radius: 2px;
}

.hero {
  min-height: 820px;
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 150px 0 110px;
  isolation: isolate;
}

.hero-visual {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(246,252,255,.96) 0%, rgba(246,252,255,.84) 43%, rgba(246,252,255,.22) 69%, rgba(246,252,255,.08) 100%),
    url("assets/mundo-ice-distribucion.jpg") center right / cover no-repeat;
  transform: scale(1.02);
  z-index: -3;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 30% 25%, rgba(89,199,246,.22), transparent 30%),
    radial-gradient(circle at 85% 15%, rgba(255,255,255,.7), transparent 24%);
  z-index: -2;
}

.hero-content {
  display: grid;
  grid-template-columns: 1.18fr .72fr;
  gap: 70px;
  align-items: center;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--blue);
  text-transform: uppercase;
  letter-spacing: .18em;
  font-size: .78rem;
  font-weight: 900;
}

h1, h2, h3, p { margin-top: 0; }

h1 {
  max-width: 730px;
  font-size: clamp(3.25rem, 7vw, 6.4rem);
  line-height: .98;
  letter-spacing: -.055em;
  margin-bottom: 26px;
}

h1 span {
  color: transparent;
  -webkit-text-stroke: 1.7px var(--blue);
  text-shadow: 0 4px 22px rgba(8,124,193,.10);
}

.hero-text {
  max-width: 650px;
  font-size: 1.18rem;
  color: #45697f;
  margin-bottom: 34px;
}

.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

.btn {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 52px;
  padding: 0 24px;
  border: 0;
  border-radius: 15px;
  font-weight: 850;
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}

.btn:hover { transform: translateY(-2px); }

.btn-primary {
  background: linear-gradient(135deg, var(--navy), #0794da);
  color: white;
  box-shadow: 0 15px 32px rgba(4, 111, 171, .25);
}

.btn-ghost {
  background: rgba(255,255,255,.74);
  border: 1px solid rgba(5, 91, 142, .15);
  color: var(--navy);
  backdrop-filter: blur(8px);
}

.hero-badges {
  margin-top: 34px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.hero-badges span {
  font-size: .86rem;
  font-weight: 750;
  color: #3f6984;
  background: rgba(255,255,255,.73);
  border: 1px solid rgba(5, 91, 142, .10);
  border-radius: 999px;
  padding: 9px 13px;
}

.hero-card {
  width: min(100%, 380px);
  justify-self: end;
  border-radius: 34px;
  padding: 24px;
  background: rgba(255,255,255,.82);
  border: 1px solid rgba(255,255,255,.85);
  box-shadow: 0 30px 80px rgba(5, 79, 124, .22);
  backdrop-filter: blur(16px);
}

.hero-card img {
  border-radius: 22px;
  mix-blend-mode: multiply;
}

.hero-card p {
  color: var(--muted);
  margin: 16px 6px 2px;
  font-weight: 650;
}

.ice-divider {
  position: absolute;
  left: -5%;
  right: -5%;
  bottom: -70px;
  height: 140px;
  background: #fff;
  transform: rotate(-2deg);
  z-index: -1;
}

.section { padding: 110px 0; }

.split {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 70px;
  align-items: start;
}

.section-heading h2 {
  font-size: clamp(2.3rem, 4.2vw, 4.3rem);
  line-height: 1.04;
  letter-spacing: -.045em;
  margin-bottom: 16px;
}

.centered {
  max-width: 780px;
  margin: 0 auto 48px;
  text-align: center;
}

.lead {
  color: var(--muted);
  font-size: 1.06rem;
}

.copy-card {
  background: linear-gradient(145deg, #fff, #f2fbff);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  padding: 36px;
  border-radius: var(--radius);
  color: var(--muted);
  font-size: 1.06rem;
}

.copy-card p:last-child { margin-bottom: 0; }

.services {
  background:
    radial-gradient(circle at 15% 20%, rgba(104,200,243,.16), transparent 23%),
    linear-gradient(180deg, #f4fbff, #fff);
}

.cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.service-card {
  background: rgba(255,255,255,.9);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 26px;
  min-height: 270px;
  box-shadow: 0 18px 45px rgba(5, 73, 116, .08);
  transition: transform .25s ease, box-shadow .25s ease;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 26px 60px rgba(5, 73, 116, .14);
}

.icon {
  width: 58px;
  height: 58px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  font-size: 1.8rem;
  background: linear-gradient(135deg, #e5f7ff, #fff);
  border: 1px solid #c8ebfb;
  margin-bottom: 22px;
}

.service-card h3 {
  font-size: 1.35rem;
  margin-bottom: 10px;
}

.service-card p {
  color: var(--muted);
  margin-bottom: 0;
}

.quality-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}

.quality-image {
  position: relative;
}

.quality-image::before {
  content: "";
  position: absolute;
  inset: 26px -26px -26px 26px;
  border-radius: 34px;
  background: linear-gradient(145deg, #d9f5ff, #f7fdff);
  border: 1px solid #c9ecfa;
  z-index: -1;
}

.quality-image img {
  border-radius: 34px;
  box-shadow: var(--shadow);
}

.quality-content h2 {
  font-size: clamp(2.25rem, 4vw, 4rem);
  line-height: 1.04;
  letter-spacing: -.04em;
}

.quality-content > p:not(.eyebrow) { color: var(--muted); }

.check-list {
  padding: 0;
  margin: 28px 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding: 13px 0 13px 36px;
  border-bottom: 1px solid var(--line);
  color: #3d6078;
  font-weight: 650;
}

.check-list li::before {
  content: "❄";
  position: absolute;
  left: 4px;
  top: 13px;
  color: var(--blue);
}

.text-link {
  color: var(--blue);
  font-weight: 850;
}

.gallery {
  background: #f7fcff;
}

.gallery-grid {
  display: grid;
  grid-template-columns: 1.35fr .65fr;
  gap: 22px;
}

.gallery-grid figure {
  margin: 0;
  background: #fff;
  border-radius: 28px;
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: 0 18px 50px rgba(5, 73, 116, .09);
}

.gallery-grid img {
  width: 100%;
  height: 560px;
  object-fit: cover;
}

.gallery-logo img { object-fit: contain; padding: 28px; }

.gallery-grid figcaption {
  padding: 16px 20px 20px;
  font-weight: 800;
  color: #42677e;
}

.contact {
  padding-top: 90px;
  padding-bottom: 120px;
}

.contact-panel {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 54px;
  background:
    radial-gradient(circle at 0% 0%, rgba(126,219,255,.24), transparent 25%),
    linear-gradient(135deg, #073e71, #087ec2);
  color: #fff;
  padding: 58px;
  border-radius: 36px;
  box-shadow: 0 34px 80px rgba(5, 73, 116, .24);
}

.contact-panel .eyebrow { color: #aeeaff; }

.contact-copy h2 {
  font-size: clamp(2.4rem, 4vw, 4rem);
  line-height: 1.02;
  letter-spacing: -.04em;
}

.contact-copy > p { color: rgba(255,255,255,.78); }

.contact-notes {
  display: grid;
  gap: 10px;
  margin-top: 28px;
  color: rgba(255,255,255,.85);
  font-weight: 650;
}

.quote-form {
  background: rgba(255,255,255,.96);
  color: var(--ink);
  padding: 28px;
  border-radius: 26px;
  display: grid;
  gap: 16px;
}

.quote-form label {
  display: grid;
  gap: 7px;
  font-size: .9rem;
  font-weight: 800;
}

.quote-form input,
.quote-form select,
.quote-form textarea {
  width: 100%;
  border: 1px solid #cfdfeb;
  background: #fbfdff;
  color: var(--ink);
  padding: 13px 14px;
  border-radius: 12px;
  outline: none;
  transition: border-color .2s ease, box-shadow .2s ease;
}

.quote-form input:focus,
.quote-form select:focus,
.quote-form textarea:focus {
  border-color: #72c9f0;
  box-shadow: 0 0 0 4px rgba(114,201,240,.18);
}

.wide { width: 100%; }

.form-status {
  margin: 0;
  min-height: 24px;
  color: #42677e;
  font-size: .9rem;
}

.site-footer {
  background: #fff;
  border-top: 1px solid var(--line);
  padding: 50px 0 24px;
}

.footer-grid {
  display: flex;
  justify-content: space-between;
  gap: 40px;
  align-items: center;
}

.footer-logo {
  width: 170px;
  max-height: 84px;
  object-fit: contain;
  mix-blend-mode: multiply;
}

.footer-grid p { color: var(--muted); margin-bottom: 0; }

.footer-links {
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
  font-weight: 750;
  color: #3f6680;
}

.copyright {
  margin-top: 34px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  color: #7a8d9b;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  font-size: .85rem;
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .65s ease, transform .65s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 980px) {
  .hero { min-height: auto; }
  .hero-content,
  .split,
  .quality-grid,
  .contact-panel {
    grid-template-columns: 1fr;
  }
  .hero-card { justify-self: start; width: min(420px, 100%); }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .quality-grid { gap: 48px; }
  .gallery-grid { grid-template-columns: 1fr; }
  .gallery-grid img { height: auto; max-height: 620px; }
  .gallery-logo img { max-height: 500px; }
}

@media (max-width: 760px) {
  .site-header { padding-top: 8px; }
  .nav-shell { min-height: 62px; }
  .brand { width: 118px; height: 46px; }
  .menu-toggle { display: block; }
  .nav-links {
    position: absolute;
    top: 78px;
    left: 14px;
    right: 14px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding: 16px;
    border-radius: 20px;
    background: rgba(255,255,255,.98);
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 12px 10px; }
  .nav-cta { text-align: center; margin-top: 4px; }

  .hero {
    padding: 130px 0 80px;
    min-height: 760px;
  }

  .hero-visual {
    background:
      linear-gradient(180deg, rgba(246,252,255,.97) 0%, rgba(246,252,255,.93) 55%, rgba(246,252,255,.58) 100%),
      url("assets/mundo-ice-distribucion.jpg") center / cover no-repeat;
  }

  .hero-content { gap: 36px; }
  h1 { font-size: clamp(3.1rem, 16vw, 5rem); }
  .hero-text { font-size: 1.03rem; }
  .hero-card { display: none; }

  .section { padding: 78px 0; }
  .cards { grid-template-columns: 1fr; }
  .service-card { min-height: 0; }
  .contact-panel { padding: 30px 20px; border-radius: 26px; }
  .quote-form { padding: 20px; }
  .footer-grid, .copyright { flex-direction: column; align-items: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  * { transition: none !important; }
}
