/* Alísio Kite School — demo NetStudio.cv */
:root {
	--deep: #0b3a4a;
	--deep-2: #0e4b5e;
	--sea: #1fb3bf;
	--sea-2: #0b8fa3;
	--coral: #ff7a59;
	--coral-2: #f05d3c;
	--sand: #f6efe1;
	--sand-2: #ecdfc4;
	--ink: #13262e;
	--muted: #4f6770;
	--line: #dfe7e8;
	--white: #fff;
	--r: 18px;
	--shadow: 0 10px 30px rgba(11, 58, 74, .12);
	--head: 'Bricolage Grotesque', system-ui, sans-serif;
	--body: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
body { margin: 0; font: 400 16px/1.6 var(--body); color: var(--ink); background: var(--white); -webkit-font-smoothing: antialiased; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--head); line-height: 1.08; margin: 0 0 .5em; letter-spacing: -.02em; }
h1 { font-size: clamp(2.4rem, 6vw, 4.6rem); font-weight: 800; }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.8rem); font-weight: 700; }
h3 { font-size: 1.25rem; font-weight: 700; }
p { margin: 0 0 1em; }
.wrap { width: min(1180px, 100% - 32px); margin-inline: auto; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--deep); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--coral); outline-offset: 3px; }

.eyebrow { font: 600 .78rem/1 var(--body); letter-spacing: .16em; text-transform: uppercase; color: var(--sea-2); margin-bottom: 14px; }

/* Botones */
.btn { display: inline-flex; align-items: center; gap: 10px; padding: 14px 24px; border-radius: 999px; border: 0; background: var(--coral); color: #fff; font: 600 1rem/1 var(--body); text-decoration: none; cursor: pointer; transition: background .2s, transform .2s; }
.btn:hover { background: var(--coral-2); transform: translateY(-1px); }
.btn--sm { padding: 10px 18px; font-size: .92rem; }
.btn--ghost { background: rgba(255, 255, 255, .85); color: var(--deep); }
.btn--ghost:hover { background: #fff; }
.btn--wa { background: #25d366; color: #0b3a2a; margin-top: 8px; }
.btn--wa:hover { background: #1fbd5a; }
.btn svg { width: 20px; height: 20px; fill: currentColor; }

/* Cabecera */
.top { position: fixed; inset: 0 0 auto; z-index: 50; transition: background .25s, box-shadow .25s; }
.top.is-solid { background: rgba(255, 255, 255, .96); box-shadow: 0 1px 0 var(--line); backdrop-filter: blur(8px); }
.top__in { display: flex; align-items: center; gap: 20px; height: 72px; }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--deep); margin-right: auto; }
.logo svg { width: 36px; height: 36px; color: var(--coral); }
.logo span { font: 800 1.35rem/1 var(--head); letter-spacing: -.02em; display: flex; flex-direction: column; }
.logo small { font: 600 .62rem/1.4 var(--body); letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.nav { display: flex; gap: 26px; }
.nav a { text-decoration: none; font-weight: 500; color: var(--deep); font-size: .95rem; }
.nav a:hover { color: var(--coral-2); }
.langs { display: flex; gap: 2px; background: rgba(255, 255, 255, .7); border-radius: 999px; padding: 3px; }
.langs button { border: 0; background: none; font: 600 .75rem/1 var(--body); padding: 7px 9px; border-radius: 999px; cursor: pointer; color: var(--muted); }
.langs button[aria-pressed="true"] { background: var(--deep); color: #fff; }
.burger { display: none; width: 44px; height: 44px; border: 0; background: none; cursor: pointer; position: relative; }
.burger span, .burger span::before, .burger span::after { position: absolute; left: 11px; width: 22px; height: 2px; background: var(--deep); content: ''; transition: transform .2s; }
.burger span { top: 21px; }
.burger span::before { left: 0; top: -7px; }
.burger span::after { left: 0; top: 7px; }
.burger[aria-expanded="true"] span { background: transparent; }
.burger[aria-expanded="true"] span::before { transform: translateY(7px) rotate(45deg); }
.burger[aria-expanded="true"] span::after { transform: translateY(-7px) rotate(-45deg); }

/* Hero */
.hero { position: relative; min-height: min(100svh, 860px); display: flex; align-items: center; padding: 120px 0 60px; overflow: hidden; }
.hero__media { position: absolute; inset: 0; background-size: cover; background-position: center; }
.hero__art { width: 100%; height: 100%; }
.hero__media.has-img .hero__art { display: none; }
.hero__media.has-img::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(246, 239, 225, .95) 0%, rgba(246, 239, 225, .82) 38%, rgba(246, 239, 225, 0) 68%); }
.hero__kite { animation: drift 7s ease-in-out infinite alternate; transform-origin: 1040px 650px; }
@keyframes drift { from { transform: rotate(-3deg); } to { transform: rotate(3deg); } }
@media (prefers-reduced-motion: reduce) { .hero__kite { animation: none; } html { scroll-behavior: auto; } }
.hero__in { position: relative; max-width: 1180px; }
.hero h1 { max-width: 12ch; color: var(--deep); }
.hero__lead { max-width: 54ch; font-size: 1.12rem; color: var(--ink); }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 44px; }
.facts { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, auto); gap: 10px; justify-content: start; }
.facts li { background: rgba(255, 255, 255, .82); backdrop-filter: blur(6px); border-radius: 14px; padding: 12px 18px; }
.facts b { display: block; font: 700 1.25rem/1.2 var(--head); color: var(--deep); }
.facts span { font-size: .8rem; color: var(--muted); }

