@import "tailwindcss";

:root {
  --ink: #10211d;
  --river: #173f38;
  --river-2: #0c302d;
  --blue: #0675bd;
  --blue-dark: #005c98;
  --rust: #c9582b;
  --aluminum: #e8e7e1;
  --paper: #f7f5ef;
  --white: #fff;
  --muted: #68736f;
  --line: #cfd4cf;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; overflow-x: hidden; color: var(--ink); background: var(--paper); font-family: var(--font-body), Arial, sans-serif; line-height: 1.55; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
:focus-visible { outline: 3px solid #ffb229; outline-offset: 3px; }
.wrap { width: min(1180px, calc(100% - 40px)); margin-inline: auto; }
.skip-link { position: fixed; z-index: 1000; top: 8px; left: 8px; padding: 10px 14px; background: white; transform: translateY(-150%); }
.skip-link:focus { transform: none; }

.site-header { position: relative; z-index: 50; background: rgba(247,245,239,.96); border-bottom: 1px solid rgba(16,33,29,.13); }
.header-bar { background: var(--river-2); color: #dce7e3; font-size: 12px; letter-spacing: .06em; }
.header-bar .wrap { display: flex; justify-content: space-between; padding-block: 8px; }
.nav-wrap { min-height: 78px; display: flex; align-items: center; gap: 34px; }
.brand { margin-right: auto; }
.brand img { width: 215px; height: auto; }
.desktop-nav { display: flex; align-items: center; gap: 27px; font-weight: 650; font-size: 14px; }
.desktop-nav > a, .nav-details > summary { padding-block: 28px; }
.desktop-nav a:hover, .nav-details summary:hover { color: var(--blue); }
.nav-details { position: relative; }
.nav-details summary { list-style: none; cursor: pointer; }
.nav-details summary::after { content: " ▾"; font-size: 10px; }
.nav-details div { position: absolute; top: 66px; left: -18px; min-width: 180px; padding: 10px; display: grid; background: white; border: 1px solid var(--line); box-shadow: 0 18px 45px rgba(16,33,29,.13); }
.nav-details div a { padding: 10px 12px; }
.mobile-menu { display: none; }
.button { min-height: 50px; padding: 14px 20px; display: inline-flex; justify-content: center; align-items: center; border: 1px solid transparent; font-weight: 750; cursor: pointer; transition: background .2s, color .2s, border-color .2s, transform .2s; }
.button:hover { transform: translateY(-2px); }
.button-primary, .button-small { background: var(--rust); color: white; }
.button-primary:hover, .button-small:hover { background: #ac431e; }
.button-ghost { color: white; border-color: rgba(255,255,255,.75); }
.button-ghost:hover { background: white; color: var(--ink); }
.button-small { min-height: 44px; padding: 11px 17px; font-size: 13px; }

.hero { min-height: 760px; position: relative; display: flex; align-items: flex-end; overflow: hidden; color: white; background: var(--river-2); }
.hero-media, .hero-shade { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-media { object-fit: cover; object-position: 50% 48%; }
.hero-shade { background: linear-gradient(90deg, rgba(6,24,22,.82) 0%, rgba(6,24,22,.58) 44%, rgba(6,24,22,.12) 75%), linear-gradient(0deg, rgba(6,24,22,.55), transparent 50%); }
.hero-content { position: relative; z-index: 2; padding: 0 0 170px; }
.eyebrow { margin: 0 0 14px; color: var(--blue-dark); font-size: 12px; font-weight: 800; letter-spacing: .13em; }
.eyebrow.light { color: #94d4ff; }
h1, h2 { margin: 0; font-family: var(--font-display), Impact, sans-serif; font-weight: 400; text-transform: uppercase; letter-spacing: -.035em; line-height: .95; }
h1 { max-width: 1040px; font-size: clamp(58px, 7.4vw, 110px); }
h2 { font-size: clamp(42px, 5.2vw, 74px); }
h3 { margin: 0; line-height: 1.1; }
.hero-lede { max-width: 690px; margin: 28px 0 32px; font-size: clamp(18px, 2vw, 23px); line-height: 1.5; color: #eef3f0; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-specs { position: absolute; z-index: 3; bottom: 0; left: 0; right: 0; display: grid; grid-template-columns: repeat(3, 1fr); background: rgba(12,48,45,.94); border-top: 1px solid rgba(255,255,255,.2); }
.hero-specs span { padding: 26px 32px; text-align: center; border-right: 1px solid rgba(255,255,255,.18); font-size: 14px; }
.hero-specs strong { display: block; color: #fff; font-size: 16px; }

.section { padding-block: 110px; }
.section-heading { margin-bottom: 44px; display: grid; grid-template-columns: 1.3fr .7fr; align-items: end; gap: 60px; }
.section-heading > p { margin: 0 0 8px; color: var(--muted); font-size: 17px; }
.product-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.product-card { background: white; border: 1px solid var(--line); overflow: hidden; }
.product-card a { display: grid; grid-template-columns: 45% 55%; height: 100%; }
.product-image { min-height: 310px; overflow: hidden; background: #d9dad6; }
.product-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.product-card:hover img { transform: scale(1.035); }
.product-copy { padding: 34px 30px; display: flex; flex-direction: column; align-items: flex-start; }
.product-copy h3 { font-size: 27px; }
.product-copy p { color: var(--muted); }
.product-copy span { margin-top: auto; color: var(--blue-dark); font-weight: 800; }

.story-split { display: grid; grid-template-columns: 1fr 1fr; background: var(--aluminum); }
.story-image { min-height: 720px; position: relative; }
.story-image img { width: 100%; height: 100%; object-fit: cover; object-position: 8% 50%; }
.image-caption { position: absolute; left: 24px; bottom: 24px; padding: 8px 12px; background: rgba(10,30,27,.82); color: white; font-size: 13px; }
.story-copy { align-self: center; padding: 90px clamp(40px, 7vw, 110px); }
.story-copy h2 { max-width: 620px; }
.story-copy p { max-width: 630px; color: #4f5d59; font-size: 17px; }
.text-link { display: inline-flex; gap: 24px; margin-top: 18px; padding-bottom: 6px; border-bottom: 2px solid var(--blue); font-weight: 800; color: var(--blue-dark); }
.process { background: var(--river-2); color: white; }
.process h2 { max-width: 940px; }
.process-grid { margin-top: 55px; display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid rgba(255,255,255,.25); }
.process-grid article { padding: 26px 25px 12px 0; border-right: 1px solid rgba(255,255,255,.2); }
.process-grid article + article { padding-left: 25px; }
.process-grid span { color: #8ed1ff; font-family: var(--font-display); font-size: 34px; }
.process-grid h3 { margin-top: 36px; font-size: 21px; }
.process-grid p, .technical-note { color: #c7d3cf; }
.technical-note { max-width: 900px; margin: 55px 0 0; padding-left: 18px; border-left: 3px solid var(--rust); font-size: 13px; }
.application-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.application-card { min-height: 520px; padding: 40px; position: relative; display: flex; align-items: end; color: white; background: var(--river); overflow: hidden; }
.application-card::before { content: ""; position: absolute; inset: 0; background-size: cover; background-position: center; transition: transform .4s; }
.application-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(5,25,22,.9), rgba(5,25,22,.05) 70%); }
.application-card.fishing::before { background-image: url("/images/web/balsa-clientes.webp"); }
.application-card.rafting::before { background-image: url("/images/web/frame-rafting.webp"); }
.application-card:hover::before { transform: scale(1.03); }
.application-card > div { position: relative; z-index: 2; }
.application-card h3 { max-width: 500px; font-size: 34px; }
.application-card a { display: inline-block; margin-top: 22px; font-weight: 800; color: #a9dcff; }
.b2b { background: var(--blue-dark); color: white; }
.b2b-grid { display: grid; grid-template-columns: 1.25fr .75fr; gap: 90px; align-items: center; }
.b2b h2 { max-width: 800px; }
.b2b p { max-width: 720px; color: #d8e9f3; font-size: 18px; }
.market-links { display: grid; grid-template-columns: 1fr 1fr; margin-top: 36px; border-top: 1px solid rgba(255,255,255,.35); }
.market-links a { padding: 20px 20px 20px 0; font-size: 22px; font-weight: 800; border-bottom: 1px solid rgba(255,255,255,.35); }
.market-links a + a { padding-left: 20px; border-left: 1px solid rgba(255,255,255,.35); }
.market-links span { display: block; font-size: 12px; font-weight: 600; opacity: .75; }
.check-list { margin: 0; padding: 0; list-style: none; border-top: 1px solid rgba(255,255,255,.3); }
.check-list li { padding: 21px 0 21px 34px; position: relative; border-bottom: 1px solid rgba(255,255,255,.3); font-weight: 700; }
.check-list li::before { content: "+"; position: absolute; left: 3px; color: #ffd0bd; font-size: 23px; }
.river-ready { display: grid; grid-template-columns: .85fr 1.15fr; gap: 80px; align-items: center; }
.river-ready p { color: var(--muted); font-size: 17px; }
.river-ready .small { font-size: 13px; }
.river-ready img { width: 100%; height: 470px; object-fit: cover; }
.contact-section { background: var(--aluminum); }
.contact-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 70px; align-items: start; }
.contact-grid > div > p { color: var(--muted); }
.lead-form { padding: 36px; background: white; border-top: 5px solid var(--blue); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.lead-form label { display: grid; gap: 7px; margin-bottom: 16px; font-size: 13px; font-weight: 750; }
.lead-form input, .lead-form select, .lead-form textarea { width: 100%; padding: 13px 14px; color: var(--ink); background: #fbfbf8; border: 1px solid #aeb6b1; border-radius: 0; }
.lead-form .consent { display: flex; align-items: flex-start; font-weight: 500; }
.lead-form .consent input { width: 18px; margin-top: 3px; }
.lead-form .button { width: 100%; }
.form-note { color: var(--muted); font-size: 12px; }
.form-success { padding: 45px; background: white; border-top: 5px solid #3a8f70; font-size: 17px; }

.inner-hero { padding: 100px 0 80px; background: var(--river-2); color: white; }
.inner-hero h1 { max-width: 1050px; font-size: clamp(50px, 7vw, 98px); }
.inner-hero p:not(.eyebrow) { max-width: 760px; font-size: 20px; color: #d7e2de; }
.breadcrumb { margin-bottom: 35px; color: #b6c7c1; font-size: 13px; }
.content-grid { display: grid; grid-template-columns: 2fr 1fr; gap: 80px; }
.prose { font-size: 18px; }
.prose h2 { margin: 55px 0 20px; font-size: clamp(36px, 4vw, 58px); }
.prose h3 { margin-top: 32px; font-size: 24px; }
.prose p, .prose li { color: #4e5b57; }
.side-panel { align-self: start; padding: 28px; background: var(--aluminum); position: sticky; top: 20px; }
.side-panel h3 { margin-bottom: 18px; }
.side-panel a { width: 100%; margin-top: 16px; }
.spec-list { padding: 0; list-style: none; border-top: 1px solid #bfc5c1; }
.spec-list li { padding: 13px 0; border-bottom: 1px solid #bfc5c1; }
.product-hero-image { width: 100%; max-height: 640px; object-fit: cover; background: #ddd; }
.product-gallery-section { padding-bottom: 20px; }
.product-gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.product-gallery figure { margin: 0; background: white; border: 1px solid var(--line); }
.product-gallery img { width: 100%; height: 330px; object-fit: cover; }
.product-gallery figcaption { padding: 12px 14px; color: var(--muted); font-size: 13px; }
.variant-section { padding-bottom: 20px; }
.variant-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.variant-card { overflow: hidden; background: white; border: 1px solid var(--line); }
.variant-images { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); background: #efeee8; }
.variant-images img { width: 100%; height: 290px; padding: 18px; object-fit: contain; background: white; }
.variant-copy { padding: 28px; }
.variant-copy h3 { font-size: 27px; }
.variant-copy > p:not(.eyebrow), .variant-copy li { color: var(--muted); }
.variant-copy ul { margin: 18px 0 0; padding-left: 20px; }
.story-photo { margin: 36px 0 10px; }
.story-photo img { width: 100%; max-height: 620px; object-fit: cover; }
.story-photo figcaption { margin-top: 10px; color: var(--muted); font-size: 13px; }
.faq details { padding: 20px 0; border-bottom: 1px solid var(--line); }
.faq summary { font-weight: 800; cursor: pointer; }

.site-footer { padding: 70px 0 24px; background: #0b201d; color: #d9e3df; }
.footer-grid { display: grid; grid-template-columns: 1.25fr .85fr 1fr; gap: 70px; }
.footer-grid > div { display: flex; flex-direction: column; align-items: flex-start; gap: 9px; }
.footer-grid img { width: 210px; filter: brightness(0) invert(1); }
.footer-grid p { max-width: 420px; color: #aabbb5; }
.footer-grid h3 { margin-bottom: 10px; color: white; }
.footer-grid a:hover { color: #8ed1ff; }
.footer-grid span { color: #aabbb5; }
.footer-bottom { margin-top: 55px; padding-top: 20px; display: flex; justify-content: space-between; border-top: 1px solid rgba(255,255,255,.16); color: #93a7a0; font-size: 12px; }

@media (max-width: 920px) {
  .desktop-nav, .nav-wrap > .button-small { display: none; }
  .mobile-menu { display: block; position: relative; }
  .mobile-menu summary { list-style: none; width: 44px; height: 44px; display: grid; align-content: center; gap: 5px; cursor: pointer; }
  .mobile-menu summary span { width: 28px; height: 2px; display: block; background: var(--ink); }
  .mobile-menu nav { position: absolute; right: 0; top: 55px; width: min(320px, calc(100vw - 40px)); padding: 15px; display: grid; background: white; box-shadow: 0 18px 45px rgba(16,33,29,.18); }
  .mobile-menu nav a { padding: 12px; border-bottom: 1px solid var(--line); }
  .hero { min-height: 720px; }
  .hero-content { padding-bottom: 205px; }
  .hero-specs { grid-template-columns: 1fr; }
  .hero-specs span { padding: 12px 18px; text-align: left; }
  .section-heading, .story-split, .b2b-grid, .river-ready, .contact-grid, .content-grid { grid-template-columns: 1fr; gap: 40px; }
  .product-grid, .product-gallery, .variant-grid { grid-template-columns: 1fr; }
  .product-gallery img { height: min(62vw, 520px); }
  .process-grid { grid-template-columns: 1fr 1fr; }
  .story-image { min-height: 520px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
  .wrap { width: min(100% - 28px, 1180px); }
  .header-bar .wrap { justify-content: center; }
  .header-bar span + span { display: none; }
  .brand img { width: 180px; }
  .nav-wrap { min-height: 68px; }
  .hero { min-height: 760px; }
  .hero-media { object-position: 62% 50%; }
  .hero-shade { background: linear-gradient(0deg, rgba(6,24,22,.94), rgba(6,24,22,.25)); }
  .hero-content { padding-bottom: 215px; }
  h1 { font-size: clamp(40px, 11.2vw, 48px); letter-spacing: -.045em; overflow-wrap: anywhere; }
  h2 { font-size: clamp(34px, 10vw, 46px); overflow-wrap: anywhere; }
  .hero-lede { font-size: 17px; }
  .actions { display: grid; }
  .actions .button { width: 100%; }
  .section { padding-block: 72px; }
  .section-heading { margin-bottom: 30px; }
  .product-card a { grid-template-columns: 1fr; }
  .product-image { min-height: 225px; }
  .product-copy { min-height: 0; padding: 26px 22px; }
  .story-image { min-height: 400px; }
  .story-copy { padding: 65px 24px; }
  .process-grid, .application-grid, .market-links, .field-row { grid-template-columns: 1fr; }
  .process-grid article, .process-grid article + article { padding: 22px 0; border-right: 0; border-bottom: 1px solid rgba(255,255,255,.2); }
  .process-grid h3 { margin-top: 15px; }
  .application-card { min-height: 420px; padding: 24px; }
  .market-links a + a { padding-left: 0; border-left: 0; }
  .river-ready img { height: 340px; }
  .lead-form { padding: 22px; }
  .inner-hero { padding: 58px 0 50px; }
  .inner-hero h1 { font-size: clamp(38px, 11vw, 52px); overflow-wrap: anywhere; }
  .inner-hero p:not(.eyebrow) { font-size: 17px; }
  .breadcrumb { margin-bottom: 24px; font-size: 12px; overflow-wrap: anywhere; }
  .product-hero-image { min-height: 280px; max-height: 460px; }
  .product-gallery img { height: auto; aspect-ratio: 4 / 3; }
  .variant-images { grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); }
  .variant-images img { height: 230px; padding: 12px; }
  .variant-copy { padding: 24px 20px; }
  .side-panel { position: static; }
  .contact-grid { gap: 30px; }
  .footer-grid a, .footer-grid span { overflow-wrap: anywhere; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { display: grid; gap: 8px; }
}

@media (max-width: 380px) {
  .brand img { width: 154px; }
  .nav-wrap { gap: 16px; }
  .hero { min-height: 800px; }
  .button { padding-inline: 14px; }
  .variant-images img { height: 200px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}
