:root {
  --navy: #0a0f3c;
  --navy-2: #141a52;
  --primary: #1e9bd7;
  --primary-dark: #157bb0;
  --text: #1b2033;
  --muted: #5f6680;
  --bg: #ffffff;
  --bg-alt: #f3f6fa;
  --border: #e3e7ef;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(10, 15, 60, .08);
  --head: Montserrat, Inter, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body { margin: 0; font-family: Inter, system-ui, sans-serif; color: var(--text); background: var(--bg); line-height: 1.65; }
img { max-width: 100%; display: block; }
a { color: var(--primary); }
h1, h2, h3 { font-family: var(--head); line-height: 1.2; }
h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); margin: 0 0 1rem; color: var(--navy); }
h2.light { color: #fff; }
.accent { color: var(--primary); }
.container { width: min(1200px, 100% - 32px); margin-inline: auto; }
.center { text-align: center; }
.eyebrow { color: var(--primary); font-weight: 700; text-transform: uppercase; letter-spacing: .14em; font-size: .78rem; margin: 0 0 .5rem; }
.eyebrow.center { text-align: center; }
.lead { color: var(--muted); font-size: 1.04rem; }
.lead p { margin: 0 0 1rem; }
.btn { display: inline-flex; align-items: center; gap: .4rem; background: var(--primary); color: #fff; border: 0; padding: .85rem 1.7rem; border-radius: 6px; font: 600 .95rem Inter, sans-serif; text-decoration: none; cursor: pointer; transition: background .2s, transform .2s; }
.btn:hover { background: var(--primary-dark); transform: translateY(-1px); }
.btn-light { background: #fff; color: var(--navy); }
.btn-light:hover { background: #e9f5fc; }
.btn-sm { padding: .55rem 1.1rem; font-size: .88rem; }
.more { font-weight: 600; text-decoration: none; font-size: .9rem; }
.more::after { content: " →"; }

/* Header */
.topline { background: var(--navy); color: #c8cde8; font-size: .82rem; }
.topline .container { display: flex; justify-content: space-between; gap: 1rem; padding: .45rem 0; flex-wrap: wrap; }
.topline a { color: #fff; text-decoration: none; margin-left: 1rem; }
.topline a:first-child { margin-left: 0; }
.nav { position: sticky; top: 0; z-index: 50; background: #fff; box-shadow: 0 2px 18px rgba(10,15,60,.07); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 76px; gap: 1rem; }
.brand { display: flex; align-items: center; gap: .7rem; text-decoration: none; color: var(--navy); }
.brand img { height: 48px; width: auto; }
.brand b { font-family: var(--head); font-size: 1.05rem; display: block; line-height: 1.1; }
.brand small { color: var(--muted); font-size: .72rem; letter-spacing: .06em; text-transform: uppercase; }
.links { display: flex; align-items: center; gap: 1.5rem; }
.links > a, .dd > button { color: var(--navy); text-decoration: none; font-weight: 600; font-size: .92rem; background: none; border: 0; cursor: pointer; font-family: inherit; padding: 0; }
.links > a:hover, .dd > button:hover { color: var(--primary); }
.dd { position: relative; }
.dd > button::after { content: " ▾"; font-size: .75em; }
.dd-menu { position: absolute; top: calc(100% + 18px); left: -20px; background: #fff; min-width: 300px; border-radius: 10px; box-shadow: 0 18px 40px rgba(10,15,60,.15); padding: .8rem 0; opacity: 0; visibility: hidden; transform: translateY(6px); transition: .2s; }
.dd:hover .dd-menu, .dd:focus-within .dd-menu, .dd.open .dd-menu { opacity: 1; visibility: visible; transform: none; }
.dd-menu::before { content: ""; position: absolute; inset: -18px 0 auto; height: 18px; }
.dd-menu small { display: block; padding: .5rem 1.2rem .2rem; color: var(--muted); text-transform: uppercase; letter-spacing: .1em; font-size: .7rem; font-weight: 700; }
.dd-menu a { display: block; padding: .45rem 1.2rem; color: var(--text); text-decoration: none; font-size: .9rem; }
.dd-menu a:hover { background: var(--bg-alt); color: var(--primary); }
.menu-btn { display: none; background: none; border: 0; font-size: 1.7rem; color: var(--navy); cursor: pointer; }

/* Hero */
.hero { padding: 20px 0 0; position: relative; }
.hero-frame { position: relative; margin: 0 20px; height: min(78vh, 720px); min-height: 460px; border-radius: 18px; overflow: hidden; background: var(--navy); border: 4px solid var(--primary); }
.slide { position: absolute; inset: 0; background-size: cover; background-position: center; opacity: 0; transition: opacity 1s; display: flex; align-items: center; }
.slide::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(5,8,35,.78), rgba(5,8,35,.15)); }
.slide.active { opacity: 1; }
.slide .container { position: relative; color: #fff; }
.slide h1 { font-size: clamp(2.1rem, 5.5vw, 4rem); margin: 0 0 1rem; max-width: 780px; font-weight: 800; }
.slide h1 em { font-style: normal; color: var(--primary); display: block; }
.slide p { font-size: clamp(1rem, 1.8vw, 1.2rem); max-width: 600px; opacity: .9; margin: 0 0 2rem; }
.hero-arrow { position: absolute; top: 50%; transform: translateY(-50%); background: rgba(255,255,255,.15); color: #fff; border: 0; width: 44px; height: 44px; border-radius: 50%; font-size: 1.7rem; cursor: pointer; z-index: 2; }
.hero-arrow:hover { background: var(--primary); }
.hero-arrow.prev { left: 16px; } .hero-arrow.next { right: 16px; }
.dots { position: absolute; bottom: 70px; left: 50%; transform: translateX(-50%); display: flex; gap: 10px; z-index: 2; }
.dots button { width: 11px; height: 11px; border-radius: 50%; border: 2px solid #fff; background: transparent; cursor: pointer; padding: 0; }
.dots button.active { background: #fff; }
.highlights { position: relative; margin-top: -48px; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); z-index: 3; }
.highlights div { padding: 1.4rem 1.6rem; border-left: 1px solid var(--border); }
.highlights div:first-child { border-left: 0; }
.highlights h3 { margin: 0 0 .3rem; font-size: 1.02rem; color: var(--navy); display: flex; align-items: center; gap: .55rem; }
.highlights h3::before { content: ""; width: 10px; height: 10px; border-radius: 3px; background: var(--primary); transform: rotate(45deg); }
.highlights p { margin: 0; color: var(--muted); font-size: .9rem; }

/* Sections */
.section { padding: 90px 0; }
.section.alt { background: var(--bg-alt); }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 1rem; flex-wrap: wrap; }
.grid { display: grid; gap: 24px; margin-top: 2.2rem; }
.card { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; }
.tabs { display: flex; gap: .4rem; flex-wrap: wrap; margin-bottom: 1rem; }
.tabs button { border: 1px solid var(--border); background: #fff; padding: .5rem 1rem; border-radius: 999px; cursor: pointer; font: 600 .85rem Inter, sans-serif; color: var(--muted); }
.tabs button.active { background: var(--navy); color: #fff; border-color: var(--navy); }

.services-grid { grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); }
.svc { display: flex; flex-direction: column; text-decoration: none; color: inherit; transition: transform .25s, box-shadow .25s; }
.svc:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(10,15,60,.14); }
.svc img { width: 100%; aspect-ratio: 16/10; object-fit: cover; }
.svc div { padding: 1.3rem 1.4rem 1.5rem; display: flex; flex-direction: column; flex: 1; }
.svc small { color: var(--primary); font-weight: 700; text-transform: uppercase; letter-spacing: .08em; font-size: .7rem; }
.svc h3 { margin: .3rem 0 .5rem; color: var(--navy); font-size: 1.12rem; }
.svc p { margin: 0 0 1rem; color: var(--muted); font-size: .93rem; flex: 1; }

.numbers { background: linear-gradient(135deg, var(--navy), var(--navy-2)); padding: 80px 0; color: #fff; text-align: center; }
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 24px; margin-top: 2.5rem; }
.stat b { font-family: var(--head); font-size: clamp(2.4rem, 5vw, 3.4rem); color: var(--primary); display: block; line-height: 1.1; }
.stat span { color: #c8cde8; }

.about { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.about-media { position: relative; margin: 0 20px 20px 0; }
.about-media::before { content: ""; position: absolute; inset: 20px -20px -20px 20px; border: 4px solid var(--primary); border-radius: var(--radius); }
.about-media img { position: relative; border-radius: var(--radius); width: 100%; aspect-ratio: 5/4; object-fit: cover; }
.vm { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 1.5rem; }
.vm div { background: var(--bg-alt); border-left: 4px solid var(--primary); padding: 1rem 1.2rem; border-radius: 8px; }
.vm h3 { margin: 0 0 .3rem; font-size: 1rem; color: var(--navy); }
.vm p { margin: 0; color: var(--muted); font-size: .92rem; }

.sectors-grid { grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); }
.sector { position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4/3; }
.sector img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.sector:hover img { transform: scale(1.06); }
.sector h3 { position: absolute; inset: auto 0 0; margin: 0; padding: 1.2rem; color: #fff; font-size: 1.05rem; background: linear-gradient(transparent, rgba(5,8,35,.85)); }

.gallery { grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); }
.gallery figure { margin: 0; position: relative; border-radius: var(--radius); overflow: hidden; cursor: zoom-in; aspect-ratio: 4/3; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.gallery figure:hover img { transform: scale(1.06); }
.gallery figcaption { position: absolute; inset: auto 0 0; padding: 1rem 1.2rem; color: #fff; background: linear-gradient(transparent, rgba(5,8,35,.8)); font-weight: 600; }
.gallery figcaption small { display: block; opacity: .8; text-transform: uppercase; letter-spacing: .08em; font-size: .7rem; font-weight: 500; }

.logos { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 20px; margin-top: 2.2rem; }
.logos a, .logos div { background: #fff; border-radius: var(--radius); display: flex; align-items: center; justify-content: center; padding: 1.4rem; height: 110px; box-shadow: var(--shadow); }
.logos img { max-height: 60px; width: auto; object-fit: contain; filter: grayscale(1); opacity: .75; transition: .3s; }
.logos a:hover img, .logos div:hover img { filter: none; opacity: 1; }

.quotes { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.quote { padding: 2rem; display: flex; flex-direction: column; gap: 1.2rem; border-top: 4px solid var(--primary); }
.quote blockquote { margin: 0; font-size: 1.02rem; color: var(--muted); flex: 1; }
.quote blockquote::before { content: "“"; display: block; font: 800 3.5rem/1 var(--head); color: var(--primary); height: 2rem; }
.person { display: flex; align-items: center; gap: .9rem; }
.person img { width: 54px; height: 54px; border-radius: 50%; object-fit: cover; }
.person small { color: var(--muted); display: block; }

.team { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.team .card { text-align: center; padding-bottom: 1.2rem; }
.team img { width: 100%; aspect-ratio: 1; object-fit: cover; margin-bottom: 1rem; }
.team h3 { margin: 0; font-size: 1.05rem; color: var(--navy); }
.team p { margin: 0; color: var(--muted); }

.news-grid { grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); }
.news-card { text-decoration: none; color: inherit; display: flex; flex-direction: column; }
.news-card img { width: 100%; aspect-ratio: 16/10; object-fit: cover; }
.news-card div { padding: 1.3rem 1.4rem 1.5rem; }
.news-card time { color: var(--primary); font-size: .8rem; font-weight: 600; }
.news-card h3 { margin: .3rem 0 .5rem; font-size: 1.05rem; color: var(--navy); }
.news-card p { margin: 0; color: var(--muted); font-size: .92rem; }

.cta-band { background: var(--primary); padding: 50px 0; }
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; flex-wrap: wrap; }
.cta-inner h2 { margin: 0; font-size: clamp(1.3rem, 2.4vw, 1.8rem); }

.contact { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: start; }
.offices { display: grid; gap: 14px; margin-top: 1.5rem; }
.office { border: 1px solid var(--border); border-radius: 10px; padding: 1rem 1.2rem; }
.office h3 { margin: 0 0 .3rem; font-size: 1rem; color: var(--navy); }
.office p { margin: 0; color: var(--muted); font-size: .92rem; }
.office a { text-decoration: none; }
.form { padding: 2rem; display: grid; gap: 1rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form label { display: grid; gap: .35rem; font-weight: 600; font-size: .88rem; }
.form input, .form textarea, .form select { font: inherit; font-weight: 400; padding: .75rem .9rem; border: 1px solid var(--border); border-radius: 8px; background: #fff; }
.form input:focus, .form textarea:focus, .form select:focus { outline: 2px solid var(--primary); border-color: transparent; }
.form-msg { margin: 0; font-weight: 600; }

/* Inner pages */
.page-hero { background: linear-gradient(135deg, var(--navy), var(--navy-2)); color: #fff; padding: 70px 0 60px; background-size: cover; background-position: center; position: relative; }
.page-hero::before { content: ""; position: absolute; inset: 0; background: rgba(5,8,35,.65); }
.page-hero .container { position: relative; }
.page-hero h1 { margin: 0; font-size: clamp(1.9rem, 4vw, 3rem); }
.crumbs { margin: 0 0 .5rem; font-size: .85rem; color: #c8cde8; }
.crumbs a { color: #fff; text-decoration: none; }
.detail { display: grid; grid-template-columns: 1fr 340px; gap: 50px; align-items: start; }
.detail-img { width: 100%; border-radius: var(--radius); margin-bottom: 2rem; aspect-ratio: 16/9; object-fit: cover; }
.list-title { color: var(--navy); margin-top: 2rem; }
.checklist { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: .7rem 1.5rem; }
.checklist li { padding-left: 1.9rem; position: relative; }
.checklist li::before { content: "✓"; position: absolute; left: 0; top: .05rem; width: 1.3rem; height: 1.3rem; border-radius: 50%; background: #e3f3fb; color: var(--primary); font-size: .75rem; font-weight: 800; display: grid; place-items: center; }
.side { display: grid; gap: 20px; position: sticky; top: 100px; }
.side-box { padding: 1.5rem; }
.side-box h3 { margin: 0 0 1rem; color: var(--navy); font-size: 1.05rem; }
.side-box nav a { display: block; padding: .6rem .8rem; border-radius: 6px; text-decoration: none; color: var(--text); font-size: .92rem; }
.side-box nav a:hover { background: var(--bg-alt); }
.side-box nav a.active { background: var(--navy); color: #fff; }
.help { background: var(--navy); color: #c8cde8; }
.help h3 { color: #fff; }
.article { max-width: 820px; }
.article time { color: var(--primary); font-weight: 600; display: block; margin-bottom: 1rem; }

/* Footer */
.footer { background: var(--navy); color: #b9bfdc; padding: 70px 0 0; font-size: .92rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; }
.footer h4 { color: #fff; font-family: var(--head); margin: 0 0 1rem; font-size: 1rem; }
.footer a { color: #b9bfdc; text-decoration: none; }
.footer a:hover { color: #fff; }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .5rem; }
.footer .brand { color: #fff; margin-bottom: 1rem; }
.footer .brand small { color: #b9bfdc; }
.social { display: flex; gap: .5rem; flex-wrap: wrap; margin-top: 1rem; }
.social a { border: 1px solid rgba(255,255,255,.2); border-radius: 999px; padding: .3rem .85rem; font-size: .82rem; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); margin-top: 50px; padding: 20px 0; display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; font-size: .85rem; }

/* Floating quick contact */
.quick { position: fixed; right: 14px; top: 50%; transform: translateY(-50%); display: grid; gap: 8px; z-index: 40; }
.quick a { width: 44px; height: 44px; border-radius: 50%; background: var(--primary); color: #fff; display: grid; place-items: center; text-decoration: none; box-shadow: 0 6px 16px rgba(0,0,0,.2); position: relative; }
.quick a:hover { background: var(--navy); }
.quick a span { position: absolute; right: 52px; background: var(--navy); color: #fff; padding: .3rem .7rem; border-radius: 6px; font-size: .8rem; white-space: nowrap; opacity: 0; pointer-events: none; transition: .2s; }
.quick a:hover span { opacity: 1; }
.quick svg { width: 20px; height: 20px; fill: currentColor; }

.lightbox { position: fixed; inset: 0; background: rgba(0,0,0,.9); display: none; flex-direction: column; align-items: center; justify-content: center; z-index: 100; padding: 16px; cursor: zoom-out; }
.lightbox.open { display: flex; }
.lightbox img { max-height: 80vh; border-radius: 8px; }
.lightbox p { color: #fff; }

@media (max-width: 960px) {
  .menu-btn { display: block; }
  .links { position: absolute; top: 76px; left: 0; right: 0; background: #fff; flex-direction: column; align-items: stretch; padding: 1rem 16px 1.5rem; gap: .2rem; display: none; box-shadow: 0 16px 30px rgba(0,0,0,.1); max-height: calc(100vh - 76px); overflow: auto; }
  .links.open { display: flex; }
  .links > a, .dd > button { padding: .7rem 0; text-align: left; width: 100%; }
  .links .btn { justify-content: center; margin-top: .5rem; }
  .dd-menu { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; display: none; padding: 0 0 .5rem; min-width: 0; }
  .dd.open .dd-menu { display: block; }
  .about, .contact, .detail { grid-template-columns: 1fr; gap: 40px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .side { position: static; }
}
@media (max-width: 640px) {
  .hero-frame { margin: 0 8px; border-width: 3px; }
  .hero-arrow { display: none; }
  .highlights div { border-left: 0; border-top: 1px solid var(--border); }
  .highlights div:first-child { border-top: 0; }
  .section { padding: 64px 0; }
  .gallery, .checklist, .vm, .form-row, .footer-grid { grid-template-columns: 1fr; }
  .about-media { margin: 0 8px 12px 0; }
  .about-media::before { inset: 12px -8px -12px 12px; }
  .topline .hide-sm { display: none; }
  .quick { top: auto; bottom: 14px; transform: none; }
  .quick a:not(.wa) { display: none; }
}

/* 404 page */
.notfound { padding: 90px 0 110px; text-align: center; background: radial-gradient(circle at 50% 0, #e8f5fc, transparent 60%); }
.nf-code { font: 800 clamp(6rem, 22vw, 11rem)/1 var(--head); margin: 0; background: linear-gradient(135deg, var(--navy), var(--primary)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.notfound h1 { color: var(--navy); font-size: clamp(1.6rem, 3.5vw, 2.4rem); margin: .5rem 0 .8rem; }
.notfound .lead { max-width: 560px; margin: 0 auto 2rem; }
.nf-actions { display: flex; gap: .8rem; justify-content: center; flex-wrap: wrap; }
.btn-outline { background: transparent; color: var(--navy); box-shadow: inset 0 0 0 2px var(--navy); }
.btn-outline:hover { background: var(--navy); color: #fff; }
.nf-links { margin-top: 3.5rem; }
.nf-links h2 { font-size: 1.1rem; margin-bottom: 1rem; }
.nf-links div { display: flex; flex-wrap: wrap; gap: .5rem; justify-content: center; }
.nf-links a { border: 1px solid var(--border); border-radius: 999px; padding: .45rem 1rem; text-decoration: none; font-size: .9rem; background: #fff; }
.nf-links a:hover { border-color: var(--primary); }
