/*
Theme Name: SALT & SOUL
Theme URI: https://saltandsoul.es
Author: SALT & SOUL
Description: Tema arquitectónico e industrial desarrollado para SALT & SOUL.
Version: 1.0.0
Text Domain: salt-and-soul
*/

:root {
  --ink: #0a2740;
  --ink-2: #102f49;
  --sand: #c8a979;
  --sand-soft: #eadfcf;
  --paper: #f4f0e8;
  --white: #fff;
  --graphite: #20272c;
  --muted: #67727a;
  --line: rgba(10, 39, 64, .18);
  --shadow: 0 22px 70px rgba(5, 23, 38, .13);
  --radius: 2px;
  --wrap: min(1240px, calc(100vw - 48px));
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--graphite);
  background: var(--paper);
  font-family: Inter, "Helvetica Neue", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.62;
  text-rendering: optimizeLegibility;
}
body.menu-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; height: auto; }
button, input, select, textarea { font: inherit; }
::selection { color: var(--white); background: var(--ink); }
.screen-reader-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; }
.skip-link:focus { clip: auto; width: auto; height: auto; z-index: 9999; padding: 12px 18px; color: var(--white); background: var(--ink); }
.wrap { width: var(--wrap); margin-inline: auto; }
.narrow { width: min(820px, calc(100vw - 48px)); margin-inline: auto; }
.eyebrow {
  margin: 0 0 18px;
  color: var(--sand);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .18em;
  line-height: 1.2;
  text-transform: uppercase;
}
h1, h2, h3, h4 { margin: 0; color: var(--ink); font-weight: 450; letter-spacing: -.035em; line-height: 1.04; }
h1 { font-size: clamp(48px, 7.2vw, 112px); }
h2 { font-size: clamp(38px, 5vw, 72px); }
h3 { font-size: clamp(24px, 2.6vw, 38px); }
h4 { font-size: 20px; }
p { margin: 0 0 1em; }
.lead { max-width: 860px; font-size: clamp(20px, 2.3vw, 31px); line-height: 1.35; letter-spacing: -.02em; }
.muted { color: var(--muted); }
.section { padding: clamp(74px, 10vw, 148px) 0; }
.section-dark { color: rgba(255,255,255,.78); background: var(--ink); }
.section-dark h2, .section-dark h3, .section-dark h4 { color: var(--white); }
.section-dark .muted { color: rgba(255,255,255,.58); }
.section-line { border-top: 1px solid var(--line); }
.section-head { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(280px, .6fr); gap: 48px; align-items: end; margin-bottom: 58px; }
.section-head p:last-child { margin-bottom: 0; }
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; background: var(--line); }
.btn {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 22px;
  border: 1px solid var(--ink);
  border-radius: var(--radius);
  color: var(--white);
  background: var(--ink);
  font-size: 12px;
  font-weight: 750;
  letter-spacing: .12em;
  line-height: 1;
  text-transform: uppercase;
  transition: transform .2s ease, color .2s ease, background .2s ease;
}
.btn:hover, .btn:focus-visible { transform: translateY(-2px); color: var(--ink); background: transparent; }
.btn-light { border-color: var(--white); color: var(--ink); background: var(--white); }
.btn-light:hover, .btn-light:focus-visible { color: var(--white); background: transparent; }
.btn-sand { border-color: var(--sand); color: var(--ink); background: var(--sand); }
.btn-ghost { color: var(--ink); background: transparent; }
.btn-ghost:hover { color: var(--white); background: var(--ink); }
.text-link { display: inline-flex; align-items: center; gap: 8px; padding-bottom: 4px; border-bottom: 1px solid currentColor; color: var(--ink); font-size: 13px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.text-link::after { content: "↗"; }

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 1000;
  border-bottom: 1px solid rgba(255,255,255,.2);
  color: var(--white);
  transition: color .25s ease, background .25s ease, border-color .25s ease;
}
.site-header.is-scrolled, body:not(.home) .site-header { color: var(--ink); border-color: var(--line); background: rgba(244,240,232,.96); backdrop-filter: blur(14px); }
.header-inner { width: var(--wrap); min-height: 78px; margin-inline: auto; display: flex; align-items: center; gap: 34px; }
.brand { display: inline-flex; width: 214px; flex: 0 0 auto; align-items: center; }
.brand svg { width: 100%; height: auto; }
.brand .brand-fill { fill: currentColor; }
.brand .brand-wave { fill: none; stroke: currentColor; }
.main-nav { margin-left: auto; }
.main-nav ul { display: flex; align-items: center; gap: 26px; margin: 0; padding: 0; list-style: none; }
.main-nav a { font-size: 11px; font-weight: 750; letter-spacing: .11em; text-transform: uppercase; }
.main-nav a:hover { color: var(--sand); }
.header-cta { flex: 0 0 auto; color: inherit; border-color: currentColor; background: transparent; }
.site-header:not(.is-scrolled) .header-cta:hover { color: var(--ink); background: var(--white); }
.menu-toggle { display: none; margin-left: auto; padding: 10px; border: 0; color: inherit; background: transparent; }
.menu-toggle span { display: block; width: 27px; height: 1px; margin: 6px 0; background: currentColor; }

