:root {
  --black: #070707;
  --charcoal: #111111;
  --ink: #1c1c1c;
  --muted: #686868;
  --line: #dedbd5;
  --paper: #f7f5f1;
  --white: #ffffff;
  --gold: #c7a760;
  --gold-light: #e6d39e;
  --container: 1180px;
  --radius: 20px;
  --shadow: 0 22px 60px rgba(0, 0, 0, .09);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; }
::selection { color: var(--black); background: var(--gold-light); }

.container { width: min(calc(100% - 40px), var(--container)); margin-inline: auto; }
.section { padding: 112px 0; }
.section-dark { color: var(--white); background: var(--black); }
.section-soft { background: var(--paper); }
.skip-link { position: fixed; top: 8px; left: 8px; z-index: 9999; padding: 10px 16px; color: #000; background: #fff; transform: translateY(-140%); }
.skip-link:focus { transform: translateY(0); }

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 1000;
  height: 78px;
  border-bottom: 1px solid rgba(255,255,255,.12);
  background: rgba(7,7,7,.78);
  backdrop-filter: blur(16px);
  transition: background .25s ease, box-shadow .25s ease;
}
.site-header.is-scrolled { background: rgba(7,7,7,.96); box-shadow: 0 10px 35px rgba(0,0,0,.2); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 100%; }
.brand { display: flex; align-items: center; height: 100%; }
.brand img { width: auto; height: 58px; }
.main-nav { display: flex; align-items: center; gap: 28px; color: rgba(255,255,255,.78); font-size: .92rem; font-weight: 650; }
.main-nav a { transition: color .2s ease; }
.main-nav a:hover, .main-nav a:focus-visible { color: var(--white); }
.nav-cta { padding: 11px 17px; border: 1px solid rgba(255,255,255,.35); border-radius: 999px; }
.menu-toggle { display: none; width: 42px; height: 42px; padding: 9px; color: #fff; border: 0; background: transparent; }
.menu-toggle span { display: block; width: 100%; height: 2px; margin: 5px 0; background: currentColor; transition: transform .2s ease, opacity .2s ease; }

.hero { position: relative; min-height: 820px; padding: 145px 0 80px; overflow: hidden; background: #090909; }
.hero-slideshow { position: absolute; inset: 0; z-index: 0; overflow: hidden; background: #090909; }
.hero-slide { position: absolute; inset: -3%; background-position: center; background-size: cover; opacity: 0; transform: scale(1.04); transition: opacity 1.5s ease; will-change: opacity, transform; }
.hero-slide.is-active { opacity: 1; animation: heroKenBurns 11s ease-out forwards; }
.hero-shade { position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(3,3,3,.66) 0%, rgba(5,5,5,.53) 42%, rgba(5,5,5,.82) 100%), radial-gradient(circle at 50% 38%, rgba(199,167,96,.10), transparent 38%); pointer-events: none; }
.hero::after { content: ""; position: absolute; z-index: 1; left: 50%; bottom: -180px; width: 980px; height: 760px; border-radius: 50%; background: radial-gradient(circle, rgba(199,167,96,.12), transparent 68%); transform: translateX(-50%); pointer-events: none; }
.hero-lines { position: absolute; inset: 0; z-index: 2; opacity: .055; background-image: linear-gradient(rgba(255,255,255,.42) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.42) 1px, transparent 1px); background-size: 72px 72px; mask-image: linear-gradient(to bottom, transparent 0%, #000 14%, #000 92%, transparent 100%); }
.hero-stack { position: relative; z-index: 3; display: grid; justify-items: center; text-align: center; }
@keyframes heroKenBurns { from { transform: scale(1.04); } to { transform: scale(1.115); } }
.eyebrow { margin: 0 0 17px; color: var(--gold-light); font-size: .75rem; font-weight: 800; letter-spacing: .19em; text-transform: uppercase; }
.eyebrow-dark { color: #8f7134; }
.hero-brand-block { position: relative; display: grid; place-items: center; width: 100%; min-height: 500px; margin-bottom: 18px; }
.hero-slide-indicators { position: absolute; left: 50%; bottom: 18px; z-index: 8; display: flex; gap: 10px; transform: translateX(-50%); }
.hero-slide-indicators button { width: 34px; height: 4px; min-height: 0; padding: 0; border: 0; border-radius: 999px; background: rgba(255,255,255,.35); cursor: pointer; transition: width .25s ease, background .25s ease; }
.hero-slide-indicators button.is-active { width: 54px; background: var(--gold-light); }
.hero-slide-indicators button:focus-visible { outline: 2px solid #fff; outline-offset: 5px; }
.hero-ambient { position: absolute; border-radius: 50%; pointer-events: none; }
.ambient-one { width: 680px; height: 680px; background: radial-gradient(circle, rgba(199,167,96,.14), transparent 67%); filter: blur(12px); animation: ambientPulse 6.4s ease-in-out infinite; }
.ambient-two { width: 860px; height: 420px; border: 1px solid rgba(230,211,158,.18); transform: rotate(-12deg); opacity: .55; animation: ambientFloat 8s ease-in-out infinite; }
.logo-stage { position: relative; width: min(760px, 100%); aspect-ratio: 439 / 324; }
.logo-stage-large { width: min(980px, 92vw); }
.logo-base, .logo-piece, .logo-piece::before, .logo-piece::after, .sweep { position: absolute; inset: 0; }
.logo-base { background: url("../img/logo-conect-transparent.png") center / contain no-repeat; opacity: 0; animation: finalLogo .8s 5.02s ease forwards; filter: drop-shadow(0 4px 28px rgba(0,0,0,.72)) drop-shadow(0 0 14px rgba(199,167,96,.20)); }
.logo-piece { background: url("../img/logo-conect-transparent.png") center / contain no-repeat; opacity: 0; animation: drawPiece .78s cubic-bezier(.16,1,.3,1) forwards; clip-path: inset(var(--top) calc(100% - var(--left)) var(--bottom) var(--left)); }
.logo-piece::before { content: ""; background: url("../img/logo-conect-transparent.png") center / contain no-repeat; clip-path: inset(var(--top) calc(100% - var(--left)) var(--bottom) var(--left)); filter: blur(12px); opacity: .16; }
.logo-piece::after { content: ""; background: url("../img/logo-conect-transparent.png") center / contain no-repeat; clip-path: inset(var(--top) calc(100% - var(--left)) var(--bottom) var(--left)); filter: sepia(1) saturate(1.55) brightness(1.18) blur(6px); opacity: .28; }
.hero-copy-centered { max-width: 860px; }
.hero h1 { max-width: 980px; margin: 0 auto; font-size: clamp(3rem, 5vw, 5.6rem); line-height: .98; letter-spacing: -.055em; }
.hero h1 span { display: block; color: var(--gold-light); font-family: Georgia, "Times New Roman", serif; font-size: .86em; font-style: italic; font-weight: 400; letter-spacing: -.045em; }
.hero-lead { max-width: 760px; margin: 26px auto 0; color: rgba(255,255,255,.72); font-size: 1.14rem; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 24px; border-radius: 999px; font-size: .94rem; font-weight: 750; transition: transform .2s ease, background .2s ease, border-color .2s ease; }
.button:hover { transform: translateY(-2px); }
.button-primary { color: var(--black); background: var(--gold-light); }
.button-primary:hover { background: #f0ddaa; }
.button-ghost { border: 1px solid rgba(255,255,255,.28); color: inherit; background: rgba(255,255,255,.04); }
.button-ghost:hover { border-color: rgba(255,255,255,.5); background: rgba(255,255,255,.08); }
.sweep { opacity: 0; background: linear-gradient(105deg, transparent 44%, rgba(244,225,171,.28) 50%, transparent 56%); mix-blend-mode: screen; transform: translateX(-90%); animation: sweepLine 1.08s 5.26s ease forwards; }
@keyframes drawPiece {
  0% { opacity: 1; clip-path: inset(var(--top) calc(100% - var(--left)) var(--bottom) var(--left)); filter: brightness(1.9); }
  78% { opacity: 1; filter: brightness(1.12); }
  100% { opacity: 1; clip-path: inset(var(--top) var(--right) var(--bottom) var(--left)); filter: brightness(1); }
}
@keyframes finalLogo {
  from { opacity: 0; transform: scale(.995); filter: drop-shadow(0 0 30px rgba(199,167,96,.55)); }
  to { opacity: 1; transform: scale(1.018); filter: drop-shadow(0 4px 28px rgba(0,0,0,.72)) drop-shadow(0 0 10px rgba(199,167,96,.18)); }
}
@keyframes sweepLine {
  0% { opacity: 0; transform: translateX(-90%); }
  10% { opacity: 1; }
  100% { opacity: 1; transform: translateX(90%); }
}
@keyframes ambientPulse { 50% { transform: scale(1.05); opacity: .8; } }
@keyframes ambientFloat { 50% { transform: rotate(-16deg) scale(1.03); opacity: .75; } }

.split-layout { display: grid; grid-template-columns: .85fr 1.15fr; gap: 100px; }
.section-heading h2, .section-title-row h2, .centered h2, .mission h2, .finance-focus h2, .knowledge h2, .contact h2, .faq-intro h2 { margin: 0; font-size: clamp(2.25rem, 4.6vw, 4.8rem); line-height: 1.05; letter-spacing: -.05em; }
.rich-copy { max-width: 700px; }
.rich-copy > p { margin: 0 0 22px; color: #444; font-size: 1.08rem; }
.quote-card { position: relative; margin-top: 42px; padding: 30px 34px 30px 76px; border-left: 2px solid var(--gold); background: var(--paper); }
.quote-card p { margin: 0; font-family: Georgia, serif; font-size: 1.18rem; font-style: italic; }
.quote-mark { position: absolute; top: 16px; left: 24px; color: var(--gold); font-family: Georgia, serif; font-size: 4.2rem; line-height: 1; }

.mission { padding: 86px 0; }
.mission-grid { display: grid; grid-template-columns: minmax(320px, 1fr) minmax(420px, 1.05fr); gap: 54px; align-items: start; }
.mission-number { color: var(--gold); font-size: 4rem; font-weight: 250; line-height: 1; }
.mission h2 { max-width: 430px; font-size: clamp(2.1rem, 4vw, 4rem); }
.mission-copy { max-width: 520px; }
.mission-copy p { margin: 10px 0 0; color: #555; font-size: 1.05rem; }

.section-title-row { display: grid; grid-template-columns: 1.25fr .75fr; gap: 70px; align-items: end; margin-bottom: 52px; }
.section-title-row > p { max-width: 440px; margin: 0 0 7px; color: var(--muted); }
.services-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.service-card { min-height: 310px; padding: 28px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; transition: transform .24s ease, box-shadow .24s ease, border-color .24s ease; }
.service-card:hover { transform: translateY(-6px); border-color: #c7b98f; box-shadow: var(--shadow); }
.service-icon { display: grid; place-items: center; width: 44px; height: 44px; margin-bottom: 62px; border-radius: 50%; color: #74591e; background: #f1e8d2; font-size: .75rem; font-weight: 800; }
.service-card h3 { margin: 0 0 12px; font-size: 1.12rem; line-height: 1.25; }
.service-card p { margin: 0; color: var(--muted); font-size: .91rem; }

.finance-focus { padding: 105px 0; }
.finance-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 92px; align-items: center; }
.finance-copy > p:not(.eyebrow) { max-width: 600px; color: rgba(255,255,255,.66); }
.text-link { display: inline-flex; gap: 12px; align-items: center; margin-top: 22px; color: var(--gold-light); font-weight: 750; }
.text-link span { transition: transform .2s ease; }
.text-link:hover span { transform: translateX(5px); }
.text-link.dark { color: #74591e; }
.finance-panel { border-top: 1px solid rgba(255,255,255,.2); }
.finance-item { display: grid; grid-template-columns: 62px 1fr; gap: 20px; align-items: center; padding: 23px 0; border-bottom: 1px solid rgba(255,255,255,.14); }
.finance-item span { color: var(--gold-light); font-size: .78rem; }
.finance-item p { margin: 0; font-size: 1.05rem; }

.centered { max-width: 760px; margin: 0 auto 60px; text-align: center; }
.centered > p:last-child { color: var(--muted); }
.differentials-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.differential { min-height: 260px; padding: 36px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.differential > span { color: var(--gold); }
.differential h3 { margin: 52px 0 12px; font-size: 1.18rem; }
.differential p { margin: 0; color: var(--muted); font-size: .94rem; }

.knowledge { padding: 108px 0; overflow: hidden; }
.knowledge-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 90px; align-items: center; }
.knowledge-visual { position: relative; min-height: 470px; }
.knowledge-card { position: absolute; overflow: hidden; border: 1px solid #c7c0b4; background: #fff; box-shadow: 0 30px 80px rgba(0,0,0,.08); }
.knowledge-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(255,255,255,.02), rgba(255,255,255,.18)); pointer-events: none; }
.knowledge-card-back { right: 5%; bottom: 0; width: 48%; height: 78%; opacity: .45; }
.knowledge-card-front { left: 8%; bottom: 0; width: 62%; height: 100%; }
.knowledge-slide { position: absolute; inset: 0; opacity: 0; transition: opacity .9s ease; }
.knowledge-slide.is-active { opacity: 1; }
.knowledge-slide img { width: 100%; height: 100%; object-fit: cover; display: block; transform: scale(1.03); }
.knowledge-card-front .knowledge-slide img { animation: knowledgeZoom 12s ease-in-out infinite alternate; }
.knowledge-label { position: absolute; right: 0; bottom: 44px; padding: 16px 22px; color: #fff; background: var(--black); font-size: .76rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; z-index: 3; }
.knowledge-copy p:not(.eyebrow) { color: #5e5e5e; }
@keyframes knowledgeZoom { from { transform: scale(1.03); } to { transform: scale(1.08); } }

.clients { overflow: hidden; }
.client-list { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.client-list span { display: flex; align-items: center; min-height: 105px; padding: 24px 28px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); font-size: .92rem; font-weight: 780; text-transform: uppercase; }
.client-list span::before { content: ""; width: 9px; height: 9px; margin-right: 14px; border-radius: 50%; background: var(--gold); }

.contact { padding: 108px 0 88px; }
.contact-heading { max-width: 820px; margin-bottom: 52px; }
.contact-heading > p:last-child { color: rgba(255,255,255,.64); }
.contact .container { position: relative; }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; }
.person-card { display: grid; grid-template-columns: 170px 1fr; gap: 30px; align-items: center; padding: 0; border: 0; border-radius: 0; background: transparent; }
.person-card img { width: 170px; height: 210px; border-radius: 14px; object-fit: cover; object-position: top; }
.person-role { margin: 0 0 5px; color: var(--gold-light); font-size: .76rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.person-card h3 { margin: 0 0 14px; font-size: 1.45rem; }
.person-card a { display: block; width: fit-content; margin: 5px 0; color: rgba(255,255,255,.68); font-size: .88rem; overflow-wrap: anywhere; }
.person-card a:hover { color: #fff; }
.contact-footer { display: flex; justify-content: space-between; gap: 30px; margin-top: 38px; padding-top: 30px; border-top: 1px solid rgba(255,255,255,.14); color: rgba(255,255,255,.62); font-size: .9rem; }
.contact-footer a:hover { color: #fff; }

.faq-section { padding-bottom: 130px; }
.faq-layout { display: grid; grid-template-columns: .65fr 1.35fr; gap: 95px; align-items: start; }
.faq-intro { position: sticky; top: 120px; }
.faq-intro > p { color: var(--muted); }
.faq-note { margin-top: 30px; padding: 16px 18px; border-left: 2px solid var(--gold); color: #6b6558; background: var(--paper); font-size: .82rem; }
.faq-list { border-top: 1px solid var(--line); }
details { border-bottom: 1px solid var(--line); }
summary { position: relative; display: flex; justify-content: space-between; gap: 24px; padding: 25px 0; cursor: pointer; list-style: none; font-size: 1.03rem; font-weight: 750; }
summary::-webkit-details-marker { display: none; }
summary span { color: var(--gold); font-size: 1.55rem; font-weight: 350; line-height: 1; transition: transform .2s ease; }
details[open] summary span { transform: rotate(45deg); }
details div { padding: 0 42px 24px 0; color: var(--muted); }
details p { margin: 0; }

.site-footer { padding: 70px 0 28px; color: rgba(255,255,255,.64); background: #030303; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr .6fr; gap: 70px; padding-bottom: 55px; }
.footer-brand img { width: 210px; margin-bottom: 17px; }
.footer-brand p { max-width: 420px; }
.site-footer h2 { margin: 10px 0 18px; color: #fff; font-size: .82rem; letter-spacing: .13em; text-transform: uppercase; }
.site-footer a { display: block; width: fit-content; margin: 8px 0; }
.site-footer a:hover { color: #fff; }
.footer-bottom { display: flex; justify-content: space-between; gap: 30px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.12); font-size: .78rem; }

.whatsapp-float { position: fixed; right: 24px; bottom: 24px; z-index: 900; display: grid; place-items: center; width: 58px; height: 58px; border: 1px solid rgba(255,255,255,.7); border-radius: 50%; color: #fff; background: #1fa855; box-shadow: 0 14px 40px rgba(0,0,0,.25); transition: transform .2s ease; }
.whatsapp-float:hover { transform: translateY(-4px) scale(1.03); }
.whatsapp-float svg { width: 30px; fill: currentColor; }

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

:focus-visible { outline: 3px solid var(--gold-light); outline-offset: 4px; }

@media (max-width: 1060px) {
  .hero-brand-block { min-height: 430px; }
  .logo-stage-large { width: min(760px, 100%); }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .split-layout, .finance-grid, .knowledge-grid { gap: 58px; }
  .mission-grid { grid-template-columns: minmax(280px, .9fr) 1fr; gap: 34px; }
  .mission-copy { grid-column: auto; }
  .differentials-grid { grid-template-columns: repeat(2, 1fr); }
  .person-card { grid-template-columns: 130px 1fr; }
  .person-card img { width: 130px; height: 174px; }
  .faq-layout { gap: 58px; }
}

@media (max-width: 820px) {
  .section { padding: 82px 0; }
  .site-header { height: 70px; }
  .brand img { height: 50px; }
  .menu-toggle { display: block; }
  .main-nav { position: fixed; inset: 70px 0 auto; display: grid; gap: 0; padding: 18px 20px 24px; border-top: 1px solid rgba(255,255,255,.12); background: rgba(7,7,7,.99); transform: translateY(-130%); transition: transform .25s ease; }
  .main-nav.is-open { transform: translateY(0); }
  .main-nav a { padding: 13px 0; border-bottom: 1px solid rgba(255,255,255,.1); }
  .nav-cta { margin-top: 12px; border: 0; text-align: center; background: var(--gold-light); color: #111 !important; }
  .menu-toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .menu-toggle.is-open span:nth-child(2) { opacity: 0; }
  .menu-toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .hero { min-height: auto; padding: 125px 0 68px; }
  .hero h1 { font-size: clamp(2.6rem, 11vw, 4.4rem); }
  .hero-brand-block { min-height: 340px; margin-bottom: 18px; }
  .logo-stage-large { width: min(100%, 620px); }
  .ambient-one { width: 470px; height: 470px; }
  .ambient-two { width: 540px; height: 260px; }
  .split-layout, .section-title-row, .finance-grid, .knowledge-grid, .contact-grid, .faq-layout { grid-template-columns: 1fr; }
  .split-layout, .section-title-row, .finance-grid, .knowledge-grid, .faq-layout { gap: 38px; }
  .section-title-row { align-items: start; }
  .mission-grid { grid-template-columns: 1fr; gap: 25px; }
  .mission-copy { grid-column: auto; }
  .mission-number { font-size: 2.5rem; }
  .client-list { grid-template-columns: repeat(2, 1fr); }
  .faq-intro { position: static; }
  .contact-footer { align-items: flex-start; flex-direction: column; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 570px) {
  .container { width: min(calc(100% - 28px), var(--container)); }
  .hero { padding: 112px 0 56px; }
  .hero-brand-block { min-height: 240px; }
  .logo-stage-large { width: min(100%, 420px); }
  .ambient-one { width: 320px; height: 320px; }
  .ambient-two { width: 360px; height: 180px; }
  .hero-lead { font-size: 1rem; }
      .services-grid, .differentials-grid, .client-list, .footer-grid { grid-template-columns: 1fr; }
  .service-card { min-height: auto; }
  .service-icon { margin-bottom: 34px; }
  .differential { min-height: auto; }
  .differential h3 { margin-top: 30px; }
  .knowledge-visual { min-height: 330px; }
  .knowledge-card-front { left: 0; width: 70%; }
  .knowledge-card-back { right: 0; width: 54%; }
  .knowledge-label { right: 10px; bottom: 18px; padding: 12px 16px; font-size: .68rem; }
  .person-card { grid-template-columns: 86px 1fr; gap: 18px; }
  .person-card img { width: 86px; height: 124px; }
  .person-card { padding: 0; }
  .person-card a { font-size: .78rem; }
  .footer-brand { grid-column: auto; }
  .footer-bottom { flex-direction: column; }
  .whatsapp-float { right: 16px; bottom: 16px; width: 54px; height: 54px; }
}

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