:root {
  --bg: #ffffff;
  --soft-bg: #f6f9fb;
  --ink: #102033;
  --muted: #617083;
  --line: #dbe6ee;
  --accent: #147d9f;
  --accent-dark: #0e5f7a;
  --accent-soft: #e8f6fa;
  --teal: #2aa9a5;
  --shadow: 0 18px 45px rgba(16, 32, 51, 0.1);
  --radius: 8px;
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "DM Sans", sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
}

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

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

button,
input,
select,
textarea {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}

.nav-shell {
  width: min(100% - 32px, var(--max));
  min-height: 76px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  color: #0d2747;
  white-space: nowrap;
}

.brand img {
  width: 58px;
  height: 42px;
  object-fit: contain;
  mix-blend-mode: multiply;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 0.94rem;
  font-weight: 700;
}

.nav-links a {
  padding: 10px 12px;
  border-radius: 999px;
  color: #274159;
  transition: background 180ms ease, color 180ms ease;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--accent-dark);
  background: var(--accent-soft);
}

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

.menu-toggle span {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: var(--ink);
  border-radius: 2px;
}

.hero {
  width: min(100% - 32px, var(--max));
  min-height: calc(100vh - 76px);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.9fr);
  align-items: center;
  gap: 48px;
  padding: 56px 0;
}

.hero-content {
  max-width: 650px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--accent-dark);
  font-weight: 800;
  text-transform: uppercase;
  font-size: 0.78rem;
  letter-spacing: 0;
}

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

h1 {
  margin-bottom: 22px;
  font-size: clamp(2.45rem, 6vw, 5.25rem);
  line-height: 0.96;
  letter-spacing: 0;
  color: #0b2440;
}

h2 {
  margin-bottom: 16px;
  font-size: clamp(1.75rem, 3.5vw, 3rem);
  line-height: 1.05;
  letter-spacing: 0;
  color: #0b2440;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.18rem;
  line-height: 1.25;
}

.hero-copy,
.page-hero p,
.section-heading p,
.feature-card p,
.product-card p,
.about-article p {
  color: var(--muted);
}

.hero-copy {
  max-width: 650px;
  margin-bottom: 30px;
  font-size: 1.15rem;
}

.page-hero p,
.section-heading p {
  max-width: 960px;
  font-size: 1.08rem;
}

.hero-actions,
.quote-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 20px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-weight: 800;
  line-height: 1.1;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(20, 125, 159, 0.18);
}

.btn.primary {
  color: #fff;
  background: var(--accent);
}

.btn.secondary {
  color: var(--accent-dark);
  background: #fff;
  border-color: var(--line);
}

.btn.whatsapp {
  color: #fff;
  background: #1f9d63;
}

.hero-panel {
  padding: 32px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #ffffff;
  box-shadow: var(--shadow);
}

.hero-panel img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: contain;
}

.section,
.page-main {
  width: min(100% - 32px, var(--max));
  margin: 0 auto;
}

.section {
  padding: 70px 0;
}

.section-heading {
  width: 100%;
  max-width: 100%;
  margin-bottom: 28px;
}

.feature-grid,
.product-grid,
.contact-grid {
  display: grid;
  gap: 18px;
}

.feature-grid.three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.feature-card,
.product-card,
.contact-card,
.quote-card,
.about-article {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 10px 28px rgba(16, 32, 51, 0.05);
}

.feature-card,
.contact-card {
  padding: 24px;
}

.feature-card,
.product-card,
.contact-card,
.stat-box {
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.feature-card:hover,
.product-card:hover,
.contact-card:hover,
.stat-box:hover {
  transform: translateY(-4px);
  border-color: rgba(20, 125, 159, 0.32);
  box-shadow: var(--shadow);
}

.feature-mark {
  display: inline-flex;
  margin-bottom: 18px;
  padding: 6px 10px;
  border-radius: 999px;
  color: var(--accent-dark);
  background: var(--accent-soft);
  font-weight: 800;
  font-size: 0.82rem;
}

.cta-band {
  width: min(100% - 32px, var(--max));
  margin: 20px auto 80px;
  padding: 34px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-radius: var(--radius);
  background: #f2f9fb;
  border: 1px solid #d8edf4;
}

.cta-band h2 {
  margin-bottom: 0;
  font-size: clamp(1.55rem, 3vw, 2.5rem);
}

.cta-band .btn {
  white-space: nowrap;
  align-self: center;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 14px 28px;
  font-size: 1.02rem;
}

.quote-buttons-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 14px;
}

.page-main {
  padding: 54px 0 80px;
}

.about-page {
  padding-top: 72px;
}

.page-hero {
  width: 100%;
  max-width: 100%;
  margin-bottom: 34px;
}

