/* ===========================================================
   OPCIÓ A — SUMI (墨)
   Editorial fosca. Navy ple, fotografia cinematogràfica.
   =========================================================== */

body { background: var(--navy); color: var(--silver); }

.wrap { width: min(1280px, 100% - clamp(32px, 7vw, 120px)); margin-inline: auto; }

/* ===================== HEADER ===================== */
.hdr {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px;
  padding: 20px clamp(20px, 4vw, 48px);
  color: var(--silver);
  transition: background 0.5s var(--ease), padding 0.5s var(--ease),
              border-color 0.5s var(--ease);
  border-bottom: 1px solid transparent;
}
.hdr.is-solid {
  background: rgba(6, 12, 21, 0.9);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom-color: rgba(240, 240, 240, 0.1);
  padding-block: 13px;
}

.hdr-mark {
  display: flex; align-items: center; gap: 14px;
  filter: drop-shadow(0 1px 10px rgba(6, 12, 21, 0.85));
}
.hdr-mark .iso { width: 24px; }
.hdr-mark .wordmark { width: 118px; }
.hdr.is-solid .hdr-mark { filter: none; }

.hdr-nav { display: flex; align-items: center; gap: clamp(18px, 2.4vw, 34px); }
.hdr-nav a {
  font-family: var(--mono); font-size: 0.64rem;
  letter-spacing: 0.22em; text-transform: uppercase;
  text-decoration: none; opacity: 0.62;
  transition: opacity 0.3s;
}
.hdr-nav a:hover { opacity: 1; }

.hdr-right { display: flex; align-items: center; gap: clamp(14px, 2vw, 26px); }

.btn {
  display: inline-block;
  font-family: var(--mono); font-size: 0.64rem;
  letter-spacing: 0.22em; text-transform: uppercase;
  text-decoration: none;
  padding: 13px 24px;
  border: 1px solid rgba(240, 240, 240, 0.35);
  transition: background 0.35s var(--ease), color 0.35s var(--ease), border-color 0.35s;
  white-space: nowrap;
}
.btn:hover { background: var(--silver); color: var(--navy); border-color: var(--silver); }
.btn-lg { padding: 18px 42px; font-size: 0.7rem; }
.btn-solid { background: var(--silver); color: var(--navy); border-color: var(--silver); }
.btn-solid:hover { background: transparent; color: var(--silver); border-color: rgba(240, 240, 240, 0.55); }

