/* Deep Ocean Associate — shared styles */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --ink: #0A1B33;
  --navy: #0B2A55;
  --ocean: #1A5FB4;
  --sky: #8DB8EE;
  --foam: #EAF1F9;
  --paper: #F5F8FC;
  --white: #fff;
  --amber: #F2A93B;
  --text: #1B2638;
  --muted: #55627A;
  --line: #DCE4EF;
  --font-display: 'Bricolage Grotesque', 'Segoe UI', sans-serif;
  --font-body: 'Instrument Sans', 'Segoe UI', sans-serif;
  --ease: cubic-bezier(.22,.7,.2,1);
  --gutter: clamp(20px, 5vw, 56px);
  --nav-h: 76px;
  --o-navy: #0A2342; --o-blue: #1565C0; --o-white: #fff; --o-gray-50: #F9FAFB; --o-gray-200: #E5E7EB; --o-gray-600: #4B5563; --o-radius: 12px; --o-shadow: 0 4px 24px rgba(10,35,66,0.10);
}

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 8px); }
body { font-family: var(--font-body); color: var(--text); background: var(--white); line-height: 1.65; font-size: 17px; overflow-x: hidden; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
h1, h2, h3 { font-family: var(--font-display); color: var(--ink); line-height: 1.08; letter-spacing: -0.02em; font-weight: 700; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font: inherit; color: inherit; cursor: pointer; }
:focus-visible { outline: 3px solid var(--amber); outline-offset: 3px; border-radius: 4px; }

.wrap { width: min(1200px, 100% - 2 * var(--gutter)); margin-inline: auto; }
.skip { position: absolute; left: 12px; top: -60px; background: var(--amber); color: var(--ink); padding: 10px 16px; border-radius: 8px; font-weight: 600; z-index: 2000; transition: top .2s; }
.skip:focus { top: 12px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 15px 28px; border-radius: 999px; font-weight: 600; font-size: 16px; border: 2px solid transparent; transition: transform .25s var(--ease), background .25s, color .25s, box-shadow .25s, border-color .25s; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn-solid { background: var(--navy); color: var(--white); }
.btn-solid:hover { background: var(--ocean); box-shadow: 0 10px 28px rgba(26,95,180,.35); }
.btn-amber { background: var(--amber); color: var(--ink); }
.btn-amber:hover { box-shadow: 0 10px 28px rgba(242,169,59,.4); }
.btn-ghost { border-color: rgba(255,255,255,.55); color: var(--white); }
.btn-ghost:hover { background: rgba(255,255,255,.14); border-color: var(--white); }
.btn-line { border-color: var(--line); color: var(--navy); background: var(--white); }
.btn-line:hover { border-color: var(--navy); }

/* Reveal — only hides content when JS is running */
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }

/* Navbar */
.nav { position: fixed; inset: 0 0 auto 0; z-index: 1000; height: var(--nav-h); display: flex; align-items: center; transition: background .3s, box-shadow .3s, height .3s; }
.nav.solid { background: rgba(255,255,255,.92); backdrop-filter: saturate(1.4) blur(14px); box-shadow: 0 1px 0 var(--line); --nav-h: 66px; height: 66px; }
.nav .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand img { width: 48px; height: 48px; border-radius: 50%; background: var(--white); padding: 2px; object-fit: contain; }
.brand b { font-family: var(--font-display); font-size: 19px; font-weight: 700; color: var(--white); letter-spacing: -0.01em; transition: color .3s; line-height: 1.1; }
.brand small { display: block; font-family: var(--font-body); font-weight: 500; font-size: 12px; color: rgba(255,255,255,.7); letter-spacing: .02em; transition: color .3s; }
.nav.solid .brand b { color: var(--ink); }
.nav.solid .brand small { color: var(--muted); }
.nav-links { display: flex; align-items: center; gap: 6px; }
.nav-links a { padding: 9px 16px; border-radius: 999px; font-size: 15px; font-weight: 500; color: rgba(255,255,255,.92); transition: background .2s, color .2s; }
.nav-links a:hover { background: rgba(255,255,255,.16); }
.nav.solid .nav-links a { color: var(--text); }
.nav.solid .nav-links a:hover { background: var(--foam); }
.nav-links a.active { background: rgba(255,255,255,.16); }
.nav.solid .nav-links a.active { background: var(--foam); color: var(--navy); }
.nav-links .nav-cta { background: var(--amber); color: var(--ink) !important; font-weight: 600; margin-left: 8px; }
.nav-links .nav-cta:hover { background: #f7b95a; }
.burger { display: none; width: 44px; height: 44px; border: 0; background: none; border-radius: 50%; position: relative; }
.burger span { position: absolute; left: 11px; right: 11px; height: 2px; background: var(--white); border-radius: 2px; transition: transform .3s var(--ease), opacity .2s, background .3s; }
.burger span:nth-child(1) { top: 15px; } .burger span:nth-child(2) { top: 21px; } .burger span:nth-child(3) { top: 27px; }
.nav.solid .burger span, .nav.menu-open .burger span { background: var(--ink); }
.nav.menu-open .burger span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav.menu-open .burger span:nth-child(2) { opacity: 0; }
.nav.menu-open .burger span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
.nav.menu-open .brand b { color: var(--ink); } .nav.menu-open .brand small { color: var(--muted); }
.drawer { position: fixed; inset: 0; background: var(--white); z-index: 999; padding: calc(var(--nav-h) + 24px) var(--gutter) 32px; display: flex; flex-direction: column; gap: 4px; visibility: hidden; opacity: 0; transform: translateY(-12px); transition: opacity .3s, transform .3s var(--ease), visibility .3s; }
.drawer.open { visibility: visible; opacity: 1; transform: none; }
.drawer a.dl { font-family: var(--font-display); font-size: 30px; font-weight: 600; color: var(--ink); padding: 12px 0; border-bottom: 1px solid var(--line); }
.drawer .btn { margin-top: 24px; }

/* Hero */
.hero { position: relative; min-height: 100svh; display: flex; align-items: flex-end; color: var(--white); overflow: hidden; background: var(--ink); isolation: isolate; }
.slides { position: absolute; inset: 0; z-index: -2; display: flex; transition: transform 1s var(--ease); will-change: transform; touch-action: pan-y; }
.slide { flex: 0 0 100%; height: 100%; position: relative; overflow: hidden; }
.slide img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.08); transition: transform 8s linear; }
.slide.on img { transform: scale(1); }
.hero::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(10,27,51,.92) 0%, rgba(10,27,51,.7) 45%, rgba(10,27,51,.15) 100%), linear-gradient(0deg, rgba(10,27,51,.85) 0%, transparent 40%); }
.hero-body { width: min(1200px, 100% - 2 * var(--gutter)); margin-inline: auto; padding: calc(var(--nav-h) + 60px) 0 clamp(110px, 16vh, 150px); }
.hero h1 { color: var(--white); font-size: clamp(42px, 7vw, 92px); max-width: 13ch; letter-spacing: -0.035em; }
.hero p { font-size: clamp(17px, 1.6vw, 20px); color: rgba(255,255,255,.86); max-width: 52ch; margin: 24px 0 36px; }
.hero-btns { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-load > * { animation: rise .9s var(--ease) both; }
.hero-load > *:nth-child(2) { animation-delay: .12s; } .hero-load > *:nth-child(3) { animation-delay: .24s; }
@keyframes rise { from { opacity: 0; transform: translateY(26px); } }
.hero-ctl { position: absolute; left: 0; right: 0; bottom: 0; }
.hero-ctl .wrap { display: flex; align-items: center; gap: 22px; padding-bottom: 32px; }
.ticks { display: flex; gap: 8px; flex: 1; max-width: 440px; }
.tick { flex: 1; height: 26px; background: none; border: 0; position: relative; }
.tick::before, .tick::after { content: ''; position: absolute; left: 0; right: 0; top: 12px; height: 3px; border-radius: 3px; }
.tick::before { background: rgba(255,255,255,.3); }
.tick::after { background: var(--amber); transform: scaleX(0); transform-origin: left; }
.tick.done::after { transform: scaleX(1); }
.tick.on::after { animation: fill var(--dur, 6s) linear forwards; }
.paused .tick.on::after { animation-play-state: paused; }
@keyframes fill { to { transform: scaleX(1); } }
.arrows { display: flex; gap: 10px; margin-left: auto; }
.arrow { width: 48px; height: 48px; border-radius: 50%; border: 1.5px solid rgba(255,255,255,.5); background: rgba(255,255,255,.08); color: var(--white); backdrop-filter: blur(6px); transition: background .2s, transform .2s; display: grid; place-items: center; }
.arrow:hover { background: rgba(255,255,255,.22); transform: scale(1.06); }
.counter { font-variant-numeric: tabular-nums; font-size: 14px; color: rgba(255,255,255,.75); min-width: 56px; }

/* Sections */
section { padding: clamp(72px, 10vw, 128px) 0; }
.section-head { max-width: 640px; margin-bottom: clamp(36px, 6vw, 64px); }
.section-head h2 { font-size: clamp(32px, 4.6vw, 54px); }
.section-head p { color: var(--muted); margin-top: 16px; font-size: 18px; max-width: 54ch; }

/* About */
.about { background: var(--white); padding-bottom: clamp(56px, 8vw, 96px); }
.about-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(32px, 7vw, 100px); align-items: end; }
.about h2 { font-size: clamp(34px, 5vw, 60px); max-width: 15ch; }
.about-copy p { color: var(--muted); font-size: 19px; max-width: 46ch; margin-bottom: 30px; }