.hero { position: relative; min-height: 820px; height: min(94vh, 1040px); display: flex; align-items: flex-end; color: var(--white); background: var(--ink); overflow: hidden; }
.hero-media { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(5,18,29,.15) 12%, rgba(5,22,36,.16) 42%, rgba(5,22,36,.92) 100%); }
.hero-grid { position: relative; z-index: 2; width: var(--wrap); margin: 0 auto 72px; display: grid; grid-template-columns: 1fr 360px; gap: 50px; align-items: end; }
.hero h1 { max-width: 980px; color: var(--white); }
.hero h1 span { color: var(--sand); }
.hero-copy { padding-left: 28px; border-left: 1px solid rgba(255,255,255,.45); }
.hero-copy p { margin-bottom: 24px; font-size: 19px; line-height: 1.55; }
.concept-note { position: absolute; z-index: 3; right: 24px; bottom: 18px; color: rgba(255,255,255,.7); font-size: 10px; letter-spacing: .08em; text-transform: uppercase; }
.stat-strip { color: var(--white); background: var(--ink); }
.stat { min-height: 145px; padding: 32px 28px; background: var(--ink); }
.stat strong { display: block; margin-bottom: 8px; color: var(--sand); font-size: 27px; font-weight: 450; letter-spacing: -.03em; }
.stat span { color: rgba(255,255,255,.62); font-size: 12px; letter-spacing: .09em; text-transform: uppercase; }

.manifesto-grid { display: grid; grid-template-columns: .72fr 1.28fr; gap: 8vw; }
.manifesto-quote { color: var(--ink); font-size: clamp(30px, 4vw, 62px); line-height: 1.12; letter-spacing: -.035em; }
.manifesto-quote em { color: var(--sand); font-family: Georgia, serif; font-weight: normal; }
.manifesto-copy { padding-top: 12px; }
.manifesto-copy p { max-width: 620px; font-size: 19px; }

.media-card { position: relative; min-height: 600px; overflow: hidden; background: var(--ink); }
.media-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .8s ease; }
.media-card:hover img { transform: scale(1.025); }
.media-card::after { content: ""; position: absolute; inset: 38% 0 0; background: linear-gradient(180deg, transparent, rgba(4,19,32,.92)); }
.media-card-copy { position: absolute; z-index: 2; inset: auto 34px 34px; color: var(--white); }
.media-card-copy h3 { margin-bottom: 10px; color: var(--white); }
.media-card-copy p { max-width: 520px; margin-bottom: 20px; color: rgba(255,255,255,.72); }
.media-card-copy .text-link { color: var(--white); }

.model-card { border: 1px solid var(--line); background: rgba(255,255,255,.46); }
.model-plan { min-height: 330px; display: grid; place-items: center; padding: 28px; border-bottom: 1px solid var(--line); background: var(--white); }
.model-plan img { width: 100%; }
.model-copy { padding: 34px; }
.model-meta { display: flex; flex-wrap: wrap; gap: 7px; margin: 20px 0 26px; }
.tag { padding: 7px 10px; border: 1px solid var(--line); color: var(--ink); font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }

