:root {
  --primary: #0f4c81;
  --secondary: #1d72b8;
  --light: #eaf4ff;
  --white: #ffffff;
  --text: #1f2937;
  --gray: #6b7280;
  --line: #dbeafe;
  --shadow: 0 18px 45px rgba(15, 76, 129, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  background: var(--white);
  color: var(--text);
  line-height: 1.7;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: min(1140px, calc(100% - 32px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid rgba(15, 76, 129, 0.1);
  backdrop-filter: blur(14px);
}

.navbar {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--primary);
  font-weight: 800;
  font-size: 1.08rem;
  white-space: nowrap;
}

.brand-mark {
  width: 42px;
  height: 42px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  background: var(--primary);
  color: var(--white);
  box-shadow: 0 12px 24px rgba(15, 76, 129, 0.18);
}

.brand-logo {
  width: 62px;
  height: 62px;
  flex: 0 0 auto;
  object-fit: contain;
  object-position: center;
  padding: 3px;
  background: #050505;
  border-radius: 8px;
  box-shadow: 0 12px 24px rgba(15, 76, 129, 0.18);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav-links a {
  padding: 10px 14px;
  color: #334155;
  font-weight: 700;
  font-size: 0.94rem;
  border-radius: 8px;
  transition: color 0.2s ease, background 0.2s ease;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--primary);
  background: var(--light);
}

.nav-links .quote-btn {
  margin-left: 10px;
  border: 2px solid var(--primary);
  color: var(--primary);
  background: transparent;
}

.nav-links .quote-btn:hover {
  background: var(--primary);
  color: var(--white);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 5px auto;
  background: var(--primary);
}

.hero {
  padding: 76px 0 62px;
  background:
    linear-gradient(110deg, rgba(234, 244, 255, 0.96) 0%, rgba(255, 255, 255, 0.9) 58%),
    url("https://images.unsplash.com/photo-1527515637462-cff94eecc1ac?auto=format&fit=crop&w=1600&q=80") center/cover;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 0.9fr;
  gap: 56px;
  align-items: center;
}

.section-kicker {
  display: inline-block;
  margin-bottom: 10px;
  color: var(--secondary);
  font-weight: 800;
  text-transform: uppercase;
  font-size: 0.78rem;
  letter-spacing: 0;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 700px;
  font-size: clamp(2.2rem, 6vw, 4.45rem);
  line-height: 1.04;
  margin-bottom: 22px;
  color: #0b355b;
}

h2 {
  color: #0b355b;
  font-size: clamp(1.8rem, 3.5vw, 2.65rem);
  line-height: 1.15;
  margin-bottom: 14px;
}

h3 {
  color: #0b355b;
  line-height: 1.25;
}

.hero-copy p {
  max-width: 650px;
  font-size: 1.12rem;
  color: #475569;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 24px 0 30px;
}

.hero-badges span {
  padding: 9px 13px;
  border: 1px solid rgba(29, 114, 184, 0.18);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.82);
  color: var(--primary);
  font-weight: 800;
}

.hero-actions,
.center-action {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.center-action {
  justify-content: center;
  margin-top: 34px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 24px;
  border-radius: 8px;
  font-weight: 800;
  border: 2px solid transparent;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: var(--primary);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--secondary);
}

.btn-outline {
  border-color: var(--primary);
  color: var(--primary);
  background: rgba(255, 255, 255, 0.7);
}

.btn-light {
  color: var(--primary);
  background: var(--white);
}

.hero-media {
  position: relative;
}

.hero-media img {
  width: 100%;
  aspect-ratio: 4 / 4.3;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.hero-card {
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: 24px;
  padding: 18px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 16px 34px rgba(15, 76, 129, 0.16);
}

.hero-card strong,
.hero-card span {
  display: block;
}

.hero-card strong {
  color: var(--primary);
  font-size: 1.3rem;
}

.hero-card span {
  color: var(--gray);
}

.intro-band {
  padding: 44px 0;
  background: var(--primary);
  color: var(--white);
}

.intro-grid,
.cta-grid {
  display: grid;
  grid-template-columns: 1fr 0.75fr;
  gap: 34px;
  align-items: center;
}

.intro-band h2,
.cta-band h2 {
  color: var(--white);
  margin-bottom: 0;
}

.intro-band p {
  margin: 0;
  color: rgba(255, 255, 255, 0.84);
}

.intro-band .section-kicker,
.cta-band .section-kicker {
  color: #bfe0ff;
}

.section {
  padding: 78px 0;
}

.section-heading {
  max-width: 720px;
  margin: 0 auto 36px;
  text-align: center;
}

.section-heading p,
.page-hero p {
  color: var(--gray);
  margin-bottom: 0;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.services-grid.full {
  grid-template-columns: repeat(3, 1fr);
}

.service-card {
  position: relative;
  overflow: hidden;
  min-height: 100%;
  background: var(--white);
  border: 1px solid rgba(15, 76, 129, 0.1);
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(15, 76, 129, 0.08);
  transition: transform 0.28s ease, box-shadow 0.28s ease;
}

.service-card::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: rgba(2, 24, 43, 0);
  transition: background 0.28s ease;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 46px rgba(15, 76, 129, 0.17);
}

.service-card:hover::after {
  background: rgba(2, 24, 43, 0.08);
}

.service-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.card-content {
  position: relative;
  z-index: 1;
  padding: 24px;
}

.card-content h3 {
  margin-bottom: 10px;
  font-size: 1.22rem;
}

.card-content p {
  color: var(--gray);
  margin-bottom: 14px;
}

.card-content a {
  color: var(--secondary);
  font-weight: 800;
}

.cta-band {
  padding: 48px 0;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: var(--white);
}

.cta-grid {
  grid-template-columns: 1fr auto;
}

.page-hero {
  padding: 70px 0;
  background:
    linear-gradient(120deg, rgba(234, 244, 255, 0.98), rgba(255, 255, 255, 0.92)),
    url("https://images.unsplash.com/photo-1581578731548-c64695cc6952?auto=format&fit=crop&w=1600&q=80") center/cover;
}

.page-hero h1 {
  margin-bottom: 16px;
}

.gallery-tabs {
  display: grid;
  grid-template-columns: repeat(8, minmax(0, 1fr));
  gap: 0;
  align-items: center;
  margin: -12px 0 42px;
  padding: 0 0 14px;
  overflow: visible;
  border-bottom: 1px solid var(--line);
}

.gallery-tab {
  position: relative;
  min-height: 52px;
  padding: 8px 8px;
  border: 0;
  background: transparent;
  color: #1f2937;
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0;
  line-height: 1.25;
  text-transform: none;
  cursor: pointer;
  text-align: center;
  transition: color 0.2s ease;
}

.gallery-tab::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -15px;
  height: 2px;
  border-radius: 999px;
  background: transparent;
  transition: background 0.2s ease;
}

.gallery-tab:hover,
.gallery-tab.active {
  color: var(--primary);
}

.gallery-tab.active::after {
  background: var(--primary);
}

.gallery-panels {
  min-height: 360px;
}

.gallery-panel {
  padding-top: 4px;
}

.gallery-panel[hidden] {
  display: none;
}

.gallery-panel-heading {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: center;
  margin-bottom: 22px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
}

.gallery-panel-heading h2 {
  margin-bottom: 0;
  font-size: clamp(1.55rem, 3vw, 2.15rem);
}

.gallery-panel-heading .section-kicker {
  margin-bottom: 6px;
}

.gallery-panel-heading a {
  color: var(--secondary);
  font-weight: 800;
  white-space: nowrap;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.gallery-item {
  position: relative;
  margin: 0;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: 0 14px 35px rgba(15, 76, 129, 0.11);
}

.gallery-item[hidden] {
  display: none;
}

.gallery-item img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  transition: transform 0.36s ease, filter 0.32s ease;
}

.gallery-item figcaption {
  position: absolute;
  left: 14px;
  bottom: 14px;
  padding: 8px 12px;
  border-radius: 8px;
  background: rgba(15, 76, 129, 0.9);
  color: var(--white);
  font-weight: 800;
}

.gallery-item:hover img {
  transform: scale(1.12);
  filter: brightness(0.88);
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.82fr 1fr;
  gap: 30px;
  align-items: start;
}

.contact-panel,
.map-card {
  border: 1px solid rgba(15, 76, 129, 0.1);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.contact-panel {
  padding: 30px;
}

.contact-panel h2 {
  font-size: 1.7rem;
}

.contact-item {
  padding: 18px 0;
  border-top: 1px solid var(--line);
}

.contact-item span,
.contact-item a,
.contact-item strong {
  display: block;
}

.contact-item span {
  color: var(--gray);
  font-size: 0.94rem;
}

.contact-item a,
.contact-item strong {
  color: var(--primary);
  font-size: 1.12rem;
  font-weight: 800;
}

.map-card {
  overflow: hidden;
}

.map-header {
  padding: 26px 28px 20px;
}

.map-header h2 {
  font-size: 1.7rem;
  margin-bottom: 8px;
}

.map-header p {
  margin-bottom: 0;
  color: var(--gray);
}

.map-card iframe {
  display: block;
  width: 100%;
  min-height: 360px;
  border: 0;
}

.site-footer {
  padding: 46px 0 0;
  background: #082b49;
  color: rgba(255, 255, 255, 0.76);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.7fr 0.8fr;
  gap: 32px;
}

.footer-brand {
  color: var(--white);
}

.site-footer h3 {
  color: var(--white);
  font-size: 1rem;
  margin-bottom: 10px;
}

.site-footer a,
.site-footer span {
  display: block;
  margin-bottom: 8px;
}

.site-footer a:hover {
  color: var(--white);
}

.footer-bottom {
  margin-top: 36px;
  padding: 18px;
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.whatsapp-fixed {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 1100;
  width: 62px;
  height: 62px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #25d366;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.24);
  transition: transform 0.2s ease;
}

.whatsapp-fixed:hover {
  transform: translateY(-3px) scale(1.03);
}

.whatsapp-fixed svg {
  width: 34px;
  height: 34px;
  fill: var(--white);
}

@media (max-width: 920px) {
  .menu-toggle {
    display: block;
  }

  .nav-links {
    position: absolute;
    top: 78px;
    left: 16px;
    right: 16px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--white);
    box-shadow: var(--shadow);
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links .quote-btn {
    margin-left: 0;
    text-align: center;
  }

  .hero-grid,
  .intro-grid,
  .cta-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .services-grid,
  .services-grid.full,
  .gallery-grid,
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .gallery-tabs {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

}

@media (max-width: 640px) {
  .container {
    width: min(100% - 24px, 1140px);
  }

  .navbar {
    min-height: 70px;
  }

  .brand {
    font-size: 0.96rem;
  }

  .brand-mark {
    width: 38px;
    height: 38px;
  }

  .brand-logo {
    width: 48px;
    height: 48px;
  }

  .nav-links {
    top: 70px;
    left: 12px;
    right: 12px;
  }

  .hero,
  .section {
    padding: 54px 0;
  }

  .page-hero {
    padding: 52px 0;
  }

  .hero-media img {
    aspect-ratio: 1 / 1;
  }

  .hero-card {
    position: static;
    margin-top: 12px;
  }

  .services-grid,
  .services-grid.full,
  .gallery-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .gallery-tabs {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-bottom: 32px;
  }

  .gallery-tab {
    min-height: 46px;
    font-size: 0.8rem;
  }

  .gallery-panel-heading {
    display: block;
  }

  .gallery-panel-heading a {
    display: block;
    margin-top: 8px;
    white-space: normal;
  }

  .gallery-item img {
    height: 235px;
  }

  .whatsapp-fixed {
    right: 14px;
    bottom: 14px;
    width: 56px;
    height: 56px;
  }
}
