:root {
  --ink: #10202f;
  --ink-soft: #3d4a56;
  --paper: #f6f3ec;
  --paper-2: #ede8de;
  --white: #fff;
  --accent: #ff6b35;
  --accent-light: #ffb38f;
  --blue: #1678f2;
  --green: #4a9f75;
  --radius: 24px;
  --shadow: 0 24px 70px rgba(16,32,47,.12);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; line-height: 1.55; -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
.shell { width: min(1180px, calc(100% - 48px)); margin-inline: auto; }
.skip-link { position: fixed; top: 8px; left: 8px; z-index: 1000; background: white; padding: 10px 14px; transform: translateY(-160%); }
.skip-link:focus { transform: none; }

.site-header { position: fixed; inset: 0 0 auto; z-index: 50; padding: 18px 0; transition: .25s ease; }
.site-header.scrolled { padding: 10px 0; background: rgba(246,243,236,.9); border-bottom: 1px solid rgba(16,32,47,.08); backdrop-filter: blur(16px); }
.nav-wrap { display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 11px; }
.brand-mark { display: grid; place-items: center; width: 42px; aspect-ratio: 1; border-radius: 13px; color: white; background: var(--ink); font-size: 13px; font-weight: 900; letter-spacing: -.04em; transform: rotate(-3deg); }
.brand-copy { display: flex; flex-direction: column; line-height: 1.05; }
.brand-copy strong { font-size: 16px; letter-spacing: -.02em; }
.brand-copy small { margin-top: 5px; color: var(--ink-soft); font-size: 10px; font-weight: 800; letter-spacing: .15em; text-transform: uppercase; }
.desktop-nav { display: flex; align-items: center; gap: 30px; margin-left: auto; }
.desktop-nav a { font-size: 14px; font-weight: 750; }
.desktop-nav a:hover { color: var(--accent); }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 54px; padding: 0 24px; border-radius: 100px; font-size: 14px; font-weight: 850; transition: transform .2s ease, box-shadow .2s ease, background .2s ease; }
.button:hover { transform: translateY(-2px); }
.button-small { min-height: 44px; padding-inline: 20px; font-size: 13px; }
.button-dark { color: white; background: var(--ink); }
.button-primary { color: white; background: var(--accent); box-shadow: 0 12px 32px rgba(255,107,53,.26); }
.button-primary:hover { background: #ee5b27; box-shadow: 0 16px 36px rgba(255,107,53,.32); }

.hero { position: relative; min-height: 780px; overflow: hidden; padding: 156px 0 90px; background: radial-gradient(circle at 78% 26%, rgba(22,120,242,.13), transparent 28%), linear-gradient(135deg,#fbf8f1 0%,#f3eee5 100%); }
.hero::after { content: ""; position: absolute; inset: auto 0 0; height: 1px; background: linear-gradient(90deg, transparent, rgba(16,32,47,.15), transparent); }
.hero-grid { display: grid; grid-template-columns: 1.02fr .98fr; align-items: center; gap: 64px; }
.hero-copy { position: relative; z-index: 2; }
.eyebrow { display: flex; align-items: center; gap: 10px; margin: 0 0 20px; color: var(--ink-soft); font-size: 12px; font-weight: 900; letter-spacing: .16em; text-transform: uppercase; }
.eyebrow span { display: block; width: 28px; height: 3px; border-radius: 2px; background: var(--accent); }
.eyebrow.light { color: rgba(255,255,255,.68); }
.hero h1 { max-width: 680px; margin: 0; font-size: clamp(48px, 6vw, 79px); line-height: .98; letter-spacing: -.057em; }
.hero h1 em { display: block; color: var(--accent); font-style: normal; }
.hero-lead { max-width: 620px; margin: 30px 0 0; color: var(--ink-soft); font-size: 18px; line-height: 1.65; }
.hero-actions { display: flex; align-items: center; gap: 28px; margin-top: 36px; }
.text-link { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 850; border-bottom: 1px solid rgba(16,32,47,.3); }
.trust-row { display: flex; flex-wrap: wrap; gap: 18px 26px; margin: 38px 0 0; padding: 0; list-style: none; color: var(--ink-soft); font-size: 13px; font-weight: 700; }
.trust-row span { display: inline-grid; place-items: center; width: 19px; aspect-ratio: 1; margin-right: 6px; border-radius: 50%; color: white; background: var(--green); font-size: 11px; }
.hero-showcase { position: relative; min-height: 530px; perspective: 1300px; }
.mini-site { position: absolute; width: 420px; overflow: hidden; border: 7px solid white; border-radius: 19px; background: white; box-shadow: var(--shadow); }
.mini-site-pool { top: 0; right: -48px; transform: rotate(3deg); z-index: 1; }
.mini-site-fit { top: 148px; left: 2px; transform: rotate(-5deg); z-index: 3; }
.mini-site-tep { right: -10px; bottom: 0; width: 354px; transform: rotate(2deg); z-index: 4; }
.browser-bar { display: flex; align-items: center; gap: 5px; height: 28px; padding: 0 10px; color: #71808b; background: #f5f6f7; font-size: 9px; }
.browser-bar i { width: 6px; height: 6px; border-radius: 50%; background: #cbd2d8; }
.browser-bar span { margin-left: 7px; }
.mini-content { position: relative; height: 204px; overflow: hidden; }
.pool-content { display: flex; align-items: flex-end; justify-content: space-between; padding: 18px 20px; color: white; background: linear-gradient(0deg,rgba(3,32,46,.86),rgba(3,32,46,.12)), url("assets/aldapool-pool.jpg") center/cover; }
.fit-content { display: flex; align-items: flex-end; justify-content: space-between; padding: 18px 20px; color: white; background: linear-gradient(0deg,rgba(18,10,31,.83),rgba(34,10,56,.06)), url("assets/okfit-hero.jpg") center 38%/cover; }
.tep-content { display: flex; align-items: center; justify-content: flex-start; gap: 14px; padding: 20px; background: linear-gradient(120deg,#f7f8fa,#e7f4fb); }
.mini-content > div { display: flex; flex-direction: column; max-width: 72%; }
.mini-content small { margin-bottom: 4px; font-size: 8px; font-weight: 900; letter-spacing: .13em; }
.mini-content strong { font-size: 20px; line-height: 1.05; }
.mini-logo.pool-logo { width: 48px; padding: 5px; border-radius: 8px; background: rgba(255,255,255,.86); }
.mini-logo.fit-logo { position: absolute; top: 13px; left: 15px; width: 72px; padding: 4px 8px; border-radius: 8px; background: rgba(255,255,255,.9); }
.mini-machine { width: 118px; height: 118px; object-fit: contain; mix-blend-mode: multiply; }
.showcase-note { position: absolute; left: -6px; bottom: 0; z-index: 6; display: flex; align-items: center; gap: 12px; padding: 15px 18px; border-radius: 16px; color: white; background: var(--ink); box-shadow: 0 16px 35px rgba(16,32,47,.22); transform: rotate(2deg); }
.showcase-note b { color: var(--accent-light); font-size: 30px; line-height: 1; }
.showcase-note span { font-size: 11px; font-weight: 750; line-height: 1.3; }
.hero-orb { position: absolute; border-radius: 50%; filter: blur(1px); opacity: .45; }
.hero-orb-one { top: 22%; right: -120px; width: 290px; height: 290px; border: 58px solid rgba(255,107,53,.15); }
.hero-orb-two { left: -85px; bottom: -120px; width: 220px; height: 220px; background: rgba(22,120,242,.1); }

.section { padding: 112px 0; }
.intro-strip { background: var(--ink); color: white; }
.intro-grid { display: grid; grid-template-columns: .65fr 2.15fr 1fr; gap: 56px; align-items: start; }
.section-kicker { margin: 9px 0 0; color: var(--accent-light); font-size: 12px; font-weight: 900; letter-spacing: .14em; text-transform: uppercase; }
.intro-grid h2 { margin: 0; font-size: clamp(32px, 4.3vw, 55px); line-height: 1.08; letter-spacing: -.045em; }
.intro-grid h2 span { color: var(--accent-light); }
.intro-text { margin: 8px 0 0; color: rgba(255,255,255,.64); font-size: 15px; line-height: 1.75; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 60px; margin-bottom: 48px; }
.section-heading h2, .pricing-intro h2, .process-title h2 { margin: 0; font-size: clamp(38px, 5vw, 60px); line-height: 1.05; letter-spacing: -.045em; }
.section-heading > p { max-width: 440px; margin: 0 0 5px; color: var(--ink-soft); font-size: 16px; }
.projects { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.project { display: grid; grid-template-columns: 1.08fr .92fr; min-height: 430px; overflow: hidden; border-radius: var(--radius); background: white; box-shadow: 0 8px 32px rgba(16,32,47,.07); transition: transform .25s ease, box-shadow .25s ease; }
.project:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.project-featured { grid-column: 1 / -1; grid-template-columns: 1.5fr .75fr; min-height: 510px; }
.project-visual { position: relative; min-height: 310px; overflow: hidden; }
.project-visual > img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.project:hover .project-visual > img { transform: scale(1.035); }
.pool-visual::after, .fit-visual::after { content: ""; position: absolute; inset: 0; background: linear-gradient(120deg,transparent 48%,rgba(16,32,47,.2)); }
.fit-visual > img { object-position: center 31%; }
.tep-visual { background: linear-gradient(145deg,#eaf6fc,#d8ebf4); }
.tep-visual > img { position: absolute; width: 58%; height: 82%; right: 2%; bottom: 3%; object-fit: contain; mix-blend-mode: multiply; }
.tep-bg-word { position: absolute; left: -7px; top: 34px; color: rgba(16,32,47,.06); font-size: 88px; font-weight: 950; letter-spacing: -.07em; writing-mode: vertical-rl; transform: rotate(180deg); }
.project-screen { position: absolute; z-index: 2; left: 22px; bottom: 22px; display: flex; flex-direction: column; width: min(310px, calc(100% - 44px)); padding: 19px; border: 5px solid rgba(255,255,255,.92); border-radius: 16px; color: white; background: rgba(16,32,47,.89); box-shadow: 0 15px 35px rgba(16,32,47,.24); backdrop-filter: blur(8px); }
.project-screen img { width: 58px; max-height: 36px; margin-bottom: 16px; object-fit: contain; object-position: left center; border-radius: 3px; }
.fit-screen img { width: 78px; padding: 3px 6px; background: white; }
.tep-screen img { width: 82px; padding: 5px; background: white; }
.project-screen b { font-size: 17px; }
.project-screen span { color: rgba(255,255,255,.66); font-size: 11px; }
.project-info { display: flex; flex-direction: column; padding: 34px; }
.project-info > div { display: flex; align-items: center; justify-content: space-between; gap: 14px; }
.project-number { color: var(--accent); font-size: 12px; font-weight: 900; }
.project-tag { color: #68747f; font-size: 10px; font-weight: 850; letter-spacing: .08em; text-transform: uppercase; }
.project-info h3 { margin: auto 0 10px; font-size: 33px; line-height: 1; letter-spacing: -.04em; }
.project-info p { margin: 0; color: var(--ink-soft); font-size: 14px; }
.project-link { margin-top: 27px; font-size: 13px; font-weight: 900; }
.project-link b { color: var(--accent); font-size: 16px; }

.services { color: white; background: #142534; }
.section-heading.compact > div { max-width: 650px; }
.section-heading.compact > p { color: rgba(255,255,255,.6); }
.service-grid { display: grid; grid-template-columns: repeat(3,1fr); border-top: 1px solid rgba(255,255,255,.13); border-left: 1px solid rgba(255,255,255,.13); }
.service-grid article { min-height: 240px; padding: 32px; border-right: 1px solid rgba(255,255,255,.13); border-bottom: 1px solid rgba(255,255,255,.13); }
.service-grid article:hover { background: rgba(255,255,255,.035); }
.service-grid span { color: var(--accent-light); font-size: 11px; font-weight: 900; }
.service-grid h3 { margin: 46px 0 12px; font-size: 21px; }
.service-grid p { margin: 0; color: rgba(255,255,255,.6); font-size: 14px; }

.process { background: #ebe6dc; }
.process .shell { display: grid; grid-template-columns: .8fr 1.2fr; gap: 90px; }
.process-title { position: sticky; top: 130px; align-self: start; }
.process-list { margin: 0; padding: 0; list-style: none; border-top: 1px solid rgba(16,32,47,.18); }
.process-list li { display: grid; grid-template-columns: 58px 1fr; gap: 22px; padding: 31px 0; border-bottom: 1px solid rgba(16,32,47,.18); }
.process-list li > b { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; color: white; background: var(--ink); font-size: 12px; }
.process-list h3 { margin: 0 0 6px; font-size: 20px; }
.process-list p { margin: 0; color: var(--ink-soft); font-size: 14px; }

.pricing { background: #faf8f3; }
.pricing-intro { max-width: 750px; margin-bottom: 50px; }
.pricing-intro > p:last-child { max-width: 650px; margin: 22px 0 0; color: var(--ink-soft); }
.price-cards { display: grid; grid-template-columns: repeat(3,1fr); align-items: stretch; gap: 16px; }
.price-cards article { position: relative; padding: 36px; border: 1px solid rgba(16,32,47,.14); border-radius: 21px; background: white; }
.price-cards .price-main { color: white; background: var(--ink); border-color: var(--ink); transform: translateY(-10px); box-shadow: var(--shadow); }
.popular { position: absolute; top: 16px; right: 16px; padding: 6px 10px; border-radius: 20px; color: var(--ink); background: var(--accent-light); font-size: 9px; font-weight: 900; letter-spacing: .06em; text-transform: uppercase; }
.plan { margin: 0 0 12px; color: var(--accent); font-size: 11px; font-weight: 900; letter-spacing: .14em; text-transform: uppercase; }
.price-cards h3 { margin: 0; font-size: 22px; }
.price { margin: 20px 0 28px; font-size: 32px; font-weight: 900; letter-spacing: -.04em; }
.price small { font-size: 11px; font-weight: 700; letter-spacing: 0; }
.price-cards ul { display: grid; gap: 10px; margin: 0; padding: 22px 0 0; border-top: 1px solid rgba(16,32,47,.12); list-style: none; }
.price-main ul { border-color: rgba(255,255,255,.16); }
.price-cards li { position: relative; padding-left: 20px; color: var(--ink-soft); font-size: 13px; }
.price-main li { color: rgba(255,255,255,.72); }
.price-cards li::before { content: "✓"; position: absolute; left: 0; color: var(--green); font-weight: 900; }
.price-note { margin: 22px 0 0; color: #6d7881; font-size: 11px; }

.about { background: var(--paper); }
.about-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 24px; }
.about-card { padding: 60px; border-radius: var(--radius); color: white; background: linear-gradient(145deg,#122636,#0c1824); }
.about-label { color: var(--accent-light); font-size: 11px; font-weight: 900; letter-spacing: .14em; text-transform: uppercase; }
.about-card h2 { max-width: 760px; margin: 24px 0; font-size: clamp(34px,4vw,53px); line-height: 1.06; letter-spacing: -.045em; }
.about-card > p { max-width: 680px; color: rgba(255,255,255,.66); }
.about-card blockquote { margin: 46px 0 0; padding: 24px 0 0; border-top: 1px solid rgba(255,255,255,.18); color: white; font-size: 19px; font-weight: 760; }
.about-points { display: grid; border: 1px solid rgba(16,32,47,.13); border-radius: var(--radius); background: white; }
.about-points > div { padding: 32px; border-bottom: 1px solid rgba(16,32,47,.12); }
.about-points > div:last-child { border-bottom: 0; }
.about-points b { color: var(--accent); font-size: 11px; }
.about-points h3 { margin: 18px 0 7px; font-size: 20px; }
.about-points p { margin: 0; color: var(--ink-soft); font-size: 14px; }

.contact { padding: 100px 0; color: white; background: var(--blue); }
.contact-grid { display: grid; grid-template-columns: 1.25fr .75fr; gap: 100px; align-items: end; }
.contact h2 { max-width: 760px; margin: 0; font-size: clamp(44px,6vw,74px); line-height: 1; letter-spacing: -.052em; }
.contact div > p { max-width: 650px; margin: 24px 0 34px; color: rgba(255,255,255,.74); }
.contact .button-primary { color: var(--ink); background: white; box-shadow: none; }
.contact address { padding: 32px; border: 1px solid rgba(255,255,255,.26); border-radius: 20px; font-style: normal; background: rgba(255,255,255,.08); }
.contact address span { display: block; color: rgba(255,255,255,.62); font-size: 10px; font-weight: 900; letter-spacing: .13em; text-transform: uppercase; }
.contact address strong { display: block; margin-top: 10px; font-size: 22px; }
.contact address p { margin: 24px 0 0; color: rgba(255,255,255,.76); font-size: 14px; }
.contact address a { color: white; font-weight: 800; }
.contact address em { color: rgba(255,255,255,.54); font-size: 11px; }
footer { padding: 30px 0; color: rgba(255,255,255,.65); background: var(--ink); }
.footer-row { display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.footer-brand .brand-mark { background: white; color: var(--ink); }
.footer-brand .brand-copy strong { color: white; }
.footer-brand .brand-copy small { color: rgba(255,255,255,.45); }
.footer p, footer > div > a { font-size: 11px; }
footer > div > a { color: white; font-weight: 800; }

[data-reveal] { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s ease; }
[data-reveal].visible { opacity: 1; transform: none; }

@media (max-width: 1020px) {
  .desktop-nav { display: none; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero { padding-top: 140px; }
  .hero-showcase { width: min(620px,100%); margin-inline: auto; }
  .intro-grid { grid-template-columns: 1fr 2.4fr; }
  .intro-text { grid-column: 2; }
  .project, .project-featured { grid-template-columns: 1fr; }
  .project-info { min-height: 270px; }
  .service-grid { grid-template-columns: repeat(2,1fr); }
  .process .shell { gap: 50px; }
  .about-grid { grid-template-columns: 1fr; }
  .contact-grid { gap: 50px; }
}

@media (max-width: 760px) {
  .shell { width: min(100% - 30px, 620px); }
  .site-header { padding-top: 12px; }
  .site-header .button { display: none; }
  .hero { min-height: auto; padding: 122px 0 70px; }
  .hero h1 { font-size: clamp(45px,14vw,65px); }
  .hero-lead { font-size: 16px; }
  .hero-actions { align-items: flex-start; flex-direction: column; }
  .hero-showcase { min-height: 410px; margin-top: 18px; transform: scale(.9); transform-origin: center top; }
  .mini-site { width: 330px; }
  .mini-site-pool { right: -15px; }
  .mini-site-fit { top: 120px; left: -15px; }
  .mini-site-tep { width: 295px; right: -6px; }
  .mini-content { height: 160px; }
  .mini-machine { width: 88px; height: 88px; }
  .showcase-note { left: 0; bottom: -8px; }
  .section { padding: 78px 0; }
  .intro-grid { grid-template-columns: 1fr; gap: 24px; }
  .intro-text { grid-column: auto; }
  .section-heading { align-items: flex-start; flex-direction: column; gap: 22px; }
  .projects { grid-template-columns: 1fr; }
  .project-featured { grid-column: auto; }
  .project-info { min-height: 250px; padding: 28px; }
  .project-visual { min-height: 340px; }
  .service-grid { grid-template-columns: 1fr; }
  .service-grid article { min-height: 210px; }
  .process .shell { grid-template-columns: 1fr; }
  .process-title { position: static; }
  .price-cards { grid-template-columns: 1fr; }
  .price-cards .price-main { transform: none; }
  .about-card { padding: 38px 28px; }
  .contact-grid { grid-template-columns: 1fr; }
  .contact h2 { font-size: clamp(44px,14vw,64px); }
  .footer-row { align-items: flex-start; flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
  [data-reveal] { opacity: 1; transform: none; }
}
