:root {
  --accent: #e53935;
  --accent-dark: #b71c1c;
  --ink: #181a1d;
  --text: #50565e;
  --muted: #7c838c;
  --surface: #ffffff;
  --surface-soft: #fff7f7;
  --line: #f0dada;
  --footer: #161a20;
  --radius: 24px;
  --shadow: 0 22px 60px rgba(25, 25, 25, .10);
  --container: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Poppins", Arial, sans-serif;
  color: var(--ink);
  background: var(--surface);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
body.menu-open { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }
button { color: inherit; }
.container { width: min(calc(100% - 40px), var(--container)); margin-inline: auto; }
.section { padding: 100px 0; }

.eyebrow {
  margin: 0 0 12px;
  color: var(--accent-dark);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
}
.section-heading { max-width: 760px; margin-bottom: 42px; }
.section-heading.center { margin-inline: auto; text-align: center; }
.section-heading h2,
.leader-copy h2 {
  margin: 0;
  font-size: clamp(32px, 4vw, 54px);
  line-height: 1.12;
  letter-spacing: -.035em;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 1000;
  transition: background .25s ease, box-shadow .25s ease, transform .25s ease;
}
.site-header.scrolled {
  background: rgba(255,255,255,.94);
  backdrop-filter: blur(16px);
  box-shadow: 0 8px 30px rgba(20, 30, 28, .08);
}
.header-inner { min-height: 92px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.brand { display: inline-flex; align-items: center; width: 150px; flex: 0 0 auto; }
.brand img { width: 100%; height: auto; }
.main-nav { display: flex; align-items: center; gap: 34px; }
.main-nav a { position: relative; padding: 10px 0; font-size: 14px; font-weight: 600; }
.main-nav a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: 4px; height: 2px; background: var(--accent); transition: right .2s ease; }
.main-nav a:hover::after, .main-nav a.active::after { right: 0; }
.menu-toggle { display: none; width: 44px; height: 44px; border: 0; background: transparent; padding: 10px; cursor: pointer; }
.menu-toggle span { display: block; height: 2px; margin: 6px 0; background: var(--ink); transition: .25s ease; }

.hero {
  position: relative;
  min-height: 100vh;
  display: grid;
  align-items: center;
  overflow: hidden;
  padding: 135px 0 70px;
  background: radial-gradient(circle at 14% 14%, rgba(229,57,53,.12), transparent 30%), #fff;
}
.hero-grid { display: grid; grid-template-columns: .88fr 1.12fr; align-items: center; gap: 56px; }
.hero-copy { position: relative; z-index: 2; }
.hero h1 { margin: 0 0 24px; max-width: 720px; font-size: clamp(48px, 6.6vw, 88px); line-height: .98; letter-spacing: -.055em; }
.hero-text { max-width: 560px; margin: 0 0 28px; color: var(--text); font-size: 17px; }
.partner-logos { display: flex; align-items: center; gap: 24px; min-height: 55px; margin-bottom: 30px; }
.partner-logos img { width: auto; max-width: 125px; max-height: 54px; object-fit: contain; }
.btn { display: inline-flex; min-height: 50px; align-items: center; justify-content: center; border-radius: 999px; padding: 0 26px; font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; transition: transform .2s ease, box-shadow .2s ease, background .2s ease; }
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--ink); color: #fff; box-shadow: 0 12px 30px rgba(20,20,20,.16); }
.btn-primary:hover { background: var(--accent-dark); }
.btn-light { background: #fff; color: var(--footer); margin-top: 12px; }
.hero-visual { position: relative; min-width: 0; }
.hero-image-wrap { position: relative; aspect-ratio: 1.08 / 1; overflow: hidden; border-radius: 42% 58% 46% 54% / 55% 38% 62% 45%; box-shadow: var(--shadow); transform: rotate(1deg); }
.hero-image-wrap img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.015) rotate(-1deg); }
.hero-shape { position: absolute; border-radius: 50%; filter: blur(.1px); pointer-events: none; }
.hero-shape-one { width: 70px; height: 70px; right: 7%; top: 16%; background: rgba(229,57,53,.72); }
.hero-shape-two { width: 48px; height: 48px; left: 52%; bottom: 12%; background: rgba(183,28,28,.72); transform: rotate(22deg); border-radius: 14px; }

