:root {
  --bg: #f3ecdf;
  --bg-deep: #e4d6c0;
  --surface: rgba(255, 250, 242, 0.72);
  --surface-strong: rgba(255, 247, 236, 0.96);
  --text: #241a12;
  --muted: #6d5f4f;
  --accent: #9c5b34;
  --accent-strong: #6f3d22;
  --olive: #687259;
  --line: rgba(36, 26, 18, 0.1);
  --shadow: 0 28px 80px rgba(88, 58, 32, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  font-family: "Avenir Next", "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at top left, rgba(156, 91, 52, 0.22), transparent 30%),
    radial-gradient(circle at 85% 12%, rgba(255, 250, 242, 0.95), transparent 24%),
    linear-gradient(180deg, var(--bg) 0%, var(--bg-deep) 100%);
}

body.modal-open {
  overflow: hidden;
}

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

h1,
h2,
h3,
.brand {
  font-family: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", serif;
}

.page-shell {
  width: min(1160px, calc(100% - 32px));
  margin: 0 auto;
  padding: 24px 0 60px;
}

.hero {
  position: relative;
  padding: 10px 0 34px;
  border-radius: 42px;
  overflow: hidden;
  background:
    linear-gradient(rgba(243, 236, 223, 0.82), rgba(228, 214, 192, 0.84)),
    url("img/calle7vintage-brand.png") center/680px no-repeat;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 18% 24%, rgba(255, 255, 255, 0.5), transparent 28%),
    radial-gradient(circle at 82% 70%, rgba(156, 91, 52, 0.12), transparent 26%);
  pointer-events: none;
}

.nav {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 18px 22px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: rgba(255, 249, 240, 0.72);
  backdrop-filter: blur(18px);
  box-shadow: var(--shadow);
}

