*,
*::before,
*::after {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

a {
  color: inherit;
  text-decoration: none;
}

a:hover {
  color: var(--navy);
}

.skip-link {
  position: absolute;
  left: -999px;
}

.skip-link:focus {
  left: 12px;
  top: 12px;
  z-index: 80;
  background: #111;
  color: #fff;
  padding: 8px 12px;
}

.hp {
  position: absolute;
  left: -9999px;
  height: 0;
  overflow: hidden;
}

/* Header */
.site-header {
  background: #fff;
  position: relative;
  z-index: 20;
}

.topbar {
  background: var(--topbar);
  color: var(--topbar-text);
  font-size: 19px;
  font-weight: 400;
}

.topbar-inner {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 28px;
  min-height: 40px;
}

.topbar-phones,
.top-link {
  display: flex;
  align-items: center;
  gap: 8px;
}

.top-link {
  color: var(--topbar-text);
}

.top-link:hover {
  color: var(--navy);
}

.mainbar {
  background: #fff;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 148px;
}

.logo img {
  display: block;
  width: 183px;
  height: auto;
}

.nav-desktop {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-desktop a {
  color: var(--navy);
  font-size: 16px;
  font-weight: 600;
  letter-spacing: normal;
  line-height: 1.65;
  text-transform: uppercase;
  padding: 0 16px;
}

.nav-desktop a[aria-current='page'] {
  font-weight: 600;
}

.nav-toggle {
  display: none;
  background: none;
  border: 0;
  color: var(--navy);
  cursor: pointer;
}

.mobile-panel {
  background: #fff;
  border-top: 1px solid #e6e6e6;
}

.mobile-panel ul {
  list-style: none;
  margin: 0;
  padding: 8px 24px 20px;
}

.mobile-panel a {
  display: block;
  padding: 10px 0;
  text-transform: uppercase;
  color: var(--navy);
  font-size: 16px;
  font-weight: 600;
}

/* Hero slider */
.hero-slider {
  position: relative;
  height: 600px;
  overflow: hidden;
  background: #111;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.7s ease;
}

.hero-slide.is-active {
  opacity: 1;
  z-index: 1;
}

.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hero-slide.has-overlay::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.2);
}

.hero-copy {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
  padding: 0 12%;
  font-size: 45px;
  font-weight: 700;
  line-height: 1;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.35);
}

.hero-seal {
  position: absolute;
  right: 4%;
  bottom: 8%;
  z-index: 3;
  width: 201px;
  height: auto;
}

.hero-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 4;
  width: 44px;
  height: 44px;
  border: 0;
  background: transparent;
  color: #fff;
  font-size: 42px;
  line-height: 1;
  cursor: pointer;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.4);
}

.hero-arrow.prev {
  left: 12px;
}

.hero-arrow.next {
  right: 12px;
}

/* Buttons */
.btn,
.btn-navy {
  display: inline-block;
  background: var(--navy);
  color: #fff !important;
  border: 0;
  border-radius: 3px;
  padding: 12px 24px;
  font-family: inherit;
  font-size: 15px;
  font-weight: 400;
  letter-spacing: normal;
  text-transform: none;
  line-height: 1;
  cursor: pointer;
}

.btn:hover,
.btn-navy:hover {
  background: var(--navy-deep);
}

/* Home about */
.about {
  padding: 50px 0 40px;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  width: min(92%, 1140px);
  margin-inline: auto;
}

.about-photo img {
  display: block;
  width: 100%;
  max-width: 407px;
  margin-inline: auto;
}

.about-copy h2 {
  margin: 0 0 10px;
  font-size: 32px;
  font-weight: 600;
  letter-spacing: normal;
  line-height: 1.3;
  text-transform: none;
  color: #3a3a3a;
}

.about-copy .line {
  width: 70px;
  height: 3px;
  background: #111;
  margin: 0 0 22px;
}

.about-copy p {
  color: var(--text);
  font-size: 17px;
  font-weight: 400;
  margin: 0 0 16px;
}

.about-copy strong {
  color: var(--text);
  font-weight: 700;
}

/* Services row */
.services-home {
  background: var(--bg-alt);
  padding: 70px 0 40px;
  text-align: center;
}

.services-home h2 {
  margin: 0 0 8px;
  font-size: 32px;
  font-weight: 600;
  letter-spacing: normal;
  line-height: 1.3;
  text-transform: none;
  color: #3a3a3a;
}

