/* GCSS · Sereno — versión tranquila y muy legible, pensada para personas mayores.
   Letra grande (Atkinson Hyperlegible, creada para baja visión), contraste alto,
   botones grandes, teléfono siempre visible y casi sin movimiento. */
:root {
  --bg: #FBF8F2;
  --white: #FFFFFF;
  --navy: #0A1526;
  --navy-2: #13294A;
  --ink: #1B1D20;
  --ink-2: #3A3E44;
  --gold: #C9A45C;
  --gold-ink: #7A5A20;   /* dorado para texto: contraste AA sobre crema */
  --gold-soft: #F3E8D2;
  --wa: #1F7A4D;         /* verde oscuro legible para WhatsApp */
  --line: #D9D1C3;
  --err: #A1170F;
  --ok: #1F6A3A;
  --serif: "Libre Caslon Text", Georgia, serif;
  --sans: "Atkinson Hyperlegible", Verdana, "Segoe UI", sans-serif;
  --r: 12px;
  --fs: 20px;
}
html.text-lg { --fs: 24px; }
*, *::before, *::after { box-sizing: border-box; }
html { font-size: var(--fs); -webkit-text-size-adjust: 100%; scroll-padding-top: 20px; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--sans); line-height: 1.6; }
img { display: block; max-width: 100%; height: auto; }
p { margin: 0 0 1em; max-width: 42em; }
a { color: var(--navy); text-decoration-thickness: 2px; text-underline-offset: 4px; }
a:hover { color: var(--gold-ink); }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3 { margin: 0 0 .6em; line-height: 1.2; color: var(--navy); }
address { font-style: normal; }
main:focus { outline: none; }
:focus-visible { outline: 4px solid #1A5FD0; outline-offset: 3px; border-radius: 4px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.wrap { width: min(100% - 40px, 1160px); margin-inline: auto; }
.narrow { max-width: 820px; }
.skip { position: absolute; left: 16px; top: -100px; background: var(--navy); color: #fff; padding: 14px 20px; border-radius: var(--r); z-index: 10; }
.skip:focus { top: 16px; }
.icon { flex: none; }

/* barra superior: teléfono, tamaño de texto e idiomas */
.topbar { background: var(--navy); color: #fff; font-size: .9rem; }
.topbar__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 24px; padding-block: 8px; }
.topbar a { color: #fff; }
.topbar__phone { display: inline-flex; align-items: center; gap: 10px; min-height: 48px; text-decoration: none; }
.topbar__phone strong { font-size: 1.1em; letter-spacing: .02em; }
.topbar__phone:hover { color: var(--gold); }
.topbar__right { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 20px; }
.textsize { display: inline-flex; align-items: center; gap: 8px; min-height: 48px; padding: 0 16px; border-radius: 999px; border: 2px solid rgba(255,255,255,.5); background: transparent; color: #fff; font: inherit; cursor: pointer; }
.textsize:hover, .textsize[aria-pressed="true"] { background: var(--gold); color: var(--navy); border-color: var(--gold); }
.langs { display: flex; flex-wrap: wrap; gap: 4px; }
.langs a { display: inline-flex; align-items: center; min-height: 48px; padding: 0 12px; border-radius: 8px; text-decoration: none; }
.langs a:hover { background: rgba(255,255,255,.12); color: #fff; }
.langs a[aria-current="true"] { background: #fff; color: var(--navy); font-weight: 700; }

/* cabecera */
.hdr { background: var(--navy); border-top: 1px solid rgba(255,255,255,.14); border-bottom: 4px solid var(--gold); }
.hdr__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; padding-block: 14px; }
.hdr__brand { display: block; padding: 6px 0; border-radius: 6px; }
.hdr__brand img { height: 46px; width: auto; }
.nav { display: flex; align-items: center; gap: 20px; }
.nav ul { display: flex; gap: 4px; }
.nav a:not(.btn) { display: inline-flex; align-items: center; min-height: 52px; padding: 0 16px; border-radius: 10px; font-weight: 700; text-decoration: none; color: #fff; }
.nav a:not(.btn):hover { background: rgba(255,255,255,.12); color: #fff; }
.nav a[aria-current="page"] { background: var(--gold); color: var(--navy); }
.menu-btn { display: none; align-items: center; gap: 12px; min-height: 56px; padding: 0 20px; border-radius: var(--r); border: 2px solid #fff; background: transparent; color: #fff; font: inherit; font-weight: 700; cursor: pointer; }
.menu-btn:hover, .menu-btn[aria-expanded="true"] { background: rgba(255,255,255,.12); }
.menu-btn__bars { display: grid; gap: 5px; width: 24px; }
.menu-btn__bars i { height: 3px; background: currentColor; border-radius: 2px; }
@media (max-width: 1000px) {
  .js .menu-btn { display: inline-flex; }
  .nav { flex-basis: 100%; flex-direction: column; align-items: stretch; gap: 12px; }
  .nav ul { flex-direction: column; }
  .nav a:not(.btn) { min-height: 60px; font-size: 1.1rem; border: 1px solid rgba(255,255,255,.25); }
  .nav { padding-bottom: 8px; }
  .js .nav:not(.is-open) { display: none; }
}

/* botones: grandes, con texto claro y sin efectos que muevan el botón */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 60px; padding: 12px 28px; border-radius: var(--r); border: 2px solid transparent; font: inherit; font-weight: 700; text-decoration: none; cursor: pointer; transition: background-color .2s, color .2s, border-color .2s; }
.btn .icon { transition: transform .2s; }
.btn:hover .icon:last-child { transform: translateX(4px); }
.btn--primary { background: var(--navy); color: #fff; }
.btn--primary:hover { background: var(--navy-2); color: #fff; }
.btn--gold { background: var(--gold); color: var(--navy); }
.btn--gold:hover { background: #DDBE7E; color: var(--navy); }
.btn--wa { background: var(--wa); color: #fff; }
.btn--wa:hover { background: #17603C; color: #fff; }
.btn--line { background: var(--white); color: var(--navy); border-color: var(--navy); }
.btn--line:hover { background: var(--navy); color: #fff; }
.btn--block { width: 100%; }
.actions { display: flex; flex-wrap: wrap; gap: 14px; margin-block: 8px 20px; }

/* tipografía */
.eyebrow { margin-bottom: .6em; font-weight: 700; font-size: .9rem; letter-spacing: .06em; text-transform: uppercase; color: var(--gold-ink); }
.eyebrow--light { color: var(--gold); }
.h1, .hero__title { font-family: var(--serif); font-weight: 400; font-size: clamp(2rem, 4.4vw, 3.1rem); line-height: 1.15; }
.h2 { font-family: var(--serif); font-weight: 400; font-size: clamp(1.6rem, 3vw, 2.3rem); }
.h3 { font-size: 1.15rem; display: flex; align-items: center; gap: 10px; }
.gold { color: var(--gold-ink); font-style: italic; }
.lead { font-size: 1.15rem; color: var(--ink-2); }
.muted { color: var(--ink-2); font-size: .95rem; }
.callout { margin-top: 1.4em; padding: 20px 24px; border-left: 6px solid var(--gold); background: var(--gold-soft); border-radius: 0 var(--r) var(--r) 0; font-size: 1.1rem; font-weight: 700; color: var(--navy); }

/* secciones */
.section { padding-block: clamp(56px, 8vw, 96px); }
.section--white { background: var(--white); }
.section--navy { background: var(--navy); color: #fff; }
.section--navy .h2, .section--navy p { color: #fff; }
.section--navy .lead--light { color: var(--gold); }
.section--navy a:not(.btn) { color: #fff; }
.page-head { padding-block: clamp(40px, 6vw, 72px); background: var(--white); border-bottom: 1px solid var(--line); }

/* portada */
.hero { padding-block: clamp(36px, 6vw, 72px); }
.hero__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 4vw, 56px); align-items: center; }
.hero__photo { margin: 0; border-radius: 20px; overflow: hidden; aspect-ratio: 4 / 3; max-width: 100%; }
.hero__photo img { width: 100%; height: 100%; object-fit: cover; }
.hero__phone { display: flex; align-items: center; gap: 10px; font-size: 1.1rem; }
.hero__phone a { font-weight: 700; }
@media (max-width: 900px) { .hero__grid { grid-template-columns: 1fr; } .hero__photo { order: -1; aspect-ratio: 16 / 9; } }

/* servicios */
.svc-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; margin-top: 32px; }
.svc { display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; }
.svc__img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.svc__body { display: flex; flex-direction: column; flex: 1; padding: 24px 28px 28px; }
.svc__title { font-size: 1.4rem; margin-bottom: .2em; }
.svc__tag { color: var(--ink-2); }
.svc .btn { margin-top: auto; align-self: flex-start; }
.ticks { display: grid; gap: 8px; margin-bottom: 24px; }
.ticks li { display: flex; gap: 12px; align-items: flex-start; }
.ticks .icon { color: var(--wa); margin-top: 3px; }
.ticks--big { gap: 10px; }
@media (max-width: 760px) { .svc-grid { grid-template-columns: 1fr; } }
.note { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 24px; margin-top: 32px; padding: 24px 28px; background: var(--gold-soft); border-radius: 16px; }
.note p { margin: 0; font-size: 1.15rem; font-weight: 700; color: var(--navy); }

/* cómo trabajamos */
.narrow-p { max-width: 42em; }
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: 32px; }
.step { display: flex; flex-direction: column; gap: 14px; padding: 24px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.2); border-radius: 16px; font-size: 1.15rem; font-weight: 700; }
.step__ico { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: var(--gold); color: var(--navy); }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr; } }

/* formas de contacto */
.ways { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-block: 28px 16px; }
.way { display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto; column-gap: 16px; align-items: center; padding: 22px 24px; border-radius: 16px; border: 2px solid var(--navy); background: var(--white); text-decoration: none; color: var(--navy); transition: background-color .2s; }
.way:hover { background: var(--gold-soft); color: var(--navy); }
.way__ico { grid-row: 1 / 3; display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: var(--navy); color: #fff; }
.way__label { font-size: .9rem; font-weight: 700; color: var(--ink-2); }
.way__value { font-size: 1.25rem; font-weight: 700; overflow-wrap: anywhere; }
.way__value--sm { font-size: 1rem; }
.way--phone { background: var(--navy); color: #fff; }
.way--phone .way__label { color: var(--gold); }
.way--phone .way__ico { background: var(--gold); color: var(--navy); }
.way--phone:hover { background: var(--navy-2); color: #fff; }
.way--wa .way__ico { background: var(--wa); }
@media (max-width: 900px) { .ways { grid-template-columns: 1fr; } }

/* páginas interiores */
.jump { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.jump a { display: inline-flex; align-items: center; min-height: 52px; padding: 0 20px; border-radius: 999px; border: 2px solid var(--navy); font-weight: 700; text-decoration: none; }
.jump a:hover { background: var(--navy); color: #fff; }
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 4vw, 56px); align-items: center; }
.split__img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 16px; }
.split--flip .split__img { order: 2; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } .split--flip .split__img { order: 0; } }
.values { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: 28px; }
.value { padding: 26px; background: var(--white); border: 1px solid var(--line); border-top: 6px solid var(--gold); border-radius: 16px; }
.value p { margin: 0; }
@media (max-width: 860px) { .values { grid-template-columns: 1fr; } }

/* formulario */
.contact-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: clamp(28px, 4vw, 56px); align-items: start; }
.form-card { padding: clamp(24px, 4vw, 44px); background: var(--white); border: 1px solid var(--line); border-radius: 20px; }
.field { margin-bottom: 22px; }
.field label { display: block; margin-bottom: 8px; font-weight: 700; font-size: 1.05rem; }
.req { color: var(--err); }
.field input, .field textarea { display: block; width: 100%; min-height: 60px; padding: 14px 16px; font: inherit; color: var(--ink); background: var(--white); border: 2px solid #6E6A63; border-radius: 10px; }
.field textarea { min-height: 180px; resize: vertical; }
.field input:focus, .field textarea:focus { outline: 4px solid #1A5FD0; outline-offset: 1px; border-color: var(--navy); }
.field [aria-invalid="true"] { border-color: var(--err); border-width: 3px; }
.field__error { margin: 8px 0 0; color: var(--err); font-weight: 700; }
.form__status { margin-top: 16px; font-weight: 700; }
.form__status:empty { display: none; }
.form__status.is-error { color: var(--err); } .form__status.is-ok { color: var(--ok); }
.form__ready { margin-top: 20px; padding: 22px; background: var(--gold-soft); border-radius: 14px; border: 2px solid var(--gold); }
.form__ready:focus { outline: none; }
.form__ready-title { display: flex; align-items: center; gap: 10px; font-size: 1.15rem; font-weight: 700; color: var(--ok); }
.form__honey { position: absolute; left: -9999px; }
.place img { border-radius: 16px; margin-bottom: 20px; width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.place address { margin-bottom: 16px; font-size: 1.05rem; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }

/* pie */
.foot { background: var(--navy); color: #fff; padding-top: 56px; }
.foot a { color: #fff; }
.foot a:hover { color: var(--gold); }
.foot__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr .8fr; gap: 32px; padding-bottom: 40px; }
.foot__logo { width: 220px; margin-bottom: 16px; }
.foot__h { color: var(--gold); font-family: var(--sans); font-size: 1rem; text-transform: uppercase; letter-spacing: .06em; }
.foot ul li { margin-bottom: 6px; }
.foot__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-block: 20px 28px; border-top: 1px solid rgba(255,255,255,.2); font-size: .9rem; }
.foot__bottom p { margin: 0; }
@media (max-width: 900px) { .foot__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .foot__grid { grid-template-columns: 1fr; } }

/* movimiento mínimo: solo una aparición suave al cargar */
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
  main { animation: fadein .5s ease-out both; }
  @keyframes fadein { from { opacity: 0; } to { opacity: 1; } }
}
@media (max-width: 560px) {
  .topbar__inner { justify-content: center; }
  .topbar__phone { width: 100%; justify-content: center; font-size: 1.05rem; }
  .actions .btn { width: 100%; }
}

/* ajustes tras revisar en móvil */
.ways { grid-template-columns: 1fr 1fr 1.35fr; }
@media (max-width: 900px) { .ways { grid-template-columns: 1fr; } }
@media (max-width: 1000px) {
  .nav a:not(.btn) { display: flex; width: 100%; }
}
@media (max-width: 560px) {
  .hdr__brand { padding: 4px 0; }
  .hdr__brand img { height: 40px; }
  .menu-btn { padding: 0 16px; }
  .topbar__right { width: 100%; justify-content: center; }
  .langs { display: grid; grid-template-columns: 1fr 1fr; width: 100%; }
  .langs a { justify-content: center; }
  .textsize { width: 100%; justify-content: center; }
}

/* versión más delicada del botón de menú y de los recuadros */
.menu-btn { min-height: 48px; padding: 0 18px 0 14px; gap: 10px; border: 1px solid rgba(255,255,255,.45); border-radius: 999px; font-weight: 400; letter-spacing: .02em; }
.menu-btn__bars { gap: 4px; width: 18px; }
.menu-btn__bars i { height: 1.5px; }
.menu-btn:hover, .menu-btn[aria-expanded="true"] { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.8); }
@media (max-width: 560px) { .menu-btn { padding: 0 16px 0 12px; } }

.svc, .value, .form-card { border: 1px solid rgba(10,21,38,.08); box-shadow: 0 1px 2px rgba(10,21,38,.04), 0 8px 24px -12px rgba(10,21,38,.12); }
.value { border-top: 1px solid rgba(10,21,38,.08); }
.value::before { content: ""; display: block; width: 40px; height: 2px; background: var(--gold); margin-bottom: 18px; }
.way { border: 1px solid rgba(10,21,38,.12); box-shadow: 0 8px 24px -14px rgba(10,21,38,.15); }
.way__ico { width: 48px; height: 48px; }
.way--phone { border-color: var(--navy); }
.btn--line { border-width: 1px; }
.step { border-color: rgba(255,255,255,.12); background: rgba(255,255,255,.05); }
.jump a { border-width: 1px; }