/* Services */
.services { background: var(--paper); }
.svc { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(28px, 6vw, 88px); align-items: center; padding: clamp(28px, 4vw, 48px) 0; border-top: 1px solid var(--line); }
.svc:last-child { border-bottom: 1px solid var(--line); }
.svc:nth-child(even) .svc-media { order: 2; }
.svc-media { position: relative; display: block; border-radius: 20px; overflow: hidden; aspect-ratio: 4 / 3.2; background: var(--navy); box-shadow: 0 24px 60px -24px rgba(10,27,51,.45); }
.svc-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.svc-media:hover img { transform: scale(1.05); }
.svc-media .chip { position: absolute; left: 16px; bottom: 16px; background: rgba(255,255,255,.94); color: var(--navy); padding: 9px 16px; border-radius: 999px; font-size: 14px; font-weight: 600; display: inline-flex; gap: 8px; align-items: center; transition: background .25s, color .25s; }
.svc-media:hover .chip { background: var(--amber); color: var(--ink); }
.svc-icon { width: 48px; height: 48px; border-radius: 14px; background: var(--foam); color: var(--ocean); display: grid; place-items: center; font-size: 20px; margin-bottom: 20px; }
.svc h3 { font-size: clamp(28px, 3.4vw, 40px); margin-bottom: 14px; }
.svc-desc { color: var(--muted); max-width: 52ch; margin-bottom: 22px; }
.svc-list { margin-bottom: 28px; max-width: 460px; }
.svc-list li { position: relative; padding: 9px 0 9px 28px; font-size: 15.5px; border-bottom: 1px solid var(--line); }
.svc-list li:last-child { border-bottom: 0; }
.svc-list li::before { content: ''; position: absolute; left: 2px; top: 17px; width: 14px; height: 8px; border-left: 2px solid var(--ocean); border-bottom: 2px solid var(--ocean); transform: rotate(-45deg) scale(.85); }
.svc-actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.svc-meta { margin-top: 24px; display: flex; flex-wrap: wrap; gap: 8px 24px; font-size: 15px; color: var(--muted); }
.svc-meta a { display: inline-flex; gap: 8px; align-items: center; transition: color .2s; }
.svc-meta a:hover { color: var(--ocean); }
.svc-meta i { color: var(--ocean); }