.services-home .line {
  width: 70px;
  height: 3px;
  background: #c5c5c5;
  margin: 0 auto 18px;
}

.services-home .sub {
  color: #3a3a3a;
  font-size: 32px;
  font-weight: 600;
  letter-spacing: normal;
  margin: 0 0 36px;
}

.svc-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  width: min(92%, 1140px);
  margin: 0 auto;
}

.svc-card {
  background: #d5dee4;
  border-radius: 18px;
  padding: 28px 16px 24px;
  min-height: 360px;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.svc-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.12);
}

.svc-card img {
  width: 168px;
  height: 168px;
  object-fit: cover;
  border-radius: 50%;
  margin-bottom: 18px;
}

.svc-card h2 {
  margin: 0 0 16px;
  font-size: 32px;
  font-weight: 600;
  color: #3a3a3a;
  line-height: 1.3;
}

.svc-more {
  color: var(--navy);
  font-size: 17px;
  font-weight: 400;
  padding: 5px 10px;
}

/* Flip boxes */
.flip-row {
  display: grid;
  grid-template-columns: 1fr 1.15fr 1fr;
  gap: 18px;
  width: min(92%, 1140px);
  margin: 40px auto 70px;
  align-items: stretch;
}

.flip {
  perspective: 1000px;
  min-height: 320px;
}

.flip-inner {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 320px;
  transform-style: preserve-3d;
  transition: transform 0.7s ease;
}

.flip:hover .flip-inner {
  transform: rotateY(-180deg);
}

.flip-face {
  position: absolute;
  inset: 0;
  backface-visibility: hidden;
  background: var(--navy);
  color: #fff;
  border-radius: 14px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 28px 20px;
}

.flip-back {
  transform: rotateY(180deg);
}

.flip-face svg {
  height: 40px;
  width: auto;
  margin-bottom: 12px;
  fill: currentColor;
}

.flip-face h2 {
  margin: 0 0 8px;
  font-size: 32px;
  font-weight: 600;
  line-height: 1.3;
}

.flip-face p {
  margin: 0;
  font-size: 17px;
  font-weight: 400;
  opacity: 1;
}

.flip-photo {
  border-radius: 14px;
  overflow: hidden;
  min-height: 320px;
}

.flip-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  min-height: 320px;
}

.flipbox-button {
  margin-top: 14px;
  color: #fff !important;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 14px;
}

/* Interior pages */
.page-wrap {
  padding: 48px 0 70px;
}

.page-title {
  margin: 0 0 18px;
  font-size: 32px;
  font-weight: 600;
  line-height: 1.3;
  color: #3a3a3a;
}

.page-lead {
  color: var(--muted);
  font-size: 17px;
}

.white-panel {
  background: #fff;
  padding: 48px 56px;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.02);
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}

.muted {
  color: var(--muted);
}

.underline-title {
  display: inline-block;
  border-bottom: 2px solid var(--navy);
  color: var(--navy);
  font-weight: 600;
  letter-spacing: normal;
  text-transform: uppercase;
  margin: 18px 0 10px;
}

.inner-carousel {
  position: relative;
  overflow: hidden;
}

.inner-carousel .hero-arrow {
  color: var(--navy);
  text-shadow: none;
  background: rgba(255, 255, 255, 0.7);
  border-radius: 50%;
}

.inner-carousel img {
  display: none;
  width: 100%;
  height: auto;
}

.inner-carousel img.is-active {
  display: block;
}

.list-check {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px 32px;
  list-style: none;
  padding: 0;
  margin: 12px 0 0;
}

.list-check li {
  position: relative;
  padding-left: 22px;
}

.list-check li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--navy);
  font-weight: 700;
}

.mv-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin: 40px 0 20px;
}

.mv h2 {
  margin: 0 0 12px;
  font-size: 26px;
  font-weight: 600;
  line-height: 1.3;
  color: #3a3a3a;
  display: flex;
  align-items: center;
  gap: 10px;
}

.mv p {
  color: var(--muted);
  margin: 0;
}

/* Gallery */
.gallery-5 {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
  margin: 28px 0 40px;
}

.gallery-item {
  background: #fff;
  border: 1px solid #ddd;
  text-align: center;
}

.gallery-item img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  display: block;
}

.gallery-item figcaption {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  padding: 10px 8px 14px;
  color: #444;
}

.logos-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 24px;
}

.logos-grid a {
  background: #fff;
  display: grid;
  place-items: center;
  min-height: 110px;
  padding: 12px;
}

