/* Shared layouts for the six static pages. Brand styles live in styles.css. */
.nav { gap: 21px; }
.nav > a { white-space: nowrap; }
.nav-contact { margin-left: 8px; }
.nav-contact[aria-current="page"] { background: var(--navy); color: white; border-color: var(--navy); }
.breadcrumbs { max-width: 1800px; margin: auto; padding: 24px 6.4vw 0; }
.breadcrumbs ol { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; list-style: none; margin: 0; padding: 0; font-size: 10px; color: #778573; }
.breadcrumbs li + li:before { content: '/'; padding-right: 12px; color: #a2ad9e; }
.breadcrumbs a:hover { color: var(--navy); text-decoration: underline; }
.page-heading { padding-top: 53px; padding-bottom: 65px; }
.page-heading > .eyebrow { color: #637963; font-size: 9px; }
.page-heading h1 { font-size: clamp(49px, 5.8vw, 88px); letter-spacing: -4px; line-height: 1.09; margin: 25px 0; }
.page-lead { max-width: 570px; color: var(--muted); font-size: 15px; line-height: 1.9; }
.body-copy { color: var(--muted); font-size: 14px; line-height: 1.9; max-width: 460px; margin-top: 25px; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 28px; padding: 23px 0; border-bottom: 1px solid var(--line); font-size: 11px; }
.footer-nav a:hover { color: var(--green); }
.page-cta { display: flex; align-items: center; justify-content: space-between; gap: 35px; background: var(--navy); color: white; padding-top: 65px; padding-bottom: 65px; }
.page-cta .eyebrow { color: #acbcab; font-size: 8px; margin-bottom: 20px; }
.page-cta h2 { font-size: clamp(34px, 3.3vw, 50px); }
.page-cta h2 em { color: var(--lime); }
.page-cta > .button { flex-shrink: 0; }

/* Inicio: introduce each subject, with full details on dedicated pages. */
.home-intro { display: grid; grid-template-columns: 30% 70%; padding-bottom: 65px; }
.home-intro > .eyebrow { align-self: start; color: #637963; padding-top: 10px; }
.home-intro > div > p { max-width: 550px; color: var(--muted); line-height: 1.9; margin: 23px 0; font-size: 14px; }
.home-paths { display: grid; grid-template-columns: 1.1fr 1fr; gap: 25px; padding-top: 0; padding-bottom: 75px; }
.path-card { position: relative; display: block; overflow: hidden; border-radius: 6px; color: white; min-height: 450px; background: var(--navy); }
.path-image { position: absolute; inset: 0; transition: transform .7s; }
.path-card:hover .path-image { transform: scale(1.035); }
.path-card:after { content: ''; position: absolute; inset: 0; background: linear-gradient(0deg, #082c3de8, #082c3d00 88%); }
.path-project .path-image { background: url('assets/proyecto-pacora.jpg') right center / auto 140% no-repeat; }
.path-berry .path-image { background: url('assets/arandanos.jpg') right center / auto 145% no-repeat; }
.path-copy { position: absolute; z-index: 1; left: 30px; right: 30px; bottom: 28px; }
.path-copy .eyebrow { color: #d6e2c4; font-size: 8px; letter-spacing: 1.1px; }
.path-copy h2 { font-size: 34px; letter-spacing: -1.3px; margin: 16px 0 24px; }
.path-action { display: flex; justify-content: space-between; align-items: center; font-size: 11px; border-top: 1px solid #ffffff45; padding-top: 18px; }
.path-action svg { width: 19px; height: 19px; color: var(--lime); }
.home-world { display: grid; grid-template-columns: 1fr 1fr; align-items: end; gap: 10%; padding-top: 0; padding-bottom: 85px; }
.home-world .eyebrow { font-size: 8px; letter-spacing: 1.4px; margin-bottom: 22px; color: #637963; }
.home-world > div > p:not(.eyebrow) { color: var(--muted); font-size: 14px; line-height: 1.9; margin-bottom: 25px; max-width: 350px; }

/* Nosotros: portrait photography and editorial company information. */
.story-grid { padding-top: 0; padding-bottom: 55px; display: grid; grid-template-columns: 1fr 1fr; gap: 9%; align-items: center; }
.story-visual { min-height: 510px; border-radius: 6px 120px 6px 6px; background: url('assets/nosotros.jpg') right center / auto 145% no-repeat; position: relative; overflow: hidden; }
.story-visual:after { content: ''; position: absolute; inset: 0; background: linear-gradient(0deg, #082c3da6, transparent 40%); }
.story-visual > span { position: absolute; bottom: 30px; left: 30px; z-index: 1; color: white; font-size: 10px; letter-spacing: 1.7px; line-height: 1.8; }
.story-copy .eyebrow { color: #637963; font-size: 9px; margin-bottom: 23px; }
.story-copy h2 { font-size: clamp(32px, 3vw, 45px); }
.story-copy > p:not(.eyebrow) { color: var(--muted); font-size: 14px; line-height: 1.9; margin-top: 22px; }
.story-copy .text-link { margin-top: 25px; }
[data-page="nosotros"] .about { padding-top: 50px; padding-bottom: 75px; }
.model-strip { padding-top: 45px; padding-bottom: 45px; border-top: 1px solid var(--line); }
.model-strip > .eyebrow { color: #637963; font-size: 8px; }
.model-chain { display: flex; justify-content: space-between; align-items: center; gap: 20px; margin-top: 27px; font-family: var(--heading); font-size: 25px; letter-spacing: -.7px; }
.model-chain b { font-size: 28px; font-weight: 400; color: var(--green); }

/* Proyecto Pacora: land, location, facts, model and contextual FAQs. */
.project-heading { padding-bottom: 43px; }
.project-cover { padding-top: 0; padding-bottom: 0; }
.project-cover .project-landscape { height: 530px; }
.project-cover .project-photo { background-size: 190% auto; }
.project-facts { padding-top: 50px; padding-bottom: 55px; display: grid; grid-template-columns: repeat(3, 1fr); }
.project-facts > div { padding-left: 30px; border-left: 1px solid var(--line); }
.project-facts > div:first-child { border-left: 0; padding-left: 0; }
.project-facts > div > span { display: block; color: #7b8973; letter-spacing: 1.5px; font-size: 8px; margin-bottom: 15px; }
.project-facts strong { font-family: var(--heading); font-weight: 500; font-size: 37px; letter-spacing: -1.4px; line-height: 1.4; }
.project-facts small { display: block; color: var(--muted); font: 12px var(--font); letter-spacing: 0; margin-top: 6px; }
.project-model { border-top: 1px solid var(--line); padding-top: 70px; padding-bottom: 80px; display: grid; grid-template-columns: 1fr 1fr; gap: 9%; }
.project-model .eyebrow { color: #637963; font-size: 9px; margin-bottom: 22px; }
.project-model h2 { font-size: clamp(33px, 3vw, 44px); }
.project-model .text-link { margin-top: 28px; }
.model-steps > article { display: flex; align-items: flex-start; gap: 23px; padding: 23px 0; border-top: 1px solid var(--line); }
.model-steps > article:first-child { padding-top: 0; border-top: 0; }
.model-steps > article > span { display: grid; place-items: center; width: 33px; height: 33px; flex-shrink: 0; border: 1px solid #a8b890; border-radius: 50%; color: var(--green); font-size: 9px; margin-top: 2px; }
.model-steps h3 { font-size: 20px; letter-spacing: -.5px; }
.model-steps p { color: var(--muted); line-height: 1.9; font-size: 12px; margin-top: 10px; max-width: 340px; }
.faq-inline-link { margin-bottom: 25px; }

/* Arándanos: photo-led page, with the original technical sheet. */
[data-page="arandanos"] .breadcrumbs { padding-bottom: 24px; }
.variety-page { grid-template-columns: 1fr 1fr; }
.variety-page .berry-visual { min-height: 785px; }
.variety-page .berry-content { padding-top: 45px; padding-bottom: 45px; }
.variety-page h1 { font-size: clamp(58px, 6.1vw, 90px); line-height: 1.04; letter-spacing: -4px; margin: 23px 0 20px; }
.variety-page h1 em { color: var(--lime); }
.berry-content > .variety-code { color: var(--lime) !important; font-size: 9px !important; letter-spacing: 1.7px; }
.variety-details { display: grid; grid-template-columns: 1fr 1fr; gap: 9%; padding-bottom: 85px; }
.variety-details .eyebrow { color: #637963; font-size: 8px; margin-bottom: 24px; }
.variety-details h2 { font-size: clamp(34px, 3.4vw, 50px); }
.variety-editorial > article { border-top: 1px solid var(--line); padding: 25px 0; }
.variety-editorial > article:first-child { padding-top: 0; border-top: 0; }
.variety-editorial > article > span { color: #718665; font-size: 8px; letter-spacing: 1.2px; }
.variety-editorial h3 { font-size: 22px; letter-spacing: -.5px; margin-top: 12px; }
.variety-editorial p { color: var(--muted); font-size: 12px; line-height: 1.9; max-width: 400px; margin-top: 12px; }
.technical-sheet { display: grid; grid-template-columns: .8fr 1.2fr; gap: 8%; align-items: center; background: #e9eee1; padding-top: 70px; padding-bottom: 70px; }
.technical-sheet .eyebrow { color: #637963; font-size: 8px; margin-bottom: 20px; }
.technical-sheet .body-copy { font-size: 13px; margin-bottom: 25px; }
.technical-sheet h2 { font-size: 41px; }
.sheet-preview { background: white; padding: 14px; border-radius: 5px; box-shadow: 0 12px 40px #082c3d12; transition: transform .2s; }
.sheet-preview:hover { transform: translateY(-4px); }
.sheet-preview img { width: 100%; height: auto; }
.sheet-preview > span { display: flex; align-items: center; justify-content: space-between; font-size: 8px; letter-spacing: 1px; padding: 15px 10px 3px; }
.sheet-preview svg { width: 16px; height: 16px; }

/* Mercados: a schematic of export projection. */
.markets-heading { padding-bottom: 38px; }
.markets-heading h1 { font-size: clamp(45px, 5.4vw, 81px); }
.map-section { padding-top: 30px; padding-bottom: 25px; background: #e9eee1; }
.map-legend { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.map-legend > .eyebrow { font-size: 8px; letter-spacing: 1.3px; }
.map-legend > span:last-child { font-size: 8px; color: #7a8970; letter-spacing: 1.2px; }
svg.world-map { width: 100%; height: auto; max-height: 510px; display: block; margin: 0 auto; fill: none; stroke: none; }
.map-land { fill: #cbd6bd; stroke: #e9eee1; stroke-width: 2; }
.map-routes { stroke: #678f38; stroke-width: 2; stroke-dasharray: 5 6; fill: none; }
.map-destination { fill: var(--navy); stroke: #e9eee1; stroke-width: 3; }
.map-origin-halo { fill: #76a93630; }
.map-origin { fill: #5d8e2b; stroke: white; stroke-width: 3; }
.map-labels { fill: var(--navy); font: 14px var(--font); }
.map-labels .map-peru { fill: #4e7729; font-size: 12px; font-weight: 700; letter-spacing: 3px; }
.map-caption { color: #7a8970; font-size: 9px; text-align: right; line-height: 1.7; }
.market-destinations { padding-top: 80px; padding-bottom: 65px; }
.destination-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 35px; }
.destination-card { border-top: 1px solid var(--line); padding-top: 24px; display: flex; flex-direction: column; }
.destination-card > span { font-size: 8px; letter-spacing: 1.5px; color: #718665; }
.destination-card h3 { font-size: 38px; letter-spacing: -1.7px; min-height: 104px; margin: 28px 0 18px; }
.destination-card p { color: var(--muted); font-size: 12px; line-height: 1.9; margin-bottom: 25px; }
.destination-card .text-link { margin-top: auto; font-size: 10px; gap: 12px; }
.origin-note { border-top: 1px solid var(--line); padding-top: 60px; padding-bottom: 70px; display: grid; grid-template-columns: 1fr 1fr; gap: 23px 9%; }
.origin-note > .eyebrow { grid-column: 1 / -1; color: #637963; font-size: 8px; }
.origin-note h2 { font-size: 42px; }
.origin-note > div > p { color: var(--muted); font-size: 13px; line-height: 1.9; margin-bottom: 24px; }
.origin-links { display: flex; gap: 25px; flex-wrap: wrap; }
.origin-links .text-link { font-size: 11px; gap: 12px; }

/* Contacto: preserve the subject through ordinary page links. */
.contact-page { padding-top: 55px; padding-bottom: 80px; }
.contact-page .contact-copy h1 { font-size: clamp(37px, 3.8vw, 56px); line-height: 1.15; letter-spacing: -2.4px; margin: 25px 0; }
.contact-page .contact-copy > .eyebrow { font-size: 8px; letter-spacing: 1.3px; }
.contact-page .contact-form { padding-top: 5px; }
.consult-context { display: flex; align-items: center; gap: 9px; padding: 12px 14px; margin-bottom: 23px; background: #e5ecd9; font-size: 10px; color: #4f7036; line-height: 1.7; border-radius: 4px; }
.consult-context[hidden] { display: none; }
.contact-other { display: flex; justify-content: space-between; gap: 25px; padding-top: 30px; padding-bottom: 35px; border-top: 1px solid var(--line); }
.contact-other > p { font-size: 12px; color: var(--muted); line-height: 1.8; }
.contact-other > div { display: flex; gap: 25px; }

@media (max-width: 1100px) {
  .nav { gap: 19px; }
  .nav-contact { margin-left: 0; padding: 13px 15px; gap: 15px; }
  .page-heading h1 { letter-spacing: -3px; }
  .path-copy { left: 24px; right: 24px; }
  .path-copy h2 { font-size: 28px; }
  .home-paths { gap: 20px; }
  .path-card { min-height: 400px; }
  .story-grid { gap: 7%; }
  .story-visual { min-height: 470px; }
  .story-copy > p:not(.eyebrow) { font-size: 13px; }
  .model-chain { font-size: 21px; gap: 14px; }
  .variety-page .berry-visual { min-height: 820px; }
  .variety-page .berry-content { padding-left: 9%; padding-right: 9%; }
  .variety-page h1 { font-size: 72px; }
  .technical-sheet { grid-template-columns: .85fr 1.15fr; gap: 5%; }
  .destination-grid { gap: 27px; }
  .destination-card h3 { font-size: 33px; }
  .destination-card .text-link { white-space: normal; }
  .contact-page .contact-copy h1 { font-size: 43px; }
}

@media (max-width: 900px) {
  .breadcrumbs { padding-left: 5vw; padding-right: 5vw; }
  .page-heading { padding-top: 40px; padding-bottom: 48px; }
  .page-heading h1 { font-size: 60px; }
  .page-lead { font-size: 14px; }
  .home-intro { grid-template-columns: 1fr; gap: 23px; }
  .home-intro > .eyebrow { padding-top: 0; }
  .home-intro h2 { font-size: 43px; }
  .home-paths { padding-top: 0; }
  .home-world { padding-top: 0; }
  .home-world h2 { font-size: 35px; }
  .home-world > div > p:not(.eyebrow) { font-size: 13px; }
  .story-grid { gap: 6%; }
  .story-visual { min-height: 460px; border-top-right-radius: 85px; }
  .story-copy h2 { font-size: 31px; }
  .story-copy > p:not(.eyebrow) { font-size: 12px; }
  .model-chain { font-size: 18px; }
  .project-cover .project-landscape { height: 430px; }
  .project-facts strong { font-size: 30px; }
  .project-model { gap: 7%; }
  .model-steps { padding-top: 5px; }
  .variety-page { grid-template-columns: 44% 56%; }
  .variety-page h1 { font-size: 65px; }
  .variety-page .berry-content { padding-top: 38px; }
  .variety-page .berry-visual { min-height: 840px; }
  .variety-page .berry-photo { background-size: auto 130%; }
  .technical-sheet h2 { font-size: 34px; }
  .technical-sheet .button { gap: 20px; font-size: 11px; padding: 15px 18px; }
  .market-destinations .section-heading { margin-bottom: 40px; }
  .destination-card h3 { font-size: 28px; min-height: 85px; }
  .destination-grid { gap: 20px; }
  .origin-links { gap: 18px; }
  .contact-page { gap: 6%; }
  .contact-page .contact-copy h1 { font-size: 36px; }
  .contact-other { align-items: flex-start; }
  .contact-other > div { flex-direction: column; gap: 13px; }
}

@media (max-width: 640px) {
  .breadcrumbs { padding: 21px 24px 0; }
  .breadcrumbs ol { font-size: 9px; }
  .page-heading { padding-top: 35px; padding-bottom: 38px; }
  .page-heading > .eyebrow { font-size: 8px; letter-spacing: 1.3px; }
  .page-heading h1 { font-size: clamp(39px, 10.5vw, 58px); letter-spacing: -2px; margin: 21px 0; line-height: 1.12; }
  .page-lead { font-size: 13px; line-height: 1.9; }
  .footer-nav { gap: 18px 24px; padding: 23px 0; font-size: 10px; }
  .page-cta { flex-direction: column; align-items: flex-start; gap: 27px; padding-top: 45px; padding-bottom: 48px; }
  .page-cta h2 { font-size: 35px; }
  .page-cta .eyebrow { margin-bottom: 18px; }
  .page-cta > .button { font-size: 11px; min-height: 52px; }
  .home-intro { padding-top: 55px; padding-bottom: 38px; }
  .home-intro > .eyebrow { font-size: 8px; }
  .home-intro h2 { font-size: 34px; }
  .home-intro > div > p { font-size: 13px; }
  .home-paths { grid-template-columns: 1fr; gap: 22px; padding-top: 0; padding-bottom: 50px; }
  .path-card { min-height: 365px; }
  .path-copy { left: 23px; right: 23px; bottom: 24px; }
  .path-copy h2 { font-size: 30px; }
  .path-project .path-image { background-size: auto 128%; }
  .path-berry .path-image { background-size: auto 140%; }
  .home-world { grid-template-columns: 1fr; gap: 25px; padding-top: 0; padding-bottom: 55px; }
  .home-world h2 { font-size: 35px; }
  .home-world > div > p:not(.eyebrow) { max-width: none; }
  .story-grid { grid-template-columns: 1fr; gap: 34px; padding-top: 0; padding-bottom: 25px; }
  .story-visual { min-height: 370px; background-size: auto 145%; border-top-right-radius: 95px; }
  .story-visual > span { left: 24px; bottom: 24px; font-size: 8px; }
  .story-copy h2 { font-size: 34px; }
  .story-copy > p:not(.eyebrow) { font-size: 13px; }
  [data-page="nosotros"] .about { padding-top: 35px; padding-bottom: 50px; }
  .model-strip { padding-top: 35px; padding-bottom: 40px; }
  .model-chain { flex-direction: column; align-items: flex-start; gap: 14px; font-size: 24px; }
  .model-chain b { transform: rotate(90deg); font-size: 24px; }
  .project-heading { padding-bottom: 35px; }
  .project-cover { padding-top: 0; padding-bottom: 0; }
  .project-cover .project-landscape { height: 420px; }
  .project-cover .project-photo { background-size: auto 130%; }
  .project-facts { grid-template-columns: 1fr; padding-top: 35px; padding-bottom: 35px; gap: 22px; }
  .project-facts > div, .project-facts > div:first-child { border-left: 0; border-top: 1px solid var(--line); padding: 20px 0 0; }
  .project-facts > div > span { margin-bottom: 9px; }
  .project-facts strong { font-size: 32px; }
  .project-facts small { display: inline; font-size: 12px; margin-left: 12px; }
  .project-model { grid-template-columns: 1fr; gap: 35px; padding-top: 45px; padding-bottom: 45px; }
  .project-model h2 { font-size: 34px; }
  .project-model .body-copy { font-size: 13px; }
  .model-steps h3 { font-size: 20px; }
  .model-steps > article { gap: 18px; }
  .faq-inline-link { font-size: 11px; }
  [data-page="arandanos"] .breadcrumbs { padding-bottom: 21px; }
  .variety-page { grid-template-columns: 1fr; }
  .variety-page .berry-visual { min-height: 350px; height: 350px; }
  .variety-page .berry-photo { background-size: auto 145%; }
  .variety-page .berry-content { padding: 35px 24px 43px; }
  .variety-page h1 { font-size: 78px; margin: 23px 0 21px; letter-spacing: -3px; }
  .variety-details { grid-template-columns: 1fr; gap: 35px; padding-top: 50px; padding-bottom: 45px; }
  .variety-details h2 { font-size: 35px; }
  .variety-editorial > article:first-child { padding-top: 24px; border-top: 1px solid var(--line); }
  .technical-sheet { grid-template-columns: 1fr; gap: 33px; padding-top: 45px; padding-bottom: 45px; }
  .technical-sheet h2 { font-size: 36px; }
  .sheet-preview { padding: 9px; }
  .markets-heading { padding-bottom: 30px; }
  .markets-heading h1 { font-size: 40px; }
  .map-section { padding: 25px 10px 20px; }
  .map-legend { padding: 0 14px; align-items: flex-start; flex-direction: column; gap: 10px; }
  .map-legend .eyebrow { font-size: 7px; letter-spacing: 1px; }
  .map-legend > span:last-child { font-size: 7px; }
  svg.world-map { width: 100%; margin: 20px 0; }
  .map-caption { padding: 0 14px; font-size: 8px; text-align: left; }
  .market-destinations { padding-top: 50px; padding-bottom: 45px; }
  .destination-grid { grid-template-columns: 1fr; gap: 27px; }
  .destination-card { padding-top: 22px; }
  .destination-card h3 { min-height: 0; font-size: 36px; margin: 18px 0 14px; }
  .destination-card h3 br { display: initial; }
  .destination-card p { margin-bottom: 20px; font-size: 13px; }
  .destination-card .text-link { font-size: 11px; }
  .origin-note { grid-template-columns: 1fr; gap: 22px; padding-top: 40px; padding-bottom: 50px; }
  .origin-note h2 { font-size: 35px; }
  .origin-links { flex-direction: column; align-items: flex-start; }
  .contact-page { padding-top: 35px; padding-bottom: 50px; }
  .contact-page .contact-copy h1 { font-size: clamp(35px, 10vw, 48px); letter-spacing: -1.9px; }
  .contact-page .contact-form { padding-top: 28px; }
  .contact-other { flex-direction: column; gap: 20px; padding-top: 28px; padding-bottom: 32px; }
  .consult-context { font-size: 10px; }
}

@media (prefers-reduced-motion: reduce) {
  .path-image, .sheet-preview { transition: none; }
}