/* Secciones */
.section { padding: clamp(64px, 9vw, 110px) 0; }
.section--sand { background: var(--sand); }
.section--deep { background: var(--deep); color: #e7f3f4; }
.section--deep h2, .section--deep h3 { color: #fff; }
.section--deep .eyebrow { color: var(--sea); }
.head { text-align: center; max-width: 680px; margin: 0 auto 48px; }
.head p:last-child { color: var(--muted); }
.head--left { text-align: left; margin-left: 0; }

/* Imágenes opcionales */
[data-img] { background-color: var(--sand-2); background-size: cover; background-position: center; }

/* Cursos */
.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.card { border-radius: var(--r); background: #fff; border: 1px solid var(--line); overflow: hidden; display: flex; flex-direction: column; transition: transform .2s, box-shadow .2s; }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.card--hot { border-color: var(--coral); box-shadow: 0 0 0 1px var(--coral); }
.card__img { aspect-ratio: 4 / 3; position: relative; }
.card__img:not(.has-img) { background-image: linear-gradient(160deg, #8fdbe6 0%, #3ec1cc 55%, #0b8fa3 100%); }
.card:nth-child(2) .card__img:not(.has-img) { background-image: linear-gradient(160deg, #ffd2b8 0%, #ff9d7f 50%, #f05d3c 100%); }
.card:nth-child(3) .card__img:not(.has-img) { background-image: linear-gradient(160deg, #b8e7d3 0%, #4fbf9f 55%, #0e6e63 100%); }
.card:nth-child(4) .card__img:not(.has-img) { background-image: linear-gradient(160deg, #c9d8f5 0%, #6f95d8 55%, #2c4f8f 100%); }
.card__img:not(.has-img)::after { content: ''; position: absolute; inset: 12% 10% 6% 30%; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 120'%3E%3Cpath d='M10 40C26 14 70 4 110 18L78 58Z' fill='%23ffffff' fill-opacity='.92'/%3E%3Cpath d='M12 41L60 112M77 57L60 112' stroke='%23ffffff' stroke-opacity='.7' stroke-width='1.2' fill='none'/%3E%3C/svg%3E") center / contain no-repeat; }
.tag { position: absolute; left: 14px; top: 14px; background: #fff; color: var(--deep); font: 600 .74rem/1 var(--body); padding: 7px 11px; border-radius: 999px; }
.tag--hot { background: var(--coral); color: #fff; }
.card__body { padding: 22px; display: flex; flex-direction: column; flex: 1; }
.card__body p { color: var(--muted); font-size: .95rem; }
.card__meta { font-weight: 600; color: var(--sea-2) !important; font-size: .85rem !important; margin-bottom: .6em; }
.price { margin: auto 0 0; font: 800 1.9rem/1 var(--head); color: var(--deep) !important; padding-top: 10px; }
.price small { font: 500 .9rem var(--body); color: var(--muted); margin-left: 2px; }

/* Pasos */
.steps { display: grid; grid-template-columns: 1fr 2fr; gap: 48px; align-items: start; }
.steps__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.steps__list li { background: #fff; border-radius: var(--r); padding: 26px; }
.steps__list b { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--deep); color: #fff; font: 700 1.1rem var(--head); margin-bottom: 18px; }
.steps__list h3 { font-size: 1.1rem; }
.steps__list p { color: var(--muted); font-size: .95rem; margin: 0; }

/* Aluguer */
.rental { display: grid; grid-template-columns: 1fr 1.3fr; gap: 48px; align-items: center; }
.rental .head { margin-bottom: 0; }
.table { border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.row { display: grid; grid-template-columns: 1.6fr repeat(3, 1fr); }
.row > span { padding: 16px 18px; border-top: 1px solid var(--line); text-align: right; font-variant-numeric: tabular-nums; }
.row > span:first-child { text-align: left; font-weight: 500; }
.row--head > span { border-top: 0; background: var(--sand); font-weight: 600; font-size: .85rem; color: var(--muted); }
.note { grid-column: 2; margin: -32px 0 0; font-size: .9rem; color: var(--muted); }

/* Spots */
.spots { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.spot { position: relative; min-height: 380px; border-radius: var(--r); padding: 26px; display: flex; flex-direction: column; justify-content: flex-end; overflow: hidden; isolation: isolate; }
.spot:not(.has-img) { background-image: linear-gradient(180deg, #2a8ea0 0%, #11596b 100%); }
.spot:nth-child(2):not(.has-img) { background-image: linear-gradient(180deg, #3a5f6e 0%, #102e3a 100%); }
.spot:nth-child(3):not(.has-img) { background-image: linear-gradient(180deg, #46b7c2 0%, #146b7b 100%); }
.spot::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(11, 58, 74, 0) 25%, rgba(11, 58, 74, .75) 55%, rgba(11, 58, 74, .96) 100%); }
.spot h3, .spot p { text-shadow: 0 1px 8px rgba(0, 0, 0, .35); }
.spot:not(.has-img)::after { content: ''; position: absolute; z-index: -1; left: -10%; right: -10%; top: 38%; height: 70px; border-top: 2px solid rgba(255, 255, 255, .35); border-radius: 50%; }
.spot p { color: #d4e8ea; margin: 0; font-size: .95rem; }
.lvl { position: absolute; top: 20px; left: 20px; font: 600 .74rem/1 var(--body); padding: 7px 11px; border-radius: 999px; color: var(--deep); }
.lvl--1 { background: #b9f0d8; }
.lvl--2 { background: #ffe1a6; }
.lvl--3 { background: #ffb4a1; }

/* Equipa */
.team { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.person { text-align: center; }
.avatar { width: 150px; height: 150px; margin: 0 auto 18px; border-radius: 50%; display: grid; place-items: center; background-image: linear-gradient(135deg, var(--sea) 0%, var(--deep) 100%); }
.avatar span { font: 700 2.4rem var(--head); color: #fff; }
.avatar.has-img span { display: none; }
.person h3 { margin-bottom: 4px; }
.person__role { color: var(--sea-2); font-weight: 600; font-size: .88rem; }
.person p:last-child { color: var(--muted); max-width: 32ch; margin-inline: auto; font-size: .95rem; }

/* FAQ */
.faq { display: grid; grid-template-columns: 1fr 2fr; gap: 48px; }
.faq__list details { background: #fff; border-radius: 14px; margin-bottom: 10px; }
.faq__list summary { cursor: pointer; padding: 18px 54px 18px 22px; font-weight: 600; list-style: none; position: relative; }
.faq__list summary::-webkit-details-marker { display: none; }
.faq__list summary::after { content: '+'; position: absolute; right: 22px; top: 50%; transform: translateY(-50%); font: 400 1.6rem/1 var(--body); color: var(--coral); transition: transform .2s; }
.faq__list details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq__list details p { padding: 0 22px 18px; margin: 0; color: var(--muted); }

/* Contacto */
.contact { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.contact__list { list-style: none; padding: 0; margin: 24px 0; }
.contact__list li { display: flex; gap: 12px; align-items: center; margin-bottom: 12px; }
.contact__list svg { width: 20px; height: 20px; fill: var(--sea); flex: none; }
.form { background: #fff; color: var(--ink); border-radius: var(--r); padding: 28px; display: grid; gap: 14px; }
.form label { display: grid; gap: 6px; font-size: .85rem; font-weight: 600; color: var(--muted); }
.form input, .form select, .form textarea { font: 400 1rem var(--body); padding: 12px 14px; border: 1px solid var(--line); border-radius: 10px; background: #fbfcfc; color: var(--ink); width: 100%; }
.form textarea { resize: vertical; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form .btn { justify-content: center; margin-top: 4px; }

/* Pie */
.foot { background: #072b37; color: #9fbcc3; font-size: .9rem; padding: 28px 0; }
.foot__in { display: flex; flex-direction: column; align-items: center; gap: 14px; text-align: center; }
.foot__legal { font-size: 13px; line-height: 1.9; }
.foot__legal a { color: inherit; font-weight: 600; text-decoration: none; }
.foot__legal a:hover { color: #fff; }
.foot__small { font-size: 11px; opacity: .7; }
.foot p { margin: 0; }
.foot strong { color: #fff; }
.foot a { color: #fff; }

/* Aviso demo */
.demo-tag { align-self: center; margin-left: 4px; background: var(--deep); color: #fff; font: 700 .58rem/1 var(--body); letter-spacing: .18em; padding: 5px 7px; border-radius: 999px; font-style: normal; }
.modal { position: fixed; inset: 0; z-index: 90; display: grid; place-items: center; padding: 16px; background: rgba(7, 43, 55, .6); backdrop-filter: blur(4px); }
.modal[hidden] { display: none; }
.modal__box { position: relative; background: #fff; border-radius: 22px; padding: 36px 32px 32px; max-width: 440px; box-shadow: 0 30px 80px rgba(0, 0, 0, .25); }
.modal__box h2 { font-size: 1.7rem; color: var(--deep); }
.modal__box p { color: var(--muted); }
.modal__x { position: absolute; right: 14px; top: 10px; border: 0; background: none; font-size: 1.8rem; line-height: 1; cursor: pointer; color: var(--muted); padding: 6px; }

/* Responsive */
@media (max-width: 1080px) {
	.cards { grid-template-columns: repeat(2, 1fr); }
	.steps, .faq { grid-template-columns: 1fr; gap: 28px; }
	.rental { grid-template-columns: 1fr; gap: 28px; }
	.note { grid-column: 1; margin: 0; }
}
@media (max-width: 900px) {
	.hero__media.has-img::after { background: linear-gradient(180deg, rgba(246, 239, 225, .9) 0%, rgba(246, 239, 225, .85) 55%, rgba(246, 239, 225, .35) 100%); }
	.nav { position: fixed; inset: 72px 0 auto; background: #fff; flex-direction: column; gap: 0; padding: 8px 16px 16px; box-shadow: 0 12px 24px rgba(11, 58, 74, .12); display: none; }
	.nav.is-open { display: flex; }
	.nav a { padding: 14px 4px; border-bottom: 1px solid var(--line); font-size: 1.05rem; }
	.burger { display: block; }
	.top { background: rgba(255, 255, 255, .96); box-shadow: 0 1px 0 var(--line); }
	.top__in { gap: 10px; }
	.top__cta { display: none; }
	.spots, .team { grid-template-columns: 1fr; }
	.spot { min-height: 280px; }
	.contact { grid-template-columns: 1fr; gap: 32px; }
	.steps__list { grid-template-columns: 1fr; }
	.facts { grid-template-columns: repeat(2, 1fr); }
	.hero { padding-top: 110px; }
	.hero__art { opacity: .9; }
}
@media (max-width: 560px) {
	body { font-size: 15px; }
	.cards { grid-template-columns: 1fr; }
	.logo small { display: none; }
	.logo span { font-size: 1.2rem; }
	.langs button { padding: 7px 7px; }
	.row { grid-template-columns: 1.3fr repeat(3, 1fr); font-size: .88rem; }
	.row > span { padding: 13px 10px; }
	.form__row { grid-template-columns: 1fr; }
	.hero__ctas .btn { flex: 1 1 100%; justify-content: center; }
}
