:root {
  --bg: #fffaf2;
  --bg-soft: #f8f1e4;
  --surface: rgba(255, 255, 255, 0.88);
  --surface-strong: #fffdf8;
  --border: rgba(176, 133, 44, 0.18);
  --text: #1f1a14;
  --muted: #5e5448;
  --gold: #b98522;
  --gold-deep: #8b6517;
  --gold-soft: #e9c97a;
  --shadow: 0 24px 60px rgba(89, 63, 14, 0.12);
  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --radius-sm: 12px;
  --container: min(1180px, calc(100% - 48px));
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Manrope", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(233, 201, 122, 0.22), transparent 30%),
    linear-gradient(180deg, #fffefb 0%, #fff8ef 45%, #fdf5e7 100%);
}

body.modal-open {
  overflow: hidden;
}

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

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

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

.page-shell {
  position: relative;
  overflow: clip;
}

.container {
  width: var(--container);
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(255, 250, 242, 0.82);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(185, 133, 34, 0.08);
}

.nav-row-contact {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  min-height: 48px;
  background: linear-gradient(135deg, var(--gold), var(--gold-deep));
}

.nav-row-contact a,
.nav-row-contact span {
  color: #fff8e8;
  font-size: 0.92rem;
}

.nav-row-contact a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
}

.top-divider {
  margin: 0 12px;
  opacity: 0.6;
}

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  min-width: 0;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border-radius: 18px;
  background: linear-gradient(135deg, #fffdf8, #f4dfb1);
  border: 1px solid rgba(185, 133, 34, 0.28);
  box-shadow: var(--shadow);
  font-family: "Cormorant Garamond", serif;
  font-size: 1.65rem;
  font-weight: 700;
  color: var(--gold-deep);
}

.brand-mark img {
  width: 100%;
  height: 100%;
  padding: 8px;
  object-fit: contain;
}

.brand-copy {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.brand-copy strong,
.site-footer h3,
.site-footer h4,
.hero-card-copy h2,
.section-heading h2,
.split-copy h2,
.page-hero h1,
.service-card h2,
.product-copy h2,
.about-copy h2,
.about-panel h3,
.contact-card h2,
.form-card h2 {
  font-family: "Cormorant Garamond", serif;
}

.brand-copy strong {
  font-size: 1.2rem;
  letter-spacing: 0.04em;
}

.brand-copy small {
  color: var(--muted);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 20px;
}

.site-nav a,
.header-cta,
.lang-btn,
.btn {
  transition: transform 180ms ease, background-color 180ms ease, color 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.site-nav a {
  position: relative;
  padding: 10px 2px;
  color: var(--muted);
  font-weight: 600;
}

.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 2px;
  width: 100%;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--gold), transparent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 180ms ease;
}

.site-nav a:hover,
.site-nav a.active {
  color: var(--text);
}

.site-nav a:hover::after,
.site-nav a.active::after {
  transform: scaleX(1);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.lang-switch {
  display: inline-flex;
  padding: 4px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid rgba(185, 133, 34, 0.16);
}

.lang-btn {
  border: 0;
  background: transparent;
  color: var(--muted);
  font-weight: 700;
  padding: 9px 12px;
  border-radius: 999px;
  cursor: pointer;
}

.lang-btn.active,
.lang-btn:hover {
  background: linear-gradient(135deg, var(--gold), var(--gold-deep));
  color: #fff;
}

.header-cta,
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 999px;
  font-weight: 700;
  cursor: pointer;
}

.header-cta {
  padding: 13px 22px;
  color: #fff;
  background: linear-gradient(135deg, var(--gold), var(--gold-deep));
  box-shadow: 0 18px 40px rgba(139, 101, 23, 0.2);
}

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

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  border: 0;
  background: transparent;
  padding: 6px;
  cursor: pointer;
}

.nav-toggle span {
  width: 24px;
  height: 2px;
  border-radius: 999px;
  background: var(--text);
}

.hero,
.page-hero {
  position: relative;
  padding: 72px 0 40px;
}

.hero::before,
.page-hero::before {
  content: "";
  position: absolute;
  inset: 14% -18% auto auto;
  width: 460px;
  height: 460px;
  background: radial-gradient(circle, rgba(233, 201, 122, 0.22), transparent 66%);
  pointer-events: none;
}

.hero-grid,
.split-grid,
.about-grid,
.contact-grid {
  display: grid;
  gap: 36px;
}

.hero-grid {
  align-items: center;
  grid-template-columns: 1.08fr 0.92fr;
}

.hero-copy h1,
.page-hero h1 {
  margin: 0;
  font-size: clamp(2.75rem, 5vw, 5rem);
  line-height: 0.94;
  letter-spacing: -0.03em;
}