/* burger */
.burger { display: none; width: 26px; height: 14px; position: relative; }
.burger span {
  position: absolute; left: 0; right: 0; height: 1px; background: currentColor;
  transition: transform 0.4s var(--ease), opacity 0.3s;
}
.burger span:nth-child(1) { top: 0; }
.burger span:nth-child(2) { bottom: 0; }
.burger[aria-expanded="true"] span:nth-child(1) { top: 6px; transform: rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { bottom: 7px; transform: rotate(-45deg); }

.menu {
  position: fixed; inset: 0; z-index: 90;
  background: var(--navy-deep);
  display: flex; flex-direction: column; justify-content: center; align-items: center;
  gap: 28px;
  opacity: 0; pointer-events: none;
  transition: opacity 0.4s var(--ease);
}
.menu.open { opacity: 1; pointer-events: auto; }
.menu a {
  font-family: var(--mono); font-size: 1.1rem;
  letter-spacing: 0.22em; text-transform: uppercase; text-decoration: none;
}

/* ===================== HERO ===================== */
.hero {
  position: relative; min-height: 100svh;
  display: grid; grid-template-rows: 1fr auto;
  overflow: hidden;
}
.hero-media { position: absolute; inset: 0; z-index: 0; }
.hero-media img {
  width: 100%; height: 100%; object-fit: cover;
  animation: drift 26s ease-in-out infinite alternate;
}
@keyframes drift { from { transform: scale(1.02); } to { transform: scale(1.12); } }
.hero-media::after {
  content: ''; position: absolute; inset: 0;
  background:
    radial-gradient(46% 34% at 50% 44%, rgba(6, 12, 21, 0.88) 0%, rgba(6, 12, 21, 0.6) 58%, rgba(6, 12, 21, 0) 100%),
    radial-gradient(118% 88% at 50% 46%, rgba(11, 22, 36, 0.3) 0%, rgba(11, 22, 36, 0.66) 72%, var(--navy) 100%),
    linear-gradient(to bottom, rgba(6, 12, 21, 0.62) 0%, rgba(6, 12, 21, 0.18) 38%, rgba(6, 12, 21, 0.88) 100%);
}

.hero-inner {
  position: relative; z-index: 2;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center;
  padding: 150px clamp(20px, 6vw, 60px) 40px;
}
.hero .wordmark {
  width: clamp(240px, 40vw, 560px);
  margin-bottom: clamp(26px, 3.6vw, 44px);
  filter: drop-shadow(0 2px 18px rgba(6, 12, 21, 0.9));
}
.hero-tagline {
  font-family: var(--mono); font-weight: 400;
  font-size: clamp(0.72rem, 1.35vw, 0.98rem);
  letter-spacing: 0.42em; text-transform: uppercase;
  text-indent: 0.42em;
  margin-bottom: 18px;
}
.hero-sub {
  font-size: clamp(0.82rem, 1.1vw, 0.95rem);
  letter-spacing: 0.06em; opacity: 0.6;
  margin-bottom: clamp(34px, 4.5vw, 54px);
}
.hero-rule {
  width: 64px; height: 1px;
  background: rgba(240, 240, 240, 0.28);
  margin: 0 auto clamp(30px, 3.8vw, 46px);
}

/* Els dos botons del hero, un sobre l'altre i centrats. */
.hero-cta { display: flex; flex-direction: column; align-items: center; gap: 14px; }
/* El val regal va amb la mida base del .btn (més petit que el .btn-lg de
   reservar) i sense emplenar, perquè es vegi però no competeixi amb la
   reserva. El fons fosc translúcid no és decoració: a sota hi ha la foto del
   foc i, només amb el contorn, el text es perdia sobre les zones clares. */
.btn-gift {
  background: rgba(11, 22, 36, 0.3);
  border-color: rgba(240, 240, 240, 0.45);
}

/* franja d'informació al peu del hero */
.hero-strip {
  position: relative; z-index: 2;
  border-top: 1px solid rgba(240, 240, 240, 0.12);
  display: grid; grid-template-columns: repeat(2, 1fr);
  font-family: var(--mono); font-size: 0.62rem;
  letter-spacing: 0.18em; text-transform: uppercase;
}
.hero-strip > * {
  padding: 20px clamp(20px, 4vw, 48px);
  display: flex; align-items: center; gap: 10px;
  opacity: 0.7; text-decoration: none;
  transition: opacity 0.3s;
}
.hero-strip a:hover { opacity: 1; }
.hero-strip > *:nth-child(2) { justify-content: flex-end; border-left: 1px solid rgba(240, 240, 240, 0.12); }

/* ===================== SECCIONS ===================== */
.sec { padding-block: clamp(64px, 6.8vw, 104px); position: relative; }

.sec-head { margin-bottom: clamp(36px, 4.4vw, 64px); }
.sec-head .eyebrow { opacity: 0.5; margin-bottom: 18px; }
.sec-title {
  font-family: var(--mono); font-weight: 400;
  font-size: clamp(1.7rem, 4vw, 3.1rem);
  letter-spacing: 0.03em; line-height: 1.12;
  text-transform: uppercase; text-wrap: balance;
}
.sec-head.center { text-align: center; }
.sec-head.center .eyebrow { text-indent: 0.32em; }

/* ---------- filosofia ---------- */
.about {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 90px); align-items: center;
}
.about-copy p {
  font-size: clamp(0.94rem, 1.15vw, 1.04rem);
  line-height: 1.95; opacity: 0.74;
  margin-bottom: 1.5em; max-width: 46ch;
}
.about-copy p:last-child { margin-bottom: 0; }
.about-lead {
  font-family: var(--mono);
  font-size: clamp(0.98rem, 1.35vw, 1.18rem) !important;
  line-height: 1.72 !important; letter-spacing: 0.015em;
  opacity: 1 !important; max-width: 34ch !important;
  margin-bottom: 1.4em !important;
}
.about-media { display: grid; gap: 16px; grid-template-columns: 1fr 1fr; }
.about-media img { width: 100%; height: 100%; object-fit: cover; }
.about-media figure:first-child { grid-column: span 2; aspect-ratio: 16 / 10; }
.about-media figure:not(:first-child) { aspect-ratio: 3 / 4; }
.about-media figure { margin: 0; overflow: hidden; }

