/* Barlow (Google Fonts, SIL OFL), self-hosted */
@font-face { font-family: "Barlow"; font-weight: 400; src: url(fonts/barlow-400.woff2) format("woff2"); font-display: swap; }
@font-face { font-family: "Barlow"; font-weight: 500; src: url(fonts/barlow-500.woff2) format("woff2"); font-display: swap; }
@font-face { font-family: "Barlow"; font-weight: 600; src: url(fonts/barlow-600.woff2) format("woff2"); font-display: swap; }
@font-face { font-family: "Barlow"; font-weight: 700; src: url(fonts/barlow-700.woff2) format("woff2"); font-display: swap; }
:root {
  --fg: #1f2a24;
  --muted: #5c6860;
  --brand: #5CC8D8;
  --brand-dark: #1d7f8d;
  --line: #9aa3a8;
  --max: 1100px;
}
* { box-sizing: border-box; }
body {
  margin: 0; padding-bottom: 7rem;
  font: 1.0625rem/1.6 "Barlow", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--fg); background: #fff;
}
img { display: block; max-width: 100%; }
a { color: var(--brand-dark); }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 1rem; }

.top { position: sticky; top: 0; z-index: 10; background: var(--brand); padding: 1.2rem 1rem; }
.top a { display: block; width: min(320px, 70%); margin: 0 auto; }
.top img { width: 100%; height: auto; }

