/*
Theme Name: Bacora
Theme URI: https://bacora.es
Description: Tema hijo de Twenty Twenty-Five para la web corporativa de Bacora.
Author: Bacora
Template: twentytwentyfive
Version: 1.0.0
Text Domain: bacora
*/

:root {
  --ink: #202219;
  --muted: #666b5d;
  --paper: #f3f6ef;
  --surface: #ffffff;
  --line: #d8ded0;
  --coral: #9a5b32;
  --coral-dark: #6f432a;
  --green: #536b3d;
  --yellow: #d4df9d;
  --kraft: #b9854f;
  --sage: #8d9784;
  --black: #080808;
  --shadow: 0 20px 60px rgba(32, 34, 25, 0.16);
}

* {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
}

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

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

p,
h1,
h2,
h3 {
  margin-top: 0;
}

h1,
h2,
h3 {
  line-height: 1.05;
  letter-spacing: 0;
}

h1 {
  max-width: 920px;
  font-size: 4.8rem;
  margin-bottom: 1.5rem;
}

h2 {
  font-size: 3rem;
  margin-bottom: 1.25rem;
}

h3 {
  font-size: 1.45rem;
  margin-bottom: 0.75rem;
}

p {
  font-size: 1.05rem;
}

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 4vw;
  color: var(--surface);
  transition: background 180ms ease, color 180ms ease, box-shadow 180ms ease;
}

.admin-bar .site-header {
  top: 32px;
}

.site-header.scrolled,
.site-header.open {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 12px 30px rgba(8, 8, 8, 0.08);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 1.05rem;
  font-weight: 800;
}

.brand-mark {
  display: grid;
  width: 2.25rem;
  height: 2.25rem;
  place-items: center;
  border: 2px solid currentColor;
  border-radius: 8px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.site-nav a,
.nav-toggle {
  border-radius: 8px;
  font-weight: 700;
}

.site-nav a {
  padding: 0.7rem 0.95rem;
}

.site-nav a:hover,
.site-nav a.active {
  background: rgba(255, 255, 255, 0.18);
}

.site-header.scrolled .site-nav a:hover,
.site-header.scrolled .site-nav a.active,
.site-header.open .site-nav a:hover,
.site-header.open .site-nav a.active {
  color: var(--green);
  background: rgba(83, 107, 61, 0.1);
}

.nav-toggle {
  display: none;
  border: 1px solid currentColor;
  color: inherit;
  background: transparent;
  padding: 0.7rem 0.85rem;
  font: inherit;
  cursor: pointer;
}

.hero {
  position: relative;
  min-height: 86vh;
  display: grid;
  align-items: end;
  overflow: hidden;
  color: var(--surface);
  background: var(--black);
}

.hero-video,
.hero-image,
.hero-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-video,
.hero-image {
  object-fit: cover;
  opacity: 0.82;
}

.hero-overlay {
  background: linear-gradient(90deg, rgba(32, 34, 25, 0.78), rgba(32, 34, 25, 0.28), rgba(32, 34, 25, 0.62));
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(1180px, 92vw);
  padding: 8.5rem 0 5rem;
  margin: 0 auto;
}

.hero-content p {
  max-width: 680px;
  font-size: 1.25rem;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  max-width: 760px;
  margin-top: 1.5rem;
}

.hero-badges span,
.materials-list span {
  display: inline-flex;
  align-items: center;
  min-height: 2.4rem;
  border: 1px solid rgba(255, 255, 255, 0.52);
  border-radius: 8px;
  padding: 0.55rem 0.8rem;
  font-weight: 850;
  line-height: 1;
  max-width: 100%;
}

.eyebrow {
  margin-bottom: 0.85rem;
  color: var(--coral);
  font-size: 0.86rem;
  font-weight: 850;
  line-height: 1.3;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: var(--yellow);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 2rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  border: 2px solid transparent;
  border-radius: 8px;
  padding: 0.8rem 1.15rem;
  font-weight: 850;
  line-height: 1;
  text-align: center;
  white-space: normal;
  transition: transform 160ms ease, background 160ms ease, border 160ms ease;
}

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

.button.primary {
  color: var(--surface);
  background: var(--green);
}

.button.primary:hover {
  background: #40562e;
}

.button.secondary {
  color: var(--surface);
  border-color: rgba(255, 255, 255, 0.72);
}

.intro-band,
.feature-grid,
.showcase,
.quote-band,
.cta-band,
.founder-section,
.origin-band,
.values-section,
.contact-layout {
  width: min(1180px, 92vw);
  margin: 0 auto;
}

.intro-band {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 4rem;
  padding: 5.5rem 0;
  align-items: end;
}

.intro-copy h2 {
  margin-bottom: 0;
}

.intro-band > p {
  margin-bottom: 0;
  color: var(--muted);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  padding-bottom: 5.5rem;
}

.feature-card {
  min-height: 300px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  border-radius: 8px;
  padding: 1.5rem;
  color: var(--surface);
  background: var(--black);
}

.feature-card span {
  margin-bottom: auto;
  font-weight: 850;
}

.feature-card p {
  margin-bottom: 0;
}

.accent-green {
  color: var(--surface);
  background: var(--green);
}

.accent-yellow {
  color: var(--black);
  background: var(--yellow);
}

.showcase {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  padding: 6rem 0;
  border-top: 1px solid var(--line);
}

.showcase-media img,
.founder-image img {
  width: 100%;
  height: 620px;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

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

.clean-list {
  display: grid;
  gap: 0.8rem;
  margin: 1.75rem 0 0;
  padding: 0;
  list-style: none;
}

.clean-list li {
  border-left: 4px solid var(--green);
  padding-left: 1rem;
  font-weight: 750;
}

.materials-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin: 1.4rem 0 0.8rem;
}

.materials-list span {
  border-color: rgba(83, 107, 61, 0.28);
  color: var(--ink);
  background: rgba(83, 107, 61, 0.1);
}

.product-gallery {
  width: min(1180px, 92vw);
  margin: 0 auto;
  padding: 6rem 0;
  border-top: 1px solid var(--line);
}

.gallery-copy {
  display: grid;
  grid-template-columns: 1fr 0.9fr;
  gap: 4rem;
  align-items: end;
  margin-bottom: 2rem;
}

.gallery-copy h2 {
  margin-bottom: 0;
}

.gallery-copy p:last-child {
  margin-bottom: 0;
  color: var(--muted);
}

.gallery-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 1rem;
}

