:root {
  --bg: #f7f7f1;
  --surface: #fffefa;
  --surface-strong: #e5eee6;
  --primary: #38624e;
  --primary-deep: #20392e;
  --accent: #d87955;
  --accent-soft: #f3dfd2;
  --text: #202923;
  --muted: #58635c;
  --line: rgba(32, 57, 46, 0.14);
  --shadow: 0 20px 45px rgba(32, 57, 46, 0.12);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Inter", sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

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

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

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

.container {
  width: min(1120px, calc(100% - 2rem));
  margin: 0 auto;
}

.section-heading {
  margin-bottom: 2.5rem;
}

.section-heading.center {
  text-align: center;
}

.split {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 1rem;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 0.8rem;
}

h1,
h2,
h3 {
  font-family: "Cormorant Garamond", serif;
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: var(--primary-deep);
}

h1 {
  font-size: 4.5rem;
  margin-bottom: 1rem;
}

h2 {
  font-size: 3.25rem;
  margin-bottom: 0.8rem;
}

h3 {
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

p {
  color: var(--muted);
}

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

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
}

.brand-logo {
  width: 310px;
  height: auto;
  max-height: 100px;
  object-fit: contain;
}

.home-logo {
  display: block;
  width: min(360px, 100%);
  height: auto;
  margin-bottom: 1.5rem;
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-size: 1.1rem;
  color: var(--primary-deep);
}

.brand small {
  font-size: 0.7rem;
  color: var(--muted);
}

.brand-mark {
  width: 2.4rem;
  height: 2.4rem;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: white;
  font-family: "Cormorant Garamond", serif;
  font-size: 1.5rem;
  font-weight: 700;
  border-radius: 50%;
  box-shadow: var(--shadow);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.main-nav a {
  color: var(--muted);
  font-weight: 500;
  transition: color 0.2s ease;
}

.main-nav a:hover,
.main-nav a:focus-visible {
  color: var(--primary-deep);
}

.main-nav a[aria-current="page"] {
  color: var(--primary-deep);
  text-decoration: underline;
  text-decoration-color: var(--accent);
  text-decoration-thickness: 2px;
  text-underline-offset: 7px;
}

.nav-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border: 1px solid var(--line);
  background: var(--surface);
  border-radius: 12px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--primary-deep);
  border-radius: 99px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.85rem 1.3rem;
  border-radius: 999px;
  font-weight: 600;
  border: 1px solid transparent;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn:hover,
.btn:focus-visible {
  transform: translateY(-1px);
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: white;
  box-shadow: 0 16px 30px rgba(107, 75, 58, 0.18);
}

.btn-secondary {
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.4);
  color: var(--primary-deep);
}

.hero {
  padding: 4.5rem 0 4rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 3rem;
}

.hero-copy .lead {
  font-size: 1.07rem;
  max-width: 600px;
  margin-bottom: 1.7rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2rem;
}

.hero-stats {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 1.4rem;
}

.hero-stats li {
  min-width: 120px;
}

.hero-stats strong {
  display: block;
  font-size: 1.4rem;
  color: var(--primary-deep);
}

.hero-stats span {
  color: var(--muted);
  font-size: 0.9rem;
}

.hero-visual {
  position: relative;
  min-height: 560px;
  display: grid;
  place-items: center;
}

.frame-card {
  overflow: hidden;
  background: var(--surface);
  border: 12px solid #f8f1ea;
  border-radius: 24px;
  box-shadow: var(--shadow);
}

.frame-large {
  width: min(100%, 420px);
  aspect-ratio: 4 / 5;
  transform: rotate(-5deg);
}

.frame-small {
  position: absolute;
  width: 200px;
  aspect-ratio: 1;
  border-width: 10px;
  transform: rotate(10deg);
  box-shadow: 0 18px 30px rgba(62, 36, 27, 0.14);
}

.frame-small.top {
  right: 12%;
  top: 14%;
}

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

.badge {
  position: absolute;
  left: 5%;
  bottom: 10%;
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(107, 75, 58, 0.12);
  color: var(--primary-deep);
  border-radius: 999px;
  padding: 0.7rem 1rem;
  font-weight: 600;
  box-shadow: 0 10px 25px rgba(77, 52, 45, 0.1);
}

.categories,
.featured,
.about,
.testimonials {
  padding: 2rem 0 4.5rem;
}

.category-grid,
.product-grid,
.testimonial-grid,
.footer-grid {
  display: grid;
  gap: 1.5rem;
}

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

.category-card,
.product-card,
blockquote {
  background: rgba(255, 255, 255, 0.6);
  border: 1px solid var(--line);
  border-radius: 24px;
  box-shadow: 0 15px 30px rgba(62, 39, 32, 0.04);
}

.category-card {
  padding: 2rem 1.5rem;
}

.icon {
  width: 62px;
  height: 62px;
  display: grid;
  place-items: center;
  background: var(--accent-soft);
  border-radius: 18px;
  font-size: 2rem;
  margin-bottom: 1rem;
}

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