/* filigrana de tonyina */
.tuna-mark {
  position: absolute; pointer-events: none; z-index: 0;
  opacity: 0.055;
  width: min(1500px, 125%);
  left: 50%; top: 50%; transform: translate(-50%, -50%);
}
.sec > .wrap { position: relative; z-index: 1; }

/* ---------- la casa ---------- */
.pillars {
  display: grid; grid-template-columns: repeat(4, 1fr);
  border-block: 1px solid rgba(240, 240, 240, 0.14);
}
.pillar {
  padding: clamp(28px, 3vw, 44px) clamp(18px, 2vw, 32px);
  border-right: 1px solid rgba(240, 240, 240, 0.14);
}
.pillar:last-child { border-right: 0; }
.pillar .num {
  font-family: var(--mono); font-size: 0.68rem;
  letter-spacing: 0.2em; opacity: 0.4; display: block; margin-bottom: 22px;
}
.pillar h3 {
  font-family: var(--mono); font-weight: 400;
  font-size: clamp(0.92rem, 1.3vw, 1.08rem);
  letter-spacing: 0.1em; text-transform: uppercase;
  margin-bottom: 14px;
}
.pillar p { font-size: 0.88rem; line-height: 1.8; color: rgba(240, 240, 240, 0.6); }
.pillar .hl {
  font-family: var(--mono); font-style: normal;
  letter-spacing: 0.04em; color: var(--silver);
  margin-right: 0.3em;
}

/* ---------- franja de reserva ---------- */
.band { position: relative; overflow: hidden; background: var(--navy-deep); }
.band-media { position: absolute; inset: 0; }
.band-media img { width: 100%; height: 100%; object-fit: cover; }
.band-media::after {
  content: ''; position: absolute; inset: 0;
  background:
    linear-gradient(to right, rgba(6,12,21,.93) 0%, rgba(6,12,21,.6) 44%, rgba(6,12,21,.82) 78%, rgba(6,12,21,.9) 100%),
    linear-gradient(to bottom, rgba(6,12,21,.6) 0%, rgba(6,12,21,.2) 50%, rgba(6,12,21,.7) 100%);
}
.band-inner {
  position: relative; z-index: 1;
  padding-block: clamp(64px, 7vw, 104px);
  display: grid; grid-template-columns: 1.15fr auto;
  gap: clamp(28px, 4vw, 64px); align-items: center;
}
.band .eyebrow { opacity: 0.5; margin-bottom: 18px; }
.band h2 {
  font-family: var(--mono); font-weight: 400;
  font-size: clamp(1.4rem, 3vw, 2.4rem);
  letter-spacing: 0.02em; line-height: 1.16; text-transform: uppercase;
  margin-bottom: 22px; text-wrap: balance;
}
.band-hours {
  font-family: var(--mono); font-size: 0.68rem;
  letter-spacing: 0.18em; text-transform: uppercase;
  line-height: 2.3; opacity: 0.68;
}
.band-note { font-size: 0.9rem; line-height: 1.85; opacity: 0.5; max-width: 46ch; margin-top: 16px; }
.band-cta { display: flex; flex-direction: column; gap: 12px; }
.band-cta .btn { text-align: center; }

/* ---------- galeria ---------- */
.grid {
  display: grid; grid-template-columns: repeat(12, 1fr);
  grid-auto-rows: clamp(92px, 10.5vw, 150px);
  gap: clamp(8px, 1vw, 14px);
}
.grid button {
  position: relative; overflow: hidden; display: block; width: 100%;
  background: var(--navy-soft);
}
.grid img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 1.1s var(--ease), filter 0.7s var(--ease);
  filter: saturate(0.82) brightness(0.94);
}
.grid button:hover img { transform: scale(1.055); filter: none; }
.grid button::after {
  content: ''; position: absolute; inset: 0;
  box-shadow: inset 0 0 0 1px rgba(240, 240, 240, 0.07);
}
.c4 { grid-column: span 4; } .c5 { grid-column: span 5; }
.c6 { grid-column: span 6; } .c7 { grid-column: span 7; }
.c8 { grid-column: span 8; }
.s3 { grid-row: span 3; } .s4 { grid-row: span 4; } .s5 { grid-row: span 5; }

