:root {
  --bg: #f4f8fb;
  --bg-deep: #0b253a;
  --surface: #ffffff;
  --surface-strong: #eaf3f9;
  --text: #0f1d2a;
  --text-soft: #4f6477;
  --line: #d7e5f0;
  --primary: #0f7db3;
  --primary-strong: #0a5f88;
  --accent: #ff8a30;
  --success: #1f9d6a;
  --shadow: 0 18px 45px rgba(6, 40, 64, 0.16);
  --radius: 18px;
  --radius-sm: 12px;
  --container: 1180px;
  --ease: 260ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Manrope", sans-serif;
  color: var(--text);
  background:
    radial-gradient(1200px 600px at 90% -20%, rgba(15, 125, 179, 0.14), transparent 70%),
    radial-gradient(900px 500px at -10% 20%, rgba(255, 138, 48, 0.15), transparent 60%),
    var(--bg);
  line-height: 1.65;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

.container {
  width: min(100% - 2rem, var(--container));
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  left: 0;
  top: -50px;
  background: var(--text);
  color: #fff;
  padding: 0.6rem 1rem;
  z-index: 999;
}

.skip-link:focus {
  top: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(244, 248, 251, 0.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--ease), box-shadow var(--ease);
}

.site-header.scrolled {
  border-color: var(--line);
  box-shadow: 0 8px 30px rgba(6, 40, 64, 0.08);
}

.header-inner {
  min-height: 82px;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  margin-right: auto;
}

.brand-mark {
  width: 42px;
  aspect-ratio: 1;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--primary), var(--primary-strong));
  box-shadow: var(--shadow);
  overflow: hidden;
}

.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.brand-text {
  display: grid;
  line-height: 1.2;
}

.brand-text strong {
  font-size: 0.98rem;
}

.brand-text small {
  color: var(--text-soft);
  font-size: 0.77rem;
}

.nav {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.nav a {
  padding: 0.55rem 0.85rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--text-soft);
  transition: color var(--ease), background var(--ease);
}

.nav a:hover,
.nav a.active {
  color: var(--text);
  background: var(--surface-strong);
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: var(--surface);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 0.35rem;
}

.menu-toggle span {
  width: 20px;
  height: 2px;
  background: var(--text);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  border-radius: 12px;
  border: 0;
  font-weight: 800;
  font-size: 0.92rem;
  padding: 0.74rem 1rem;
  cursor: pointer;
  transition: transform var(--ease), box-shadow var(--ease), background var(--ease), color var(--ease);
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  color: #fff;
  background: linear-gradient(135deg, var(--primary), var(--primary-strong));
  box-shadow: 0 10px 24px rgba(15, 125, 179, 0.32);
}

