@font-face {
  font-family: "Inter";
  src: url("../brand/fonts/Inter.ttf") format("truetype");
  font-display: swap;
}

@font-face {
  font-family: "Playfair Display";
  src: url("../brand/fonts/PlayfairDisplay-Regular.ttf") format("truetype");
  font-display: swap;
}

@font-face {
  font-family: "Cormorant";
  src: url("../brand/fonts/Cormorant.ttf") format("truetype");
  font-display: swap;
}

@font-face {
  font-family: "Allura";
  src: url("../brand/fonts/Allura.ttf") format("truetype");
  font-display: swap;
}

:root {
  --terra: #c25a2e;
  --terra-dark: #8a3818;
  --terra-soft: #e89568;
  --gold: #e8b340;
  --gold-light: #f5ce6e;
  --gold-dark: #a87617;
  --ivory: #f2e8d5;
  --ivory-soft: #fbf6eb;
  --toast: #1f100a;
  --green: #2f5230;
  --green-bright: #4a7b45;
  --cream: #fff9ee;
  --paper: #f7efe0;
  --shadow: 0 18px 44px rgba(31, 16, 10, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--ivory-soft);
  color: var(--toast);
  font-family: "Inter", system-ui, sans-serif;
  line-height: 1.55;
}

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

a {
  color: inherit;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 72px;
  padding: 14px 32px;
  color: var(--cream);
  background: rgba(31, 16, 10, 0.52);
  border-bottom: 1px solid rgba(242, 232, 213, 0.2);
  backdrop-filter: blur(14px);
}

.brand-mark,
.main-nav a {
  text-decoration: none;
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: "Playfair Display", Georgia, serif;
  font-size: 18px;
  letter-spacing: 4px;
  white-space: nowrap;
}

.brand-icon {
  width: 30px;
  height: 30px;
  background: url("../brand/logos/molino-icon.svg") center / contain no-repeat;
  filter: brightness(0) saturate(100%) invert(88%) sepia(28%) saturate(692%) hue-rotate(349deg) brightness(101%) contrast(93%);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 24px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.7px;
  text-transform: uppercase;
}

.main-nav a {
  opacity: 0.86;
}

.main-nav a:hover,
.main-nav a:focus-visible {
  opacity: 1;
  color: var(--gold-light);
}

.hero {
  position: relative;
  min-height: 86svh;
  display: flex;
  align-items: center;
  overflow: hidden;
  color: var(--cream);
  border-bottom: 4px solid var(--gold);
}

.hero-media,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-media {
  background-image: url("../brand/fotos/envase-premium.jpeg");
  background-size: cover;
  background-position: center 44%;
  transform: scale(1.02);
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(31, 16, 10, 0.86) 0%, rgba(138, 56, 24, 0.74) 38%, rgba(31, 16, 10, 0.18) 100%),
    linear-gradient(0deg, rgba(31, 16, 10, 0.45), rgba(31, 16, 10, 0.08));
}

.hero-content {
  position: relative;
  width: min(720px, calc(100% - 48px));
  margin-left: max(24px, calc((100vw - 1180px) / 2));
  padding-top: 92px;
}

.eyebrow,
.section-kicker {
  margin: 0 0 14px;
  color: var(--gold-light);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
}

.hero h1 {
  margin: 0;
  font-family: "Playfair Display", Georgia, serif;
  font-size: 76px;
  line-height: 0.95;
  letter-spacing: 8px;
}

.hero-copy {
  max-width: 560px;
  margin: 28px 0 34px;
  font-family: "Cormorant", Georgia, serif;
  font-size: 30px;
  line-height: 1.18;
}

.hero-actions,
.contact-panel .button {
  margin-top: 8px;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 22px;
  border: 1px solid transparent;
  border-radius: 2px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1px;
  text-decoration: none;
  text-transform: uppercase;
  transition: background 160ms ease, color 160ms ease, border-color 160ms ease, transform 160ms ease;
}

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

.button-primary {
  background: var(--terra);
  color: var(--cream);
}

.button-primary:hover,
.button-primary:focus-visible {
  background: var(--terra-dark);
}