/* ---------- equip ---------- */
.team {
  display: grid; grid-template-columns: 1.3fr 1fr;
  gap: clamp(32px, 5vw, 76px); align-items: center;
}
.team figure { margin: 0; overflow: hidden; }
.team img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; filter: saturate(0.8); }
.team-caption {
  font-family: var(--mono);
  font-size: clamp(0.95rem, 1.25vw, 1.1rem);
  line-height: 1.82; letter-spacing: 0.015em;
  opacity: 0.8; max-width: 32ch;
  padding-top: 26px; border-top: 1px solid rgba(240, 240, 240, 0.2);
}

/* ---------- distincions ---------- */
.awards { background: var(--navy-deep); }
.awards-strip {
  display: flex; justify-content: center; align-items: center;
  gap: clamp(30px, 5vw, 70px); flex-wrap: wrap;
  margin-bottom: clamp(32px, 4vw, 48px);
}
.awards-strip img {
  height: clamp(62px, 7vw, 86px); width: auto;
  transition: transform 0.4s var(--ease);
}
.awards-strip a:hover img { transform: translateY(-4px); }
.awards-caption {
  max-width: 56ch; margin-inline: auto; text-align: center;
  font-size: 0.92rem; line-height: 1.9; opacity: 0.55;
}

/* ---------- contacte ---------- */
.contact { display: grid; grid-template-columns: 0.9fr 1.1fr; border: 1px solid rgba(240, 240, 240, 0.14); }
.contact-info {
  padding: clamp(34px, 4vw, 62px);
  display: flex; flex-direction: column; justify-content: center;
  gap: clamp(26px, 3vw, 38px);
}
.c-item h4 {
  font-family: var(--mono); font-weight: 400;
  font-size: 0.64rem; letter-spacing: 0.24em; text-transform: uppercase;
  opacity: 0.45; margin-bottom: 11px;
}
.c-item p, .c-item a {
  font-size: 0.96rem; line-height: 1.8; text-decoration: none; opacity: 0.88;
}
.c-item a { transition: opacity 0.3s; display: inline-block; }
.c-item a:hover { opacity: 0.55; }
.c-links { display: flex; flex-direction: column; align-items: flex-start; gap: 11px; }
.c-item a.c-link { display: inline-flex; align-items: center; gap: 11px; }
.c-ico {
  width: 15px; height: 15px; flex: none; opacity: 0.6;
  fill: none; stroke: currentColor; stroke-width: 1.7;
  stroke-linecap: round; stroke-linejoin: round;
}
.c-ico-fill { fill: currentColor; stroke: none; }
.contact-cta { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 4px; }
.contact-map {
  position: relative; min-height: 400px;
  border-left: 1px solid rgba(240, 240, 240, 0.14);
  display: flex; align-items: center; justify-content: center;
  background: var(--navy-deep);
}
.contact-map iframe {
  position: absolute; inset: 0; width: 100%; height: 100%; border: 0;
  filter: grayscale(1) invert(0.92) contrast(0.86) hue-rotate(185deg);
}
.map-bg {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; opacity: 0.13; filter: grayscale(1) blur(1px);
}
.contact-map.loaded .map-bg { display: none; }
.map-ph { position: relative; text-align: center; padding: 30px; }
.map-ph p {
  font-size: 0.86rem; line-height: 1.8; opacity: 0.45;
  max-width: 34ch; margin: 0 auto 20px;
}
.contact-map.loaded .map-ph { display: none; }

/* ---------- peu ---------- */
.ftr {
  border-top: 1px solid rgba(240, 240, 240, 0.12);
  padding: clamp(54px, 6vw, 84px) clamp(20px, 4vw, 48px) 32px;
  text-align: center;
}
.ftr .wordmark {
  width: clamp(160px, 22vw, 260px); margin: 0 auto clamp(26px, 3vw, 40px);
  opacity: 0.85;
}
.ftr-links {
  display: flex; justify-content: center; gap: clamp(16px, 2.4vw, 30px); flex-wrap: wrap;
  font-family: var(--mono); font-size: 0.62rem;
  letter-spacing: 0.2em; text-transform: uppercase;
  margin-bottom: 30px;
}
.ftr-links a { text-decoration: none; opacity: 0.6; transition: opacity 0.3s; }
.ftr-links a:hover { opacity: 1; }
.ftr-legal {
  font-family: var(--mono); font-size: 0.58rem;
  letter-spacing: 0.18em; text-transform: uppercase; opacity: 0.32;
  line-height: 2.1; text-wrap: balance;
}