.btn-secondary {
  color: #fff;
  background: linear-gradient(135deg, #ff943f, #ff6f1a);
  box-shadow: 0 10px 24px rgba(255, 138, 48, 0.34);
}

.btn-outline {
  color: var(--text);
  border: 1px solid var(--line);
  background: #fff;
}

.hero {
  position: relative;
  overflow: clip;
  padding: 3.8rem 0 3rem;
}

.hero-bg-shape {
  position: absolute;
  border-radius: 999px;
  filter: blur(2px);
}

.hero-shape-1 {
  width: 430px;
  height: 430px;
  background: radial-gradient(circle, rgba(15, 125, 179, 0.24), rgba(15, 125, 179, 0));
  right: -120px;
  top: -120px;
}

.hero-shape-2 {
  width: 360px;
  height: 360px;
  background: radial-gradient(circle, rgba(255, 138, 48, 0.22), rgba(255, 138, 48, 0));
  left: -130px;
  bottom: -160px;
}

.hero-grid {
  display: grid;
  gap: 1.4rem;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: start;
}

.eyebrow {
  display: inline-block;
  margin: 0 0 0.4rem;
  color: var(--primary-strong);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.75rem;
}

h1,
h2,
h3,
h4 {
  margin: 0;
  line-height: 1.2;
  font-family: "Sora", sans-serif;
  letter-spacing: -0.02em;
}

h1 {
  font-size: clamp(1.85rem, 4vw, 3.2rem);
  margin-bottom: 0.7rem;
}

h1 span {
  color: var(--primary-strong);
}

.hero-lead {
  margin: 0;
  color: var(--text-soft);
  max-width: 60ch;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin: 1.3rem 0;
}

.hero-metrics {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.hero-metrics article {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0.7rem 0.9rem;
  min-width: 130px;
}

.hero-metrics strong {
  display: block;
  font-size: 1.3rem;
}

.hero-metrics span {
  color: var(--text-soft);
  font-size: 0.86rem;
}

.hero-card {
  background: linear-gradient(160deg, #0f2d45, #0a1f31);
  color: #f3f9ff;
  padding: 1.5rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.hero-card h2 {
  font-size: 1.35rem;
  margin-bottom: 0.7rem;
}

.hero-card p {
  margin-top: 0;
  margin-bottom: 1rem;
  color: rgba(243, 249, 255, 0.86);
}

.hero-card ul {
  margin: 0 0 1rem;
  padding-left: 1rem;
}

.hero-card li {
  margin-bottom: 0.45rem;
}

.section {
  padding: 4.2rem 0;
}

.section-head {
  max-width: 700px;
  margin-bottom: 1.4rem;
}

.section-head h2,
.about-content h2,
.contact-form h2,
.map-section h2 {
  font-size: clamp(1.45rem, 3vw, 2.2rem);
}

.cards-grid {
  display: grid;
  gap: 0.95rem;
}

.services-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.service-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 1.1rem;
  transition: transform var(--ease), box-shadow var(--ease), border-color var(--ease);
}

.service-card:hover {
  transform: translateY(-4px);
  border-color: rgba(15, 125, 179, 0.4);
  box-shadow: 0 14px 30px rgba(6, 40, 64, 0.12);
}

.service-card h3 {
  font-size: 1.02rem;
  margin-bottom: 0.5rem;
}

.service-card p {
  margin: 0;
  color: var(--text-soft);
}

.about {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.72), rgba(255, 255, 255, 0.95));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.about-grid {
  display: grid;
  gap: 1.1rem;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: start;
}

.about-content p {
  color: var(--text-soft);
}

.about-panel {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 1.2rem;
}

.about-panel h3 {
  margin-bottom: 0.7rem;
}

.about-panel ul {
  margin: 0;
  padding-left: 1rem;
}

.about-panel li {
  margin-bottom: 0.6rem;
  color: var(--text-soft);
}

.page-main {
  min-height: 60vh;
}

.page-hero {
  padding: 3rem 0 1.5rem;
}

.page-hero p {
  max-width: 70ch;
  color: var(--text-soft);
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 1rem;
  align-items: start;
}

.contact-cards {
  display: grid;
  gap: 0.8rem;
}

.contact-cards article {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 1rem;
}

.contact-cards h3 {
  font-size: 0.95rem;
  margin-bottom: 0.45rem;
}

.contact-cards p,
.contact-cards a {
  margin: 0;
  color: var(--text-soft);
  font-weight: 600;
}

.contact-form {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.2rem;
  box-shadow: 0 10px 26px rgba(6, 40, 64, 0.08);
}

.contact-form h2 {
  margin-bottom: 1rem;
}

.contact-form label {
  display: block;
  margin-bottom: 0.35rem;
  font-weight: 700;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  margin-bottom: 0.75rem;
  border: 1px solid var(--line);
  background: #fbfdff;
  color: var(--text);
  border-radius: 10px;
  padding: 0.72rem 0.8rem;
  font: inherit;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: 2px solid rgba(15, 125, 179, 0.3);
  border-color: var(--primary);
}

.form-feedback {
  margin-top: 0.8rem;
  font-weight: 700;
  min-height: 1.2rem;
}

.form-feedback.success {
  color: var(--success);
}

.form-feedback.error {
  color: #cb3f3f;
}

.map-section p {
  color: var(--text-soft);
}

.map-placeholder {
  margin-top: 0.8rem;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid rgba(15, 125, 179, 0.22);
  box-shadow: 0 12px 30px rgba(6, 40, 64, 0.1);
}

.map-frame {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 7;
  min-height: 240px;
  max-height: 520px;
  border: 0;
}

@media (max-width: 820px) {
  .map-frame {
    aspect-ratio: 16 / 10;
    min-height: 280px;
  }
}

.gallery-filters {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
  margin-bottom: 1rem;
}

.filter-btn {
  background: #fff;
  border: 1px solid var(--line);
  color: var(--text-soft);
  border-radius: 999px;
  padding: 0.5rem 0.9rem;
  font-weight: 700;
  cursor: pointer;
  transition: all var(--ease);
}

.filter-btn.active,
.filter-btn:hover {
  border-color: rgba(15, 125, 179, 0.5);
  color: var(--primary-strong);
  background: rgba(15, 125, 179, 0.08);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.8rem;
}

.gallery-item {
  border: 0;
  margin: 0;
  padding: 0;
  border-radius: 14px;
  overflow: hidden;
  cursor: pointer;
  position: relative;
  aspect-ratio: 4 / 3;
  background: #d9e7f1;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 360ms ease;
}

.gallery-item:hover img {
  transform: scale(1.06);
}

.gallery-item.is-hidden {
  display: none;
}

.lightbox {
  position: fixed;
  inset: 0;
  display: grid;
  place-items: center;
  gap: 0.7rem;
  background: rgba(4, 17, 28, 0.87);
  padding: 1rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--ease);
  z-index: 100;
}

.lightbox.open {
  opacity: 1;
  pointer-events: auto;
}

.lightbox img {
  max-width: min(94vw, 980px);
  max-height: 76vh;
  border-radius: 12px;
}

.lightbox p {
  color: #f3f8fc;
  font-weight: 700;
  margin: 0;
}

.lightbox-close {
  border: 1px solid rgba(255, 255, 255, 0.35);
  color: #fff;
  background: transparent;
  border-radius: 999px;
  font-weight: 800;
  padding: 0.5rem 0.9rem;
  cursor: pointer;
}

.site-footer {
  margin-top: 2.2rem;
  background: linear-gradient(160deg, #071c2b, #0c3048);
  color: #e6f3ff;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 1fr;
  gap: 1.1rem;
  padding: 2rem 0 1.2rem;
}

.site-footer h3,
.site-footer h4 {
  margin-bottom: 0.65rem;
}

.site-footer p,
.site-footer li,
.site-footer a {
  color: rgba(230, 243, 255, 0.85);
}

.site-footer ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.45rem;
}

.footer-bottom {
  border-top: 1px solid rgba(230, 243, 255, 0.18);
  text-align: center;
  padding: 0.85rem 0;
}

.footer-bottom p {
  margin: 0;
  color: rgba(230, 243, 255, 0.74);
  font-size: 0.9rem;
}

.footer-signature {
  margin-top: 0.35rem !important;
  font-size: 0.84rem !important;
}

.footer-signature a {
  color: rgba(230, 243, 255, 0.92);
  font-weight: 700;
}

.footer-signature a:hover {
  text-decoration: underline;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 520ms ease, transform 520ms ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.delay-1 {
  transition-delay: 90ms;
}

.delay-2 {
  transition-delay: 180ms;
}

@media (max-width: 1024px) {
  .btn-call {
    display: none;
  }

  .hero-grid,
  .about-grid,
  .contact-grid,
  .footer-grid,
  .services-grid,
  .gallery-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 820px) {
  .menu-toggle {
    display: inline-flex;
  }

  .nav {
    position: absolute;
    left: 1rem;
    right: 1rem;
    top: calc(100% + 0.6rem);
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 0.55rem;
    box-shadow: var(--shadow);
    display: none;
    flex-direction: column;
    align-items: stretch;
  }

  .nav.open {
    display: flex;
  }

  .nav a {
    border-radius: 10px;
  }

  .hero,
  .section {
    padding: 3rem 0;
  }

  .hero-grid,
  .about-grid,
  .contact-grid,
  .footer-grid,
  .services-grid,
  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .hero-card {
    padding: 1.2rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