.button-secondary {
  color: var(--cream);
  border-color: rgba(255, 249, 238, 0.72);
  background: rgba(255, 249, 238, 0.08);
}

.button-secondary:hover,
.button-secondary:focus-visible {
  color: var(--toast);
  background: var(--cream);
  border-color: var(--cream);
}

.section {
  padding: 92px 32px;
}

.section-grid,
.founder-layout,
.origin-section {
  width: min(1180px, 100%);
  margin: 0 auto;
  display: grid;
  align-items: center;
  gap: 54px;
}

.section-grid {
  grid-template-columns: minmax(0, 0.9fr) minmax(340px, 1.1fr);
}

.section-copy h2,
.narrow h2,
.origin-copy h2,
.contact-panel h2 {
  margin: 0 0 22px;
  color: var(--terra-dark);
  font-family: "Playfair Display", Georgia, serif;
  font-size: 46px;
  line-height: 1.04;
  letter-spacing: 0;
}

.lead {
  margin: 0 0 20px;
  font-size: 20px;
  line-height: 1.45;
}

.section-copy p,
.origin-copy p,
.contact-panel p {
  font-size: 16px;
}

.product-figure {
  margin: 0;
  border: 1px solid rgba(194, 90, 46, 0.22);
  background: var(--paper);
  box-shadow: var(--shadow);
}

.product-figure img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.spec-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin: 34px 0 0;
  background: rgba(194, 90, 46, 0.22);
  border: 1px solid rgba(194, 90, 46, 0.22);
}

.spec-list div {
  min-height: 104px;
  padding: 18px;
  background: var(--cream);
}

