:root {
  --navy: #0d1b2a;
  --navy-soft: #152942;
  --gold: #c9a84c;
  --white: #ffffff;
  --grey: #f5f6fa;
  --ink: #172033;
  --muted: #667085;
  --line: #e7e9ef;
  --radius: 8px;
  --shadow: 0 18px 46px rgba(13, 27, 42, .12);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  overflow-x: hidden;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: hidden;
  font-family: "DM Sans", Arial, sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
  padding-bottom: 76px;
}

img,
svg,
iframe {
  max-width: 100%;
}

img {
  display: block;
  height: auto;
}

a {
  color: inherit;
}

.container {
  width: min(1160px, calc(100vw - 32px));
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  left: -999px;
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
  z-index: 30;
  background: var(--gold);
  padding: .5rem .75rem;
}

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

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  gap: 1rem;
}

.brand {
  min-width: 0;
  color: var(--navy);
  font-family: "Playfair Display", serif;
  font-size: clamp(1.25rem, 5vw, 1.55rem);
  line-height: 1;
  text-decoration: none;
}

.brand span {
  color: var(--gold);
}

.nav-toggle {
  display: none;
  min-height: 44px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  padding: .55rem .8rem;
  font: inherit;
  font-weight: 800;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.1rem;
}

.nav-links a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  font-weight: 800;
}

.btn {
  min-height: 46px;
  border: 0;
  border-radius: var(--radius);
  background: var(--gold);
  color: var(--navy);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .45rem;
  padding: .85rem 1.15rem;
  font: inherit;
  font-weight: 900;
  line-height: 1.15;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
}

.btn.ghost {
  background: transparent;
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, .55);
}

.btn.small {
  min-height: 40px;
  padding: .55rem .8rem;
}

.hero {
  color: var(--white);
  background: radial-gradient(circle at 82% 18%, rgba(201, 168, 76, .26), transparent 28%), linear-gradient(135deg, var(--navy), var(--navy-soft));
  overflow: hidden;
}

.hero-grid {
  min-height: 620px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 1fr);
  align-items: center;
  gap: clamp(1.5rem, 4vw, 3rem);
  padding: clamp(3rem, 8vw, 5rem) 0;
}

.hero h1,
.page-hero h1,
.section-head h2,
.article h1 {
  margin: .2rem 0 1rem;
  font-family: "Playfair Display", serif;
  font-size: clamp(2.25rem, 6vw, 4.8rem);
  line-height: 1.02;
  overflow-wrap: anywhere;
}

.hero p,
.page-hero p {
  max-width: 660px;
  font-size: clamp(1rem, 2vw, 1.15rem);
}

.hero-img {
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius);
  object-fit: cover;
  background: #dfe5ee;
  box-shadow: var(--shadow);
}

.eyebrow {
  margin: 0 0 .55rem;
  color: var(--gold);
  font-size: .78rem;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: .9rem;
  margin-top: 1.4rem;
}

.trust-bar {
  display: flex;
  justify-content: center;
  gap: 1rem 2rem;
  flex-wrap: wrap;
  background: var(--gold);
  color: var(--navy);
  padding: 1rem;
  font-weight: 900;
  text-align: center;
}

.section {
  padding: clamp(3rem, 8vw, 5rem) 0;
}

.band {
  background: var(--grey);
}

.section-head {
  max-width: 760px;
  margin-bottom: 2rem;
}

.grid {
  display: grid;
  gap: 1.25rem;
}

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

.card {
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
}

.card > div,
.card:not(.product-card) {
  padding: 1.1rem;
}

.product-card,
.post-card {
  display: flex;
  flex-direction: column;
}

.product-card img,
.post-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  background: #dfe5ee;
}

.product-card h3,
.post-card h2,
.card h3 {
  line-height: 1.2;
  overflow-wrap: anywhere;
}

.text-link {
  color: var(--navy);
  font-weight: 900;
  text-decoration-color: var(--gold);
  text-decoration-thickness: 3px;
  text-underline-offset: 3px;
}

.feature-grid,
.service-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.25rem;
}

.feature {
  min-width: 0;
  padding: 1.2rem;
  border-left: 4px solid var(--gold);
  background: var(--white);
}

.icon {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--navy);
  font-size: .75rem;
  font-weight: 900;
}