/* ---------- barra fixa de reserva (mòbil) ---------- */
.dock {
  display: none;
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 200;
  grid-template-columns: 1fr 1.4fr;
  background: rgba(6, 12, 21, 0.96);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-top: 1px solid rgba(240, 240, 240, 0.14);
  padding-bottom: env(safe-area-inset-bottom);
}
.dock a {
  font-family: var(--mono); font-size: 0.64rem;
  letter-spacing: 0.2em; text-transform: uppercase; text-decoration: none;
  padding: 17px 10px; text-align: center;
}
.dock a:first-child { opacity: 0.7; border-right: 1px solid rgba(240, 240, 240, 0.14); }
.dock a:last-child { background: var(--silver); color: var(--navy); }

/* ===========================================================
   PÀGINA "REGALA" (regala.html)
   Reutilitza .sec, .wrap, .sec-head, .pillars i .btn.
   Aquí només hi ha el que és exclusiu d'aquesta pàgina.
   =========================================================== */

/* enllaç de navegació de la pàgina on ja ets */
.hdr-nav a.is-active { opacity: 1; box-shadow: inset 0 -1px 0 rgba(240, 240, 240, 0.45); }

/* ---------- capçalera de pàgina (substitueix el hero) ---------- */
.page-head {
  position: relative; overflow: hidden;
  background: var(--navy-deep);
  padding: calc(clamp(96px, 11vw, 150px) + 42px) 0 clamp(72px, 8vw, 118px);
  border-bottom: 1px solid rgba(240, 240, 240, 0.1);
}
.page-head-mark {
  position: absolute; pointer-events: none; z-index: 0;
  opacity: 0.075;
  width: min(1400px, 135%);
  left: 56%; top: 54%; transform: translate(-50%, -50%);
}
.page-head > .wrap { position: relative; z-index: 1; }
.page-head-inner { max-width: 44ch; }
.page-head .eyebrow { opacity: 0.5; margin-bottom: 18px; }
.page-head .sec-title { margin-bottom: clamp(20px, 2.4vw, 30px); }
.page-head-lead {
  font-family: var(--mono);
  font-size: clamp(0.95rem, 1.3vw, 1.14rem);
  line-height: 1.78; letter-spacing: 0.015em;
  opacity: 0.76; max-width: 38ch;
  margin-bottom: clamp(28px, 3.4vw, 40px);
}

/* secció amb fons lleugerament diferenciat */
.sec-alt { background: var(--navy-soft); }

/* ---------- què regales ---------- */
.gift-intro {
  display: grid; grid-template-columns: minmax(0, 1fr) auto;
  gap: clamp(28px, 5vw, 70px); align-items: start;
  margin-bottom: clamp(44px, 5vw, 72px);
}
.gift-intro .about-lead { margin-bottom: 0 !important; max-width: 48ch !important; }
.gift-price {
  display: flex; flex-direction: column; gap: 10px;
  padding: clamp(22px, 2.6vw, 34px) clamp(26px, 3vw, 40px);
  border: 1px solid rgba(240, 240, 240, 0.18);
  white-space: nowrap;
}
.gift-price-num {
  font-family: var(--mono); font-weight: 400;
  font-size: clamp(2rem, 4vw, 2.9rem);
  letter-spacing: 0.02em; line-height: 1;
}
.gift-price-note {
  font-family: var(--mono); font-size: 0.6rem;
  letter-spacing: 0.2em; text-transform: uppercase;
  opacity: 0.5; line-height: 1.8;
}

/* ---------- com funciona ---------- */
.steps {
  list-style: none;
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: clamp(24px, 3vw, 46px);
  counter-reset: none;
}
.step {
  padding-top: 26px;
  border-top: 1px solid rgba(240, 240, 240, 0.2);
}
.step .num {
  font-family: var(--mono); font-size: 0.68rem;
  letter-spacing: 0.2em; opacity: 0.4;
  display: block; margin-bottom: 20px;
}
.step h3 {
  font-family: var(--mono); font-weight: 400;
  font-size: clamp(0.92rem, 1.3vw, 1.08rem);
  letter-spacing: 0.1em; text-transform: uppercase;
  margin-bottom: 14px;
}
.step p { font-size: 0.88rem; line-height: 1.85; color: rgba(240, 240, 240, 0.6); }

