:root {
  --ink: #101820;
  --muted: #5d6870;
  --teal: #0799ad;
  --teal-dark: #047587;
  --teal-soft: #e8f7f9;
  --paper: #f7f9f9;
  --white: #ffffff;
  --line: #dce3e5;
  --max: 1180px;
  --radius: 22px;
  --shadow: 0 20px 60px rgba(7, 38, 45, .12);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--white); font-family: "Manrope", system-ui, sans-serif; font-size: 16px; line-height: 1.65; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; }
.container { width: min(calc(100% - 40px), var(--max)); margin-inline: auto; }
.section { padding: 110px 0; }
.skip-link { position: fixed; z-index: 999; top: 10px; left: 10px; padding: 10px 16px; background: var(--ink); color: white; transform: translateY(-150%); }
.skip-link:focus { transform: translateY(0); }

.site-header { position: fixed; z-index: 100; inset: 0 0 auto; height: 84px; border-bottom: 1px solid transparent; transition: .3s ease; }
.site-header.scrolled { height: 72px; background: rgba(255,255,255,.94); border-color: var(--line); backdrop-filter: blur(14px); }
.header-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; }
.brand { display: flex; align-items: center; gap: 12px; color: white; }
.brand img { width: 48px; height: 48px; object-fit: cover; border-radius: 12px; }
.brand span { display: flex; flex-direction: column; line-height: 1.15; }
.brand strong { letter-spacing: .05em; font-size: 1.05rem; }
.brand small { margin-top: 4px; font-size: .64rem; opacity: .8; }
.site-header.scrolled .brand { color: var(--ink); }
.main-nav { display: flex; align-items: center; gap: 24px; color: white; font-size: .9rem; font-weight: 600; }
.main-nav a:not(.nav-cta) { border-bottom: 1px solid transparent; }
.main-nav a:not(.nav-cta):hover { border-color: currentColor; }
.nav-cta { padding: 11px 19px; border: 1px solid rgba(255,255,255,.65); border-radius: 999px; }
.site-header.scrolled .main-nav { color: var(--ink); }
.site-header.scrolled .nav-cta { color: white; background: var(--teal); border-color: var(--teal); }
.language-switch { display: flex; align-items: center; gap: 3px; margin-left: -8px; font-size: .72rem; font-weight: 800; }
.language-button { padding: 6px 4px; border: 0; border-bottom: 2px solid transparent; background: transparent; color: inherit; cursor: pointer; font-weight: 800; opacity: .55; }
.language-button:hover, .language-button.active { border-bottom-color: currentColor; opacity: 1; }
.menu-toggle { display: none; width: 44px; height: 44px; padding: 10px; border: 0; background: transparent; }
.menu-toggle span { display: block; height: 2px; margin: 5px 0; background: currentColor; }