.price-card { position: relative; min-height: 420px; display: flex; flex-direction: column; padding: 36px; border: 1px solid var(--line); background: rgba(255,255,255,.52); }
.price-card.featured { color: var(--white); background: var(--ink); }
.price-card.featured h3 { color: var(--white); }
.price-card .number { margin: 26px 0 18px; color: var(--sand); font-size: clamp(37px, 4vw, 55px); font-weight: 400; letter-spacing: -.045em; line-height: 1; }
.price-card .number small { font-size: 15px; letter-spacing: .02em; }
.price-card ul { margin: 0 0 30px; padding: 0; list-style: none; }
.price-card li { padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.price-card.featured li { border-color: rgba(255,255,255,.18); }
.price-card .btn, .price-card .text-link { margin-top: auto; align-self: flex-start; }

.feature-list { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 0 50px; margin: 0; padding: 0; list-style: none; }
.feature-list li { display: grid; grid-template-columns: 48px 1fr; gap: 18px; padding: 24px 0; border-bottom: 1px solid rgba(255,255,255,.17); }
.feature-index { color: var(--sand); font-size: 11px; letter-spacing: .12em; }
.feature-list strong { display: block; margin-bottom: 3px; color: var(--white); font-size: 17px; }
.feature-list span { color: rgba(255,255,255,.58); font-size: 14px; }

.process { counter-reset: process; }
.process-step { display: grid; grid-template-columns: 90px 1fr minmax(220px,.55fr); gap: 28px; padding: 30px 0; border-top: 1px solid var(--line); }
.process-step::before { counter-increment: process; content: "0" counter(process); color: var(--sand); font-size: 15px; letter-spacing: .1em; }
.process-step p { color: var(--muted); }

.arquiflow-panel { display: grid; grid-template-columns: 1fr .8fr; gap: 50px; align-items: center; padding: clamp(42px,6vw,80px); color: var(--white); background: linear-gradient(135deg, var(--ink), #153f5d); box-shadow: var(--shadow); }
.arquiflow-panel h2 { color: var(--white); }
.portal-ui { padding: 24px; border: 1px solid rgba(255,255,255,.24); background: rgba(255,255,255,.06); }
.portal-row { display: grid; grid-template-columns: 32px 1fr auto; gap: 12px; align-items: center; padding: 14px 0; border-bottom: 1px solid rgba(255,255,255,.13); font-size: 13px; }
.portal-row:last-child { border: 0; }
.portal-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--sand); }
.portal-state { color: var(--sand); font-size: 10px; letter-spacing: .1em; text-transform: uppercase; }

.page-hero { padding: 190px 0 90px; color: var(--white); background: var(--ink); }
.page-hero h1 { max-width: 1000px; color: var(--white); }
.page-hero .lead { margin-top: 32px; color: rgba(255,255,255,.68); }
.page-image { width: 100%; max-height: 760px; object-fit: cover; }
.prose h2 { margin: 1.6em 0 .55em; }
.prose h3 { margin: 1.5em 0 .5em; }
.prose a { text-decoration: underline; text-decoration-color: var(--sand); text-underline-offset: 3px; }
.prose ul { padding-left: 22px; }
.fineprint { font-size: 13px; color: var(--muted); }

.faq-list { border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary { position: relative; padding: 28px 52px 28px 0; color: var(--ink); cursor: pointer; font-size: 20px; font-weight: 520; list-style: none; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; position: absolute; right: 8px; color: var(--sand); font-size: 26px; font-weight: 300; }
.faq-list details[open] summary::after { content: "−"; }
.faq-answer { max-width: 870px; padding: 0 52px 26px 0; color: var(--muted); }

.contact-layout { display: grid; grid-template-columns: .65fr 1.35fr; gap: 70px; }
.contact-panel { padding: 38px; color: var(--white); background: var(--ink); }
.contact-panel h3 { margin-bottom: 24px; color: var(--white); }
.contact-panel a { display: block; margin: 12px 0; color: var(--sand); }
.ss-form { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 18px; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field-wide { grid-column: 1 / -1; }
.field label { color: var(--ink); font-size: 11px; font-weight: 750; letter-spacing: .1em; text-transform: uppercase; }
.field input, .field select, .field textarea { width: 100%; padding: 14px 15px; border: 1px solid var(--line); border-radius: 0; color: var(--graphite); background: rgba(255,255,255,.6); outline: 0; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--sand); box-shadow: 0 0 0 2px rgba(200,169,121,.15); }
.field textarea { min-height: 140px; resize: vertical; }
.field-check { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; }
.field-check input { margin-top: 5px; }
.form-status { grid-column: 1 / -1; padding: 14px; border: 1px solid #5f8768; color: #294f31; background: #eaf5eb; }
.hp-field { position: absolute !important; left: -9999px !important; }

.whatsapp-float { position: fixed; z-index: 900; right: 22px; bottom: 22px; display: inline-flex; min-width: 54px; min-height: 54px; align-items: center; justify-content: center; padding: 0 18px; border-radius: 28px; color: var(--white); background: #147a4b; box-shadow: 0 10px 36px rgba(0,0,0,.22); font-size: 12px; font-weight: 750; letter-spacing: .08em; text-transform: uppercase; }
.whatsapp-float span { margin-left: 8px; }

.site-footer { padding: 74px 0 34px; color: rgba(255,255,255,.68); background: #071d2f; }
.footer-grid { display: grid; grid-template-columns: 1.2fr repeat(3,.6fr); gap: 48px; }
.footer-brand { width: 220px; margin-bottom: 25px; color: var(--white); }
.footer-copy { max-width: 430px; }
.footer-col h4 { margin-bottom: 18px; color: var(--sand); font-size: 11px; font-weight: 750; letter-spacing: .13em; text-transform: uppercase; }
.footer-col ul { margin: 0; padding: 0; list-style: none; }
.footer-col li { margin: 8px 0; }
.footer-col a:hover { color: var(--white); }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; margin-top: 60px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.13); font-size: 11px; letter-spacing: .06em; text-transform: uppercase; }

.woocommerce .woocommerce-breadcrumb { margin-bottom: 26px; color: var(--muted); font-size: 12px; }
.woocommerce .products { display: grid !important; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 24px; }
.woocommerce ul.products::before, .woocommerce ul.products::after { display: none; }
.woocommerce ul.products li.product { width: auto !important; margin: 0 !important; padding: 0 0 28px; border: 1px solid var(--line); background: var(--white); }
.woocommerce ul.products li.product img { aspect-ratio: 4/3; object-fit: cover; margin: 0 0 24px !important; }
.woocommerce ul.products li.product .woocommerce-loop-product__title, .woocommerce ul.products li.product .price, .woocommerce ul.products li.product .button { margin-inline: 24px; }
.woocommerce ul.products li.product .price, .woocommerce div.product p.price { color: var(--ink); font-size: 22px; }
.woocommerce .button, .woocommerce button.button, .woocommerce input.button, .woocommerce #respond input#submit { border-radius: 0 !important; color: var(--white) !important; background: var(--ink) !important; font-size: 12px !important; letter-spacing: .08em; text-transform: uppercase; }
.woocommerce .button:hover, .woocommerce button.button:hover { color: var(--ink) !important; background: var(--sand) !important; }
.woocommerce div.product { padding-top: 150px; }
.woocommerce div.product div.images img { background: var(--white); }
.woocommerce div.product .product_title { font-size: clamp(38px,5vw,70px); }
.woocommerce-tabs, .related.products { margin-top: 70px; }
.ss-product-fields { margin: 26px 0; padding: 22px; border: 1px solid var(--line); background: rgba(255,255,255,.55); }
.ss-product-fields .field { margin: 12px 0; }
.ss-payment-choice { margin: 18px 0; padding: 20px; border: 1px solid var(--line); background: var(--paper); }
.ss-payment-choice label { display: block; margin: 10px 0; }
.shop-shell { padding: 145px 0 100px; }
.woocommerce-checkout .shop-shell, .woocommerce-cart .shop-shell { padding-top: 135px; }

@media (max-width: 1080px) {
  .main-nav { position: fixed; inset: 78px 0 0; display: none; padding: 38px 24px; color: var(--white); background: var(--ink); }
  .main-nav.is-open { display: block; }
  .main-nav ul { align-items: flex-start; flex-direction: column; gap: 22px; }
  .main-nav a { font-size: 17px; }
  .menu-toggle { display: block; }
  .header-cta { display: none; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-copy { max-width: 570px; }
  .grid-4 { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .grid-3 { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .footer-grid { grid-template-columns: 1.2fr repeat(2,.7fr); }
  .footer-col:last-child { grid-column: 2; }
}

@media (max-width: 760px) {
  :root { --wrap: min(100% - 28px, 1240px); }
  body { font-size: 16px; }
  .header-inner { min-height: 68px; }
  .brand { width: 178px; }
  .main-nav { inset-block-start: 68px; }
  .hero { min-height: 720px; height: 92vh; }
  .hero-grid { margin-bottom: 45px; }
  .hero-copy { padding-left: 0; border-left: 0; }
  .concept-note { right: 14px; bottom: 9px; }
  .section-head, .manifesto-grid, .arquiflow-panel, .contact-layout { grid-template-columns: 1fr; }
  .section-head { gap: 24px; }
  .grid-2, .grid-3, .grid-4, .feature-list, .ss-form, .footer-grid { grid-template-columns: 1fr; }
  .stat { min-height: 105px; }
  .media-card { min-height: 480px; }
  .process-step { grid-template-columns: 55px 1fr; }
  .process-step p { grid-column: 2; }
  .portal-ui { padding: 15px; }
  .page-hero { padding-top: 145px; }
  .footer-col:last-child { grid-column: auto; }
  .footer-bottom { flex-direction: column; }
  .woocommerce .products { grid-template-columns: 1fr !important; }
  .whatsapp-float span { display: none; }
  .whatsapp-float { padding: 0; }
}