/* Legacy section helpers (affiliations, contact, footer) */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.section-tag { display: inline-block; background: rgba(21,101,192,0.08); color: var(--o-blue); font-size: 12px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; padding: 6px 16px; border-radius: 100px; margin-bottom: 16px; }
.section-heading { font-size: clamp(28px,4vw,42px); margin-bottom: 16px; }
.section-sub { font-size: 17px; color: var(--o-gray-600); max-width: 600px; }
.section-header { text-align: center; margin-bottom: 56px; }
.section-header .section-sub { margin: 0 auto; }
/* AFFILIATIONS */
  #affiliations { padding: 80px 0; background: var(--o-white); }
  .affiliations-grid { display: flex; justify-content: center; align-items: center; gap: 48px; flex-wrap: wrap; }
  .affiliation-card { display: flex; flex-direction: column; align-items: center; gap: 16px; padding: 36px 48px; border: 1px solid var(--o-gray-200); border-radius: var(--o-radius); min-width: 220px; transition: all 0.3s; }
  .affiliation-card:hover { border-color: var(--o-navy); box-shadow: var(--o-shadow); transform: translateY(-4px); }
  .affiliation-card img { height: 80px; width: auto; object-fit: contain; }
  .affiliation-card p { font-size: 14px; font-weight: 600; color: var(--o-navy); text-align: center; line-height: 1.5; }
  .affiliation-card small { color: var(--o-gray-600); font-weight: 400; }

  /* CONTACT */
  #contact { padding: 100px 0; background: var(--o-gray-50); }
  .contact-info { max-width: 680px; margin: 0 auto; text-align: center; }
  .contact-info h3 { font-size: 28px; margin-bottom: 12px; }
  .contact-info > p { color: var(--o-gray-600); margin-bottom: 40px; font-size: 15px; }
  .contact-cards { display: grid; grid-template-columns: repeat(2,1fr); gap: 20px; margin-bottom: 40px; }
  .contact-item { display: flex; align-items: flex-start; gap: 16px; background: var(--o-white); padding: 20px; border-radius: var(--o-radius); border: 1px solid var(--o-gray-200); box-shadow: var(--o-shadow); text-align: left; }
  .ci-icon { width: 44px; height: 44px; background: var(--o-navy); border-radius: 10px; display: flex; align-items: center; justify-content: center; color: white; font-size: 17px; flex-shrink: 0; margin-top: 2px; }
  .ci-text p { font-weight: 600; font-size: 14px; color: var(--o-navy); margin-bottom: 4px; }
  .ci-text a,.ci-text span { font-size: 14px; color: var(--o-gray-600); display: block; transition: color 0.2s; }
  .ci-text a:hover { color: var(--o-blue); }
  .social-links { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; }
  .social-link { width: 48px; height: 48px; border-radius: 12px; display: flex; align-items: center; justify-content: center; color: white; font-size: 18px; transition: all 0.3s; }
  .social-link:hover { transform: translateY(-3px); box-shadow: 0 6px 16px rgba(10,35,66,0.3); }
  .sl-fb { background: #1877F2; }
  .sl-ig { background: linear-gradient(45deg,#f09433,#e6683c,#dc2743,#cc2366,#bc1888); }
  .sl-yt { background: #FF0000; }
  .sl-tt { background: #010101; }
  .sl-wa { background: #25D366; }

  /* FOOTER */
  footer { background: var(--o-navy); color: rgba(255,255,255,0.75); padding: 80px 0 0; }
  .footer-grid { display: grid; grid-template-columns: 1.8fr 1fr 1fr 1fr; gap: 48px; padding-bottom: 56px; }
  .footer-brand .logo-wrap { display: flex; align-items: center; gap: 12px; margin-bottom: 20px; }
  .footer-brand .logo-wrap img { width: 46px; height: 46px; object-fit: contain; border-radius: 50%; background: rgba(255,255,255,0.1); padding: 4px; }
  .footer-brand .co-name { font-family: var(--font-display); font-size: 18px; font-weight: 700; color: white; }
  .footer-brand p { font-size: 14px; line-height: 1.75; color: rgba(255,255,255,0.55); margin-bottom: 24px; }
  .footer-social { display: flex; gap: 10px; }
  .footer-social a { width: 36px; height: 36px; background: rgba(255,255,255,0.1); border-radius: 8px; display: flex; align-items: center; justify-content: center; color: rgba(255,255,255,0.65); font-size: 14px; transition: all 0.3s; }
  .footer-social a:hover { background: rgba(255,255,255,0.2); color: white; transform: translateY(-2px); }
  .footer-col h4 { font-family: var(--font-body); font-size: 12px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: rgba(255,255,255,0.35); margin-bottom: 20px; }
  .footer-col ul li { margin-bottom: 10px; }
  .footer-col ul li a { font-size: 14px; color: rgba(255,255,255,0.6); transition: color 0.2s; display: flex; align-items: center; gap: 8px; }
  .footer-col ul li a:hover { color: white; }
  .footer-col ul li a i { font-size: 10px; opacity: 0.5; }
  .fc-item { display: flex; align-items: flex-start; gap: 10px; margin-bottom: 14px; font-size: 14px; color: rgba(255,255,255,0.6); }
  .fc-item i { color: rgba(255,255,255,0.35); width: 16px; margin-top: 2px; flex-shrink: 0; }
  .fc-item a { color: rgba(255,255,255,0.6); transition: color 0.2s; }
  .fc-item a:hover { color: white; }
  .footer-bottom { border-top: 1px solid rgba(255,255,255,0.08); padding: 24px 0; display: flex; justify-content: space-between; align-items: center; font-size: 13px; color: rgba(255,255,255,0.35); }
  .footer-bottom a { color: rgba(255,255,255,0.5); }
  .footer-bottom a:hover { color: white; }

  
@media (max-width: 1024px) { .contact-cards { grid-template-columns: 1fr; } .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 768px) { .footer-grid { grid-template-columns: 1fr; gap: 32px; } .footer-bottom { flex-direction: column; gap: 8px; text-align: center; } }
@media (max-width: 480px) { .affiliation-card { padding: 24px 28px; min-width: 160px; } }

/* WhatsApp */
.wa { position: fixed; right: 22px; bottom: 22px; z-index: 900; width: 58px; height: 58px; border-radius: 50%; background: #25D366; color: #fff; display: grid; place-items: center; font-size: 30px; box-shadow: 0 8px 26px rgba(37,211,102,.45); transition: transform .25s var(--ease); }
.wa:hover { transform: scale(1.09); }

/* Gallery pages */
.g-top { background: var(--ink); color: var(--white); padding: calc(var(--nav-h) + 56px) 0 56px; }
.g-top h1 { color: var(--white); font-size: clamp(36px, 5.6vw, 68px); max-width: 18ch; }
.g-top p { color: rgba(255,255,255,.75); margin-top: 16px; max-width: 54ch; font-size: 18px; }
.g-crumb { display: inline-flex; align-items: center; gap: 8px; color: var(--sky); font-weight: 500; margin-bottom: 22px; font-size: 15px; }
.g-crumb:hover { color: var(--white); }
.g-body { padding: clamp(40px, 6vw, 72px) 0 clamp(56px, 8vw, 96px); background: var(--paper); }
.g-grid { columns: 3 280px; column-gap: 20px; }
.g-item { display: block; width: 100%; margin: 0 0 20px; padding: 0; border: 0; border-radius: 16px; overflow: hidden; break-inside: avoid; background: var(--foam); position: relative; box-shadow: 0 14px 34px -18px rgba(10,27,51,.4); transition: transform .35s var(--ease), box-shadow .35s; }
.g-item:hover { transform: translateY(-4px); box-shadow: 0 22px 44px -18px rgba(10,27,51,.5); }
.g-item img { width: 100%; transition: transform .6s var(--ease); }
.g-item:hover img { transform: scale(1.03); }
.g-item::after { content: '\f065'; font-family: 'Font Awesome 6 Free'; font-weight: 900; position: absolute; right: 14px; bottom: 14px; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.94); color: var(--navy); opacity: 0; transform: scale(.8); transition: .25s var(--ease); }
.g-item:hover::after, .g-item:focus-visible::after { opacity: 1; transform: none; }
.g-end { margin-top: 24px; display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }
.lb { position: fixed; inset: 0; background: rgba(5,12,24,.95); z-index: 3000; display: none; align-items: center; justify-content: center; touch-action: pan-y; }
.lb.open { display: flex; animation: fade .25s; }
@keyframes fade { from { opacity: 0; } }
.lb img { max-width: min(92vw, 1100px); max-height: 86vh; object-fit: contain; border-radius: 10px; user-select: none; }
.lb-btn { position: absolute; width: 50px; height: 50px; border-radius: 50%; border: 1px solid rgba(255,255,255,.25); background: rgba(255,255,255,.1); color: #fff; display: grid; place-items: center; transition: background .2s; }
.lb-btn:hover { background: rgba(255,255,255,.25); }
.lb-close { top: 20px; right: 20px; } .lb-prev { left: 20px; top: 50%; translate: 0 -50%; } .lb-next { right: 20px; top: 50%; translate: 0 -50%; }
.lb-count { position: absolute; bottom: 22px; left: 50%; translate: -50% 0; color: rgba(255,255,255,.75); font-size: 14px; font-variant-numeric: tabular-nums; }

/* Responsive */
@media (max-width: 960px) {
  .nav-links { display: none; } .burger { display: block; }
  .about-grid, .svc { grid-template-columns: 1fr; }
  .svc:nth-child(even) .svc-media { order: 0; }
}
@media (max-width: 600px) {
  body { font-size: 16px; }
  .hero-btns .btn { flex: 1 1 100%; }
  .arrows { display: none; }
  .brand small { display: none; }
  .lb-prev, .lb-next { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .js .reveal { opacity: 1; transform: none; }
}