.product-card {
  overflow: hidden;
}

.product-card img {
  height: 280px;
  object-fit: cover;
}

.product-info {
  padding: 1.2rem 1.1rem 1.5rem;
}

.tag {
  display: inline-block;
  padding: 0.45rem 0.7rem;
  border-radius: 999px;
  background: var(--surface-strong);
  color: var(--primary);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}

.product-info p {
  margin-top: 0.2rem;
  font-size: 0.95rem;
}

.catalog-intro {
  max-width: 720px;
  margin-bottom: 1.4rem;
}

.catalog-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem 1.5rem;
  padding: 0 0 1.3rem;
  border-bottom: 1px solid var(--line);
}

.catalog-nav a {
  color: var(--primary);
  font-weight: 600;
}

.catalog-nav a:hover,
.catalog-nav a:focus-visible {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.catalog-category {
  padding: 2.5rem 0;
  border-bottom: 1px solid var(--line);
  scroll-margin-top: 125px;
}

.catalog-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
}

.catalog-kicker {
  display: block;
  margin-bottom: 0.5rem;
  color: var(--accent);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.catalog-heading h2 {
  margin-bottom: 0;
}

.serial-format {
  padding-bottom: 0.45rem;
  color: var(--muted);
  white-space: nowrap;
}

.serial-format strong {
  margin-left: 0.35rem;
  padding: 0.45rem 0.65rem;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--primary-deep);
  font-family: monospace;
  font-size: 0.95rem;
}

.catalog-description {
  margin: 0.85rem 0 1.5rem;
}

.catalog-empty {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  padding: 1.25rem 0;
  border-top: 1px solid var(--line);
}

.empty-code {
  color: var(--accent);
  font-family: "Cormorant Garamond", serif;
  font-size: 3rem;
  font-weight: 700;
  line-height: 1;
}

.catalog-empty h3 {
  margin-bottom: 0.25rem;
  font-size: 1.65rem;
}

.catalog-empty p {
  max-width: 720px;
}

.catalog-product-card {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  align-items: center;
  gap: 1.5rem;
  padding: 1.35rem 0;
  border-top: 1px solid var(--line);
}

.catalog-product-image {
  width: min(100%, 240px);
  height: auto;
  aspect-ratio: 1;
  object-fit: contain;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.product-serial {
  margin-bottom: 0.35rem;
  color: var(--accent);
  font-family: monospace;
  font-size: 0.9rem;
  font-weight: 700;
}

.catalog-product-details h3 {
  margin-bottom: 0.4rem;
}

.whatsapp-order-button {
  margin-top: 1rem;
  background: #18864b;
  box-shadow: 0 12px 24px rgba(24, 134, 75, 0.16);
}

.whatsapp-order-button:hover,
.whatsapp-order-button:focus-visible {
  background: #126b3b;
}

.product-price {
  display: flex;
  gap: 0.65rem;
  margin-top: 0.9rem;
}

.product-price span {
  color: var(--muted);
}

.product-price strong {
  color: var(--primary-deep);
}

.text-link {
  color: var(--primary);
  font-weight: 600;
}

.page-hero {
  padding: 5rem 0;
  background-color: #e8f0e9;
  background-image: repeating-linear-gradient(135deg, transparent 0 18px, rgba(32, 57, 46, 0.025) 18px 19px);
}

.page-hero-inner {
  max-width: 820px;
}

.page-hero h1 {
  max-width: 760px;
}

.page-hero p:not(.eyebrow) {
  max-width: 650px;
  font-size: 1.08rem;
}

.content-section {
  padding: 4rem 0 5rem;
}

.section-copy {
  max-width: 700px;
  margin-top: 1rem;
}

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

.service-card {
  min-height: 260px;
  padding: 2rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 20px;
}

.service-number {
  display: block;
  margin-bottom: 2rem;
  color: var(--accent);
  font-size: 0.85rem;
  font-weight: 700;
}

.service-card .text-link {
  display: inline-block;
  margin-top: 1rem;
}

.story-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 3rem;
}

.story-image {
  overflow: hidden;
  border-radius: 24px;
}

.story-image img {
  min-height: 430px;
  height: 100%;
  object-fit: cover;
}

.story-copy p + p {
  margin-top: 1rem;
}

.values-band {
  padding: 3.5rem 0;
  background: #e8f0e9;
}

.values-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 3rem;
}

.value-list {
  display: grid;
  gap: 0.9rem;
  list-style: none;
  color: var(--primary-deep);
}

.value-list li::before {
  content: "—";
  margin-right: 0.7rem;
  color: var(--accent);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-auto-rows: 250px;
  gap: 1rem;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 16px;
  background: var(--surface-strong);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}

.gallery-item:hover img {
  transform: scale(1.035);
}

