:root {
  --navy: #172447;
  --navy-2: #22335f;
  --blue: #9ebee5;
  --blue-soft: #eaf3ff;
  --white: #ffffff;
  --ink: #172033;
  --muted: #667085;
  --line: #d7e3f3;
  --accent: #ed4f42;
  --shadow: 0 24px 70px rgba(23, 36, 71, .13);
}

* { box-sizing: border-box; }
html { max-width: 100%; overflow-x: clip; scroll-behavior: smooth; }
body { max-width: 100%; margin: 0; overflow-x: clip; color: var(--ink); background: var(--white); font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; }
img { display: block; max-width: 100%; }
a { color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }

.site-header { position: sticky; top: 0; z-index: 20; min-height: 78px; display: flex; align-items: center; justify-content: space-between; gap: 2rem; padding: 12px clamp(24px, 6vw, 92px); background: rgba(255,255,255,.93); border-bottom: 1px solid rgba(23,36,71,.08); backdrop-filter: blur(16px); }
.brand { display: inline-flex; align-items: center; gap: 12px; color: var(--navy); text-decoration: none; }
.brand-mark { width: 44px; height: 44px; display: inline-grid; place-items: center; flex: 0 0 auto; color: white; background: var(--navy); border: 4px solid var(--blue); border-radius: 12px 4px 12px 4px; font-size: .78rem; font-weight: 900; letter-spacing: .04em; box-shadow: inset 0 0 0 1px rgba(255,255,255,.28); }
.brand-copy { display: grid; gap: 1px; }
.brand-copy strong { font-size: 1.02rem; letter-spacing: .025em; }
.brand-copy small { color: #75829a; font-size: .65rem; font-weight: 700; letter-spacing: .13em; text-transform: uppercase; }
#site-nav { display: flex; align-items: center; gap: 2.2rem; }
#site-nav a { position: relative; text-decoration: none; font-weight: 700; color: var(--navy); }
#site-nav a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: -8px; height: 2px; background: var(--accent); transition: right .2s ease; }
#site-nav a:hover::after, #site-nav a:focus-visible::after { right: 0; }
.menu-toggle { display: none; border: 1px solid var(--line); border-radius: 999px; padding: 10px 16px; background: white; color: var(--navy); font-weight: 800; }

.hero { min-height: calc(100vh - 78px); display: grid; grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr); align-items: stretch; background: var(--navy); color: white; overflow: hidden; }
.hero-copy { display: flex; flex-direction: column; justify-content: center; padding: clamp(72px, 8vw, 130px) clamp(28px, 6.5vw, 110px); }
.eyebrow { margin: 0 0 18px; color: #7fa8dd; font-size: .82rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
.hero h1 { margin: 0; max-width: 760px; font-size: clamp(3rem, 6vw, 6.4rem); line-height: .96; letter-spacing: -.055em; }
.hero-copy > p:not(.eyebrow) { max-width: 700px; margin: 30px 0 0; color: #dbe7f7; font-size: clamp(1.05rem, 1.5vw, 1.28rem); line-height: 1.75; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.button { display: inline-flex; justify-content: center; align-items: center; min-height: 50px; padding: 0 24px; border: 1px solid transparent; border-radius: 999px; text-decoration: none; font-weight: 800; }
.button.primary { color: var(--navy); background: var(--blue); }
.button.secondary { color: white; border-color: rgba(255,255,255,.35); }
.hero-metrics { display: flex; gap: 44px; margin-top: 56px; padding-top: 26px; border-top: 1px solid rgba(255,255,255,.15); }
.hero-metrics div { display: grid; gap: 5px; max-width: 180px; }
.hero-metrics strong { font-size: 2.3rem; color: var(--blue); }
.hero-metrics span { color: #c6d5ea; font-size: .84rem; line-height: 1.4; }
.hero-visual { position: relative; min-height: 650px; display: flex; align-items: center; justify-content: center; padding: clamp(28px, 5vw, 80px); background: linear-gradient(145deg, #e8f3ff 0%, #9ebee5 100%); isolation: isolate; }
.hero-visual::before { content: ""; position: absolute; width: 70%; aspect-ratio: 1; border: 1px solid rgba(255,255,255,.65); border-radius: 50%; z-index: -1; }
.hero-gallery { width: min(880px, 100%); display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(12px, 2vw, 24px); align-items: center; }
.hero-gallery figure { margin: 0; aspect-ratio: 4 / 3; overflow: hidden; display: flex; align-items: center; justify-content: center; padding: clamp(8px, 1.2vw, 14px); background: rgba(255,255,255,.94); border: 1px solid rgba(255,255,255,.82); border-radius: 24px; box-shadow: var(--shadow); }
.hero-gallery figure:first-child { transform: translateY(-28px) rotate(-1.2deg); }
.hero-gallery figure:last-child { transform: translateY(28px) rotate(1.2deg); }
.hero-gallery img { width: 100%; height: 100%; display: block; object-fit: contain; }
.hero-label { position: absolute; top: 34px; right: 34px; padding: 11px 18px; color: white; background: var(--navy); border-radius: 999px; font-weight: 800; }
.power-line { position: absolute; left: 0; right: 0; bottom: 0; height: 8px; background: var(--accent); }

.section { padding: clamp(84px, 10vw, 150px) clamp(24px, 7vw, 110px); }
.section-heading { max-width: 1120px; margin-bottom: 58px; }
.section-heading h2, .contact h2, .whatsapp-band h2 { margin: 0; color: var(--navy); font-size: clamp(2.35rem, 5vw, 5rem); line-height: 1.02; letter-spacing: -.045em; }
.about { background: white; }
.about-grid { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(50px, 8vw, 120px); }
.about-story { font-size: clamp(1.05rem, 1.5vw, 1.25rem); line-height: 1.8; color: #3d4960; }
.about-story p { margin: 0 0 22px; }
.about-points { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); }
.about-points article { position: relative; padding: 30px 30px 30px 86px; background: var(--blue-soft); }
.about-points span { position: absolute; left: 28px; top: 33px; color: #7b9dc9; font-weight: 800; }
.about-points h3 { margin: 0 0 8px; color: var(--navy); font-size: 1.28rem; }
.about-points p { margin: 0; color: var(--muted); line-height: 1.65; }

.products { background: #f3f7fc; }
.products-heading { max-width: none; display: flex; justify-content: space-between; align-items: end; gap: 50px; }
.products-heading > p { max-width: 450px; margin: 0; color: var(--muted); line-height: 1.7; }
.product-grid { width: 100%; min-width: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.product-card { width: 100%; min-width: 0; display: grid; grid-template-columns: minmax(0, 46fr) minmax(0, 54fr); min-height: 330px; overflow: hidden; background: white; border: 1px solid var(--line); border-radius: 22px; box-shadow: 0 16px 42px rgba(23,36,71,.07); transition: transform .2s ease, box-shadow .2s ease; }
.product-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.product-card img { width: 100%; height: 100%; min-width: 0; min-height: 330px; object-fit: contain; object-position: center; background: var(--blue-soft); }
.product-card > div { min-width: 0; display: flex; flex-direction: column; align-items: flex-start; padding: 34px; }
.product-card span { color: #86a6cf; font-weight: 800; }
.product-card h3 { max-width: 100%; margin: 18px 0 12px; overflow-wrap: anywhere; color: var(--navy); font-size: clamp(1.8rem, 2.2vw, 2.8rem); }
.product-card p { max-width: 100%; margin: 0 0 24px; overflow-wrap: anywhere; color: var(--muted); line-height: 1.6; }
.product-card button { margin-top: auto; padding: 0; border: 0; color: #275b9c; background: none; font: inherit; font-weight: 800; cursor: pointer; }
.product-card button::after { content: "  →"; }
.product-card.wide { grid-column: 1 / -1; grid-template-columns: minmax(0, 35fr) minmax(0, 65fr); }

@media (max-width: 1320px) {
  .section { padding-inline: clamp(24px, 5vw, 72px); }
  .product-card > div { padding: 28px; }
  .product-card h3 { font-size: clamp(1.7rem, 2.6vw, 2.3rem); }
}

.contact { background: var(--navy); color: white; }
.contact .eyebrow { color: var(--blue); }
.contact h2 { color: white; }
.contact-intro > p:last-child { max-width: 680px; color: #d7e3f5; font-size: 1.1rem; line-height: 1.7; }
.contact-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; margin-top: 58px; }
.contact-card { padding: clamp(28px, 5vw, 54px); border: 1px solid rgba(255,255,255,.16); background: rgba(255,255,255,.05); border-radius: 22px; }
.contact-card > span { color: var(--blue); font-size: .8rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.contact-card h3 { margin: 16px 0 30px; font-size: 2rem; }
.contact-card dl, .contact-card dd { margin: 0; }
.contact-card dl { display: grid; gap: 17px; }
.contact-card dl div { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 14px; padding-top: 17px; border-top: 1px solid rgba(255,255,255,.13); }
.contact-card dt { color: #9fb6d7; }
.contact-card dd { overflow-wrap: anywhere; }
.contact-card a { text-decoration: none; }
.contact-card a:hover { color: var(--blue); }

.whatsapp-band { display: flex; align-items: center; justify-content: space-between; gap: 50px; padding: clamp(58px, 7vw, 90px) clamp(24px, 7vw, 110px); background: var(--blue); }
.whatsapp-band .eyebrow { color: var(--navy-2); }
.whatsapp-band h2 { font-size: clamp(2rem, 4vw, 4rem); }
.whatsapp-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.whatsapp-actions a { width: 62px; height: 62px; display: grid; place-items: center; padding: 0; background: transparent; border: 0; border-radius: 0; box-shadow: none; text-decoration: none; transition: transform .2s ease; }
.whatsapp-actions a:hover { transform: translateY(-3px); }
.whatsapp-actions img { width: 58px; height: 58px; display: block; }

footer { display: flex; align-items: center; justify-content: space-between; gap: 32px; padding: 36px clamp(24px, 7vw, 110px); color: #61708b; border-top: 1px solid var(--line); }
.footer-brand { display: flex; align-items: center; gap: 20px; }
.footer-brand p, footer > p { margin: 0; }
.footer-brand strong { color: var(--navy); }

dialog { width: min(1180px, calc(100vw - 32px)); max-height: calc(100vh - 32px); padding: 0; border: 0; border-radius: 22px; box-shadow: 0 30px 110px rgba(0,0,0,.35); }
dialog::backdrop { background: rgba(9, 17, 38, .78); backdrop-filter: blur(6px); }
.dialog-head { position: sticky; top: 0; z-index: 1; display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 22px 26px; color: white; background: var(--navy); }
.dialog-head .eyebrow { margin-bottom: 7px; color: var(--blue); }
.dialog-head h2 { margin: 0; }
.dialog-close { width: 44px; height: 44px; border: 1px solid rgba(255,255,255,.25); border-radius: 50%; color: white; background: transparent; font-size: 1.8rem; cursor: pointer; }
#catalog-image { width: 100%; height: auto; background: white; }

@media (max-width: 980px) {
  .hero, .about-grid { grid-template-columns: 1fr; }
  .hero { min-height: auto; }
  .hero-visual { min-height: 520px; }
  .product-card, .product-card.wide { grid-column: auto; grid-template-columns: 1fr; }
  .product-card img { height: 280px; min-height: 0; }
  .products-heading, .whatsapp-band { align-items: flex-start; flex-direction: column; }
}

@media (max-width: 720px) {
  .site-header { min-height: 68px; padding: 8px 18px; }
  .brand-copy small { display: none; }
  .menu-toggle { display: block; }
  #site-nav { position: absolute; top: 68px; left: 16px; right: 16px; display: none; flex-direction: column; align-items: stretch; gap: 0; padding: 10px; background: white; border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow); }
  #site-nav.open { display: flex; }
  #site-nav a { padding: 13px 14px; }
  #site-nav a::after { display: none; }
  .hero-copy { padding-top: 74px; }
  .hero h1 { font-size: clamp(3rem, 15vw, 4.8rem); }
  .hero-visual { min-height: 390px; }
  .hero-visual { padding-inline: 14px; }
  .hero-gallery { gap: 8px; }
  .hero-gallery figure { padding: 6px; border-radius: 15px; }
  .hero-gallery figure:first-child { transform: translateY(-14px) rotate(-1deg); }
  .hero-gallery figure:last-child { transform: translateY(14px) rotate(1deg); }
  .hero-metrics { gap: 24px; }
  .section { padding-inline: 20px; }
  .product-grid, .contact-grid { grid-template-columns: 1fr; }
  .contact-card dl div { grid-template-columns: 1fr; gap: 4px; }
  .whatsapp-actions { width: 100%; }
  footer { align-items: flex-start; flex-direction: column; }
  .footer-brand { align-items: flex-start; flex-direction: column; }
}

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