.hero-text,
.page-hero p,
.section-heading p,
.split-copy p,
.feature-card p,
.service-card p,
.product-copy p,
.about-copy p,
.about-panel li,
.contact-card,
.form-card,
.form-note,
.site-footer p,
.site-footer li {
  color: var(--muted);
  line-height: 1.7;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--gold-deep);
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 0.82rem;
}

.hero-text {
  max-width: 62ch;
  margin: 24px 0 0;
  font-size: 1.05rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
}

.btn {
  padding: 15px 24px;
  border: 1px solid transparent;
}

.btn-primary {
  color: #fff;
  background: linear-gradient(135deg, var(--gold), var(--gold-deep));
  box-shadow: 0 18px 40px rgba(139, 101, 23, 0.2);
}

.btn-secondary {
  color: var(--text);
  background: rgba(255, 255, 255, 0.9);
  border-color: rgba(185, 133, 34, 0.16);
}

.hero-metrics,
.feature-grid,
.service-grid,
.product-grid,
.footer-grid {
  display: grid;
  gap: 20px;
}

.hero-metrics {
  margin-top: 36px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.hero-metrics article,
.feature-card,
.service-card,
.product-card,
.about-panel,
.contact-card,
.form-card,
.gallery-card,
.hero-card,
.contact-strip a {
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.hero-metrics article {
  padding: 20px;
  border-radius: var(--radius-md);
}

.hero-metrics strong {
  display: block;
  font-size: 1.8rem;
  margin-bottom: 6px;
}

.hero-visual {
  position: relative;
}

.hero-card {
  overflow: hidden;
  border-radius: var(--radius-xl);
}

.hero-card-copy {
  padding: 20px 24px 24px;
}

.hero-card-copy p {
  margin: 0 0 8px;
  color: var(--gold-deep);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.75rem;
}

.hero-card-copy h2 {
  margin: 0;
  font-size: 2rem;
}

.card-float {
  animation: floatCard 5s ease-in-out infinite;
}

.floating-badge {
  position: absolute;
  right: -18px;
  bottom: 24px;
  padding: 18px 20px;
  border-radius: var(--radius-md);
  color: #fff;
  background: linear-gradient(135deg, rgba(31, 26, 20, 0.94), rgba(139, 101, 23, 0.92));
  box-shadow: 0 20px 45px rgba(31, 26, 20, 0.28);
}

.floating-badge span,
.floating-badge small {
  display: block;
}

.floating-badge span {
  font-weight: 800;
  letter-spacing: 0.04em;
}

.floating-badge small {
  margin-top: 4px;
  color: rgba(255, 255, 255, 0.75);
}

.section {
  padding: 48px 0;
}

.section-accent {
  background: linear-gradient(180deg, rgba(255, 248, 238, 0.7), rgba(248, 241, 228, 0.95));
  border-top: 1px solid rgba(185, 133, 34, 0.08);
  border-bottom: 1px solid rgba(185, 133, 34, 0.08);
}

.section-dashboard {
  background:
    radial-gradient(circle at center, rgba(233, 201, 122, 0.2), transparent 58%),
    linear-gradient(180deg, rgba(255, 251, 243, 0.92), rgba(248, 241, 228, 0.98));
  border-top: 1px solid rgba(185, 133, 34, 0.08);
  border-bottom: 1px solid rgba(185, 133, 34, 0.08);
}

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

.section-heading-center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.section-heading h2,
.split-copy h2,
.service-card h2,
.product-copy h2,
.about-copy h2,
.about-panel h3,
.contact-card h2,
.form-card h2 {
  margin: 0 0 14px;
  font-size: clamp(2rem, 3vw, 3rem);
  line-height: 1;
}

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

.feature-card,
.service-card,
.about-panel {
  padding: 28px;
  border-radius: var(--radius-lg);
}

.feature-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  margin-bottom: 18px;
  color: #fff;
  background: linear-gradient(135deg, var(--gold), var(--gold-deep));
  font-weight: 800;
}

.split-grid {
  grid-template-columns: 1fr 1fr;
  align-items: center;
}

.tag-list,
.process-list,
.value-list {
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.tag-list li,
.chip-grid span {
  padding: 12px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(185, 133, 34, 0.18);
  color: var(--text);
  font-weight: 600;
}

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

.gallery-card {
  overflow: hidden;
  border-radius: var(--radius-xl);
}

.gallery-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.brochure-frame,
.product-media,
.brochure-card {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(247, 238, 224, 0.98)),
    radial-gradient(circle at top left, rgba(233, 201, 122, 0.12), transparent 42%);
}

.brochure-frame {
  aspect-ratio: 0.88;
}

.brochure-frame-hero {
  padding: 0px;
}

.brochure-frame img,
.product-media img,
.brochure-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 18px,18px,18px,18px;
}