.gallery-item figcaption {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  padding: 2.5rem 1rem 1rem;
  color: white;
  font-weight: 600;
  background: linear-gradient(transparent, rgba(20, 30, 25, 0.72));
}

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

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

.contact-layout {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 3rem;
}

.contact-details {
  display: grid;
  gap: 0.8rem;
}

.contact-detail {
  padding: 1.4rem 1.5rem;
  border-left: 3px solid var(--accent);
  background: var(--surface);
}

.detail-label {
  display: block;
  margin-bottom: 0.3rem;
  color: var(--primary);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.contact-detail h3 {
  font-size: 1.7rem;
}

.about-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  align-items: center;
  gap: 2rem;
}

.about-image {
  overflow: hidden;
  border-radius: 28px;
  box-shadow: var(--shadow);
}

.about-image img {
  height: 100%;
  min-height: 440px;
  object-fit: cover;
}

.check-list {
  margin-top: 1.4rem;
  list-style: none;
  display: grid;
  gap: 0.8rem;
  color: var(--primary-deep);
}

.check-list li {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  font-weight: 500;
}

.check-list li::before {
  content: "✓";
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  background: var(--accent-soft);
  color: var(--primary);
  border-radius: 50%;
  font-weight: 700;
}

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

blockquote {
  padding: 1.8rem 1.5rem;
  font-size: 1rem;
  color: var(--primary-deep);
}

blockquote footer {
  margin-top: 1rem;
  color: var(--primary);
  font-weight: 600;
}

.cta-strip {
  padding: 0 0 4.5rem;
}

.cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 2rem 2rem;
  border-radius: 28px;
  background: linear-gradient(135deg, rgba(107, 75, 58, 0.07), rgba(200, 155, 108, 0.2));
  border: 1px solid var(--line);
}

.site-footer {
  background: #201a17;
  color: rgba(255, 255, 255, 0.8);
  padding-top: 3rem;
}

.footer-grid {
  grid-template-columns: 1.3fr 0.8fr 0.9fr;
  align-items: start;
}

.footer-brand {
  margin-bottom: 1rem;
}

.footer-brand .brand-logo {
  width: 310px;
}

.footer-brand strong,
.footer-brand small {
  color: #fff;
}

.site-footer h3 {
  font-size: 1.8rem;
  color: #fff;
  margin-bottom: 0.6rem;
}

.site-footer p,
.site-footer li,
.site-footer a {
  color: rgba(255, 255, 255, 0.76);
}

.site-footer ul {
  list-style: none;
  display: grid;
  gap: 0.4rem;
}

.bottom-bar {
  margin-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding: 1rem 0 1.7rem;
  text-align: center;
}

@media (max-width: 900px) {
  .brand-logo {
    width: 290px;
    max-height: 94px;
  }

  .footer-brand .brand-logo {
    width: 290px;
  }

  h1 {
    font-size: 3.75rem;
  }

  h2 {
    font-size: 2.75rem;
  }

  .hero-grid,
  .about-grid,
  .category-grid,
  .product-grid,
  .testimonial-grid,
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .hero-grid,
  .about-grid,
  .story-layout,
  .values-inner,
  .contact-layout {
    grid-template-columns: 1fr;
  }

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

  .main-nav {
    position: absolute;
    top: calc(100% + 10px);
    right: 1rem;
    left: 1rem;
    z-index: 1;
    display: none;
    flex-direction: column;
    align-items: flex-start;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 20px;
    padding: 1rem;
    box-shadow: var(--shadow);
  }

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

  .nav-toggle {
    display: flex;
  }

  .nav-cta {
    display: none;
  }
}

@media (max-width: 640px) {
  h1 {
    font-size: 2.8rem;
  }

  h2 {
    font-size: 2.3rem;
  }

  h3 {
    font-size: 1.8rem;
  }

  .hero {
    padding-top: 3.2rem;
  }

  .brand-logo {
    width: 260px;
    max-height: 88px;
  }

  .footer-brand .brand-logo {
    width: 260px;
  }

  .hero-stats,
  .category-grid,
  .product-grid,
  .testimonial-grid,
  .footer-grid,
  .service-grid,
  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .page-hero {
    padding: 3.5rem 0;
  }

  .content-section {
    padding: 3rem 0;
  }

  .catalog-nav {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem;
  }

  .catalog-category {
    padding: 2rem 0;
  }

  .catalog-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 0.75rem;
  }

  .catalog-product-card {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .serial-format {
    padding-bottom: 0;
  }

  .gallery-grid {
    grid-auto-rows: 280px;
  }

  .gallery-tall,
  .gallery-wide {
    grid-column: auto;
    grid-row: auto;
  }

  .hero-stats {
    display: grid;
    gap: 0.8rem;
  }

  .cta-inner,
  .split {
    flex-direction: column;
    align-items: flex-start;
  }

  .frame-small.top {
    right: 0;
    width: 145px;
  }

  .frame-large {
    width: min(100%, 360px);
  }
}