.product-shot {
  min-height: 320px;
  margin: 0;
  border-radius: 8px;
  overflow: hidden;
  color: var(--surface);
  background: var(--ink);
  box-shadow: var(--shadow);
}

.product-shot.large {
  grid-row: span 2;
}

.product-shot img {
  width: 100%;
  height: 100%;
  min-height: 320px;
  object-fit: cover;
  opacity: 0.92;
}

.product-shot figcaption {
  position: relative;
  margin-top: -4.2rem;
  min-height: 4.2rem;
  display: flex;
  align-items: center;
  padding: 1rem;
  font-weight: 850;
  background: linear-gradient(180deg, rgba(32, 34, 25, 0), rgba(32, 34, 25, 0.78));
}

.quote-band {
  padding: 5rem 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.quote-band p {
  max-width: 860px;
  margin: 0;
  font-size: 3rem;
  line-height: 1.12;
  font-weight: 850;
}

.cta-band {
  padding: 6rem 0;
}

.cta-band h2 {
  max-width: 760px;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding: 2rem 4vw;
  color: var(--surface);
  background: var(--black);
}

.site-footer p {
  margin: 0;
  font-weight: 850;
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.site-footer a:hover {
  color: var(--yellow);
}

.page-hero {
  min-height: 64vh;
  display: grid;
  align-items: end;
  color: var(--surface);
  background-position: center;
  background-size: cover;
}

.story-hero {
  background-image: linear-gradient(90deg, rgba(32, 34, 25, 0.74), rgba(32, 34, 25, 0.38)), url("/wp-content/themes/bacora/assets/images/creadora-ruth.jpg");
  background-position: center 58%;
}

.contact-hero {
  background-image: linear-gradient(90deg, rgba(32, 34, 25, 0.76), rgba(32, 34, 25, 0.34)), url("/wp-content/themes/bacora/assets/images/bacora-vaso-envoltorio.jpg");
}

.legal-hero {
  background-image: linear-gradient(90deg, rgba(32, 34, 25, 0.78), rgba(32, 34, 25, 0.42)), url("/wp-content/themes/bacora/assets/images/bacora-bolsa-biodegradable.jpg");
}

.page-hero-copy {
  width: min(1180px, 92vw);
  padding: 8rem 0 4.5rem;
  margin: 0 auto;
}

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

.page-hero-copy p {
  max-width: 720px;
  font-size: 1.25rem;
}

.founder-section {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 4rem;
  align-items: center;
  padding: 6rem 0;
}

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

.founder-portrait img {
  object-position: center 58%;
}

.text-link {
  display: inline-flex;
  margin-top: 1rem;
  color: var(--coral-dark);
  font-weight: 850;
}

.text-link:hover {
  color: var(--ink);
}

.origin-band {
  padding: 5rem 0;
  border-top: 1px solid var(--line);
}

.origin-band h2 {
  max-width: 850px;
}

.timeline {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 2.25rem;
}

.timeline article,
.values-list p,
.contact-form,
.contact-aside {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.timeline article {
  min-height: 260px;
  padding: 1.5rem;
}

.timeline span {
  display: inline-flex;
  margin-bottom: 2.5rem;
  color: var(--coral-dark);
  font-weight: 850;
}

.timeline p,
.values-list p {
  color: var(--muted);
}

.values-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
  padding: 1rem 0 6rem;
}

.values-list {
  display: grid;
  gap: 0.9rem;
}

.values-list p {
  margin: 0;
  padding: 1rem;
  font-weight: 750;
}

.contact-layout {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 2rem;
  align-items: start;
  padding: 6rem 0;
}

.contact-aside,
.contact-form {
  padding: 1.5rem;
}

.contact-aside {
  position: sticky;
  top: 6rem;
}

.contact-aside p {
  color: var(--muted);
}

.trust-copy {
  border-left: 4px solid var(--green);
  padding-left: 1rem;
  font-weight: 850;
}

.contact-product {
  width: 100%;
  height: 260px;
  margin-top: 1.75rem;
  border-radius: 8px;
  object-fit: cover;
}

.legal-section {
  width: min(920px, 92vw);
  margin: 0 auto;
  padding: 6rem 0;
}

.legal-section article,
.legal-note {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.legal-section article {
  padding: 1.4rem;
  margin-top: 1rem;
}

.legal-section h2 {
  margin-bottom: 0.8rem;
  font-size: 1.6rem;
}

.legal-section p {
  color: var(--muted);
}

.legal-section p:last-child {
  margin-bottom: 0;
}

.legal-note {
  padding: 1rem 1.2rem;
  border-left: 4px solid var(--green);
}

.checkbox-row a,
.legal-section a {
  color: var(--green);
  font-weight: 850;
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

.contact-methods {
  display: grid;
  gap: 0.75rem;
  margin-top: 2rem;
}

.contact-methods a {
  font-weight: 850;
  color: var(--coral-dark);
}

.contact-form {
  display: grid;
  gap: 1rem;
}

.form-row {
  display: grid;
  gap: 0.45rem;
}

label {
  font-weight: 780;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0.85rem 0.9rem;
  color: var(--ink);
  background: var(--paper);
  font: inherit;
}

input:focus,
select:focus,
textarea:focus {
  outline: 3px solid rgba(83, 107, 61, 0.24);
  border-color: var(--green);
}

textarea {
  resize: vertical;
}

.checkbox-row {
  display: flex;
  gap: 0.7rem;
  align-items: flex-start;
  font-weight: 600;
}

.checkbox-row input {
  width: 1.1rem;
  height: 1.1rem;
  margin-top: 0.25rem;
  flex: 0 0 auto;
}

.form-button {
  width: fit-content;
  border: 0;
  cursor: pointer;
  font: inherit;
}

.form-status {
  min-height: 1.5rem;
  margin: 0;
  color: var(--coral-dark);
  font-weight: 780;
}

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

  h2,
  .quote-band p {
    font-size: 2.35rem;
  }

  .intro-band,
  .showcase,
  .gallery-copy,
  .founder-section,
  .values-section,
  .contact-layout {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .feature-grid,
  .timeline,
  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .product-shot.large {
    grid-row: auto;
  }

  .showcase-media img,
  .founder-image img {
    height: 480px;
  }

  .contact-aside {
    position: static;
  }
}

@media (max-width: 720px) {
  .site-header {
    align-items: flex-start;
    padding: 0.8rem 4vw;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .site-nav {
    position: absolute;
    top: calc(100% - 0.1rem);
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 0.5rem 4vw 1rem;
    color: var(--ink);
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 20px 30px rgba(8, 8, 8, 0.08);
  }

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

  .site-nav a {
    padding: 0.85rem;
  }

  h1 {
    font-size: 2.18rem;
  }

  h2,
  .quote-band p {
    font-size: 2rem;
  }

  p,
  .hero-content p,
  .page-hero-copy p {
    font-size: 1rem;
  }

  .hero {
    min-height: 88vh;
  }

  .hero-content {
    width: min(1180px, calc(100% - 40px));
    padding: 7.5rem 0 3.25rem;
  }

  .hero-actions,
  .site-footer {
    align-items: stretch;
    flex-direction: column;
  }

  .button,
  .form-button {
    width: 100%;
  }

  .intro-band,
  .showcase,
  .product-gallery,
  .quote-band,
  .cta-band,
  .founder-section,
  .origin-band,
  .values-section,
  .contact-layout,
  .legal-section {
    padding: 4rem 0;
  }

  .feature-grid {
    padding-bottom: 4rem;
  }

  .showcase-media img,
  .founder-image img {
    height: 360px;
  }

  .page-hero {
    min-height: 62vh;
  }

  .page-hero-copy {
    padding: 7rem 0 3rem;
  }
}

@media (max-width: 782px) {
  .admin-bar .site-header {
    top: 46px;
  }
}