.brochure-card img {
  max-height: 360px;
}

.dashboard-grid,
.customer-grid {
  display: grid;
  gap: 20px;
}

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

.dashboard-card,
.customer-card {
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.dashboard-card {
  padding: 28px;
  border-radius: var(--radius-xl);
}

.dashboard-kicker {
  display: inline-block;
  margin-bottom: 18px;
  color: var(--gold-deep);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.dashboard-card strong {
  display: block;
  margin-bottom: 12px;
  font-size: clamp(2.6rem, 4vw, 4rem);
  line-height: 0.9;
  font-family: "Cormorant Garamond", serif;
  color: var(--text);
}

.dashboard-card p {
  margin: 0;
}

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

.customer-card {
  padding: 18px;
  border-radius: var(--radius-lg);
  text-align: center;
}

.customer-card img {
  width: 100%;
  aspect-ratio: 1.78;
  object-fit: contain;
}

.customer-card span {
  display: block;
  margin-top: 14px;
  font-weight: 700;
  color: var(--muted);
}

.contact-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.contact-strip a {
  padding: 24px;
  border-radius: var(--radius-lg);
}

.contact-strip span {
  display: block;
  margin-bottom: 10px;
  color: var(--gold-deep);
  font-size: 0.82rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 800;
}

.contact-strip strong {
  font-size: 1.08rem;
}

.site-footer {
  padding: 52px 0 24px;
  background: #1e1914;
  color: rgba(255, 255, 255, 0.82);
}

.footer-grid {
  grid-template-columns: 1.2fr 0.8fr 0.8fr;
}

.site-footer h3,
.site-footer h4 {
  margin: 0 0 12px;
  color: #fff6df;
  font-size: 1.8rem;
}

.site-footer h4 {
  font-size: 1.35rem;
}

.site-footer ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-bottom {
  margin-top: 28px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.page-hero {
  padding-top: 92px;
  padding-bottom: 24px;
}

.page-hero p {
  max-width: 66ch;
}

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

.process-list li,
.value-list li {
  position: relative;
  margin-bottom: 14px;
  padding-left: 24px;
  color: var(--muted);
}

.process-list li::before,
.value-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 11px;
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--gold), var(--gold-deep));
}

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

.product-card {
  overflow: hidden;
  border-radius: var(--radius-xl);
}

.product-media {
  aspect-ratio: 0.92;
}

.product-media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.product-copy {
  padding: 26px;
}

.product-copy ul {
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
}

.product-copy li + li {
  margin-top: 8px;
}

.product-trigger {
  margin-top: 20px;
  width: 100%;
}

.product-list-card {
  display: grid;
  align-items: center;
  min-height: 100%;
}

.chip-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.about-grid,
.contact-grid {
  grid-template-columns: 1fr 1fr;
}

.contact-card,
.form-card {
  padding: 28px;
  border-radius: var(--radius-xl);
}

.contact-detail + .contact-detail {
  margin-top: 18px;
}

.contact-detail span {
  display: block;
  margin-bottom: 8px;
  color: var(--gold-deep);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.contact-detail address {
  font-style: normal;
  color: var(--muted);
  line-height: 1.8;
}

.form-row + .form-row {
  margin-top: 16px;
}

.form-row label {
  display: block;
  margin-bottom: 8px;
  font-weight: 700;
}

.form-row input,
.form-row select,
.form-row textarea {
  width: 100%;
  padding: 14px 16px;
  color: var(--text);
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid rgba(185, 133, 34, 0.18);
  border-radius: 16px;
  outline: none;
}

.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
  border-color: rgba(185, 133, 34, 0.55);
  box-shadow: 0 0 0 4px rgba(233, 201, 122, 0.2);
}

.form-card .btn {
  margin-top: 22px;
  border: 0;
}

.form-note {
  margin-top: 12px;
  font-size: 0.92rem;
}

.product-modal {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: grid;
  place-items: center;
  padding: 24px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 180ms ease;
}

.product-modal.is-open {
  opacity: 1;
  pointer-events: auto;
}

.product-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(16, 13, 9, 0.68);
  backdrop-filter: blur(6px);
}

.product-modal-dialog {
  position: relative;
  width: min(1100px, 100%);
  max-height: min(88vh, 920px);
  overflow: auto;
  padding: 30px;
  border-radius: 30px;
  background: linear-gradient(180deg, #fffdf8, #f8f1e4);
  border: 1px solid rgba(185, 133, 34, 0.22);
  box-shadow: 0 28px 80px rgba(31, 26, 20, 0.24);
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  background: rgba(185, 133, 34, 0.12);
  color: var(--text);
  font-size: 1.6rem;
  cursor: pointer;
}

.modal-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 28px;
  align-items: start;
}