.spec-list dt {
  margin-bottom: 8px;
  color: var(--gold-dark);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.spec-list dd {
  margin: 0;
  font-family: "Playfair Display", Georgia, serif;
  font-size: 21px;
  color: var(--terra-dark);
}

.craft-section {
  background: var(--toast);
  color: var(--ivory);
}

.craft-section .narrow {
  width: min(760px, 100%);
  margin: 0 auto 46px;
  text-align: center;
}

.craft-section h2 {
  color: var(--gold-light);
}

.craft-grid {
  width: min(1080px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: rgba(245, 206, 110, 0.24);
  border: 1px solid rgba(245, 206, 110, 0.24);
}

.craft-grid article {
  min-height: 270px;
  padding: 30px;
  background: #29150e;
}

.craft-number {
  display: block;
  margin-bottom: 18px;
  color: var(--gold-light);
  font-family: "Playfair Display", Georgia, serif;
  font-size: 42px;
  line-height: 1;
}

.craft-grid h3 {
  margin: 0 0 14px;
  color: var(--cream);
  font-family: "Playfair Display", Georgia, serif;
  font-size: 27px;
}

.craft-grid p {
  margin: 0;
  color: rgba(242, 232, 213, 0.82);
}

.founder-section {
  background:
    linear-gradient(135deg, rgba(232, 179, 64, 0.18), rgba(74, 123, 69, 0.1)),
    var(--ivory);
}

.founder-layout {
  grid-template-columns: minmax(300px, 0.82fr) minmax(0, 1fr);
}

.founder-card {
  min-height: 470px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 46px 34px;
  text-align: center;
  background: var(--cream);
  border: 1px solid var(--gold);
  box-shadow: var(--shadow);
}

.card-brand {
  margin: 0;
  font-family: "Playfair Display", Georgia, serif;
  font-size: 30px;
  letter-spacing: 5px;
  color: var(--terra-dark);
}

.card-subtitle {
  margin: 16px 0 28px;
  color: var(--gold-dark);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 3px;
  text-transform: uppercase;
}

.card-number {
  margin: 0 0 42px;
  color: var(--terra);
  font-family: "Playfair Display", Georgia, serif;
  font-size: 46px;
}

.card-line,
.card-thanks {
  margin: 6px 0;
  font-size: 16px;
}

.card-thanks {
  margin-top: 30px;
}

.card-signature {
  margin: 22px 0 0;
  color: var(--gold-dark);
  font-family: "Allura", cursive;
  font-size: 46px;
}

.plain-list {
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid rgba(194, 90, 46, 0.22);
}

.plain-list li {
  padding: 15px 0;
  border-bottom: 1px solid rgba(194, 90, 46, 0.22);
}

.origin-section {
  grid-template-columns: minmax(340px, 1fr) minmax(0, 0.9fr);
}

.origin-media {
  border: 1px solid rgba(47, 82, 48, 0.26);
  box-shadow: var(--shadow);
}

.origin-media img {
  width: 100%;
  aspect-ratio: 5 / 4;
  object-fit: cover;
}

.contact-section {
  padding-top: 68px;
  background: var(--green);
}

.contact-panel {
  width: min(900px, 100%);
  margin: 0 auto;
  padding: 58px;
  color: var(--cream);
  text-align: center;
  border: 1px solid rgba(245, 206, 110, 0.36);
  background: rgba(31, 16, 10, 0.18);
}

.contact-panel h2,
.contact-panel .section-kicker {
  color: var(--gold-light);
}

.contact-panel p {
  max-width: 620px;
  margin: 0 auto 28px;
}

.site-footer {
  padding: 42px 32px;
  color: rgba(242, 232, 213, 0.78);
  text-align: center;
  background: var(--toast);
}

.footer-brand {
  margin: 0 0 6px;
  color: var(--gold-light);
  font-family: "Playfair Display", Georgia, serif;
  font-size: 24px;
  letter-spacing: 5px;
}

.footer-small {
  margin-top: 20px;
  font-size: 12px;
  letter-spacing: 0.4px;
}

@media (max-width: 920px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
    min-height: auto;
    padding: 14px 22px;
  }

  .main-nav {
    width: 100%;
    gap: 16px;
    overflow-x: auto;
    padding-bottom: 2px;
  }

  .hero {
    min-height: 88svh;
  }

  .hero-content {
    width: min(640px, calc(100% - 40px));
    margin: 0 auto;
    padding-top: 128px;
  }

  .hero h1 {
    font-size: 54px;
    letter-spacing: 5px;
  }

  .hero-copy {
    font-size: 25px;
  }

  .section {
    padding: 72px 22px;
  }

  .section-grid,
  .founder-layout,
  .origin-section {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .section-copy h2,
  .narrow h2,
  .origin-copy h2,
  .contact-panel h2 {
    font-size: 38px;
  }

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

  .craft-grid article {
    min-height: auto;
  }

  .origin-media {
    order: 2;
  }

  .origin-copy {
    order: 1;
  }

  .contact-panel {
    padding: 42px 24px;
  }
}

@media (max-width: 620px) {
  .site-header {
    position: absolute;
    background: linear-gradient(180deg, rgba(31, 16, 10, 0.76), rgba(31, 16, 10, 0));
    border-bottom: 0;
    backdrop-filter: none;
  }

  .main-nav {
    display: none;
  }

  .brand-mark {
    font-size: 16px;
    letter-spacing: 3px;
  }

  .hero {
    min-height: 88svh;
    align-items: flex-end;
  }

  .hero-media {
    background-position: 64% center;
  }

  .hero-overlay {
    background:
      linear-gradient(0deg, rgba(31, 16, 10, 0.9) 0%, rgba(138, 56, 24, 0.52) 58%, rgba(31, 16, 10, 0.18) 100%),
      linear-gradient(90deg, rgba(31, 16, 10, 0.52), rgba(31, 16, 10, 0.12));
  }

  .hero-content {
    width: 100%;
    margin: 0;
    padding: 160px 22px 56px;
  }

  .hero h1 {
    font-size: 42px;
    letter-spacing: 4px;
  }

  .hero-copy {
    font-size: 23px;
  }

  .button {
    width: 100%;
  }

  .section-copy h2,
  .narrow h2,
  .origin-copy h2,
  .contact-panel h2 {
    font-size: 32px;
  }

  .lead {
    font-size: 18px;
  }

  .spec-list {
    grid-template-columns: 1fr;
  }

  .founder-card {
    min-height: 420px;
    padding: 36px 22px;
  }

  .card-number {
    font-size: 38px;
  }
}
