:root {
  /* Colores corporativos (logo): turquesa #03A2B2, lima #D5E03F, gris #4D4C4E */
  --brand-logo: #03a2b2;   /* turquesa del logo: acentos y superficies */
  --brand: #007f8c;        /* turquesa oscurecido: texto y botones con contraste AA */
  --brand-dark: #00636d;
  --brand-soft: #e3f4f6;
  --lime: #d5e03f;
  --lime-soft: #f4f7d2;
  --ink: #3a393c;          /* gris del logo, algo más oscuro para lectura */
  --muted: #646367;
  --line: #dde7e9;
  --bg: #fcfdfd;
  --tint: #f1f7f8;
  --card: #ffffff;
  --radius: 14px;
  --serif: "Nunito", system-ui, sans-serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; }
body { margin: 0; font-family: var(--sans); color: var(--ink); background: var(--bg); line-height: 1.6; font-size: 16px; }
img { max-width: 100%; display: block; }
a { color: var(--brand); }
h1, h2, h3 { line-height: 1.2; margin: 0 0 .6em; }
h1, h2 { font-family: var(--serif); font-weight: 800; letter-spacing: -.015em; }
h1 { font-size: clamp(2rem, 4.5vw, 3.1rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); }
h3 { font-size: 1.05rem; font-weight: 600; }
p { margin: 0 0 1em; }
.wrap { width: min(1120px, 100% - 32px); margin-inline: auto; }
.muted { color: var(--muted); }
.small { font-size: .875rem; }

/* Botones y enlaces */
.btn { display: inline-block; background: var(--brand); color: #fff; text-decoration: none; padding: .75em 1.3em; border-radius: 999px; font-weight: 600; border: 2px solid var(--brand); transition: background .15s; }
.btn:hover { background: var(--brand-dark); border-color: var(--brand-dark); }
.btn-ghost { background: transparent; color: var(--brand); }
.btn-ghost:hover { background: var(--brand-soft); color: var(--brand-dark); }
.btn-small { padding: .45em 1em; font-size: .9rem; }
.link { font-weight: 600; text-decoration: none; }
.link:hover { text-decoration: underline; }
.eyebrow { display: inline-block; border-bottom: 3px solid var(--lime); padding-bottom: 2px; text-transform: uppercase; letter-spacing: .08em; font-size: .78rem; font-weight: 600; color: var(--brand); margin-bottom: .6em; }

/* Cabecera */
.site-header { position: sticky; top: 0; z-index: 10; border-top: 4px solid var(--brand-logo); background: rgba(252,253,253,.94); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 84px; }
.brand { display: flex; align-items: center; gap: .7rem; text-decoration: none; color: var(--ink); }
.brand-logo { height: 60px; width: auto; }
.nav { display: flex; align-items: center; gap: 1.4rem; }
.nav a:not(.btn) { color: var(--ink); text-decoration: none; font-weight: 500; font-size: .95rem; }
.nav a:not(.btn):hover { color: var(--brand); }
.nav-toggle { display: none; background: none; border: 0; padding: 8px; cursor: pointer; }
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--ink); margin: 5px 0; }