.page-hero.hero-split {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(300px, 0.75fr);
  gap: 36px;
  align-items: center;
  margin-bottom: 44px;
}

.hero-right-card {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(145deg, #ffffff 0%, #f4f9fc 100%);
  box-shadow: var(--shadow);
  display: grid;
  gap: 14px;
}

.stat-box {
  padding: 12px 16px;
  border-radius: 6px;
  background: #ffffff;
  border: 1px solid var(--line);
}

.stat-box strong {
  display: block;
  font-size: 1.15rem;
  color: var(--accent-dark);
  font-weight: 800;
}

.stat-box span {
  font-size: 0.88rem;
  color: var(--muted);
}

.page-hero h1 {
  font-size: clamp(2.25rem, 5vw, 4.7rem);
}

.address-highlight {
  display: inline-flex;
  padding: 14px 18px;
  border-radius: var(--radius);
  color: #0b2440;
  background: var(--accent-soft);
  font-weight: 800;
}

.product-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.product-card {
  overflow: hidden;
}

.product-card h2,
.product-card p {
  padding-inline: 20px;
}

.product-card h2 {
  margin: 20px 0 10px;
  font-size: 1.24rem;
}

.product-card p {
  padding-bottom: 22px;
}

.product-thumb {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
  transition: transform 300ms ease;
}

.product-card:hover .product-thumb {
  transform: scale(1.04);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-rows: 180px;
  gap: 16px;
}

.gallery-item {
  width: 100%;
  min-height: auto;
  border: 0;
  border-radius: var(--radius);
  cursor: pointer;
  text-align: left;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.gallery-item:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

.gallery-item span,
.gallery-item strong {
  position: relative;
  z-index: 1;
}

.gallery-item span {
  align-self: end;
  color: var(--accent-dark);
  font-size: 0.86rem;
}

.gallery-item strong {
  align-self: start;
  color: #0b2440;
}

.gallery-item.tall {
  grid-row: span 2;
}

.gallery-item.wide {
  grid-column: span 2;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(11, 36, 64, 0.58);
}

.lightbox[hidden] {
  display: none;
}

.lightbox-frame {
  width: min(780px, 100%);
  padding: 18px;
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow);
}

.lightbox-preview {
  min-height: 420px;
  display: grid;
  place-items: center;
  border-radius: 6px;
  color: #0d4260;
  background:
    linear-gradient(135deg, rgba(20, 125, 159, 0.12), rgba(42, 169, 165, 0.12)),
    repeating-linear-gradient(45deg, rgba(16, 32, 51, 0.08) 0 1px, transparent 1px 20px),
    #f8fbfc;
}

.lightbox-frame p {
  margin: 14px 0 0;
  font-weight: 800;
}

.lightbox-close {
  position: fixed;
  top: 22px;
  right: 22px;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  color: var(--ink);
  background: #fff;
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
}

.contact-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 24px;
}

.contact-card {
  padding: 16px 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  min-height: 88px;
}

.contact-card span {
  display: block;
  margin-bottom: 4px;
  color: var(--accent-dark);
  font-weight: 800;
  text-transform: uppercase;
  font-size: 0.75rem;
  letter-spacing: 0.5px;
}

.contact-card strong {
  font-size: 1.02rem;
  line-height: 1.35;
  overflow-wrap: anywhere;
  font-weight: 700;
  color: #0b2440;
}

.map-section iframe {
  width: 100%;
  min-height: 520px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--soft-bg);
}

.quote-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1.1fr);
  gap: 38px;
  align-items: start;
}

.quote-copy {
  position: sticky;
  top: 112px;
}

.quote-card {
  padding: 26px;
}

form {
  display: grid;
  gap: 12px;
}

label {
  margin-top: 10px;
  font-weight: 800;
  color: #20364c;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  padding: 13px 14px;
  outline: none;
  transition: border-color 180ms ease, box-shadow 180ms ease;
}

textarea {
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(20, 125, 159, 0.12);
}

.about-article {
  width: 100%;
  max-width: 1080px;
  margin: 0 auto;
  padding: clamp(28px, 5vw, 56px);
}

.about-article h1 {
  margin-bottom: 26px;
  font-size: clamp(2.5rem, 5vw, 4.2rem);
  line-height: 1.04;
}

.about-article h2 {
  margin-top: 34px;
  font-size: clamp(1.45rem, 3vw, 2.25rem);
}

.form-success-msg {
  padding: 16px 20px;
  background: #e8f8f0;
  border: 1px solid #1f9d63;
  border-radius: 8px;
  color: #0e5835;
  font-size: 1.02rem;
  margin-bottom: 20px;
  line-height: 1.5;
  animation: fadeIn 300ms ease;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(-6px); }
  to { opacity: 1; transform: translateY(0); }
}