.logos-grid img {
  max-height: 80px;
  width: auto;
}

/* Forms */
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: start;
}

form label {
  display: block;
  font-size: 15px;
  margin: 0 0 6px;
}

form input,
form textarea,
form select {
  width: 100%;
  margin: 0 0 16px;
  padding: 8px 10px;
  border: 1px solid #ccc;
  background: #fff;
  font: inherit;
  color: inherit;
}

form textarea {
  min-height: 160px;
  resize: vertical;
}

.map-wrap {
  min-height: 360px;
}

.map-wrap iframe {
  width: 100%;
  height: 420px;
  border: 0;
}

.policy h2,
.policy h3 {
  color: var(--accent);
  font-size: 18px;
  font-style: italic;
  font-weight: 600;
  margin: 22px 0 8px;
}

.policy h1,
.page-wrap h1 {
  color: var(--navy);
}

.policy p,
.policy li {
  color: var(--muted);
}

.arrow-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 28px;
  list-style: none;
  padding: 0;
}

.arrow-list li {
  position: relative;
  padding-left: 22px;
  color: var(--muted);
}

.arrow-list li::before {
  content: '▸';
  position: absolute;
  left: 0;
  color: var(--navy);
}

.faq-block {
  margin: 18px 0;
}

.faq-block h3 {
  margin: 0 0 6px;
  color: var(--navy);
  font-size: 18px;
}

.faq-block h3::before {
  content: '▸ ';
}

/* Footer */
.site-footer {
  color: #fff;
}

.footer-main {
  background: var(--navy);
  padding: 48px 0 36px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 1fr 0.8fr;
  gap: 24px;
}

.footer-main h2 {
  margin: 0 0 14px;
  font-size: 24px;
  font-weight: 600;
  line-height: 1.5;
  letter-spacing: normal;
  text-transform: none;
}

.footer-main p,
.footer-main a {
  color: #fff;
  font-size: 15px;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 16px 0 0;
}

.footer-links a {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 8px 0;
}

.footer-seal img {
  display: block;
  margin-left: auto;
  width: 200px;
}

.footer-copy {
  background: var(--topbar);
  color: #5a6a75;
  padding: 12px 0;
  text-align: right;
  font-size: 14px;
}

.footer-copy a {
  color: inherit;
}

.icon-line {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

/* WhatsApp */
.wa-float {
  position: fixed;
  right: 18px;
  bottom: 24px;
  z-index: 40;
}

.wa-float-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--wa);
  color: #fff !important;
  border-radius: 28px;
  padding: 10px 16px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.18);
  font-weight: 600;
  font-size: 14px;
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 70;
  background: rgba(0, 0, 0, 0.72);
  display: grid;
  place-items: center;
}

.lightbox[hidden] {
  display: none;
}

.lightbox-img {
  max-width: 90vw;
  max-height: 86vh;
  background: #fff;
  padding: 10px;
}

.lightbox-close,
.lightbox-prev,
.lightbox-next {
  position: absolute;
  background: none;
  border: 0;
  color: #fff;
  font-size: 36px;
  cursor: pointer;
}

.lightbox-close {
  top: 12px;
  right: 20px;
}

.lightbox-prev {
  left: 16px;
}

.lightbox-next {
  right: 16px;
}

.form-feedback {
  min-height: 1.4em;
}

@media (max-width: 1024px) {
  .svc-grid,
  .gallery-5,
  .logos-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .flip-row,
  .footer-grid,
  .about-grid,
  .split,
  .form-grid,
  .mv-grid,
  .arrow-list,
  .list-check {
    grid-template-columns: 1fr;
  }

  .hero-copy {
    font-size: 32px;
    padding: 0 16%;
  }

  .white-panel {
    padding: 28px 20px;
  }
}

@media (max-width: 920px) {
  .nav-desktop {
    display: none;
  }

  .nav-toggle {
    display: block;
  }

  .header-inner {
    min-height: 96px;
  }

  .topbar-inner {
    flex-direction: column;
    justify-content: center;
    padding: 8px 0;
    gap: 4px;
  }

  .hero-slider {
    height: 280px;
  }

  .hero-seal {
    width: 110px;
  }

  .footer-copy {
    text-align: center;
  }
}

@media (max-width: 600px) {
  .hero-copy {
    font-size: 20px;
    line-height: 1.2;
  }

  .svc-grid,
  .gallery-5,
  .logos-grid {
    grid-template-columns: 1fr;
  }
}