.timeline {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  padding: 0;
  list-style: none;
}

.timeline li {
  min-width: 0;
  border-top: 3px solid var(--gold);
  background: var(--grey);
  padding: 1rem;
}

.timeline strong,
.timeline span {
  display: block;
}

.testimonial-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
}

.faq details {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  margin: .8rem 0;
  padding: 1rem;
}

.faq summary {
  min-height: 44px;
  cursor: pointer;
  font-weight: 900;
}

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: .45rem;
  padding: 1rem 0;
  color: var(--muted);
  font-size: .95rem;
}

.page-hero {
  padding: clamp(3rem, 7vw, 4.5rem) 0 2rem;
}

.filter-row {
  display: flex;
  flex-wrap: wrap;
  gap: .65rem;
  margin-bottom: 1rem;
}

.filter-row a {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: .5rem .8rem;
  text-decoration: none;
  font-weight: 800;
}

.product-detail {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(1.5rem, 4vw, 3rem);
  padding: 3rem 0;
}

.gallery-stack {
  display: grid;
  gap: 1rem;
}

.gallery-stack img {
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius);
  object-fit: cover;
  background: #dfe5ee;
}

.detail-copy {
  min-width: 0;
}

.price {
  color: var(--navy);
  font-size: 1.35rem;
  font-weight: 900;
}

.table-wrap {
  width: 100%;
  overflow-x: auto;
}

table {
  width: 100%;
  border-collapse: collapse;
}

th,
td {
  border-bottom: 1px solid var(--line);
  padding: .75rem;
  text-align: left;
  vertical-align: top;
}

.masonry {
  columns: 3 280px;
  column-gap: 1rem;
  padding-bottom: 4rem;
}

.gallery-item {
  width: 100%;
  break-inside: avoid;
  margin: 0 0 1rem;
  border: 0;
  padding: 0;
  background: transparent;
  text-align: left;
  cursor: pointer;
}

.gallery-item img {
  width: 100%;
  border-radius: var(--radius);
  background: #dfe5ee;
}

.gallery-item span {
  display: block;
  padding: .55rem 0;
  font-weight: 900;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 40;
  display: grid;
  place-items: center;
  padding: 1.25rem;
  background: rgba(13, 27, 42, .92);
}

.lightbox[hidden] {
  display: none;
}

.lightbox img {
  max-height: 86vh;
  width: min(980px, 92vw);
  object-fit: contain;
}

.lightbox button,
.modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  background: var(--gold);
  color: var(--navy);
  font-size: 1.4rem;
  font-weight: 900;
}

.article {
  max-width: 880px;
  padding: 3rem 0;
}

.article img {
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius);
  margin: 2rem 0;
  object-fit: cover;
  background: #dfe5ee;
}

.article-body {
  overflow-wrap: anywhere;
}

.contact-page {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 1fr);
  gap: clamp(1.5rem, 4vw, 3rem);
  padding: 4rem 0;
}

.contact-facts p {
  margin: .35rem 0;
  font-weight: 800;
}

.form-card,
.admin-form {
  display: grid;
  gap: 1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  padding: clamp(1rem, 3vw, 1.5rem);
  box-shadow: var(--shadow);
}

input,
textarea,
select {
  width: 100%;
  min-height: 46px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: .85rem;
  font: inherit;
}

textarea {
  min-height: 130px;
  resize: vertical;
}

input:focus,
textarea:focus,
select:focus,
button:focus-visible,
a:focus-visible {
  outline: 3px solid rgba(201, 168, 76, .45);
  outline-offset: 2px;
}

.map-embed iframe {
  width: 100%;
  height: 360px;
  border: 0;
  border-radius: var(--radius);
  margin-bottom: 4rem;
}

.site-footer {
  background: var(--navy);
  color: var(--white);
  padding: 4rem 0 1rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 2rem;
}

.footer-grid a {
  display: block;
  color: var(--white);
  margin: .35rem 0;
}

.copyright {
  color: #b7c1d1;
  text-align: center;
}

.float-action {
  position: fixed;
  right: 1rem;
  z-index: 25;
  min-width: 64px;
  min-height: 44px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: .65rem .9rem;
  font-weight: 900;
  text-decoration: none;
  box-shadow: var(--shadow);
}

.whatsapp {
  bottom: 5rem;
  background: #25d366;
  color: #062b15;
}

