/* Gatolina Intelligent Solutions
   Brand colours from the supplied Brand Guidelines v1.0:
   Navy #081A32 | Electric Blue #1677FF | White #FFFFFF
   Soft Grey #F3F5F7 | Charcoal #20252B
*/
:root {
  --navy: #081A32;
  --blue: #1677FF;
  --white: #FFFFFF;
  --soft-grey: #F3F5F7;
  --charcoal: #20252B;
  --line: #DDE3EA;
  --shadow: 0 18px 50px rgba(8, 26, 50, .10);
  --radius: 18px;
  --max: 1180px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--charcoal);
  background: var(--white);
  font-family: "Montserrat", Arial, sans-serif;
  line-height: 1.65;
}
a { color: inherit; }
img { max-width: 100%; display: block; }
.container { width: min(calc(100% - 40px), var(--max)); margin-inline: auto; }
.site-header {
  position: sticky; top: 0; z-index: 20;
  background: rgba(255,255,255,.94);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(8,26,50,.08);
}
.nav-wrap { min-height: 82px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand img { width: 215px; height: auto; }
.site-nav { display: flex; align-items: center; gap: 30px; font-size: .92rem; font-weight: 600; }
.site-nav a { text-decoration: none; }
.site-nav a:hover { color: var(--blue); }
.nav-cta { background: var(--navy); color: var(--white) !important; padding: 11px 18px; border-radius: 999px; }
.nav-cta:hover { background: var(--blue); }
.menu-toggle { display: none; border: 0; background: transparent; font: inherit; font-weight: 600; color: var(--navy); }

.hero { background: linear-gradient(135deg, #fff 0%, #fff 68%, #f3f5f7 100%); padding: 105px 0 120px; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.25fr .75fr; align-items: center; gap: 70px; }
.eyebrow { margin: 0 0 14px; color: var(--blue); font-size: .76rem; font-weight: 800; letter-spacing: .16em; }
h1, h2, h3 { color: var(--navy); margin-top: 0; line-height: 1.12; }
h1 { max-width: 760px; margin-bottom: 24px; font-size: clamp(2.8rem, 7vw, 5.7rem); letter-spacing: -.055em; }
h2 { font-size: clamp(2rem, 4vw, 3.3rem); letter-spacing: -.035em; }
h3 { font-size: 1.18rem; margin-bottom: 10px; }
.hero-text { max-width: 700px; font-size: 1.15rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: 0 22px; border-radius: 999px; text-decoration: none; font-weight: 700; font-size: .9rem; }
.button-primary { color: var(--white); background: var(--blue); box-shadow: 0 10px 24px rgba(22,119,255,.22); }
.button-primary:hover { background: var(--navy); }
.button-secondary { color: var(--navy); background: var(--soft-grey); }
.button-secondary:hover { background: #e7ebef; }
.hero-mark { display: grid; place-items: center; }
.hero-mark img { width: min(310px, 70%); filter: drop-shadow(0 25px 40px rgba(8,26,50,.13)); }

.section { padding: 105px 0; }
.section-heading { max-width: 760px; margin-bottom: 48px; }
.section-heading p:last-child { margin-bottom: 0; max-width: 650px; }
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.service-card {
  min-height: 240px; padding: 28px; border: 1px solid var(--line);
  border-radius: var(--radius); background: var(--white); transition: transform .2s ease, box-shadow .2s ease;
}
.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.service-number { color: var(--blue); font-weight: 800; font-size: .78rem; letter-spacing: .12em; margin-bottom: 38px; }
.service-card p { margin: 0; font-size: .94rem; }

.section-soft { background: var(--soft-grey); }
.approach-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 90px; }
.approach-copy > p { margin-top: 0; font-size: 1.05rem; }
.principles { margin-top: 32px; border-top: 1px solid var(--line); }
.principles div { display: grid; grid-template-columns: 130px 1fr; gap: 20px; padding: 17px 0; border-bottom: 1px solid var(--line); }
.principles strong { color: var(--navy); }
.principles span { font-size: .92rem; }

.statement { background: var(--navy); color: var(--white); padding: 48px 0; }
.statement p { margin: 0; font-size: clamp(1.6rem, 3vw, 2.5rem); font-weight: 600; letter-spacing: -.02em; }
.statement span { color: var(--blue); }

.contact-section { padding-top: 90px; padding-bottom: 110px; }
.contact-card {
  display: grid; grid-template-columns: 1fr auto; gap: 50px; align-items: center;
  padding: 55px; border-radius: 24px; background: var(--soft-grey);
}
.contact-card h2 { margin-bottom: 15px; }
.contact-card p { max-width: 650px; margin-bottom: 0; }
.contact-email {
  min-width: 280px; padding: 22px 26px; border-radius: 16px;
  background: var(--white); border: 1px solid var(--line); text-decoration: none;
}
.contact-email span { display: block; color: var(--blue); font-size: .75rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 5px; }
.contact-email strong { color: var(--navy); word-break: break-word; }

.site-footer { background: #061326; color: #cbd4df; padding: 42px 0; }
.footer-wrap { display: flex; justify-content: space-between; align-items: end; gap: 30px; }
.footer-wrap img { width: 215px; filter: brightness(0) invert(1); opacity: .95; }
.footer-wrap p { margin: 10px 0 0; font-size: .82rem; }
.footer-right { display: flex; flex-direction: column; align-items: end; gap: 8px; font-size: .8rem; }
.footer-right a { color: var(--white); text-decoration: none; }
.footer-right a:hover { color: var(--blue); }

@media (max-width: 850px) {
  .menu-toggle { display: block; }
  .site-nav {
    display: none; position: absolute; top: 82px; left: 20px; right: 20px;
    padding: 18px; background: var(--white); border: 1px solid var(--line);
    border-radius: 16px; box-shadow: var(--shadow); flex-direction: column; align-items: stretch; gap: 8px;
  }
  .site-nav.open { display: flex; }
  .site-nav a { padding: 12px; }
  .hero { padding: 75px 0 85px; }
  .hero-grid, .approach-grid, .contact-card { grid-template-columns: 1fr; }
  .hero-mark { order: -1; }
  .hero-mark img { width: 150px; }
  .service-grid { grid-template-columns: 1fr 1fr; }
  .contact-email { min-width: 0; width: 100%; }
  .footer-wrap { align-items: start; flex-direction: column; }
  .footer-right { align-items: start; }
}
@media (max-width: 560px) {
  .container { width: min(calc(100% - 28px), var(--max)); }
  .brand img { width: 180px; }
  .hero { padding-top: 55px; }
  h1 { font-size: 2.8rem; }
  .section { padding: 78px 0; }
  .service-grid { grid-template-columns: 1fr; }
  .service-card { min-height: auto; }
  .contact-card { padding: 30px 24px; }
  .principles div { grid-template-columns: 1fr; gap: 4px; }
}



/* Signature network visualization */
.hero-visual { min-height: 520px; }
.network-map { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.network-lines path { fill: none; stroke: url(#lineBlue); stroke-width: 1.4; stroke-linecap: round; stroke-dasharray: 7 11; animation: dataFlow 5s linear infinite; }
.network-lines path:nth-child(2n) { animation-duration: 7s; animation-direction: reverse; }
.network-lines path:nth-child(3n) { opacity: .55; animation-duration: 9s; }
.network-nodes circle:first-child { fill: var(--blue); filter: url(#softGlow); }
.network-node .node-pulse { fill: none; stroke: rgba(22,119,255,.34); stroke-width: 1; animation: nodePulse 3.8s ease-out infinite; }
.node-2 .node-pulse { animation-delay: .8s; }
.node-3 .node-pulse { animation-delay: 1.6s; }
.node-4 .node-pulse { animation-delay: 2.4s; }
.node-5 .node-pulse { animation-delay: 3.2s; }
.node-6 .node-pulse { animation-delay: 1.2s; }
.network-labels text { font-family: Montserrat, Arial, sans-serif; font-size: 9px; font-weight: 700; letter-spacing: 1.7px; fill: var(--navy); opacity: .56; }
.network-aura { position: absolute; width: 360px; height: 360px; border-radius: 50%; background: radial-gradient(circle, rgba(22,119,255,.16) 0%, rgba(22,119,255,.05) 42%, transparent 72%); filter: blur(2px); animation: auraBreath 5s ease-in-out infinite; }
@keyframes dataFlow { to { stroke-dashoffset: -72; } }
@keyframes nodePulse { 0% { r: 8; opacity: .65; } 100% { r: 30; opacity: 0; } }
@keyframes auraBreath { 0%,100% { transform: scale(.9); opacity: .75; } 50% { transform: scale(1.08); opacity: 1; } }

/* Enhanced visual treatment */
body { overflow-x: hidden; }
.hero { position: relative; isolation: isolate; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -2; opacity: .42;
  background-image: linear-gradient(rgba(8,26,50,.055) 1px, transparent 1px), linear-gradient(90deg, rgba(8,26,50,.055) 1px, transparent 1px);
  background-size: 52px 52px;
  mask-image: linear-gradient(to right, black 0%, transparent 78%);
}
.hero::after {
  content: ""; position: absolute; width: 520px; height: 520px; right: -180px; top: -180px;
  border-radius: 50%; background: rgba(22,119,255,.10); filter: blur(12px); z-index: -1;
  animation: pulseGlow 7s ease-in-out infinite;
}
.hero-visual { position: relative; display: grid; place-items: center; }
.hero-mark {
  position: relative; z-index: 3; width: 250px; height: 250px; display: grid; place-items: center;
  border: 1px solid rgba(22,119,255,.25); border-radius: 38% 62% 58% 42% / 44% 42% 58% 56%;
  background: rgba(255,255,255,.62); backdrop-filter: blur(8px);
  box-shadow: 0 30px 70px rgba(8,26,50,.14), inset 0 0 40px rgba(22,119,255,.07);
  animation: floatLogo 6s ease-in-out infinite;
}
.hero-mark::before, .hero-mark::after {
  content: ""; position: absolute; border: 1px solid rgba(22,119,255,.20); border-radius: 50%;
}
.hero-mark::before { inset: -34px; animation: ring 7s linear infinite; }
.hero-mark::after { inset: -72px; border-color: rgba(8,26,50,.09); animation: ringReverse 11s linear infinite; }
.hero-mark img { width: 145px; filter: drop-shadow(0 18px 24px rgba(8,26,50,.18)); }
.orb { position: absolute; border-radius: 50%; filter: blur(.2px); }
.orb-one { width: 12px; height: 12px; background: var(--blue); right: 14%; top: 20%; box-shadow: 0 0 30px rgba(22,119,255,.7); animation: orbitFloat 5s ease-in-out infinite; }
.orb-two { width: 8px; height: 8px; background: var(--navy); left: 12%; bottom: 21%; box-shadow: 0 0 24px rgba(8,26,50,.35); animation: orbitFloat 7s ease-in-out infinite reverse; }
.signal { position: absolute; width: 145px; height: 145px; border: 1px solid rgba(22,119,255,.15); border-radius: 50%; }
.signal-one { right: 4%; top: 8%; animation: signalPulse 4.5s ease-out infinite; }
.signal-two { left: 3%; bottom: 8%; animation: signalPulse 4.5s 2.2s ease-out infinite; }

.services-section { position: relative; }
.service-card { position: relative; overflow: hidden; }
.service-card::before {
  content: ""; position: absolute; left: 0; top: 0; width: 100%; height: 3px;
  transform: scaleX(0); transform-origin: left; background: linear-gradient(90deg, var(--blue), #65a8ff);
  transition: transform .35s ease;
}
.service-card:hover::before { transform: scaleX(1); }
.service-number { transition: transform .35s ease; }
.service-card:hover .service-number { transform: translateX(7px); }

.section-heading, .service-card, .approach-grid, .contact-card { animation: reveal .8s both; animation-timeline: view(); animation-range: entry 10% cover 30%; }
@supports not (animation-timeline: view()) {
  .section-heading, .service-card, .approach-grid, .contact-card { animation: none; }
}
.button { position: relative; overflow: hidden; }
.button::after {
  content: ""; position: absolute; top: 0; left: -110%; width: 55%; height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,.35), transparent); transform: skewX(-20deg);
  transition: left .6s ease;
}
.button:hover::after { left: 130%; }

@keyframes floatLogo { 0%,100% { transform: translateY(0) rotate(-1deg); } 50% { transform: translateY(-12px) rotate(1deg); } }
@keyframes ring { from { transform: rotate(0deg) scale(.98); } to { transform: rotate(360deg) scale(1.02); } }
@keyframes ringReverse { from { transform: rotate(360deg) scale(1.02); } to { transform: rotate(0deg) scale(.98); } }
@keyframes orbitFloat { 0%,100% { transform: translate(0,0); } 50% { transform: translate(15px,-18px); } }
@keyframes signalPulse { 0% { transform: scale(.65); opacity: .7; } 100% { transform: scale(1.5); opacity: 0; } }
@keyframes pulseGlow { 0%,100% { transform: scale(.9); opacity: .7; } 50% { transform: scale(1.1); opacity: 1; } }
@keyframes reveal { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; scroll-behavior: auto !important; }
}
@media (max-width: 850px) {
  .hero-visual { min-height: 360px; }
  .network-labels text { font-size: 8px; }
  .hero-mark { width: 190px; height: 190px; }
  .hero-mark img { width: 112px; }
  .signal-one { right: -5%; }
  .signal-two { left: -5%; }
}