.brand {
  font-size: 1.3rem;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.nav-links {
  display: flex;
  gap: 20px;
  color: var(--muted);
  font-size: 0.96rem;
}

.hero-content {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(320px, 0.9fr);
  gap: 28px;
  align-items: stretch;
  padding-top: 42px;
}

.hero-content-branded::before {
  display: none;
}

.hero-copy,
.hero-panel {
  position: relative;
  z-index: 1;
}

.hero-copy,
.hero-panel,
.story-card,
.quote-card,
.timeline-item,
.contact-panel,
.product-card,
.mini-card,
.look-card {
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.hero-copy,
.story-card,
.timeline-item,
.contact-panel {
  background: rgba(255, 250, 242, 0.82);
  backdrop-filter: blur(14px);
}

.hero-copy {
  padding: 46px;
  border-radius: 38px;
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--accent-strong);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

h1 {
  margin: 0;
  font-size: clamp(3rem, 7.4vw, 6rem);
  line-height: 0.92;
  letter-spacing: -0.06em;
  max-width: 12ch;
}

.lead {
  max-width: 42rem;
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.75;
}

.hero-actions,
.contact-actions,
.product-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.hero-actions {
  margin-top: 28px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 22px;
  border-radius: 999px;
  font-weight: 700;
  transition:
    transform 180ms ease,
    background 180ms ease,
    color 180ms ease,
    border-color 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  background: var(--accent);
  color: #fff8f1;
}

.button-primary:hover {
  background: #864a29;
}

.button-secondary {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.5);
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 34px;
}

.hero-stats div {
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

.hero-stats strong {
  display: block;
  font-size: 1.45rem;
  line-height: 1;
}

.hero-stats span {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.5;
}

.hero-panel {
  display: grid;
  gap: 16px;
  padding: 18px;
  border-radius: 34px;
  background:
    linear-gradient(160deg, rgba(123, 136, 103, 0.2), rgba(255, 244, 231, 0.85));
}

.panel-note,
.pill,
.look-tag {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  padding: 8px 12px;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 700;
}

.panel-note,
.look-tag {
  background: rgba(255, 248, 238, 0.75);
  color: var(--accent-strong);
}

.look-card {
  padding: 26px;
  border-radius: 28px;
  background:
    linear-gradient(180deg, rgba(109, 95, 79, 0.1), rgba(255, 250, 242, 0.86));
}

.look-card h2 {
  margin: 16px 0 10px;
  font-size: 2.2rem;
  line-height: 0.98;
  letter-spacing: -0.05em;
}

.look-card p,
.product-card p,
.story-card p,
.timeline-item p,
.contact-panel p,
.quote-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.75;
}

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

.mini-card {
  display: grid;
  gap: 8px;
  min-height: 120px;
  padding: 20px;
  border-radius: 24px;
  background: rgba(255, 249, 240, 0.8);
}

.mini-card span {
  color: var(--muted);
  font-size: 0.92rem;
}

.mini-card strong {
  font-size: 1.05rem;
}

.section {
  padding-top: 38px;
}

.section-heading {
  margin-bottom: 20px;
}

.section-heading h2 {
  margin: 0;
  font-size: clamp(2.2rem, 4vw, 3.8rem);
  line-height: 0.98;
  letter-spacing: -0.05em;
  max-width: 14ch;
}

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

.product-card {
  display: grid;
  gap: 18px;
  min-height: 270px;
  padding: 22px;
  border-radius: 30px;
}

.product-card-featured {
  cursor: pointer;
}

.product-image {
  width: 100%;
  height: 280px;
  display: block;
  object-fit: cover;
  object-position: center top;
  border-radius: 22px;
}

.product-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.pill {
  background: rgba(255, 247, 236, 0.72);
  color: var(--accent-strong);
}

.price {
  font-weight: 700;
  color: var(--text);
}

.product-actions .button {
  flex: 1 1 160px;
}

.product-details-button {
  width: 100%;
}

.product-card h3,
.story-card h2,
.timeline-item h3,
.contact-panel h2 {
  margin: 0;
  line-height: 1.02;
  letter-spacing: -0.04em;
}

.product-card h3 {
  font-size: 1.8rem;
}

.tone-olive {
  background: linear-gradient(180deg, #dfe5d6, #f5f0e6);
}

.tone-cream {
  background: linear-gradient(180deg, #f6eadf, #fff7ef);
}

.tone-rust {
  background: linear-gradient(180deg, #ead1c0, #f8ede4);
}

.tone-sand {
  background: linear-gradient(180deg, #e8dcc9, #f7f1e8);
}

.split-section {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
  gap: 20px;
}

.product-modal {
  position: fixed;
  inset: 0;
  z-index: 40;
  display: none;
}

.product-modal.is-open {
  display: block;
}

.product-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(26, 19, 12, 0.56);
  backdrop-filter: blur(6px);
}

.product-modal-dialog {
  position: relative;
  width: min(1120px, calc(100% - 24px));
  max-height: calc(100vh - 24px);
  margin: 12px auto;
  overflow: auto;
  border: 1px solid var(--line);
  border-radius: 32px;
  background: #fbf6ef;
  box-shadow: 0 30px 90px rgba(21, 13, 8, 0.24);
}

.product-modal-close {
  position: sticky;
  top: 14px;
  left: calc(100% - 62px);
  z-index: 2;
  width: 46px;
  height: 46px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 251, 245, 0.94);
  color: var(--text);
  font-size: 1.8rem;
  cursor: pointer;
}

.product-modal-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(300px, 0.95fr);
  gap: 28px;
  padding: 0 24px 24px;
}

.product-gallery {
  display: grid;
  gap: 16px;
}

.product-gallery-main {
  width: 100%;
  height: min(66vh, 720px);
  object-fit: cover;
  border-radius: 26px;
  background: #efe4d6;
}

.product-gallery-thumbs {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.product-thumb {
  padding: 0;
  border: 2px solid transparent;
  border-radius: 18px;
  overflow: hidden;
  background: transparent;
  cursor: pointer;
}

.product-thumb.is-active {
  border-color: var(--accent);
}

.product-thumb img {
  width: 100%;
  height: 110px;
  display: block;
  object-fit: cover;
}

.product-modal-copy {
  display: grid;
  align-content: start;
  gap: 16px;
  padding: 0 4px 8px 0;
}

.product-modal-copy h2 {
  margin: 0;
  font-size: clamp(2.2rem, 4vw, 3.6rem);
  line-height: 0.96;
  letter-spacing: -0.05em;
}

.product-modal-meta,
.product-modal-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.product-facts {
  display: grid;
  gap: 12px;
}

.product-fact {
  display: grid;
  gap: 4px;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 251, 245, 0.8);
}

.product-fact strong {
  font-size: 0.88rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.product-fact span {
  color: var(--muted);
  line-height: 1.6;
}

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

.service-card,
.policy-panel {
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.service-card {
  padding: 26px;
  border-radius: 28px;
  background: var(--surface);
  backdrop-filter: blur(14px);
}

.service-card h3,
.policy-copy h2,
.policy-item strong {
  margin: 0;
}

.service-card h3 {
  font-size: 1.45rem;
  line-height: 1.05;
  letter-spacing: -0.04em;
}

.service-card p,
.policy-copy p,
.policy-item span {
  color: var(--muted);
  line-height: 1.75;
}

.policy-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.9fr);
  gap: 20px;
  margin-top: 20px;
  padding: 30px;
  border-radius: 30px;
  background:
    linear-gradient(135deg, rgba(255, 248, 239, 0.95), rgba(233, 222, 204, 0.9));
}

.policy-copy h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 0.98;
  letter-spacing: -0.05em;
  max-width: 12ch;
}

.policy-copy p:last-child {
  margin-top: 18px;
}

.policy-list {
  display: grid;
  gap: 14px;
}

.policy-item {
  display: grid;
  gap: 6px;
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(255, 251, 245, 0.72);
}

.story-card,
.quote-card {
  padding: 30px;
  border-radius: 30px;
}

.story-card h2 {
  font-size: clamp(2rem, 4vw, 3.2rem);
  max-width: 13ch;
}

.story-card p:last-child {
  margin-top: 18px;
}

.quote-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: #2c241d;
}