.call {
  bottom: 1rem;
  background: var(--gold);
  color: var(--navy);
}

.quote-modal {
  width: min(520px, calc(100vw - 28px));
  max-height: calc(100vh - 28px);
  overflow: auto;
  border: 0;
  border-radius: var(--radius);
  padding: 0;
}

.quote-modal::backdrop {
  background: rgba(13, 27, 42, .72);
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: .6s ease;
}

.reveal.visible {
  opacity: 1;
  transform: none;
}

.admin {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 250px minmax(0, 1fr);
  background: var(--grey);
  padding-bottom: 0;
}

.admin-sidebar {
  display: flex;
  flex-direction: column;
  gap: .8rem;
  background: var(--navy);
  color: var(--white);
  padding: 1.5rem;
}

.admin-sidebar a {
  color: var(--white);
  text-decoration: none;
  font-weight: 800;
}

.admin-main {
  min-width: 0;
  overflow: auto;
  padding: clamp(1rem, 3vw, 2rem);
}

.admin-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(180px, 220px));
  gap: 1rem;
}

.stats strong {
  display: block;
  font-size: 2rem;
}

.admin-table {
  min-width: 720px;
  margin-top: 1rem;
  background: var(--white);
}

.admin-login {
  min-height: 100vh;
  display: grid;
  place-items: center;
  background: var(--grey);
  padding: 1rem;
}

.login-card {
  width: min(420px, 100%);
}

.notice,
.alert {
  border-radius: var(--radius);
  background: #e7f7ec;
  color: #18512a;
  padding: 1rem;
}

.alert {
  background: #fff1f0;
  color: #8a1f17;
}

@media (max-width: 1024px) {
  .cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .feature-grid,
  .service-grid,
  .timeline,
  .testimonial-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  body {
    padding-bottom: 88px;
  }

  .nav-toggle {
    display: inline-flex;
    align-items: center;
  }

  .nav-links {
    position: absolute;
    left: 0;
    right: 0;
    top: 72px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: .25rem;
    border-bottom: 1px solid var(--line);
    background: var(--white);
    padding: .75rem 1rem 1rem;
    box-shadow: var(--shadow);
  }

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

  .nav-links a {
    justify-content: center;
  }

  .hero-grid,
  .product-detail,
  .contact-page,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .hero-grid {
    min-height: auto;
  }

  .hero-img {
    max-height: 440px;
  }

  .admin {
    grid-template-columns: 1fr;
  }

  .admin-sidebar {
    position: static;
  }
}

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

  .cards,
  .feature-grid,
  .service-grid,
  .timeline,
  .testimonial-row,
  .stats {
    grid-template-columns: 1fr;
  }

  .hero h1,
  .page-hero h1,
  .section-head h2,
  .article h1 {
    font-size: clamp(2rem, 12vw, 2.6rem);
  }

  .actions,
  .filter-row {
    align-items: stretch;
    flex-direction: column;
  }

  .btn,
  .filter-row a {
    width: 100%;
  }

  .trust-bar {
    align-items: stretch;
    flex-direction: column;
    gap: .55rem;
  }

  .section {
    padding: 3rem 0;
  }

  .page-hero {
    padding-top: 3rem;
  }

  .product-detail {
    padding-top: 2rem;
  }

  th,
  td {
    display: block;
    width: 100%;
    padding: .65rem 0;
  }

  th {
    border-bottom: 0;
    color: var(--muted);
  }

  .masonry {
    columns: 1;
  }

  .contact-page {
    padding: 3rem 0;
  }

  .float-action {
    right: auto;
    min-width: 0;
    width: calc(50vw - 18px);
  }

  .whatsapp {
    left: 12px;
    bottom: 12px;
  }

  .call {
    right: 12px;
    bottom: 12px;
  }

  .admin-table {
    min-width: 640px;
  }
}

@media (max-width: 380px) {
  .container {
    width: min(100% - 20px, 1160px);
  }

  .brand {
    font-size: 1.16rem;
  }

  .nav-toggle {
    padding-inline: .65rem;
  }

  .hero h1,
  .page-hero h1,
  .section-head h2,
  .article h1 {
    font-size: 1.95rem;
  }

  .form-card,
  .admin-form {
    padding: 1rem;
  }
}