.about { background: var(--surface-soft); }
.about-intro { display: grid; grid-template-columns: 78px 1fr; gap: 30px; max-width: 1030px; align-items: start; }
.about-intro p { margin: 0; color: var(--text); font-size: 17px; }
.accent-line { display: block; width: 78px; height: 3px; margin-top: 13px; background: var(--accent); }
.about-cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; margin-top: 56px; }
.info-card { position: relative; overflow: hidden; padding: 42px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; box-shadow: 0 15px 45px rgba(25,25,25,.05); }
.card-number { position: absolute; right: 28px; top: 19px; color: rgba(229,57,53,.20); font-size: 62px; font-weight: 700; line-height: 1; }
.info-card h3 { position: relative; margin: 0 0 12px; font-size: 25px; }
.info-card p { color: var(--text); }
.info-card ul { margin: 22px 0 0; padding: 0; list-style: none; }
.info-card li { position: relative; margin-top: 16px; padding-left: 28px; color: var(--text); }
.info-card li::before { content: ""; position: absolute; left: 0; top: .7em; width: 9px; height: 9px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 5px rgba(229,57,53,.12); }

.ecosystem-section { background: #fff7f7; }
.section-lead { margin: 14px 0 0; color: var(--text); font-size: 18px; }
.ecosystem-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.ecosystem-card { min-height: 190px; display: flex; flex-direction: column; justify-content: space-between; padding: 24px; border: 1px solid #f0dada; border-radius: 16px; background: #fff; box-shadow: 0 14px 34px rgba(25,25,25,.05); }
.ecosystem-card-online { border-color: var(--accent); background: var(--ink); color: #fff; }
.ecosystem-card h3 { margin: 22px 0 2px; font-size: 18px; }
.ecosystem-card p { margin: 0; color: var(--muted); font-size: 13px; font-weight: 600; }
.ecosystem-card-online p { color: rgba(255,255,255,.62); }
.ecosystem-logo { font-weight: 700; letter-spacing: -.06em; line-height: .9; }
.ecosystem-logo-duud { color: var(--accent-dark); font-size: 42px; }
.ecosystem-logo-online { color: var(--accent); font-size: 30px; }
.ecosystem-logo-online span { color: #fff; font-weight: 400; }
.ecosystem-image { width: 120px; height: 54px; object-fit: contain; object-position: left center; }
.ecosystem-image-acare { width: 92px; }
.ecosystem-feature { display: flex; align-items: center; justify-content: space-between; gap: 28px; margin-top: 18px; padding: 34px 38px; border-radius: 20px; background: var(--accent); color: var(--ink); box-shadow: 0 18px 44px rgba(25,25,25,.12); transition: transform .2s ease, box-shadow .2s ease; }
.ecosystem-feature:hover { transform: translateY(-3px); box-shadow: 0 22px 50px rgba(25,25,25,.18); }
.ecosystem-feature .eyebrow { margin-bottom: 8px; color: #8f1d1d; }
.ecosystem-feature h3 { margin: 0 0 6px; font-size: 34px; letter-spacing: -.04em; }
.ecosystem-feature-copy > p:last-child { max-width: 600px; margin: 0; color: #5c2020; }
.ecosystem-feature-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 10px; }
.ecosystem-feature-link { display: inline-flex; align-items: center; gap: 6px; flex: 0 0 auto; padding: 13px 18px; border-radius: 999px; background: #fff; color: var(--ink); font-size: 13px; font-weight: 700; }
.ecosystem-feature-link span:first-of-type { font-weight: 400; opacity: .7; }
.ecosystem-feature-link-dark { background: var(--ink); color: #fff; }

.gallery-section { background: #fff; }
.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.gallery-item { position: relative; overflow: hidden; aspect-ratio: 4 / 3; padding: 0; border: 0; border-radius: 20px; background: #ecefed; cursor: zoom-in; }
.gallery-item:nth-child(2), .gallery-item:nth-child(7) { grid-row: span 2; aspect-ratio: auto; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s ease, filter .45s ease; }
.gallery-item::after { content: "Discover"; position: absolute; inset: auto 16px 16px; padding: 9px 14px; border-radius: 999px; background: rgba(255,255,255,.88); backdrop-filter: blur(8px); font-size: 12px; font-weight: 700; opacity: 0; transform: translateY(8px); transition: .25s ease; }
.gallery-item:hover img { transform: scale(1.055); filter: saturate(1.05); }
.gallery-item:hover::after { opacity: 1; transform: translateY(0); }

.leader-section { background: linear-gradient(135deg, #11171a 0%, #1d2429 100%); color: #fff; }
.leader-grid { display: grid; grid-template-columns: .78fr 1.22fr; gap: 66px; align-items: center; }
.leader-photo { position: relative; }
.leader-photo::before { content: ""; position: absolute; inset: -14px 24px 30px -14px; border: 1px solid rgba(229,57,53,.48); border-radius: 28px; }
.leader-photo img { position: relative; width: 100%; max-height: 620px; object-fit: cover; border-radius: 28px; }
.leader-copy .eyebrow { color: var(--accent); }
.leader-copy h2 { margin-bottom: 24px; }
.leader-copy p { color: rgba(255,255,255,.72); }
.leader-copy blockquote { margin: 28px 0; padding: 22px 24px; border-left: 3px solid var(--accent); background: rgba(255,255,255,.05); border-radius: 0 14px 14px 0; }
.leader-copy blockquote strong, .leader-copy blockquote span { display: block; }
.leader-copy blockquote strong { margin-bottom: 6px; font-size: 22px; }
.leader-copy blockquote span { color: var(--accent); font-size: 18px; }
.leader-signature { display: flex; flex-direction: column; margin-top: 24px; }
.leader-signature strong { font-size: 20px; }
.leader-signature span { color: rgba(255,255,255,.55); font-size: 13px; text-transform: uppercase; letter-spacing: .13em; }

.brands-section { background: var(--surface-soft); }
.brand-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 14px; }
.brand-grid img { width: 100%; height: 92px; object-fit: contain; padding: 20px; border: 1px solid var(--line); border-radius: 16px; background: #fff; filter: grayscale(1); opacity: .68; transition: .25s ease; }
.brand-grid img:hover { filter: grayscale(0); opacity: 1; transform: translateY(-3px); box-shadow: 0 12px 28px rgba(25,25,25,.08); }

.site-footer { padding: 92px 0 24px; background: var(--footer); color: #fff; }
.footer-grid { display: grid; grid-template-columns: 1.35fr .65fr; gap: 54px; }
.footer-kicker { margin: 0 0 10px; color: var(--accent); font-size: 13px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
.footer-block > h2, .contact-card > h2 { margin: 0 0 28px; font-size: 28px; }
.footer-block > h2 span { color: rgba(255,255,255,.45); font-size: 14px; font-weight: 500; }
.branch-list { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 14px; }
.branch-list article { padding: 18px; border: 1px solid rgba(255,255,255,.08); border-radius: 15px; background: rgba(255,255,255,.03); }
.branch-list h3 { margin: 0 0 3px; font-size: 14px; }
.branch-list p { margin: 0 0 6px; color: rgba(255,255,255,.56); font-size: 13px; }
.branch-list a, .branch-list span { color: rgba(255,255,255,.78); font-size: 12px; }
.branch-list a:hover { color: var(--accent); }
.contact-card { align-self: start; padding: 30px; border-radius: 22px; background: var(--accent); color: #12201c; }
.contact-row { display: grid; grid-template-columns: 36px 1fr; gap: 12px; align-items: start; padding: 17px 0; border-top: 1px solid rgba(20,40,34,.15); }
.contact-icon { width: 30px; height: 30px; display: grid; place-items: center; border-radius: 50%; background: rgba(255,255,255,.55); }
.contact-row small { display: block; margin-bottom: 2px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; opacity: .6; }
.contact-row a, .contact-row p { margin: 0; font-weight: 600; }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-top: 52px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.09); color: rgba(255,255,255,.45); font-size: 12px; }
.footer-bottom p { margin: 0; }
.footer-bottom a { color: rgba(255,255,255,.72); }
.footer-bottom a:hover { color: var(--accent); }

.lightbox { position: fixed; inset: 0; z-index: 1500; display: grid; place-items: center; padding: 60px 24px 24px; background: rgba(7,10,12,.92); opacity: 0; visibility: hidden; transition: .2s ease; }
.lightbox.open { opacity: 1; visibility: visible; }
.lightbox img { max-width: min(1100px, 92vw); max-height: 84vh; border-radius: 16px; box-shadow: 0 25px 80px rgba(0,0,0,.35); }
.lightbox-close { position: fixed; top: 18px; right: 24px; width: 46px; height: 46px; border: 1px solid rgba(255,255,255,.25); border-radius: 50%; background: rgba(255,255,255,.08); color: #fff; font-size: 30px; line-height: 1; cursor: pointer; }

.whatsapp-float { position: fixed; right: 24px; bottom: 24px; z-index: 1200; display: grid; width: 58px; height: 58px; place-items: center; border-radius: 50%; background: #25d366; color: #fff; box-shadow: 0 12px 28px rgba(18, 160, 76, .3); transition: transform .2s ease, box-shadow .2s ease; }
.whatsapp-float:hover { transform: translateY(-3px); box-shadow: 0 16px 34px rgba(18, 160, 76, .4); }
.whatsapp-float svg { width: 31px; height: 31px; fill: currentColor; }

.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

@media (max-width: 1024px) {
  .header-inner { min-height: 80px; }
  .hero { min-height: auto; padding-top: 130px; }
  .hero-grid { grid-template-columns: 1fr 1fr; gap: 38px; }
  .brand-grid { grid-template-columns: repeat(4, 1fr); }
  .footer-grid { grid-template-columns: 1fr; }
}

@media (max-width: 780px) {
  .container { width: min(calc(100% - 30px), var(--container)); }
  .section { padding: 74px 0; }
  .menu-toggle { display: block; position: relative; z-index: 3; }
  .menu-toggle.active span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
  .menu-toggle.active span:nth-child(2) { opacity: 0; }
  .menu-toggle.active span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
  .main-nav { position: fixed; inset: 0; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; gap: 22px; padding: 90px 34px 34px; background: rgba(255,255,255,.98); transform: translateX(100%); transition: transform .28s ease; }
  .main-nav.open { transform: translateX(0); }
  .main-nav a { font-size: 26px; }
  .hero-grid, .leader-grid { grid-template-columns: 1fr; }
  .hero-copy { padding-bottom: 6px; }
  .hero-visual { max-width: 620px; width: 100%; margin-inline: auto; }
  .about-intro { grid-template-columns: 1fr; gap: 14px; }
  .accent-line { width: 56px; }
  .about-cards { grid-template-columns: 1fr; }
  .ecosystem-grid { grid-template-columns: repeat(2, 1fr); }
  .ecosystem-feature { align-items: flex-start; flex-direction: column; }
  .ecosystem-feature-actions { justify-content: flex-start; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-item:nth-child(2), .gallery-item:nth-child(7) { grid-row: auto; aspect-ratio: 4 / 3; }
  .leader-photo { max-width: 520px; }
  .brand-grid { grid-template-columns: repeat(3, 1fr); }
  .branch-list { grid-template-columns: 1fr; }
}

@media (max-width: 520px) {
  .brand { width: 125px; }
  .hero { padding: 115px 0 60px; }
  .hero h1 { font-size: clamp(44px, 15vw, 68px); }
  .hero-text { font-size: 15px; }
  .partner-logos { gap: 16px; }
  .partner-logos img { max-width: 105px; max-height: 46px; }
  .gallery-grid { grid-template-columns: 1fr; }
  .brand-grid { grid-template-columns: repeat(2, 1fr); }
  .info-card { padding: 30px 24px; }
  .ecosystem-grid { grid-template-columns: 1fr; }
  .ecosystem-card { min-height: 160px; }
  .ecosystem-feature { padding: 28px 24px; }
  .ecosystem-feature h3 { font-size: 30px; }
  .footer-bottom { align-items: flex-start; flex-direction: column; }
  .whatsapp-float { right: 16px; bottom: 16px; width: 54px; height: 54px; }
  .whatsapp-float svg { width: 29px; height: 29px; }
}

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