.quote-card p {
  color: rgba(255, 247, 239, 0.92);
  font-size: 1.2rem;
}

.quote-card span {
  margin-top: 20px;
  color: rgba(255, 247, 239, 0.72);
  font-size: 0.92rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

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

.timeline-item {
  padding: 28px;
  border-radius: 28px;
}

.timeline-item span {
  display: inline-block;
  margin-bottom: 14px;
  color: var(--accent-strong);
  font-family: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", serif;
  font-size: 1.45rem;
  font-weight: 700;
}

.timeline-item h3 {
  font-size: 1.45rem;
  margin-bottom: 10px;
}

.contact-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 34px;
  border-radius: 34px;
  background:
    linear-gradient(135deg, rgba(255, 248, 239, 0.95), rgba(233, 222, 204, 0.9));
}

.contact-panel h2 {
  font-size: clamp(2rem, 4vw, 3.2rem);
  max-width: 14ch;
}

@media (max-width: 980px) {
  .hero-content,
  .product-modal-grid,
  .service-grid,
  .policy-panel,
  .split-section,
  .product-grid,
  .timeline,
  .contact-panel {
    grid-template-columns: 1fr;
  }

  .contact-panel {
    display: grid;
  }

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

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

@media (max-width: 720px) {
  .page-shell {
    width: min(100% - 20px, 1160px);
    padding-top: 12px;
  }

  .nav,
  .nav-links,
  .hero-actions,
  .contact-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-copy,
  .story-card,
  .quote-card,
  .timeline-item,
  .contact-panel,
  .product-card,
  .mini-card,
  .look-card,
  .product-modal-dialog {
    padding: 22px;
  }

  .hero-stats,
  .mini-grid,
  .product-grid {
    grid-template-columns: 1fr;
  }

  .product-gallery-main,
  .product-thumb img {
    height: auto;
  }

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

  h1 {
    font-size: clamp(2.6rem, 15vw, 4.5rem);
  }

  .section-heading h2,
  .story-card h2,
  .contact-panel h2,
  .look-card h2 {
    max-width: none;
  }
}