.modal-media {
  margin: 0;
  padding: 18px;
  border-radius: var(--radius-xl);
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(185, 133, 34, 0.18);
}

.modal-media img {
  width: 100%;
  max-height: 70vh;
  object-fit: contain;
  border-radius: 20px;
}

.modal-copy h3 {
  margin: 26px 0 10px;
  font-family: "Cormorant Garamond", serif;
  font-size: 1.7rem;
}

.modal-copy p {
  color: var(--muted);
}

.modal-spec-list {
  margin: 0 0 26px;
  padding-left: 20px;
  color: var(--muted);
}

.modal-spec-list li + li {
  margin-top: 8px;
}

.whatsapp-float {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 40;
  display: grid;
  place-items: center;
  width: 62px;
  height: 62px;
  border-radius: 50%;
  color: #fff;
  background: linear-gradient(135deg, #2fcf72, #138a45);
  box-shadow: 0 18px 45px rgba(19, 138, 69, 0.35);
}

.whatsapp-float img {
  width: 32px;
  height: 32px;
  object-fit: contain;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 520ms ease, transform 520ms ease;
}

.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

@keyframes floatCard {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-8px);
  }
}

@media (max-width: 1040px) {
  .hero-grid,
  .split-grid,
  .about-grid,
  .contact-grid,
  .feature-grid,
  .footer-grid,
  .service-grid,
  .product-grid,
  .modal-grid {
    grid-template-columns: 1fr;
  }

  .gallery-grid,
  .contact-strip,
  .dashboard-grid,
  .customer-grid {
    grid-template-columns: 1fr;
  }

  .product-modal-dialog {
    padding: 22px;
  }
}

@media (max-width: 860px) {
  .nav-toggle {
    display: inline-flex;
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 10px);
    left: 24px;
    right: 24px;
    flex-direction: column;
    align-items: flex-start;
    padding: 18px;
    border-radius: 22px;
    background: rgba(255, 252, 247, 0.98);
    border: 1px solid rgba(185, 133, 34, 0.18);
    box-shadow: var(--shadow);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-8px);
    transition: opacity 180ms ease, transform 180ms ease;
  }

  .site-nav.open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .nav-row {
    flex-wrap: wrap;
    padding: 16px 0;
  }

  .header-actions {
    margin-left: auto;
  }
}

@media (max-width: 640px) {
  :root {
    --container: min(100% - 28px, 1180px);
  }

  .nav-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 14px;
  }

  .brand {
    gap: 12px;
    min-width: 0;
  }

  .brand-copy strong {
    font-size: 1rem;
  }

  .brand-copy small {
    font-size: 0.82rem;
  }

  .nav-toggle {
    display: inline-flex;
    justify-self: end;
    align-self: start;
    padding: 10px;
    border-radius: 14px;
    border: 1px solid rgba(185, 133, 34, 0.2);
    background: rgba(255, 255, 255, 0.92);
    box-shadow: 0 12px 24px rgba(89, 63, 14, 0.08);
  }

  .header-actions {
    grid-column: 1 / -1;
    width: 100%;
    justify-content: flex-start;
    flex-wrap: wrap;
  }

  .nav-row-contact {
    padding: 8px 14px;
    text-align: center;
  }

  .nav-row-contact a {
    display: inline-flex;
    flex-wrap: wrap;
    justify-content: center;
  }

  .top-divider {
    display: none;
  }

  .lang-switch {
    flex: 1 1 auto;
    max-width: max-content;
  }

  .header-cta {
    flex: 1 1 170px;
    min-width: 0;
    padding: 12px 18px;
  }

  .hero,
  .page-hero {
    padding-top: 48px;
  }

  .hero-copy h1,
  .page-hero h1 {
    font-size: clamp(2.2rem, 12vw, 3.4rem);
  }

  .hero-metrics {
    grid-template-columns: 1fr;
  }

  .floating-badge {
    position: static;
    margin-top: 180px;
  }

  .feature-card,
  .service-card,
  .product-copy,
  .about-panel,
  .contact-card,
  .form-card,
  .contact-strip a,
  .dashboard-card,
  .customer-card {
    padding: 22px;
  }

  .customer-card img {
    aspect-ratio: 1.5;
  }

  .modal-close {
    top: 10px;
    right: 10px;
  }

  .modal-copy h3 {
    font-size: 1.45rem;
  }

  .whatsapp-float {
    right: 16px;
    bottom: 16px;
    width: 56px;
    height: 56px;
  }
}
