:root {
  --ink: #132a36;
  --muted: #5c6f79;
  --blue: #9ec3d5;
  --blue-light: #e9f2f6;
  --blue-dark: #1f5369;
  --sand: #d7a446;
  --paper: #f8f7f2;
  --white: #ffffff;
  --line: rgba(19, 42, 54, 0.13);
  --shadow: 0 20px 60px rgba(20, 47, 60, 0.12);
  --radius: 22px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 92px; }
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.6;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; }
a { color: inherit; }
button, input, select, textarea { font: inherit; }
button { color: inherit; }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 12px;
  left: 12px;
  padding: 10px 14px;
  background: var(--ink);
  color: white;
  transform: translateY(-150%);
}
.skip-link:focus { transform: translateY(0); }

.site-header {
  position: sticky;
  z-index: 40;
  top: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 78px;
  padding: 12px clamp(20px, 5vw, 72px);
  border-bottom: 1px solid rgba(255,255,255,.65);
  background: rgba(248,247,242,.88);
  backdrop-filter: blur(18px);
}

.brand { display: inline-flex; align-items: center; text-decoration: none; }
.brand-logo { width: clamp(190px, 18vw, 255px); height: 52px; object-fit: contain; object-position: left center; }

.main-nav { display: flex; align-items: center; gap: clamp(18px, 3vw, 38px); }
.main-nav a { color: #29434f; text-decoration: none; font-size: .89rem; font-weight: 700; }
.main-nav a:not(.nav-cta):hover { color: var(--blue-dark); }
.main-nav .nav-cta { padding: 11px 18px; border-radius: 999px; color: white; background: var(--ink); }
.menu-toggle { display: none; width: 44px; height: 44px; border: 0; background: transparent; }
.menu-toggle > span:not(.sr-only) { display: block; width: 22px; height: 2px; margin: 5px auto; background: var(--ink); transition: .25s; }

.hero { padding: clamp(48px, 7vw, 96px) clamp(20px, 6vw, 88px) 0; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.02fr) minmax(340px, .98fr); align-items: center; gap: clamp(42px, 7vw, 112px); max-width: 1320px; margin: 0 auto; }
.eyebrow { margin: 0 0 14px; color: var(--blue-dark); font-size: .72rem; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; }
h1, h2, h3, p { margin-top: 0; }
h1 { max-width: 760px; margin-bottom: 24px; font-size: clamp(3.1rem, 6.1vw, 6.4rem); line-height: .96; letter-spacing: -.065em; }
.hero-lead { max-width: 660px; margin-bottom: 30px; color: var(--muted); font-size: clamp(1.05rem, 1.5vw, 1.27rem); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.button {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  text-decoration: none;
  font-size: .9rem;
  font-weight: 800;
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.button:hover { transform: translateY(-2px); }
.button:focus-visible, .filter:focus-visible, .text-button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, .menu-toggle:focus-visible { outline: 3px solid rgba(31,83,105,.3); outline-offset: 3px; }
.button-primary { color: white; background: var(--ink); box-shadow: 0 12px 30px rgba(19,42,54,.18); }
.button-primary:hover { background: var(--blue-dark); }
.button-whatsapp { color: white; background: #167457; box-shadow: 0 12px 30px rgba(22,116,87,.2); }
.button-whatsapp:hover { background: #105f47; }
.button-secondary { border-color: var(--line); background: rgba(255,255,255,.66); }
.button-ghost { border-color: var(--line); background: transparent; }

.proof-list { display: flex; flex-wrap: wrap; gap: 24px; margin: 38px 0 0; padding: 0; list-style: none; color: #35505c; font-size: .77rem; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; }
.proof-list li { display: flex; align-items: center; gap: 8px; }
.proof-list span { display: inline-grid; place-items: center; width: 29px; height: 29px; border-radius: 50%; background: var(--blue-light); color: var(--blue-dark); font-size: .66rem; }

.hero-visual { position: relative; min-height: 570px; }
.visual-frame { position: absolute; inset: 0 28px 0 0; overflow: hidden; border-radius: 120px 22px 22px 22px; background: var(--blue); box-shadow: var(--shadow); }
.visual-frame > img { width: 100%; height: 100%; object-fit: cover; }
.visual-frame::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(8,31,42,.55)); pointer-events: none; }
.visual-note { position: absolute; z-index: 2; right: 28px; bottom: 26px; left: 28px; display: flex; justify-content: space-between; align-items: end; gap: 20px; color: white; }
.visual-note span { font-size: .65rem; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
.visual-note strong { max-width: 250px; font-size: 1.1rem; line-height: 1.25; text-align: right; }
.brand-seal { position: absolute; z-index: 3; right: 0; top: 54px; width: 268px; height: 104px; padding: 13px 16px; border: 1px solid rgba(19,42,54,.08); border-radius: 18px; background: white; box-shadow: 0 18px 45px rgba(19,42,54,.18); }
.brand-seal img { width: 100%; height: 100%; object-fit: contain; }

.about-strip { display: grid; grid-template-columns: .65fr 2fr 1fr; gap: clamp(28px, 5vw, 78px); align-items: start; max-width: 1320px; margin: clamp(70px, 9vw, 132px) auto 0; padding: clamp(36px, 5vw, 70px) 0; border-top: 1px solid var(--line); }
.about-strip h2, .section-heading h2, .contact h2 { margin-bottom: 18px; font-size: clamp(2.15rem, 4vw, 4.2rem); line-height: 1.05; letter-spacing: -.05em; }
.about-strip > div > p { max-width: 720px; color: var(--muted); }
.about-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.about-tags span { padding: 9px 13px; border: 1px solid var(--line); border-radius: 999px; background: rgba(255,255,255,.5); color: #45606c; font-size: .76rem; font-weight: 700; }

.solutions { padding: clamp(74px, 9vw, 132px) clamp(20px, 6vw, 88px); background: var(--ink); color: white; }
.section-heading { display: grid; grid-template-columns: 1.2fr .8fr; gap: 50px; max-width: 1320px; margin: 0 auto 38px; align-items: end; }
.section-heading .eyebrow, .process .eyebrow { color: var(--blue); }
.section-heading h2 { margin-bottom: 0; }
.section-heading > p { max-width: 520px; margin-bottom: 6px; color: #b8c8cf; }
.filter-bar { display: flex; flex-wrap: wrap; gap: 9px; max-width: 1320px; margin: 0 auto 28px; }
.filter { padding: 9px 16px; border: 1px solid rgba(255,255,255,.17); border-radius: 999px; background: transparent; color: #c5d1d6; font-size: .8rem; font-weight: 800; cursor: pointer; }
.filter.active, .filter:hover { background: var(--blue); border-color: var(--blue); color: var(--ink); }
.catalog-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; max-width: 1320px; margin: 0 auto; }
.product-card { overflow: hidden; border: 1px solid rgba(255,255,255,.12); border-radius: 20px; background: #193540; transition: transform .25s ease, opacity .25s ease; }
.product-card:hover { transform: translateY(-5px); }
.product-card.is-hidden { display: none; }
.product-image { position: relative; height: 280px; overflow: hidden; background: #d6e4ea; }
.product-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.product-card:hover .product-image img { transform: scale(1.035); }
.product-image span { position: absolute; top: 13px; left: 13px; padding: 6px 9px; border-radius: 999px; background: rgba(255,255,255,.88); color: var(--ink); font-size: .62rem; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; backdrop-filter: blur(10px); }
.product-image-light img { object-fit: contain; padding: 25px; background: white; }
.product-copy { padding: 23px; }
.product-type { margin-bottom: 9px; color: var(--blue); font-size: .66rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.product-copy h3 { margin-bottom: 9px; font-size: 1.35rem; letter-spacing: -.03em; }
.product-copy > p:not(.product-type) { min-height: 78px; color: #b8c8cf; font-size: .88rem; }
.text-button { display: flex; width: 100%; justify-content: space-between; align-items: center; padding: 14px 0 0; border: 0; border-top: 1px solid rgba(255,255,255,.12); background: transparent; color: white; font-size: .78rem; font-weight: 800; cursor: pointer; }
.text-button span { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: rgba(158,195,213,.14); color: var(--blue); font-size: 1rem; }
.text-button.added span { background: var(--blue); color: var(--ink); }

.process { max-width: 1320px; margin: 58px auto 0; padding-top: 42px; border-top: 1px solid rgba(255,255,255,.13); }
.process ol { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin: 0; padding: 0; list-style: none; }
.process li { display: flex; gap: 14px; align-items: center; }
.process li > span { display: grid; flex: 0 0 auto; place-items: center; width: 42px; height: 42px; border: 1px solid rgba(255,255,255,.2); border-radius: 50%; color: var(--blue); }
.process strong, .process small { display: block; }
.process small { color: #a8bbc4; }

.contact { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(50px, 8vw, 120px); align-items: start; padding: clamp(80px, 10vw, 148px) clamp(20px, 6vw, 88px); max-width: 1496px; margin: 0 auto; }
.contact-copy > p:not(.eyebrow) { max-width: 580px; color: var(--muted); font-size: 1.03rem; }
.contact-details { display: grid; gap: 13px; margin-top: 36px; }
.contact-details a, .contact-details > div { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 17px 0; border-bottom: 1px solid var(--line); text-decoration: none; }
.contact-details span { color: var(--muted); font-size: .76rem; text-transform: uppercase; letter-spacing: .1em; }
.contact-details strong { font-size: .92rem; text-align: right; }
.contact-details a:hover strong { color: var(--blue-dark); }

.inquiry-form { padding: clamp(26px, 4vw, 48px); border: 1px solid var(--line); border-radius: var(--radius); background: white; box-shadow: var(--shadow); }
.form-heading { display: flex; justify-content: space-between; gap: 20px; align-items: start; margin-bottom: 30px; }
.form-heading h3 { margin: 0; font-size: clamp(1.65rem, 2.4vw, 2.25rem); letter-spacing: -.04em; }
.draft-badge { flex: 0 0 auto; padding: 7px 10px; border-radius: 999px; background: var(--blue-light); color: var(--blue-dark); font-size: .68rem; font-weight: 800; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; }
label { display: grid; gap: 7px; margin-bottom: 15px; color: #34505c; font-size: .76rem; font-weight: 800; }
input, select, textarea { width: 100%; border: 1px solid var(--line); border-radius: 11px; background: #fbfbf8; color: var(--ink); outline: 0; }
input, select { height: 49px; padding: 0 14px; }
textarea { min-height: 132px; padding: 13px 14px; resize: vertical; }
input:focus, select:focus, textarea:focus { border-color: var(--blue-dark); background: white; }
input.invalid, textarea.invalid { border-color: #a84235; }
.privacy-note { margin: 6px 0 20px; color: var(--muted); font-size: .75rem; }
.privacy-note span { margin-right: 6px; color: #3f8b6b; }
.form-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.form-actions-primary .button { flex: 1 1 190px; }
.form-actions-secondary { margin-top: 14px; }
.text-action { padding: 4px 0; border: 0; border-bottom: 1px solid currentColor; background: transparent; color: var(--blue-dark); font-size: .78rem; font-weight: 800; cursor: pointer; }
.text-action:hover { color: var(--ink); }
.form-status { min-height: 24px; margin: 16px 0 0; color: var(--blue-dark); font-size: .82rem; font-weight: 700; }

footer { display: flex; justify-content: space-between; align-items: end; gap: 30px; padding: 34px clamp(20px, 6vw, 88px); border-top: 1px solid var(--line); color: var(--muted); }
.footer-brand strong, .footer-brand span { display: block; }
.footer-brand strong { color: var(--ink); font-size: 1.25rem; }
.footer-brand span, footer p { margin: 0; font-size: .75rem; }

.reveal { opacity: 0; transform: translateY(18px); transition: opacity .65s ease, transform .65s ease; }
.reveal.in-view { opacity: 1; transform: none; }

@media (max-width: 1050px) {
  .catalog-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-grid { grid-template-columns: 1fr 1fr; gap: 42px; }
  .hero-visual { min-height: 500px; }
  .about-strip { grid-template-columns: 1fr 2.3fr; }
  .about-tags { grid-column: 2; }
  .contact { grid-template-columns: 1fr 1.15fr; gap: 46px; }
}

@media (max-width: 760px) {
  html { scroll-padding-top: 72px; }
  .site-header { min-height: 68px; padding: 10px 18px; }
  .brand-logo { width: 168px; height: 44px; }
  .menu-toggle { display: block; cursor: pointer; }
  .main-nav { position: absolute; top: 67px; right: 14px; left: 14px; display: none; padding: 15px; border: 1px solid var(--line); border-radius: 16px; background: rgba(255,255,255,.98); box-shadow: var(--shadow); }
  .main-nav.open { display: grid; gap: 6px; }
  .main-nav a { padding: 11px 12px; }
  .main-nav .nav-cta { text-align: center; }
  .menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  .hero { padding-top: 44px; }
  .hero-grid { grid-template-columns: 1fr; }
  h1 { font-size: clamp(3.05rem, 14vw, 4.7rem); }
  .proof-list { gap: 12px 18px; }
  .hero-visual { min-height: 490px; }
  .visual-frame { inset-right: 0; border-radius: 76px 20px 20px 20px; }
  .brand-seal { width: 210px; height: 82px; top: 30px; right: 0; padding: 10px 13px; }
  .visual-note { display: grid; }
  .visual-note strong { text-align: left; }
  .about-strip { grid-template-columns: 1fr; }
  .about-tags { grid-column: auto; }

  .section-heading { grid-template-columns: 1fr; gap: 12px; }
  .catalog-grid { grid-template-columns: 1fr; }
  .product-image { height: 310px; }
  .product-copy > p:not(.product-type) { min-height: auto; }
  .process ol { grid-template-columns: 1fr; }

  .contact { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; gap: 0; }
  .contact-details a, .contact-details > div { align-items: start; flex-direction: column; gap: 4px; }
  .contact-details strong { text-align: left; }
  .form-heading { display: grid; }
  .draft-badge { width: fit-content; }
  .form-actions-primary .button { width: 100%; flex-basis: 100%; }
  footer { align-items: start; flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}
