/* FTS Aroma — estilos propios (sin código de Avada). Iconos SVG: Font Awesome Free, CC BY 4.0 */
:root {
  --blue: #6487c2;
  --navy: #0c3c60;
  --green: #4fc3a3;
  --lime: #8bc34a;
  --text: #86939e;
  --heading: #56585a;
  --nav: #43515e;
  --side-w: 320px;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font: 400 16px/30px Roboto, Arial, sans-serif; color: var(--text); background: #fff; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--text); text-decoration: none; transition: color .2s; }
a:hover { color: var(--green); }
h2 { font-size: 52px; line-height: 1.2; font-weight: 300; letter-spacing: -1px; color: var(--heading); margin: 30px 0; }
p { margin: 0 0 20px; }
h2, h3 { overflow-wrap: break-word; hyphens: auto; }
.two-col > *, .cards-grid > *, .contact-grid > * { min-width: 0; }
h4 { font-size: 16px; line-height: 24px; font-weight: 500; text-transform: uppercase; color: var(--heading); margin: 0 0 28px; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 10px; top: 10px; z-index: 100; background: #fff; padding: 5px 10px; }

/* Botones */
.btn { display: inline-block; font: 500 14px/17px Roboto, Arial, sans-serif; text-transform: uppercase; color: #fff; background: var(--blue); padding: 13px 29px; border: 3px solid #fff; cursor: pointer; transition: background .2s; }
.btn:hover { background: var(--green); color: #fff; }
.btn-dark { background: var(--navy); border: 0; }

/* Cabecera lateral (escritorio) */
/* shortcut: sin overflow para no recortar el submenú; en pantallas de menos de ~650px de alto el pie del lateral queda oculto */
.side { position: fixed; top: 0; left: 0; width: var(--side-w); height: 100vh; background: #efefef; border-right: 1px solid #e5e5e5; z-index: 10; text-align: center; }
.logo { display: block; width: 210px; margin: 31px auto; }
.logo img { margin: 0 auto; max-height: 70px; width: auto; }
.menu-toggle { display: none; }
.menu ul { list-style: none; margin: 0; padding: 0; }
.menu > ul > li { position: relative; }
.menu > ul > li > a { display: block; font-size: 17px; line-height: 55px; color: var(--nav); padding: 0 55px; border-bottom: 1px solid #e5e5e5; }
.menu > ul > li:first-child > a { border-top: 1px solid #e5e5e5; }
.menu > ul > li > a:hover, .menu > ul > li.active > a { color: var(--lime); }
.menu .menu-btn > a { border-bottom: 0; line-height: 16px; padding: 5.5px 0 6.5px; }
.menu-btn span { display: inline-block; font: 500 13px/16px Roboto, Arial, sans-serif; text-transform: uppercase; color: #fff; background: var(--blue); padding: 11px 23px; border: 3px solid #fff; transition: background .2s; }
.menu-btn a:hover span { background: var(--green); }
.sub-toggle { display: none; }
.sub { position: absolute; left: calc(100% - 1px); top: 0; width: 180px; background: #fff; box-shadow: 1px 1px 30px rgba(0,0,0,.06); text-align: left; opacity: 0; visibility: hidden; transition: opacity .2s, visibility .2s; z-index: 20; }
.has-sub:hover > .sub, .has-sub:focus-within > .sub { opacity: 1; visibility: visible; }
.sub a { display: block; font-size: 14px; line-height: 30px; color: var(--nav); padding: 7px 20px; border-bottom: 1px solid #eff3f9; }
.sub a:hover, .sub .active > a { color: var(--green); background: #e5e7ea; }
.side-contact { color: #333; margin: 56px 55px 16px; }
.side-contact span { color: var(--nav); }

.page { margin-left: var(--side-w); }

/* Slider */
.slider { position: relative; height: 100vh; overflow: hidden; }
.slide { position: absolute; inset: 0; background: center / cover no-repeat; display: flex; align-items: center; padding: 0 30px; opacity: 0; transition: opacity .6s; }
.slide.active { opacity: 1; }
.slide-content { max-width: 700px; margin-left: 100px; }
.slide h2 { --n: 86; margin: 0; color: var(--navy); font-size: min(calc(var(--n) * 1px), calc(var(--n) * .0866vw)); line-height: 1.2; }
.slide h2::after { content: ""; display: block; width: 100%; max-width: 150px; border-top: 2px solid #6589c0; margin-top: 30px; }
.slide .btn { margin-top: 67px; }
.slide h3 { margin: 44px 0 0; color: var(--navy); font-size: 22px; line-height: 1.2; font-weight: 300; }
.slide-inner h2 { --n: 90; }
.slide-right .slide-content { margin: 0 100px 0 auto; text-align: right; }
.slide-right h2 { display: inline-block; }
.slide-right h2::after { margin: 30px auto 0; }
.no-sep h2::after { content: none; }

/* Intro */
.intro { background: #ededed; padding: 90px 40px; text-align: center; }
.intro > * { max-width: 478px; margin-left: auto; margin-right: auto; }
.intro h2 { margin-top: calc(30px + 2%); }
.intro h2 span { color: var(--blue); }
.sep { width: 100px; border: 0; border-top: 2px solid #6589c0; margin: 0 auto 35px; }
.intro p { font-size: 22px; line-height: 32px; font-weight: 300; margin-top: 0; margin-bottom: 43px; }
.intro .btn { margin-bottom: 2%; }

/* Páginas internas: bloques compartidos */
.title-block { padding: 90px 40px 0; text-align: center; }
.title-block h2 { max-width: 478px; margin: calc(30px + 2%) auto 30px; }
.title-block h2 span { color: var(--blue); }
.title-block .sep { margin-bottom: 26px; }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 4%; padding: 0 40px; max-width: 1180px; margin: 0 auto; }
.two-col > div:first-child { padding: 20px 3% 0; }
.two-col > div:last-child { padding-top: 10px; }
.two-col img { width: 100%; }
.justify p, .justify li { text-align: justify; }
.history { position: relative; isolation: isolate; color: #fff; text-align: center; padding: 70px 40px 40px; background: rgba(32,104,140,.83) url(/img/bokeh-flower-nature-photography-1200x19201.jpg) center / cover; background-blend-mode: multiply; }
.history h2 { color: #fff; max-width: 478px; margin: calc(30px + 2%) auto 30px; }
.history .sep { border-color: #fff; }
.history > p { max-width: 478px; margin: 0 auto 50px; font-size: 20px; }
.features { list-style: none; margin: 0 auto; padding: 0; max-width: 1100px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; }
.features li { font-size: 24px; line-height: 29px; font-weight: 300; }
.features svg { display: block; width: 72px; height: 72px; padding: 18px; margin: 0 auto 20px; border-radius: 50%; background: #fff; color: var(--green); }
.cards { background: #f7f7f7; padding: 90px 40px 70px; }
.cards-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 4%; align-items: start; max-width: 1100px; margin: 0 auto; padding-top: 2%; }
.card { background: #fff; margin-bottom: 40px; }
.card h3 { font-size: 36px; line-height: 42px; font-weight: 300; color: #fff; margin: 0; padding: 35px 40px; background: #3cadab; }
.card.alt h3 { background: #018bb5; }
.card-body { padding: 40px; }
.card-body > p:first-child { margin-top: 0; }
.card-body .btn { display: table; margin: 20px auto 0; }
.ticks { list-style: none; padding: 0; margin: 0; }
.ticks li { position: relative; padding: 5px 0 5px 37px; border-bottom: 1px solid #eff3f9; }
.ticks li::before { content: ""; position: absolute; left: 4px; top: 13px; width: 14px; height: 8px; border: solid var(--blue); border-width: 0 0 2px 2px; transform: rotate(-45deg); }
.content { max-width: 1100px; margin: 0 auto; padding: 70px 30px 20px; }
.content h2 { margin-top: 30px; }
.featured { margin-bottom: 30px; }
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin: 0 0 16px; padding-top: 10px; }
.gallery a { display: block; margin-bottom: 26px; }
.gallery img { width: 100%; }
.gallery img { transition: transform .4s cubic-bezier(.2,.7,.2,1), opacity .3s; }
.gallery a { overflow: hidden; cursor: zoom-in; }
.gallery a:hover img { transform: scale(1.05); opacity: .9; }
.lightbox { border: 0; padding: 0; overflow: visible; background: #fff; border-radius: 6px; box-shadow: 0 30px 80px rgba(12,60,96,.35); }
.lightbox::backdrop { background: rgba(12,60,96,.55); backdrop-filter: blur(6px); }
.lightbox figure { margin: 0; padding: 30px 30px 16px; text-align: center; }
.lightbox img { display: block; max-width: min(80vw, 700px); max-height: 75vh; width: auto; margin: 0 auto; }
.lightbox figcaption { margin-top: 12px; font-size: 13px; line-height: 20px; letter-spacing: 1px; color: var(--text); }
.lightbox button { position: absolute; border: 0; cursor: pointer; font: 300 30px/1 Roboto, Arial, sans-serif; color: var(--navy); background: #fff; width: 46px; height: 46px; border-radius: 50%; box-shadow: 0 4px 14px rgba(0,0,0,.15); transition: background .2s, color .2s; }
.lightbox button:hover, .lightbox button:focus-visible { background: var(--green); color: #fff; }
.lb-close { top: -16px; right: -16px; font-size: 26px; }
.lb-prev, .lb-next { top: 50%; margin-top: -23px; }
.lb-prev { left: -23px; }
.lb-next { right: -23px; }
.lightbox.single .lb-prev, .lightbox.single .lb-next { display: none; }
@media (max-width: 640px) {
  .lightbox figure { padding: 16px 16px 10px; }
  .lightbox img { max-width: calc(100vw - 72px); }
  .lb-close { top: -12px; right: -8px; }
  .lb-prev { left: -14px; }
  .lb-next { right: -14px; }
}
@media (prefers-reduced-motion: no-preference) {
  .lightbox[open] { animation: lb-in .35s cubic-bezier(.2,.7,.2,1); }
  .lightbox[open]::backdrop { animation: lb-fade .35s ease-out; }
  .lightbox img { animation: lb-fade .3s ease-out; }
}
@keyframes lb-in { from { opacity: 0; transform: translateY(16px) scale(.96); } }
@keyframes lb-fade { from { opacity: 0; } }
.contact { background: #f7f7f7; padding: 60px 40px 80px; }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 6%; max-width: 1100px; margin: 0 auto; padding: 2% 0; }
.form { margin-bottom: 20px; }
.contact .sep { margin: 0 0 35px; border-color: var(--blue); }
.contact .lead { font-size: 22px; line-height: 32px; font-weight: 300; margin: 0 0 52px; }
.form label { display: block; }
.form input:not([type=checkbox]), .form textarea { display: block; width: 100%; height: 55px; margin-bottom: 20px; padding: 0 15px; font: 13px Roboto, Arial, sans-serif; color: var(--text); background: #fff; border: 3px solid #ddd; border-radius: 0; }
.form textarea { height: 150px; padding: 8px 15px; resize: vertical; }
.form input::placeholder, .form textarea::placeholder { color: var(--text); }
.form input:focus, .form textarea:focus { outline: none; border-color: var(--blue); }
.form .check { display: flex; align-items: center; gap: 8px; margin-bottom: 20px; }
.form .btn { width: 100%; }
.hp { position: absolute; left: -9999px; }
.notice { padding: 15px 20px; margin-bottom: 20px; border-left: 3px solid var(--green); background: #fff; }
.notice.err { border-color: #a64242; }
.info { list-style: none; margin: 10px 0 0; padding: 0; line-height: 27.2px; }
.info li { display: flex; gap: 12px; padding-bottom: 5.5px; }
.info svg { width: 16px; height: 27.2px; color: #88929d; flex: none; }
.legal { max-width: 1100px; margin: 0 auto; padding: 70px 30px 20px; }

/* Footer */
.footer { padding: 70px 30px; }
.footer-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; max-width: 1100px; margin: 0 auto; }
.footer-cols img { margin-bottom: 50px; }
.tagline { font-style: italic; font-weight: 300; margin: -20px 0 16px; }
.tagline strong { color: var(--green); }
.checklist { list-style: none; margin: 10px 0 0; padding: 0; font-size: 14px; line-height: 23.8px; }
.checklist li { display: flex; align-items: center; gap: 9.8px; padding: 5.5px 0; }
.checklist li:first-child { padding-top: 0; }
.checklist svg { width: 14px; height: 23.8px; flex: 0 0 23.8px; color: var(--blue); }
.copyright { border-top: 1px solid #eaeaea; padding: 30px; text-align: center; font-size: 14px; }
.copyright a { color: var(--blue); }
.copyright a:hover { color: var(--green); }

/* Aviso de cookies */
.cookies { position: fixed; right: 24px; bottom: 24px; z-index: 50; max-width: 560px; display: flex; align-items: center; gap: 24px; background: var(--navy); color: #c9d6e2; font-size: 13px; line-height: 20px; padding: 22px 24px; border-radius: 8px; box-shadow: 0 18px 50px rgba(12,60,96,.35); }
.cookies::before { content: ""; flex: none; width: 34px; height: 34px; border-radius: 50%; background: radial-gradient(circle at 30% 35%, var(--navy) 3px, transparent 4px), radial-gradient(circle at 65% 60%, var(--navy) 3px, transparent 4px), radial-gradient(circle at 40% 72%, var(--navy) 2px, transparent 3px), var(--green); }
.cookies[hidden] { display: none; }
.cookies a { color: #fff; text-decoration: underline; }
.cookies a:hover { color: var(--green); }
.cookies .btn { flex: none; border: 0; border-radius: 4px; padding: 12px 22px; background: var(--green); }
.cookies .btn:hover { background: #fff; color: var(--navy); }
.slide h2, .slide h3 { hyphens: manual; }
@media (max-width: 640px) {
  .cookies { left: 12px; right: 12px; bottom: 12px; flex-wrap: wrap; gap: 14px; padding: 18px; }
  .cookies span { flex: 1 1 calc(100% - 48px); }
  .cookies .btn { width: 100%; }
}

/* Móvil y tablet */
@media (max-width: 1000px) {
  .side { position: sticky; top: 0; width: auto; height: auto; background: #fff; border: 0; display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: space-between; padding: 20px 30px; text-align: left; }
  .logo { width: 100px; margin: 0; }
  .logo img { max-height: 35px; }
  .menu-toggle { display: block; background: none; border: 0; padding: 0; color: var(--green); cursor: pointer; line-height: 0; }
  .side-contact { display: none; }
  .menu { display: none; flex-basis: calc(100% + 60px); margin: 20px -30px -20px; border-top: 1px solid #eff3f9; }
  .menu.open { display: block; max-height: calc(100vh - 75px); overflow-y: auto; }
  .menu > ul > li > a, .menu > ul > li:first-child > a, .sub a { font-size: 18px; line-height: 20px; letter-spacing: 1px; color: var(--heading); padding: 17.5px 12px 17.5px 30px; border: 0; border-bottom: 1px solid #eff3f9; background: #fff; }
  .menu > ul > li.active > a, .menu a:hover { color: var(--green); background: #fafcfe; }
  .menu-btn span { all: unset; }
  .sub { position: static; width: auto; box-shadow: none; opacity: 1; visibility: visible; display: none; }
  .sub.open { display: block; }
  .sub a { padding-left: 50px; }
  .sub-toggle { display: block; position: absolute; right: 0; top: 0; width: 55px; height: 55px; background: none; border: 0; cursor: pointer; }
  .sub-toggle::before { content: ""; position: absolute; right: 30px; top: 22px; width: 10px; height: 10px; border: solid var(--nav); border-width: 0 1.5px 1.5px 0; transform: rotate(45deg); }
  .sub-toggle[aria-expanded="true"]::before { transform: rotate(-135deg); top: 26px; }
  .page { margin-left: 0; }
  .slider { height: calc(100vh - 75px); }
  .slide h2 { font-size: calc(var(--n) * .0741vw); }
}
@media (max-width: 800px) {
  .slide-content, .slide-right .slide-content { margin: 0; }
  .two-col, .cards-grid, .contact-grid { grid-template-columns: 1fr; }
  .features { grid-template-columns: 1fr 1fr; }
  .gallery { grid-template-columns: repeat(2, 1fr); gap: 0 10px; }
  .footer-cols { display: block; }
  .footer-cols > div { margin-bottom: 50px; min-height: 1px; }
  .footer-cols img { margin-bottom: 80px; }
}
@media (max-width: 640px) {
  .slide .btn { margin-top: 56px; }
}

/* Efectos (solo si el usuario no pidió reducir movimiento) */
@media (prefers-reduced-motion: no-preference) {
  .slide { isolation: isolate; }
  .slide::before { content: ""; position: absolute; inset: 0; z-index: -1; background: inherit; animation: zoom 14s ease-out both; }
  .slide.active .slide-content > * { animation: rise .9s cubic-bezier(.2,.7,.2,1) both; }
  .slide.active .slide-content .btn { animation-delay: .25s; }
  .reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s ease-out, transform .8s cubic-bezier(.2,.7,.2,1); }
  .reveal.in { opacity: 1; transform: none; }
  .btn, .menu-btn span { transition: background .2s, transform .2s, box-shadow .2s; }
  .btn:hover, .menu-btn a:hover span { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(12,60,96,.18); }
  .cookies:not([hidden]) { animation: rise .5s ease-out both; }
}
@keyframes zoom { from { transform: scale(1.08); } }
@keyframes rise { from { opacity: 0; transform: translateY(30px); } }

/* Páginas de gracias */
.thanks { min-height: calc(100vh - 151px); display: flex; align-items: center; justify-content: center; padding: 90px 30px; background: #f7f7f7 radial-gradient(circle at 85% 15%, rgba(79,195,163,.14), transparent 45%), radial-gradient(circle at 10% 90%, rgba(100,135,194,.14), transparent 45%); }
.thanks-card { max-width: 640px; text-align: center; background: #fff; padding: 60px 50px 54px; border-radius: 8px; box-shadow: 0 20px 60px rgba(12,60,96,.08); }
.thanks-check { width: 84px; height: 84px; margin: 0 auto 26px; display: block; fill: none; stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
.thanks-check circle { stroke: var(--green); fill: rgba(79,195,163,.1); }
.thanks-check path { stroke: var(--green); stroke-width: 3.5; }
.thanks-eyebrow { margin: 0 0 6px; font-size: 13px; font-weight: 500; letter-spacing: 3px; text-transform: uppercase; color: var(--green); }
.thanks h1 { font-size: 52px; line-height: 1.15; font-weight: 300; letter-spacing: -1px; color: var(--heading); margin: 0 0 30px; overflow-wrap: break-word; }
.thanks h1 span { color: var(--blue); }
.thanks .sep { margin-bottom: 30px; }
.thanks-text { font-size: 20px; line-height: 32px; font-weight: 300; }
.thanks-note { font-size: 14px; line-height: 24px; margin-bottom: 36px; }
.thanks-actions { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }
.btn-outline { background: transparent; color: var(--blue); border-color: var(--blue); }
.thanks-actions .btn { border-color: var(--blue); }
.thanks-actions .btn:hover { border-color: var(--green); background: var(--green); color: #fff; }
@media (max-width: 640px) {
  .thanks { padding: 50px 16px; }
  .thanks-card { padding: 44px 24px 40px; }
  .thanks h1 { font-size: 36px; }
  .thanks-actions .btn { width: 100%; }
}
@media (prefers-reduced-motion: no-preference) {
  .thanks-check circle { stroke-dasharray: 151; stroke-dashoffset: 151; animation: draw .7s ease-out .1s forwards; }
  .thanks-check path { stroke-dasharray: 36; stroke-dashoffset: 36; animation: draw .4s ease-out .7s forwards; }
  .thanks-card { animation: rise .7s cubic-bezier(.2,.7,.2,1) both; }
}
@keyframes draw { to { stroke-dashoffset: 0; } }