.hero { position: relative; min-height: 760px; height: 92vh; display: flex; align-items: center; overflow: hidden; background: #0a1115; color: white; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, rgba(5,12,15,.94) 0%, rgba(5,12,15,.75) 42%, rgba(5,12,15,.14) 75%), linear-gradient(0deg, rgba(5,12,15,.4), transparent 45%); }
.hero-image { position: absolute; inset: 0; background: url("assets/hero.jpg") center 44% / cover no-repeat; transform: scale(1.02); }
.hero-grid { position: relative; z-index: 2; padding-top: 72px; display: grid; grid-template-columns: minmax(0, 780px) 1fr; gap: 60px; align-items: end; }
.eyebrow { margin: 0 0 20px; color: var(--teal); text-transform: uppercase; letter-spacing: .15em; font-size: .76rem; font-weight: 800; }
.hero .eyebrow { color: #7ee8f3; }
h1, h2, h3, p { margin-top: 0; }
h1 { margin-bottom: 26px; max-width: 820px; font-size: clamp(3.2rem, 6.6vw, 6rem); line-height: .98; letter-spacing: -.055em; font-weight: 700; }
h1 span { color: #7ee8f3; }
.hero-lead { max-width: 640px; margin-bottom: 34px; color: rgba(255,255,255,.77); font-size: clamp(1.05rem, 1.6vw, 1.25rem); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.button { display: inline-flex; min-height: 52px; align-items: center; justify-content: center; padding: 13px 24px; border: 1px solid transparent; border-radius: 999px; cursor: pointer; font-weight: 800; transition: transform .2s ease, background .2s ease, border-color .2s ease; }
.button:hover { transform: translateY(-2px); }
.button-primary { background: var(--teal); color: white; }
.button-primary:hover { background: var(--teal-dark); }
.button-ghost { border-color: rgba(255,255,255,.55); color: white; }
.button-ghost:hover { border-color: white; background: rgba(255,255,255,.08); }
.certificate-card { align-self: end; display: flex; gap: 14px; padding: 20px; border: 1px solid rgba(255,255,255,.2); border-radius: 18px; background: rgba(10,18,22,.62); backdrop-filter: blur(12px); }
.certificate-mark { display: grid; width: 44px; height: 44px; flex: 0 0 auto; place-items: center; border-radius: 50%; background: var(--teal); font-weight: 800; }
.certificate-card div { display: flex; flex-direction: column; line-height: 1.35; }
.certificate-card small, .certificate-card span { color: rgba(255,255,255,.65); }
.certificate-card strong { margin: 2px 0; }
.scroll-cue { position: absolute; z-index: 2; left: 50%; bottom: 28px; display: flex; gap: 12px; align-items: center; color: rgba(255,255,255,.7); font-size: .75rem; text-transform: uppercase; letter-spacing: .12em; transform: translateX(-50%); }

.about { background: var(--white); }
.about-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 110px; align-items: start; }
.section-heading h2, .technology-intro h2, .contact h2 { margin-bottom: 0; font-size: clamp(2.2rem, 4.4vw, 4.2rem); line-height: 1.08; letter-spacing: -.045em; }
.about-copy { padding-top: 5px; color: var(--muted); }
.about-copy .lead { color: var(--ink); font-size: 1.28rem; font-weight: 600; }
.image-strip { margin-top: 72px; display: grid; grid-template-columns: 1.35fr .9fr .9fr; gap: 18px; }
.image-strip figure { height: 330px; margin: 0; overflow: hidden; border-radius: var(--radius); background: var(--paper); }
.image-strip img { width: 100%; height: 100%; object-fit: cover; }
.image-strip figure:not(.image-main) img { object-fit: contain; padding: 16px; }

.services { background: var(--ink); color: white; }
.centered { max-width: 760px; margin: 0 auto 58px; text-align: center; }
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid rgba(255,255,255,.16); }
.service-card { position: relative; min-height: 320px; padding: 38px 34px 28px; border-right: 1px solid rgba(255,255,255,.16); }
.service-card:last-child { border-right: 0; }
.card-number { display: block; margin-bottom: 74px; color: #7ee8f3; font-size: .8rem; letter-spacing: .12em; }
.service-card h3 { margin-bottom: 16px; font-size: 1.45rem; line-height: 1.25; }
.service-card p { color: rgba(255,255,255,.6); }

.technology { background: var(--paper); }
.technology-intro { display: grid; grid-template-columns: 1.2fr .8fr; gap: 80px; align-items: end; margin-bottom: 66px; }
.technology-intro > p { max-width: 480px; margin-bottom: 8px; color: var(--muted); }
.technology-list { display: grid; gap: 24px; }
.technology-card { display: grid; grid-template-columns: 1fr 1fr; min-height: 370px; overflow: hidden; border-radius: var(--radius); background: white; box-shadow: 0 8px 26px rgba(12,33,39,.06); }
.technology-card.reverse .technology-image { order: 2; }
.technology-image { min-height: 350px; overflow: hidden; background: #edf1f2; }
.technology-image img { width: 100%; height: 100%; object-fit: contain; padding: 28px; transition: transform .5s ease; }
.technology-card:hover img { transform: scale(1.035); }
.technology-copy { display: flex; flex-direction: column; justify-content: center; padding: 58px; }
.technology-copy > span { margin-bottom: 44px; color: var(--teal); font-size: .78rem; font-weight: 800; letter-spacing: .12em; }
.technology-copy h3 { margin-bottom: 18px; font-size: clamp(1.8rem, 3vw, 2.8rem); letter-spacing: -.04em; }
.technology-copy p { max-width: 480px; color: var(--muted); }

.quality { background: white; }
.quality-layout { display: grid; gap: 62px; }
.quality-heading { display: grid; grid-template-columns: 1.1fr .9fr; column-gap: 80px; align-items: end; }
.quality-heading .eyebrow, .quality-heading h2 { grid-column: 1; }
.quality-heading h2 { margin-bottom: 0; font-size: clamp(2.2rem, 4.4vw, 4.2rem); line-height: 1.08; letter-spacing: -.045em; }
.quality-heading > p:last-child { grid-column: 2; grid-row: 1 / span 2; max-width: 520px; margin-bottom: 8px; color: var(--muted); }
.quality-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); }
.quality-card { min-height: 310px; padding: 32px 26px; border-right: 1px solid var(--line); }
.quality-card:last-child { border-right: 0; }
.quality-mark { display: grid; width: 58px; height: 58px; margin-bottom: 66px; place-items: center; border-radius: 50%; background: var(--teal-soft); color: var(--teal-dark); font-size: .9rem; font-weight: 800; }
.quality-card h3 { margin-bottom: 14px; font-size: 1.3rem; }
.quality-card p { margin-bottom: 0; color: var(--muted); font-size: .94rem; }
.quality-card strong { color: var(--ink); }

.delivery { padding: 78px 0; background: var(--teal); color: white; }
.delivery-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 100px; align-items: center; }
.delivery .eyebrow { color: #d0f8fc; }
.delivery h2 { margin: 0; font-size: clamp(2.2rem, 4.4vw, 4.1rem); line-height: 1.06; letter-spacing: -.045em; }
.delivery-copy > p { margin-bottom: 28px; color: rgba(255,255,255,.8); }
.delivery-partners { display: flex; gap: 12px; }
.delivery-partners span { padding: 9px 16px; border: 1px solid rgba(255,255,255,.45); border-radius: 999px; font-size: .8rem; font-weight: 800; letter-spacing: .09em; }

.contact { background: var(--teal-soft); }
.contact-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 100px; }
.contact-copy > p:not(.eyebrow) { margin: 28px 0 38px; color: var(--muted); }
.contact-links { display: grid; border-top: 1px solid #badde1; }
.contact-links a, .contact-location { display: flex; flex-direction: column; padding: 16px 0; border-bottom: 1px solid #badde1; }
.contact-links small { color: var(--muted); }
.contact-links strong { font-size: .98rem; }
.contact-form { padding: 42px; border-radius: var(--radius); background: white; box-shadow: var(--shadow); }
.contact-form label { display: grid; gap: 8px; margin-bottom: 20px; font-size: .85rem; font-weight: 700; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.contact-form input, .contact-form textarea { width: 100%; padding: 13px 14px; border: 1px solid var(--line); border-radius: 10px; background: #fbfcfc; color: var(--ink); outline: 0; }
.contact-form input:focus, .contact-form textarea:focus { border-color: var(--teal); box-shadow: 0 0 0 3px rgba(7,153,173,.12); }
.contact-form textarea { resize: vertical; }
.contact-form .honeypot { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.contact-form .consent { display: flex; grid-template-columns: none; flex-direction: row; gap: 10px; align-items: flex-start; color: var(--muted); font-size: .78rem; font-weight: 500; }
.contact-form .consent input { width: 17px; height: 17px; flex: 0 0 auto; margin: 2px 0 0; accent-color: var(--teal); }
.contact-form .button { width: 100%; border: 0; }
.contact-form .button:disabled { cursor: wait; opacity: .65; transform: none; }
.form-status { min-height: 24px; margin: 13px 0 0; color: var(--teal-dark); font-size: .86rem; text-align: center; }
.form-status.error { color: #a72f2f; }

.footer { padding: 72px 0 24px; background: #091116; color: white; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr .7fr; gap: 70px; padding-bottom: 58px; }
.footer-brand { display: flex; gap: 16px; align-items: center; }
.footer-brand img { width: 64px; height: 64px; border-radius: 14px; }
.footer-brand div { display: flex; flex-direction: column; }
.footer-brand span, .footer p { color: rgba(255,255,255,.58); }
.footer small { display: block; margin-bottom: 12px; color: #7ee8f3; text-transform: uppercase; letter-spacing: .12em; font-weight: 800; }
.footer p { margin: 0; }
.footer a:hover { color: #7ee8f3; }
.footer-bottom { display: flex; justify-content: space-between; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.14); color: rgba(255,255,255,.5); font-size: .84rem; }
.footer-legal { display: flex; gap: 28px; align-items: center; }
.footer-legal button { padding: 0; border: 0; background: transparent; color: inherit; cursor: pointer; }
.footer-legal button:hover { color: #7ee8f3; }
.privacy-dialog { width: min(calc(100% - 32px), 760px); max-height: min(84vh, 820px); padding: 0; overflow: hidden; border: 0; border-radius: 22px; background: white; color: var(--ink); box-shadow: 0 30px 90px rgba(0,0,0,.35); }
.privacy-dialog::backdrop { background: rgba(5,12,15,.72); backdrop-filter: blur(5px); }
.privacy-toolbar { position: sticky; z-index: 1; top: 0; display: flex; align-items: center; justify-content: space-between; padding: 20px 26px; border-bottom: 1px solid var(--line); background: white; }
.privacy-toolbar strong { letter-spacing: .06em; }
.privacy-toolbar button { display: grid; width: 40px; height: 40px; padding: 0; place-items: center; border: 0; border-radius: 50%; background: var(--teal-soft); color: var(--ink); cursor: pointer; font-size: 1.65rem; line-height: 1; }
.privacy-content { max-height: calc(84vh - 81px); padding: 34px 40px 44px; overflow-y: auto; }
.privacy-content h2 { margin-bottom: 10px; font-size: clamp(1.8rem, 4vw, 2.7rem); line-height: 1.1; letter-spacing: -.035em; }
.privacy-content h3 { margin: 30px 0 8px; font-size: 1.05rem; }
.privacy-content p, .privacy-content li { color: var(--muted); }
.privacy-content ul { padding-left: 20px; }
.privacy-content a { color: var(--teal-dark); text-decoration: underline; }
.privacy-note { padding: 14px 16px; border-left: 4px solid var(--teal); background: var(--teal-soft); color: var(--ink) !important; }
.contact-actions { position: fixed; z-index: 90; right: 22px; bottom: 22px; display: flex; flex-direction: column; align-items: flex-end; gap: 10px; }
.contact-pill { display: flex; gap: 12px; align-items: center; padding: 13px 18px; border-radius: 999px; box-shadow: 0 12px 30px rgba(0,0,0,.2); font-weight: 800; }
.email-button { background: var(--teal); color: white; }
.whatsapp { background: #25d366; color: #062e15; }

.reveal { opacity: 0; transform: translateY(22px); transition: opacity .65s ease, transform .65s ease; }
.reveal.visible { opacity: 1; transform: none; }

@media (max-width: 900px) {
  .section { padding: 82px 0; }
  .site-header, .site-header.scrolled { height: 70px; background: rgba(255,255,255,.96); border-bottom: 1px solid var(--line); }
  .brand { color: var(--ink); }
  .brand small { display: none; }
  .brand img { width: 42px; height: 42px; }
  .menu-toggle { display: block; color: var(--ink); }
  .main-nav { position: absolute; top: 70px; right: 20px; left: 20px; display: none; align-items: stretch; gap: 0; padding: 14px; border: 1px solid var(--line); border-radius: 16px; background: white; color: var(--ink); box-shadow: var(--shadow); }
  .main-nav.open { display: grid; }
  .main-nav a { padding: 12px; }
  .nav-cta { margin-top: 5px; background: var(--teal); color: white; text-align: center; }
  .language-switch { justify-content: center; margin: 8px 0 0; padding: 5px; border-top: 1px solid var(--line); }
  .hero { min-height: 700px; height: auto; padding: 130px 0 100px; }
  .hero::before { background: linear-gradient(90deg, rgba(5,12,15,.94), rgba(5,12,15,.56)), linear-gradient(0deg, rgba(5,12,15,.65), transparent); }
  .hero-grid { grid-template-columns: 1fr; gap: 46px; padding-top: 0; }
  .certificate-card { max-width: 330px; }
  .about-grid, .technology-intro, .contact-grid, .delivery-grid { grid-template-columns: 1fr; gap: 42px; }
  .quality-heading { grid-template-columns: 1fr; gap: 20px; }
  .quality-heading .eyebrow, .quality-heading h2, .quality-heading > p:last-child { grid-column: 1; grid-row: auto; }
  .quality-grid { grid-template-columns: repeat(3, 1fr); }
  .image-strip { grid-template-columns: 1fr 1fr; }
  .image-strip .image-main { grid-column: 1 / -1; }
  .service-grid { grid-template-columns: 1fr; }
  .service-card { min-height: 0; border-right: 0; border-bottom: 1px solid rgba(255,255,255,.16); }
  .service-card:last-child { border-bottom: 0; }
  .card-number { margin-bottom: 36px; }
  .technology-card { min-height: 0; }
  .technology-copy { padding: 38px; }
  .technology-copy > span { margin-bottom: 24px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 620px) {
  .container { width: min(calc(100% - 28px), var(--max)); }
  .section { padding: 70px 0; }
  h1 { font-size: clamp(2.8rem, 15vw, 4.2rem); }
  .hero { min-height: 760px; }
  .hero-actions { align-items: stretch; flex-direction: column; }
  .hero-actions .button { width: 100%; }
  .scroll-cue { display: none; }
  .image-strip { grid-template-columns: 1fr; }
  .image-strip .image-main { grid-column: auto; }
  .image-strip figure { height: 270px; }
  .technology-card { grid-template-columns: 1fr; }
  .technology-card.reverse .technology-image { order: 0; }
  .technology-image { min-height: 280px; }
  .technology-copy { padding: 32px 26px; }
  .contact-form { padding: 28px 20px; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .footer-grid { grid-template-columns: 1fr; gap: 34px; }
  .footer-brand { grid-column: auto; }
  .footer-bottom { align-items: flex-start; flex-direction: column; gap: 10px; }
  .footer-legal { align-items: flex-start; flex-direction: column; gap: 10px; }
  .quality-grid { grid-template-columns: 1fr; }
  .quality-card { min-height: 0; border-right: 0; border-bottom: 1px solid var(--line); }
  .quality-card:last-child { border-bottom: 0; }
  .quality-mark { margin-bottom: 28px; }
  .privacy-content { padding: 28px 22px 36px; }
  .contact-pill span { display: none; }
  .contact-pill { width: 50px; height: 50px; justify-content: center; padding: 0; }
}

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