/* ---------- formulari ---------- */
.gift-form-grid {
  display: grid; grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(36px, 5.5vw, 84px); align-items: start;
}
.gift-form-side .sec-head { margin-bottom: clamp(28px, 3.4vw, 44px); }
.cond-title {
  font-family: var(--mono); font-weight: 400;
  font-size: 0.64rem; letter-spacing: 0.24em; text-transform: uppercase;
  opacity: 0.45; margin-bottom: 16px;
}
.cond { list-style: none; }
.cond li {
  position: relative;
  padding-left: 20px; margin-bottom: 13px;
  font-size: 0.86rem; line-height: 1.75;
  color: rgba(240, 240, 240, 0.58);
}
.cond li::before {
  content: ''; position: absolute;
  left: 0; top: 0.72em; width: 9px; height: 1px;
  background: rgba(240, 240, 240, 0.35);
}
.cond li:last-child { margin-bottom: 0; }

.gform { display: flex; flex-direction: column; gap: clamp(18px, 2vw, 24px); }
.gf-row { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(14px, 1.6vw, 22px); }

.gf-field { display: flex; flex-direction: column; gap: 9px; }
.gf-field > span {
  font-family: var(--mono); font-size: 0.6rem;
  letter-spacing: 0.22em; text-transform: uppercase;
  opacity: 0.5;
}
.gf-field input,
.gf-field select,
.gf-field textarea {
  font-family: var(--sans); font-size: 0.95rem; color: var(--silver);
  background: rgba(240, 240, 240, 0.035);
  border: 1px solid rgba(240, 240, 240, 0.18);
  border-radius: 0;
  padding: 14px 15px;
  width: 100%;
  transition: border-color 0.3s var(--ease), background 0.3s var(--ease);
  -webkit-appearance: none; appearance: none;
}
.gf-field textarea { resize: vertical; min-height: 92px; line-height: 1.7; }
.gf-field select {
  background-image:
    linear-gradient(45deg, transparent 50%, rgba(240,240,240,.5) 50%),
    linear-gradient(135deg, rgba(240,240,240,.5) 50%, transparent 50%);
  background-position: right 19px center, right 13px center;
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
  padding-right: 42px;
}
.gf-field select option { background: var(--navy-soft); color: var(--silver); }
.gf-field input::placeholder,
.gf-field textarea::placeholder { color: rgba(240, 240, 240, 0.3); }
.gf-field input:focus,
.gf-field select:focus,
.gf-field textarea:focus {
  outline: none;
  border-color: rgba(240, 240, 240, 0.55);
  background: rgba(240, 240, 240, 0.06);
}
.gf-field input:focus-visible,
.gf-field select:focus-visible,
.gf-field textarea:focus-visible { outline: 1px solid rgba(240, 240, 240, 0.35); outline-offset: 2px; }
/* marcat per initGiftForm quan el camp no és vàlid */
.gf-field.is-bad input,
.gf-field.is-bad textarea { border-color: #c8705e; }

.gf-help {
  display: flex; justify-content: space-between; gap: 14px;
  font-family: var(--mono); font-size: 0.58rem;
  letter-spacing: 0.16em; text-transform: uppercase;
  opacity: 0.38;
}
.gf-count { flex: none; font-variant-numeric: tabular-nums; }

/* parany per a robots */
.gf-trap { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

.gf-check {
  display: grid; grid-template-columns: auto 1fr;
  gap: 13px; align-items: start;
  font-size: 0.84rem; line-height: 1.7;
  color: rgba(240, 240, 240, 0.6);
  cursor: pointer;
}
.gf-check input {
  appearance: none; -webkit-appearance: none;
  width: 16px; height: 16px; margin-top: 2px; flex: none;
  border: 1px solid rgba(240, 240, 240, 0.35);
  background: transparent; cursor: pointer;
  transition: background 0.25s, border-color 0.25s;
}
.gf-check input:checked { background: var(--silver); border-color: var(--silver); }
.gf-check input:checked::after {
  content: ''; display: block;
  width: 8px; height: 4px; margin: 3px auto 0;
  border-left: 1.6px solid var(--navy); border-bottom: 1.6px solid var(--navy);
  transform: rotate(-45deg);
}
.gf-check.is-bad input { border-color: #c8705e; }

.gform .btn { align-self: flex-start; cursor: pointer; }
.gform .btn[disabled] { opacity: 0.45; pointer-events: none; }

/* Aquí hi havia .gf-alt, la línia de sota el botó que convidava a trucar.
   Tret el 2026-10-14: no queda cap element amb aquesta classe. */
.gf-msg {
  font-family: var(--mono); font-size: 0.68rem;
  letter-spacing: 0.1em; line-height: 1.8;
  color: #d98875;
}
.gf-msg:empty { display: none; }

.gf-done {
  padding: clamp(32px, 4vw, 52px);
  border: 1px solid rgba(240, 240, 240, 0.2);
  background: rgba(240, 240, 240, 0.03);
}
.gf-done h3 {
  font-family: var(--mono); font-weight: 400;
  font-size: clamp(1.1rem, 1.8vw, 1.4rem);
  letter-spacing: 0.06em; text-transform: uppercase;
  margin-bottom: 16px;
}
.gf-done p { font-size: 0.94rem; line-height: 1.9; opacity: 0.68; max-width: 42ch; }

/* ===================== RESPONSIVE ===================== */
/* Amb "Regala" la navegació són sis enllaços i cal plegar-los dins
   l'hamburguesa abans que xoquin amb el logotip. El 1180 d'abans estava posat
   a ull i era massa prudent: mesurant els rectangles reals, els enllaços
   caben fins als 1080 px, i és just a sota d'aquí on el logotip comença a
   comprimir-se. A l'usuari se li plegava el menú en una finestra on encara hi
   cabia de sobres, i per això no veia "Regala" enlloc. */
@media (max-width: 1080px) {
  .hdr-nav { display: none; }
  .burger { display: block; }
}

@media (max-width: 1000px) {
  .gift-form-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; gap: 0; }
  .step { padding-block: 26px 4px; }
  .band-inner { grid-template-columns: 1fr; }
  .band-cta { flex-direction: row; flex-wrap: wrap; }
  .pillars { grid-template-columns: repeat(2, 1fr); }
  .pillar { border-bottom: 1px solid rgba(240, 240, 240, 0.14); padding-bottom: clamp(26px, 3vw, 40px); }
  .pillar:nth-child(2n) { border-right: 0; }
  .contact { grid-template-columns: 1fr; }
  .contact-map { border-left: 0; border-top: 1px solid rgba(240, 240, 240, 0.14); }
}

@media (max-width: 860px) {
  .about { grid-template-columns: 1fr; }
  .about-media { order: -1; }
  .hero-strip { grid-template-columns: 1fr; text-align: center; }
  .hero-strip > * { justify-content: center !important; padding-block: 15px; }
  .hero-strip > *:nth-child(2) { border-inline: 0; border-block: 1px solid rgba(240, 240, 240, 0.12); }
  .c4, .c5, .c6, .c7, .c8 { grid-column: span 6; }
  .team { grid-template-columns: 1fr; }
  .gift-intro { grid-template-columns: 1fr; }
  .gift-price { align-self: start; }
  .page-head { padding-top: clamp(104px, 20vw, 150px); }
}

@media (max-width: 760px) {
  .hdr-right > .btn { display: none; }
  .dock { display: grid; }
  .ftr { padding-bottom: 90px; }
  .cookies { bottom: 56px; }
}

@media (max-width: 560px) {
  .pillars { grid-template-columns: 1fr; }
  .pillar { border-right: 0; }
  .c4, .c5, .c6, .c7, .c8 { grid-column: span 12; }
  .hero-tagline { letter-spacing: 0.3em; text-indent: 0.3em; }
  .btn-lg { padding: 16px 32px; }
  .gf-row { grid-template-columns: 1fr; }
  .gform .btn { align-self: stretch; text-align: center; }
  /* per sota de 16px Safari a l'iPhone fa zoom en enfocar el camp */
  .gf-field input, .gf-field select, .gf-field textarea { font-size: 16px; }
}