section { padding: 2.5rem 0; }
h1 { font-size: clamp(1.7rem, 5vw, 2.8rem); line-height: 1.15; margin: 0 auto .5rem; max-width: 22ch; text-wrap: balance; }
h2 { font-size: 1.7rem; margin: 0 0 1.2rem; text-align: center; }
h3 { margin: 0; }
.lead { font-size: clamp(1.05rem, 2.5vw, 1.4rem); margin: 0 0 1.5rem; color: var(--brand-dark); font-weight: 600; }
main:not(.wrap) > section:not(.hero) { padding: 4rem 0; }
.hero { padding: 6rem 0; color: #fff; background: linear-gradient(rgba(0,0,0,.25), rgba(0,0,0,.25)), url(img/08.jpg) center / cover; }
.hero .copy { width: min(48rem, calc(100% - 2rem)); padding: 2rem 1.5rem; background: rgba(0,0,0,.6); border-radius: 12px; box-shadow: 0 8px 32px rgba(0,0,0,.5); }
.hero h1 { margin-bottom: 1.5rem; }
.hero .lead { color: #fff; }
.copy { text-align: center; }
.copy p:not(.lead) { max-width: 70ch; margin-inline: auto; }

.cards { display: flex; flex-wrap: wrap; justify-content: center; gap: 1rem; margin-bottom: 1.5rem; }
.card {
  position: relative; flex: 0 1 calc(50% - .5rem); overflow: hidden;
  border-radius: 10px; background: #f3fafb; border: 1px solid #d3eef2; text-align: center;
}
.card > img:first-child, .tile { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.tile { display: grid; place-items: center; background: var(--brand-dark); color: #fff; }
.tile .ic { font-size: 2.6rem; }
.card h3 { padding: .8rem .6rem; font-size: 1rem; }
.sub { text-align: center; margin: 1.5rem 0 1rem; font-size: 1.3rem; color: var(--brand-dark); }
.info { max-width: 70ch; margin: 1rem auto 0; text-align: center; }
.info h3 { margin-top: 1rem; }
.info .step-img { max-width: 30rem; aspect-ratio: 1; object-position: 10% 50%; }
.exp { background: #eef8fa; }
.exp-photo { width: 100%; max-width: 64rem; aspect-ratio: 21 / 9; object-fit: cover; border-radius: 16px; margin: 0 auto 2rem; }
.exp-title { display: flex; flex-direction: column; align-items: center; gap: .6rem; margin-bottom: 2rem; }
.exp-title img { height: auto; width: min(22rem, 80%); }
.steps { position: relative; display: grid; gap: 3rem; max-width: 64rem; margin: 0 auto; }
.steps::before { content: ""; position: absolute; top: 0; bottom: 0; left: 50%; width: 4px; margin-left: -2px; background: var(--line); }
.step { font-weight: 500; position: relative; padding: 2rem 1.2rem; background: #fff; border: 2px solid var(--line); border-radius: 16px; box-shadow: 0 6px 20px rgba(29,127,141,.15); }
.step:nth-child(-n+4) { background: linear-gradient(rgba(255,255,255,.78), rgba(255,255,255,.78)), var(--bg) center / cover; }
.step:nth-child(1) { --bg: url(img/08.jpg); }
.step:nth-child(2) { --bg: url(img/05.jpg); }
.step:nth-child(3) { --bg: url(img/04.jpg); }
.step:nth-child(4) { --bg: url(img/13.jpg); }
.step-img { width: 100%; max-width: 40rem; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 10px; margin: 1.5rem auto 0; }
.st { text-align: center; font-size: 1.7rem; margin-bottom: 1.2rem; }
.step > p, .step > ul { max-width: 60ch; margin-inline: auto; }
.step > p { text-align: center; }
.nope { max-width: 70ch; }
.nope p { text-align: center; }

/* página legal */
main.wrap h1, main.wrap h2 { text-align: left; }
main.wrap h1 { font-size: 1.8rem; }
main.wrap h2 { font-size: 1.3rem; margin-top: 1.5rem; }

footer { text-align: center; padding: 2rem 0; border-top: 1px solid #ddd; color: var(--muted); font-size: .9rem; }

.contact-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 10;
  display: flex; flex-direction: column; align-items: center; gap: .3rem;
  padding: .5rem 1rem; background: var(--brand-dark); color: #fff;
}
.contact-bar span { font-weight: 700; }
.contact-bar div { display: flex; gap: 1rem; }
.contact-bar a {
  width: 44px; height: 44px; border-radius: 50%;
  display: grid; place-items: center; background: #fff; color: var(--brand-dark); text-decoration: none;
}

@media (min-width: 768px) {
  body { padding-bottom: 4rem; }
  .card { flex-basis: calc(33.333% - .7rem); }
  .contact-bar { flex-direction: row; justify-content: center; gap: 1.2rem; }
}
@media (min-width: 1100px) { .card { flex-basis: calc(20% - .8rem); } }
@media (min-width: 1100px) { .step:nth-child(2) .card, .step:nth-child(3) .card { flex-basis: calc(25% - .75rem); } }

/* Font Awesome Free 6.5.2, self-hosted (fonts/LICENSE.txt) */
@font-face { font-family: "FA Solid"; font-weight: 900; src: url(fonts/fa-solid-900.woff2) format("woff2"); font-display: swap; }
@font-face { font-family: "FA Brands"; font-weight: 400; src: url(fonts/fa-brands-400.woff2) format("woff2"); font-display: swap; }
.ic { font-style: normal; font-size: 1.3rem; line-height: 1; }
.ic::before { font-family: "FA Solid"; font-weight: 900; }
.ic.phone::before { content: "\f095"; }
.ic.email::before { content: "\f0e0"; }
.ic.whatsapp::before { content: "\f232"; font-family: "FA Brands"; font-weight: 400; }
.ic.phone, .ic.email, .ic.pin { font-size: 1.1rem; }
.ic.bolt::before { content: "\f0e7"; }
.ic.droplet::before { content: "\f043"; }
.ic.fire::before { content: "\f06d"; }
.ic.sun::before { content: "\f185"; }
.ic.window-maximize::before { content: "\f2d0"; }
.ic.layer-group::before { content: "\f5fd"; }
.ic.hammer::before { content: "\f6e3"; }
.ic.car-battery::before { content: "\f5df"; }
.ic.gear::before { content: "\f013"; }
.ic.bicycle::before { content: "\f206"; }
.ic.umbrella-beach::before { content: "\f5ca"; }
.ic.stairs::before { content: "\e289"; }
.ic.tv::before { content: "\f26c"; }
.ic.toilet::before { content: "\f7d8"; }
.ic.lightbulb::before { content: "\f0eb"; }
.ic.pin::before { content: "\f3c5"; }
