/*
Theme Name: Pescaderías Artiles
Theme URI: https://pescaderiasartiles.com
Author: Pescaderías Artiles
Description: Tema a medida para Pescaderías Artiles.
 Version: 1.3.1
Text Domain: pescaderias-artiles
*/

:root {
    --ink: #0a0a0a;
    --ink-soft: #1b1b1b;
    --sea: #6b6b68;
    --sea-deep: #202020;
    --ice: #e9e9e5;
    --sand: #e5e5df;
    --cream: #f8f8f5;
    --white: #ffffff;
    --coral: #e6e6df;
    --red: #c9252d;
    --red-deep: #961820;
    --red-ring: rgba(201, 37, 45, .36);
    --line: rgba(18, 26, 31, .16);
    --shadow: 0 18px 50px rgba(9, 26, 31, .16);
    --serif: Georgia, 'Times New Roman', serif;
    --sans: 'Helvetica Neue', Helvetica, Arial, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--cream); color: var(--ink); font-family: var(--sans); font-size: 16px; line-height: 1.55; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
.container { width: min(1160px, calc(100% - 48px)); margin: 0 auto; }
.skip-link { position: fixed; z-index: 99; left: 12px; top: -80px; background: var(--white); color: var(--ink); padding: 10px 14px; }
.skip-link:focus { top: 12px; }
.site-header { position: absolute; z-index: 10; top: 0; width: 100%; color: var(--white); }
.site-header__inner { min-height: 142px; display: flex; align-items: center; gap: 32px; justify-content: space-between; }
.brand { width: 76px; flex: 0 0 auto; display: block; }
.brand img { width: 100%; height: auto; filter: brightness(0) invert(1); }
.site-nav { display: flex; align-items: center; gap: clamp(18px, 3vw, 42px); margin-left: auto; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; font-weight: 700; }
.site-nav a { opacity: .88; transition: opacity .2s; }
.site-nav a:hover, .site-nav a:focus { opacity: 1; }
.header-call { border: 1px solid var(--red); border-radius: 999px; padding: 10px 17px; background: var(--red); color: var(--white); box-shadow: 0 8px 20px rgba(0,0,0,.2); font-size: 13px; font-weight: 700; white-space: nowrap; transition: background .2s, border-color .2s, transform .2s; }
.header-call:hover, .header-call:focus { background: var(--red-deep); border-color: var(--red-deep); transform: translateY(-2px); }
.hero { position: relative; min-height: 740px; overflow: hidden; color: var(--white); display: flex; align-items: center; background: #070707; }
.hero:before { content: ''; position: absolute; z-index: 0; inset: 0; background: url('assets/fondo.webp') center / cover no-repeat; opacity: .14; mix-blend-mode: screen; }
.hero__backdrop { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0,0,0,.95) 0%, rgba(0,0,0,.75) 39%, rgba(0,0,0,.24) 74%), url('assets/opt-hero-pescado.webp') center / cover no-repeat; filter: grayscale(1) contrast(1.08); }
.hero__backdrop:after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.34), transparent 32%, rgba(0,0,0,.36)); }
.hero__content { position: relative; z-index: 1; padding-top: 80px; max-width: min(1160px, calc(100% - 48px)); }
.eyebrow { margin: 0 0 16px; color: var(--sea); font-size: 12px; letter-spacing: .15em; line-height: 1.4; font-weight: 800; text-transform: uppercase; }
.eyebrow--light { color: #deded9; }
h1, h2, h3 { margin-top: 0; font-weight: 400; }
h1, h2 { font-family: var(--serif); letter-spacing: -.042em; line-height: .98; }
h1 { max-width: 730px; margin-bottom: 24px; font-size: clamp(54px, 7vw, 96px); }
h1 em, h2 em { color: #e9e9e5; font-style: italic; }
.hero__lead { width: min(525px, 100%); margin: 0 0 32px; color: rgba(255,255,255,.88); font-size: 19px; }
.hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 24px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 14px; min-height: 49px; padding: 0 22px; font-size: 12px; letter-spacing: .07em; text-transform: uppercase; font-weight: 800; transition: transform .2s, background .2s; }
.button:hover { transform: translateY(-2px); }
.button--primary { background: var(--red); color: var(--white); border-radius: 999px; box-shadow: 0 9px 22px rgba(0,0,0,.2); }
.button--primary:hover, .button--primary:focus { background: var(--red-deep); }
.button--primary:focus-visible, .header-call:focus-visible, .cookie-notice__accept:focus-visible { outline: 3px solid var(--red-ring); outline-offset: 3px; }
.button--text { color: var(--white); border-bottom: 1px solid rgba(255,255,255,.7); padding: 0 0 6px; min-height: auto; }
.hero__stamp { position: absolute; z-index: 1; right: max(24px, calc((100vw - 1160px)/2)); bottom: 35px; display: flex; align-items: center; gap: 12px; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: rgba(255,255,255,.88); }
.hero__stamp strong { color: var(--coral); }
.section { padding: clamp(72px, 10vw, 135px) 0; }
.intro { overflow: hidden; background: var(--cream); }
.intro__grid { display: grid; grid-template-columns: 1.03fr .97fr; gap: clamp(48px, 8vw, 125px); align-items: center; }
.intro__copy h2, .quality__content h2, .section-heading h2 { margin-bottom: 28px; color: var(--ink); font-size: clamp(44px, 5vw, 70px); }
.intro__copy h2 em, .quality__content h2 em, .section-heading h2 em { color: var(--sea); }
.intro__copy > p:not(.eyebrow), .quality__content > p { max-width: 520px; margin-bottom: 30px; color: #48575c; font-size: 18px; }
.text-link { color: var(--sea); display: inline-flex; gap: 16px; align-items: center; border-bottom: 1px solid currentColor; padding-bottom: 5px; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; font-weight: 800; }
.photo-frame { margin: 0; }
.photo-frame img { width: 100%; height: 505px; object-fit: cover; box-shadow: var(--shadow); }
.photo-frame--offset { position: relative; }
.photo-frame--offset:before { content: ''; position: absolute; width: 78%; height: 88%; right: -30px; top: -31px; border: 1px solid var(--sea); z-index: 0; }
.photo-frame img { position: relative; z-index: 1; }
.section--dark { position: relative; overflow: hidden; background: var(--ink); color: var(--white); }
.section--dark:before { content: ''; position: absolute; inset: 0; background: url('assets/fondo2.webp') center / cover no-repeat; opacity: .1; mix-blend-mode: screen; }
.section--dark > .container { position: relative; z-index: 1; }
.section-heading { display: flex; justify-content: space-between; align-items: flex-end; gap: 48px; margin-bottom: 54px; }
.section-heading h2 { color: var(--white); margin-bottom: 0; }
.section-heading > p { width: min(365px, 100%); margin: 0 0 3px; color: rgba(255,255,255,.7); font-size: 16px; }
.product-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 18px; }
.product-card { position: relative; min-height: 410px; overflow: hidden; background: #1d3036; }
.product-card--large { min-height: 520px; }
.product-card:after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 30%, rgba(2,11,14,.9)); }
.product-card img { width: 100%; height: 100%; position: absolute; object-fit: cover; transition: transform .5s ease; }
.product-card:hover img { transform: scale(1.04); }
.product-card__content { position: absolute; z-index: 1; inset: auto 27px 24px; }
.product-card__content span { display: inline-block; margin-bottom: 44px; color: #b6d8d6; font-size: 11px; letter-spacing: .12em; }
.product-card h3 { margin-bottom: 8px; font-family: var(--serif); font-size: 32px; letter-spacing: -.03em; }
.product-card p { margin: 0; max-width: 280px; color: rgba(255,255,255,.76); font-size: 14px; }
.quality { background: var(--white); }
.quality__grid { display: grid; grid-template-columns: .93fr 1.07fr; align-items: stretch; }
.quality__photo { min-height: 660px; position: relative; }
.quality__photo:after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(4,40,54,.05), rgba(4,40,54,.45)); }
.quality__photo img { width: 100%; height: 100%; object-fit: cover; }
.quality__content { padding: clamp(46px, 7vw, 95px); background: var(--ice); }
.quality__points { display: grid; gap: 20px; margin-top: 44px; }
.quality__points > div { display: grid; grid-template-columns: 48px 1fr; column-gap: 14px; padding-top: 20px; border-top: 1px solid rgba(11,89,107,.25); }
.quality__number { grid-row: 1 / span 2; color: var(--coral); font-weight: 800; font-size: 13px; }
.quality__points h3 { margin: 0 0 2px; font-size: 18px; font-weight: 800; }
.quality__points p { margin: 0; color: #4c6267; font-size: 14px; }
.section--sand { background: var(--sand); }
.section-heading--stores h2 { color: var(--ink); }
.section-heading--stores > p { color: #536269; }
.store-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 27px; }
.store-card { background: var(--white); box-shadow: 0 8px 28px rgba(30,40,40,.08); }
.store-card__image { height: 265px; overflow: hidden; }
.store-card__image img { height: 100%; width: 100%; object-fit: cover; transition: transform .5s ease; }
.store-card:hover img { transform: scale(1.04); }
.store-card__body { padding: 30px 34px 34px; position: relative; }
.store-card__index { color: var(--coral); font-size: 12px; font-weight: 800; letter-spacing: .12em; }
.store-card h3 { margin: 8px 0 12px; font-family: var(--serif); font-size: 38px; line-height: 1; letter-spacing: -.04em; }
.store-card p { margin: 0 0 25px; color: #516066; font-size: 15px; }
.store-card .store-location { display: block; margin: 0 0 24px; padding: 0; border: 0; color: #516066; font-size: 15px; font-weight: 400; letter-spacing: 0; line-height: 1.55; }
.store-card .store-location:hover { color: var(--ink); }
.store-card .store-location strong { display: inline-block; margin-top: 9px; color: var(--sea); border-bottom: 1px solid currentColor; padding-bottom: 4px; font-size: 11px; font-weight: 800; letter-spacing: .08em; line-height: 1.2; text-transform: uppercase; }
.store-card a { color: var(--sea); border-bottom: 1px solid currentColor; padding-bottom: 4px; font-size: 13px; font-weight: 800; letter-spacing: .08em; }
.store-card a span { margin-left: 16px; }
.instagram-cta { position: relative; min-height: 535px; overflow: hidden; color: var(--white); display: flex; align-items: center; }
.instagram-cta__image { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0,0,0,.92), rgba(0,0,0,.58)), url('assets/opt-instagram-marisco.webp') center / cover no-repeat; filter: grayscale(1) contrast(1.06); }
.instagram-cta__content { position: relative; z-index: 1; padding: 72px 0; }
.instagram-cta h2 { margin-bottom: 20px; font-size: clamp(50px, 6vw, 80px); }
.instagram-cta p:not(.eyebrow) { max-width: 450px; color: rgba(255,255,255,.8); font-size: 18px; margin: 0 0 30px; }
.site-footer { position: relative; overflow: hidden; background: #0a0a0a; color: #d9d9d4; padding: 68px 0 22px; }
.site-footer:before { content: ''; position: absolute; inset: 0; background: url('assets/fondo2.webp') center / cover no-repeat; opacity: .08; mix-blend-mode: screen; }
.site-footer > .container { position: relative; z-index: 1; }
.footer-grid { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 60px; padding-bottom: 54px; }
.footer-brand img { width: 190px; max-height: 86px; object-fit: contain; object-position: left; filter: brightness(0) invert(1); margin-bottom: 18px; }
.footer-logo-link { display: inline-block; }
.footer-brand p { max-width: 310px; margin: 0 0 22px; color: rgba(214,228,227,.72); }
.footer-instagram { color: var(--white); font-size: 12px; letter-spacing: .08em; font-weight: 800; text-transform: uppercase; border-bottom: 1px solid rgba(255,255,255,.6); padding-bottom: 4px; }
.footer-links h2 { margin: 9px 0 17px; color: var(--white); font-family: var(--serif); font-size: 24px; }
.footer-links a, .footer-links p { display: block; max-width: 270px; margin: 0 0 11px; color: rgba(214,228,227,.75); font-size: 14px; }
.footer-links a:hover { color: var(--white); }
.footer-legal { display: flex; flex-wrap: wrap; gap: 11px 23px; padding: 0 0 18px; color: rgba(214,228,227,.66); font-size: 12px; }
.footer-legal a { border-bottom: 1px solid transparent; transition: border-color .2s, color .2s; }
.footer-legal a:hover { color: var(--white); border-color: currentColor; }
.footer-bottom { border-top: 1px solid rgba(214,228,227,.18); padding-top: 20px; display: flex; justify-content: space-between; color: rgba(214,228,227,.53); font-size: 12px; }
.footer-bottom a { transition: color .2s; }
.footer-bottom a:hover { color: var(--white); }
.cookie-notice { position: fixed; z-index: 9999; right: 22px; bottom: 22px; width: min(430px, calc(100% - 34px)); display: flex; align-items: flex-end; gap: 18px; padding: 17px 18px; background: #111; color: rgba(255,255,255,.88); box-shadow: 0 14px 44px rgba(0,0,0,.3); font-size: 13px; line-height: 1.45; }
.cookie-notice[hidden] { display: none; }
.cookie-notice p { margin: 0; }
.cookie-notice p a { color: var(--white); border-bottom: 1px solid currentColor; }
.cookie-notice__accept { flex: 0 0 auto; border: 1px solid var(--red); border-radius: 999px; background: var(--red); color: var(--white); cursor: pointer; padding: 9px 13px; font: inherit; font-size: 11px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; transition: background .2s, border-color .2s; }
.cookie-notice__accept:hover, .cookie-notice__accept:focus { background: var(--red-deep); border-color: var(--red-deep); }
.generic-content { padding: 170px 0 80px; min-height: 50vh; }
.legal-page { width: min(800px, 100%); }
.legal-page h1 { margin-bottom: 24px; font-size: clamp(50px, 6vw, 78px); }
.legal-page__intro { max-width: 620px; margin: 0 0 48px; color: #48575c; font-size: 19px; }
.legal-page__section { padding: 25px 0; border-top: 1px solid var(--line); }
.legal-page__section h2 { margin-bottom: 12px; color: var(--ink); font-family: var(--serif); font-size: 30px; letter-spacing: -.03em; }
.legal-page__section p { max-width: 740px; margin: 0; color: #48575c; }
@media (max-width: 850px) {
    .site-nav { display: none; }
    .hero { min-height: 650px; }
    .intro__grid, .quality__grid { grid-template-columns: 1fr; }
    .intro__copy { max-width: 600px; }
    .photo-frame img { height: 430px; }
    .quality__photo { min-height: 450px; }
    .quality__content { padding: 60px 7vw; }
    .product-grid { grid-template-columns: 1fr 1fr; }
    .product-card--large { grid-column: 1 / -1; }
    .footer-grid { grid-template-columns: 1.2fr 1fr; }
    .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 600px) {
    .container { width: min(100% - 34px, 1160px); }
    .site-header__inner { min-height: 110px; }
    .brand { width: 60px; }
    .header-call { padding: 8px 12px; font-size: 11px; }
    .hero { min-height: 650px; }
    .hero__backdrop { background-position: 67% center; }
    .hero__lead { font-size: 16px; }
    .hero__stamp { right: 17px; bottom: 20px; gap: 7px; font-size: 9px; }
    .section-heading { display: block; margin-bottom: 36px; }
    .section-heading > p { margin-top: 22px; }
    .product-grid, .store-grid, .footer-grid { grid-template-columns: 1fr; }
    .product-card, .product-card--large { min-height: 385px; grid-column: auto; }
    .product-card__content span { margin-bottom: 25px; }
    .quality__photo { min-height: 365px; }
    .quality__content { padding: 56px 25px; }
    .store-card__body { padding: 25px; }
    .footer-grid { gap: 35px; }
    .footer-brand { grid-column: auto; }
    .footer-legal { gap: 8px 18px; }
    .footer-bottom { display: block; }
    .footer-bottom span { display: block; margin-bottom: 6px; }
    .cookie-notice { right: 17px; bottom: 17px; display: block; }
    .cookie-notice__accept { margin-top: 14px; }
}