/* Hero */
.hero { padding: 72px 0 64px; background: radial-gradient(700px 360px at 95% 0%, var(--lime-soft), transparent 65%), radial-gradient(900px 420px at 60% -20%, var(--brand-soft), transparent 60%); }
.hero-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 48px; align-items: center; }
.lead { font-size: 1.15rem; color: var(--muted); max-width: 34em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.5rem; }
.status-card { background: var(--card); border: 1px solid var(--line); border-top: 4px solid var(--brand-logo); border-radius: var(--radius); padding: 24px; box-shadow: 0 10px 30px -18px rgba(20,60,40,.35); }
.status-card hr { border: 0; border-top: 1px solid var(--line); margin: 16px 0; }
.status-row { display: flex; align-items: center; gap: .6rem; font-size: 1.1rem; }
.dot { width: 10px; height: 10px; border-radius: 50%; background: #aab5ae; }
.dot.is-open { background: var(--brand-logo); box-shadow: 0 0 0 4px rgba(3,162,178,.2); }
.dot.is-closed { background: #c2553f; }
.status-label { font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin: 0 0 .2em; }
.next-guard { font-family: var(--serif); font-weight: 700; font-size: 1.2rem; margin-bottom: .5em; }

/* Secciones */
.section { padding: 80px 0; }
.section-tint { background: var(--tint); }
.section-intro { color: var(--muted); max-width: 40em; margin-bottom: 2rem; }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.photo-placeholder { aspect-ratio: 4 / 3; border-radius: var(--radius); background: repeating-linear-gradient(45deg, var(--brand-soft) 0 12px, #f7fbfb 12px 24px); border: 1px dashed #a9d6dc; display: grid; place-items: center; color: var(--muted); font-size: .9rem; }
.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 56px; }
.value { border-top: 4px solid var(--lime); padding-top: 16px; }
.value p { color: var(--muted); margin: 0; }

/* Servicios */
.services { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 18px; }
.service { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; transition: transform .15s, box-shadow .15s; }
.service:hover { transform: translateY(-2px); box-shadow: 0 12px 28px -20px rgba(20,60,40,.45); }
.service-icon { width: 46px; height: 46px; border-radius: 50%; background: var(--brand-logo); color: var(--lime); display: grid; place-items: center; margin-bottom: 14px; }
.service-icon svg { width: 24px; height: 24px; }
.service p { color: var(--muted); font-size: .94rem; margin: 0; }

/* Horario */
.hours { width: 100%; border-collapse: collapse; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.hours th, .hours td { padding: 18px 22px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.hours tr:last-child th, .hours tr:last-child td { border-bottom: 0; }
.hours th { font-weight: 500; }
.hours td { text-align: right; font-weight: 600; font-variant-numeric: tabular-nums; }
.hours td small { font-weight: 400; color: var(--muted); }
.hours tr.is-today { background: var(--brand-soft); }
.hours tr.is-today th::after { content: "Hoy"; margin-left: .6em; font-size: .72rem; font-weight: 700; background: var(--lime); color: var(--ink); padding: .15em .55em; border-radius: 999px; vertical-align: middle; }

/* Guardias */
.guard-filter { display: flex; gap: .5rem; margin-bottom: 1.2rem; }
.chip { font: inherit; font-size: .9rem; font-weight: 500; border: 1px solid var(--line); background: var(--card); color: var(--ink); padding: .4em 1em; border-radius: 999px; cursor: pointer; }
.chip.is-active { background: var(--brand); border-color: var(--brand); color: #fff; }
.guards { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 12px; }
.guard { display: flex; align-items: center; gap: 16px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 16px; }
.guard.is-past { opacity: .5; }
.guard.is-today { border-color: var(--brand-logo); box-shadow: 0 0 0 3px var(--lime-soft); }
.guard-date { width: 54px; flex: none; text-align: center; background: var(--brand-logo); border-radius: 10px; padding: 6px 0; color: #fff; }
.guard-date .day { display: block; font-family: var(--serif); font-size: 1.5rem; font-weight: 800; line-height: 1; }
.guard-date .mon { font-size: .75rem; text-transform: uppercase; letter-spacing: .06em; }
.guard-info { display: flex; flex-direction: column; font-size: .95rem; }
.guard-info span { color: var(--muted); font-size: .875rem; }
.badge { margin-left: auto; background: var(--lime); color: var(--ink); font-size: .75rem; font-weight: 600; padding: .2em .7em; border-radius: 999px; }

/* Dónde estamos */
address { font-style: normal; font-size: 1.1rem; margin-bottom: 1.2rem; }
.contact-list { list-style: none; padding: 0; margin: 0 0 1rem; }
.contact-list li { display: flex; justify-content: space-between; gap: 1rem; padding: 10px 0; border-bottom: 1px solid var(--line); }
.contact-list span { color: var(--muted); }
.contact-list a { font-weight: 600; text-decoration: none; }
.map { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); aspect-ratio: 4 / 3; background: var(--tint); }
.map iframe { width: 100%; height: 100%; border: 0; display: block; }

/* Pie */
.site-footer { background: #3a393c; color: #dedde0; border-top: 6px solid var(--brand-logo); padding: 56px 0 24px; }
.site-footer a { color: #fff; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 32px; }
.footer-brand { font-family: var(--serif); font-weight: 800; font-size: 1.2rem; color: #fff; }
.footer-logo { height: 54px; width: auto; background: #fff; padding: 8px 12px; border-radius: 10px; margin-bottom: 14px; }
.footer-title { font-weight: 700; color: var(--lime); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); margin-top: 32px; padding-top: 20px; color: #a9a8ac; }

/* Responsive */
@media (max-width: 860px) {
  .hero-grid, .two-col { grid-template-columns: 1fr; gap: 32px; }
  .values { grid-template-columns: 1fr; gap: 24px; }
  .footer-grid { grid-template-columns: 1fr; gap: 16px; }
  .nav-toggle { display: block; }
  .nav { display: none; position: absolute; top: 88px; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; background: var(--bg); border-bottom: 1px solid var(--line); padding: 8px 16px 16px; }
  .nav.is-open { display: flex; }
  .nav a:not(.btn) { padding: 12px 0; border-bottom: 1px solid var(--line); }
  .nav .btn { margin-top: 12px; text-align: center; }
  .section { padding: 56px 0; }
  .hero { padding: 48px 0; }
  .guards { grid-template-columns: 1fr; }
}
@media (max-width: 420px) {
  .brand-logo { height: 50px; }
}