.map-container-card {
  display: grid;
  grid-template-columns: minmax(320px, 360px) 1fr;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  background: #ffffff;
  min-height: 520px;
}

.map-info-panel {
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border-right: 1px solid var(--line);
  background: #ffffff;
}

.business-header {
  margin-bottom: 16px;
}

.business-thumb {
  width: 100%;
  height: 185px;
  object-fit: cover;
  object-position: 50% 22%;
  border-radius: 6px;
  margin-bottom: 14px;
}

.business-header h3 {
  margin: 0 0 6px;
  font-size: 1.35rem;
  color: #0b2440;
}

.business-rating {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 6px;
  font-size: 0.94rem;
}

.business-rating .score {
  font-weight: 800;
  color: #d97706;
}

.business-rating .stars {
  color: #f59e0b;
  letter-spacing: 1px;
}

.business-rating .reviews {
  color: var(--muted);
  font-size: 0.86rem;
}

.business-type {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.business-details-list {
  list-style: none;
  padding: 0;
  margin: 0 0 20px;
  display: grid;
  gap: 14px;
}

.business-details-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.92rem;
  color: var(--ink);
}

.business-details-list .icon {
  font-size: 1.15rem;
  line-height: 1.3;
}

.map-actions .btn {
  width: 100%;
}

.map-embed-wrapper {
  width: 100%;
  height: 100%;
  min-height: 480px;
}

.map-embed-wrapper iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

@media (max-width: 860px) {
  .map-container-card {
    grid-template-columns: 1fr;
  }

  .map-info-panel {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .map-embed-wrapper {
    min-height: 380px;
  }
}

.site-footer {
  width: min(100% - 32px, var(--max));
  margin: 0 auto;
  padding: 16px 0 24px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.88rem;
}

.footer-credit {
  flex-basis: 100%;
  width: 100%;
  border-top: 1px solid var(--line);
  margin-top: 10px;
  padding-top: 10px;
  font-size: 0.82rem;
  color: var(--muted);
  text-align: center;
}

.footer-credit a {
  color: #0b2440;
  font-weight: 700;
  text-decoration: none;
  transition: color 180ms ease;
}

.footer-credit a:hover {
  color: var(--accent-dark);
  text-decoration: underline;
}

.site-footer strong {
  display: inline-block;
  margin-bottom: 2px;
  color: var(--ink);
  font-size: 0.95rem;
}

.site-footer p,
.site-footer address {
  margin: 0;
  line-height: 1.4;
}

.site-footer address {
  font-style: normal;
  text-align: right;
}

.blank-field {
  display: inline-block;
  min-width: 150px;
  min-height: 1.2em;
}

@media (max-width: 1060px) {
  .nav-shell {
    width: min(100% - 24px, var(--max));
  }

  .menu-toggle {
    display: block;
  }

  .nav-links {
    position: absolute;
    left: 12px;
    right: 12px;
    top: 76px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 12px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
  }

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

  .nav-links a {
    border-radius: 8px;
  }

  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-top: 42px;
  }

  .hero-panel {
    max-width: 620px;
  }

  .product-grid,
  .contact-grid,
  .feature-grid.three {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .page-hero.hero-split {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .hero-right-card {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

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

  .quote-layout {
    grid-template-columns: 1fr;
  }

  .quote-copy {
    position: static;
  }
}

@media (max-width: 700px) {
  .nav-shell {
    min-height: 68px;
  }

  .brand span {
    font-size: 0.98rem;
  }

  .brand img {
    width: 48px;
    height: 36px;
  }

  .nav-links {
    top: 68px;
  }

  .hero,
  .section,
  .page-main,
  .cta-band,
  .site-footer {
    width: min(100% - 24px, var(--max));
  }

  .hero {
    gap: 28px;
    padding: 36px 0 52px;
  }

  h1 {
    font-size: clamp(2.1rem, 12vw, 3.4rem);
  }

  .hero-copy {
    font-size: 1rem;
  }

  .hero-panel {
    padding: 18px;
  }

  .feature-grid.three,
  .product-grid,
  .contact-grid,
  .hero-right-card,
  .quote-buttons-grid {
    grid-template-columns: 1fr;
  }

  .cta-band,
  .site-footer {
    flex-direction: column;
    align-items: flex-start;
  }

  .site-footer address {
    text-align: left;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: 210px;
  }

  .gallery-item.tall,
  .gallery-item.wide {
    grid-row: span 1;
    grid-column: span 1;
  }

  .lightbox-preview {
    min-height: 300px;
  }

  .quote-card {
    padding: 18px;
  }

  .quote-actions .btn,
  .hero-actions .btn {
    width: 100%;
  }
}
