:root {
  --bg: #25272b;
  --bg-soft: #2d3035;
  --bg-card: rgba(255,255,255,0.04);
  --line: rgba(255,255,255,0.09);
  --text: #f4f5f7;
  --muted: #b2b6bf;
  --accent: #ef6b21;
  --accent-2: #2b5f77;
  --accent-3: #3d8bb3;
  --success: #25d366;
  --instagram: #e4405f;
  --shadow: 0 30px 80px rgba(0,0,0,.35);
  --radius: 22px;
  --container: 1220px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background:
    radial-gradient(circle at top right, rgba(61,139,179,.15), transparent 26%),
    radial-gradient(circle at left bottom, rgba(239,107,33,.10), transparent 22%),
    var(--bg);
  color: var(--text);
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  line-height: 1.55;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.container { width: min(calc(100% - 32px), var(--container)); margin: 0 auto; }
.section { padding: 88px 0; }
.section-head { display:flex; justify-content:space-between; gap:20px; align-items:end; margin-bottom: 30px; }
.section-head h2, .page-hero h1 { margin:0 0 10px; font-size: clamp(2rem, 4vw, 3.4rem); line-height: 1.05; letter-spacing: -.03em; }
.section-head p, .muted { color: var(--muted); }
.eyebrow { display:inline-flex; padding: 8px 14px; border-radius: 999px; background: rgba(255,255,255,.05); border:1px solid var(--line); color:#dfe3ea; font-size:.85rem; gap:8px; align-items:center; }
.btn, button.btn {
  display:inline-flex; align-items:center; justify-content:center; gap:10px;
  padding: 13px 20px; border-radius: 999px; border:1px solid transparent;
  background: linear-gradient(135deg, var(--accent), #ff8f50); color: #fff; font-weight:700; box-shadow: 0 12px 35px rgba(239,107,33,.25); transition:.25s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn.secondary { background: transparent; border-color: var(--line); box-shadow:none; color: var(--text); }
.btn.whatsapp { background: rgba(37,211,102,.14); border-color: rgba(37,211,102,.35); color: #dffbe9; box-shadow: none; }
.btn.instagram { background: rgba(228,64,95,.14); border-color: rgba(228,64,95,.35); color: #ffe0e8; box-shadow: none; }
.card {
  background: linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.03));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.site-header {
  position: sticky; top:0; z-index:50; backdrop-filter: blur(18px);
  background: rgba(22,24,28,.72); border-bottom:1px solid rgba(255,255,255,.06);
}
.topbar {
  border-bottom: 1px solid rgba(255,255,255,.06);
  background: rgba(255,255,255,.02);
}
.topbar-inner, .nav-inner {
  display:flex; align-items:center; justify-content:space-between; gap:18px;
  min-height: 58px;
}
.topbar-left, .topbar-right, .nav-actions { display:flex; align-items:center; gap:12px; flex-wrap:wrap; }
.topbar-left a { color: var(--muted); font-size:.95rem; }
.social-pill { padding: 9px 14px; border-radius:999px; font-size:.92rem; font-weight:700; }
.social-pill.whatsapp { background: rgba(37,211,102,.14); border:1px solid rgba(37,211,102,.4); color:#d9f8e5; }
.social-pill.instagram { background: rgba(228,64,95,.14); border:1px solid rgba(228,64,95,.35); color:#ffe0e8; }
.brand { display:flex; align-items:center; gap:14px; }
.brand img { height: 60px; width:auto; }
.nav { display:flex; align-items:center; gap:22px; flex-wrap:wrap; }
.nav a { color:#eaeef5; font-weight: 600; font-size: .98rem; }
.nav a:hover { color: #fff; }
.hero-wrap { padding: 24px 0 32px; }
.hero {
  position: relative; min-height: 600px; overflow: hidden;
  border-radius: 34px; border: 1px solid var(--line); box-shadow: var(--shadow);
}
.hero-slide {
  position:absolute; inset:0; opacity:0; visibility:hidden; transition: opacity .8s ease, visibility .8s ease;
}
.hero-slide.active { opacity:1; visibility:visible; }
.hero-slide img {
  position:absolute; inset:0; width:100%; height:100%; object-fit: cover;
}
.hero-slide::after {
  content:""; position:absolute; inset:0;
  background: linear-gradient(90deg, rgba(18,20,24,.86) 0%, rgba(18,20,24,.62) 35%, rgba(18,20,24,.25) 60%, rgba(18,20,24,.1) 100%);
}
.hero-content {
  position: relative; z-index:2; width:min(100%, 620px); padding: 72px 48px; height:100%; display:flex; flex-direction:column; justify-content:center;
}
.hero h1 { font-size: clamp(2.5rem, 5vw, 4.5rem); line-height: .95; margin: 16px 0; letter-spacing:-.04em; }
.hero p { font-size: 1.08rem; color: #d6dbe3; max-width: 56ch; }
.hero-cta { display:flex; gap:14px; flex-wrap:wrap; margin-top: 18px; }
.hero-points { display:flex; gap:12px; flex-wrap:wrap; margin-top:26px; }
.hero-points span { padding: 10px 14px; border-radius: 999px; border: 1px solid rgba(255,255,255,.15); background: rgba(255,255,255,.06); font-size: .9rem; color:#eef2f7; }
.hero-dots { position:absolute; left:48px; bottom:28px; display:flex; gap:10px; z-index:4; }
.hero-dot { width:12px; height:12px; border-radius:50%; border:none; background: rgba(255,255,255,.3); cursor:pointer; }
.hero-dot.active { background:#fff; transform: scale(1.15); }
.reveal, .reveal-up { opacity:0; transform: translateY(18px); animation: fadeUp .9s ease forwards; }
.reveal.delay-1 { animation-delay: .12s; }
.reveal.delay-2 { animation-delay: .22s; }
.reveal.delay-3 { animation-delay: .32s; }
@keyframes fadeUp { to { opacity:1; transform: translateY(0); } }
.market-grid, .service-grid, .video-grid, .contact-grid, .stats-grid { display:grid; gap:20px; }
.market-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.market-card {
  padding: 24px; display:flex; align-items:center; justify-content:space-between; gap:20px;
}
.market-card .logo-box {
  width: 96px; height: 96px; padding: 14px; border-radius: 20px; background: rgba(255,255,255,.98); display:grid; place-items:center;
}
.market-card img { max-height:60px; width:auto; object-fit:contain; }
.market-card h3 { margin:0 0 8px; font-size:1.35rem; }
.market-card p { margin:0; color:var(--muted); }
.market-card .btn { white-space: nowrap; }
.service-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.service-card { overflow:hidden; }
.service-media { aspect-ratio: 4/3; overflow:hidden; }
.service-media img { width:100%; height:100%; object-fit:cover; transition: transform .4s ease; }
.service-card:hover .service-media img { transform: scale(1.04); }
.service-body { padding: 22px; }
.service-body h3 { margin:0 0 10px; font-size:1.2rem; }
.service-body p { margin:0 0 18px; color: var(--muted); }
.about-split, .contact-split, .page-grid { display:grid; gap:24px; grid-template-columns: 1.05fr .95fr; }
.about-box, .about-panel, .contact-card, .page-card, .video-card { padding: 28px; }
.about-list { display:grid; gap:16px; margin-top:18px; }
.about-item { padding:18px; border-radius:18px; background: rgba(255,255,255,.03); border:1px solid rgba(255,255,255,.06); }
.about-item h4 { margin:0 0 8px; font-size:1.05rem; }
.about-item p { margin:0; color:var(--muted); }
.video-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.video-frame { position:relative; padding-bottom: 56.25%; height:0; overflow:hidden; border-radius: 18px; border: 1px solid rgba(255,255,255,.08); }
.video-frame iframe { position:absolute; inset:0; width:100%; height:100%; border:0; }
.video-card h3 { margin:0 0 14px; }
.contact-grid { grid-template-columns: repeat(3, minmax(0,1fr)); }
.contact-card h3 { margin:0 0 10px; }
.contact-card p, .contact-card a { color: var(--muted); }
.map-frame { min-height: 100%; border:0; width:100%; border-radius: 22px; min-height: 380px; }
.stats-grid { grid-template-columns: repeat(4, minmax(0,1fr)); margin-top: 28px; }
.stat-card { padding: 24px; text-align:center; }
.stat-card strong { display:block; font-size: clamp(1.9rem, 4vw, 3rem); line-height:1; margin-bottom:8px; }
.footer { padding: 26px 0 42px; border-top: 1px solid rgba(255,255,255,.06); color: var(--muted); }
.footer-inner { display:flex; justify-content:space-between; gap:20px; align-items:center; flex-wrap:wrap; }
.footer-nav { display:flex; gap:16px; flex-wrap:wrap; }
.page-hero { padding: 70px 0 26px; }
.page-hero .card { padding: 44px; background: linear-gradient(135deg, rgba(43,95,119,.22), rgba(255,255,255,.03)); }
.page-grid .page-card h2 { margin-top:0; }
.page-card p { color: var(--muted); }
.quote-strong { font-weight: 800; color: #fff; }
.breadcrumbs { color: var(--muted); font-size: .95rem; margin-bottom: 16px; }
.notice { margin-top: 18px; padding:14px 16px; border-radius:14px; background: rgba(239,107,33,.12); border:1px solid rgba(239,107,33,.26); color:#ffd8c1; }
@media (max-width: 1100px) {
  .service-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .video-grid, .about-split, .contact-split, .page-grid { grid-template-columns: 1fr; }
  .contact-grid, .stats-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
}
@media (max-width: 820px) {
  .nav-inner, .topbar-inner { align-items:flex-start; padding: 12px 0; }
  .brand img { height: 48px; }
  .hero { min-height: 650px; }
  .hero-content { padding: 44px 24px 86px; }
  .hero-dots { left:24px; bottom:22px; }
  .market-grid, .service-grid, .video-grid, .contact-grid, .stats-grid { grid-template-columns: 1fr; }
  .market-card { flex-direction: column; align-items:flex-start; }
}

/* Responsive layout: text and controls always participate in normal flow. */
body { overflow-wrap: anywhere; }
img, iframe { max-width: 100%; }
.container *, .container > * { min-width: 0; }
.brand { flex-shrink: 0; }
.brand img { width: 220px; height: auto; filter: brightness(0) invert(1); }
.nav-inner { min-height: 92px; flex-wrap: wrap; padding-block: 16px; }
.nav { gap: 16px; }
.btn { max-width: 100%; text-align: center; }
.eyebrow { line-height: 1.5; }
.hero { display: grid; min-height: 0; }
.hero-slide { position: relative; inset: auto; grid-area: 1 / 1; display: grid; align-items: center; pointer-events: none; }
.hero-slide.active { pointer-events: auto; }
.hero-slide img { object-position: 72% center; }
.hero-slide::after { background: linear-gradient(90deg,rgba(18,20,24,.96) 0%,rgba(18,20,24,.87) 38%,rgba(18,20,24,.3) 72%,rgba(18,20,24,.08)); }
.hero-content { width: 64%; max-width: 740px; height: auto; padding: 52px 40px 30px; }
.hero h1 { font-size: clamp(2rem,3.2vw,3rem); line-height: 1.12; margin-block: 20px 12px; }
.hero p { font-size: 1rem; margin: 0; }
.hero-cta { gap: 10px; margin-top: 24px; }
.hero-cta .btn { padding: 12px 17px; font-size: .92rem; }
.hero-points { gap: 8px; margin-top: 22px; }
.hero-points span { padding: 7px 10px; font-size: .8rem; }
.hero-dots { position: relative; left: auto; bottom: auto; padding: 10px 40px 28px; background: #17191d; }
.hero-dot { width: 20px; height: 20px; padding: 4px; border: 4px solid #17191d; }
.hero-dot:focus-visible, a:focus-visible { outline: 2px solid #fff; outline-offset: 4px; }
.market-card { flex-wrap: wrap; }
.market-card > div { flex: 1 1 260px; }
.market-card .logo-box { flex: 0 0 80px; width: 80px; height: 80px; }
.market-card h3 { font-size: 1.2rem; }
.stats-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; }
.stat-card { padding: 22px 12px; }
.stat-card strong { font-size: clamp(1.8rem,3vw,2.6rem); line-height: 1.15; }
.stat-card span { display: block; font-size: .9rem; }
.contact-grid { grid-template-columns: minmax(0,1fr); }
.contact-split, .about-split, .page-grid { grid-template-columns: minmax(0,1.05fr) minmax(0,.95fr); }
.contact-card a { overflow-wrap: anywhere; }
.section, section[id] { scroll-margin-top: 180px; }
@media (max-width: 1100px) {
  .nav-inner { justify-content: center; }
  .nav { justify-content: center; }
  .contact-split, .about-split, .page-grid { grid-template-columns: minmax(0,1fr); }
  .hero-content { width: 72%; }
}
@media (max-width: 820px) {
  .site-header { position: relative; }
  .topbar-inner { flex-wrap: wrap; align-items: center; justify-content: center; }
  .topbar-left { justify-content: center; }
  .topbar-right { justify-content: center; }
  .nav-inner { flex-direction: column; align-items: center; gap: 18px; }
  .brand img { width: 200px; height: auto; }
  .nav { gap: 12px 18px; }
  .nav-actions { justify-content: center; }
  .hero { min-height: 0; border-radius: 24px; }
  .hero-content { width: 100%; max-width: 650px; padding: 36px 24px 24px; }
  .hero-slide::after { background: linear-gradient(90deg,rgba(18,20,24,.94),rgba(18,20,24,.78)); }
  .hero h1 { font-size: clamp(1.9rem,5vw,2.6rem); }
  .hero-dots { padding: 8px 24px 24px; }
  .section { padding: 48px 0; }
  .section-head h2, .page-hero h1 { font-size: clamp(1.75rem,5vw,2.6rem); line-height: 1.15; }
  .about-box, .about-panel, .contact-card, .page-card, .video-card { padding: 22px; }
  .page-hero .card { padding: 28px; }
  .section, section[id] { scroll-margin-top: 24px; }
}
@media (max-width: 420px) {
  .hero-content { padding: 28px 20px 22px; }
  .hero-cta { flex-direction: column; align-items: stretch; }
  .hero h1 { font-size: 1.9rem; }
  .hero-points { gap: 6px; }
  .market-card { padding: 20px; }
  .market-card > div { flex-wrap: wrap; }
  .market-card .btn { white-space: normal; }
  .topbar-left a { font-size: .85rem; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal, .reveal-up { animation: none; opacity: 1; transform: none; }
  .hero-slide { transition: none; }
}

/* Match supporting carousel headings to the main slide. */
.hero h2 { font-size: clamp(2rem,3.2vw,3rem); line-height: 1.12; margin: 20px 0 12px; letter-spacing: -.04em; }
@media(max-width:820px){.hero h2 {font-size:clamp(1.9rem,5vw,2.6rem);}}
@media(max-width:420px){.hero h2 {font-size:1.9rem;}}

/* Place carousel controls on the image and reserve clear space below the copy. */
.hero-content { padding-bottom: 82px; }
.hero-dots { position:absolute; left:50%; bottom:18px; transform:translateX(-50%); width:max-content; max-width:calc(100% - 32px); justify-content:center; gap:8px; padding:6px 10px; border-radius:999px; background:rgba(18,20,24,.45); backdrop-filter:blur(8px); }
.hero-dot { width:24px; height:24px; padding:0; border:6px solid transparent; background:rgba(255,255,255,.45); background-clip:content-box; }
.hero-dot.active { background-color:#fff; }
@media(max-width:820px){ .hero-content { padding-bottom:82px; } .hero-dots { left:50%; bottom:16px; padding:6px 10px; } }
@media(max-width:420px){ .hero-content { padding-bottom:82px; } }
