/*
Theme Name: Servicios en Getafe
Description: Tema hijo editorial para el directorio serviciosengetafe.com.
Author: Servicios en Getafe
Template: atlas-marbella-theme
Version: 1.1.6
Text Domain: servicios-getafe
*/

:root {
  --ink: #243746;
  --muted: #63737c;
  --terracotta: #9c4f58;
  --sea: #375a6b;
  --sea-dark: #243f4d;
  --line: #d8e0e2;
  --sg-ink: #243746;
  --sg-slate: #375a6b;
  --sg-slate-dark: #243f4d;
  --sg-accent: #9c4f58;
  --sg-paper: #fbfaf6;
  --sg-white: #fff;
  --sg-mist: #e8eff1;
  --sg-sand: #eee5d7;
  --sg-line: #d8e0e2;
  --sg-muted: #63737c;
  --sg-max: 1180px;
  --sg-radius: 18px;
  --sg-shadow: 0 16px 42px rgba(36, 55, 70, .10);
}

body { background: var(--sg-paper); color: var(--sg-ink); font-family: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif; }
h1, h2, .sg-display { font-family: Georgia, "Times New Roman", serif; font-weight: 400; letter-spacing: -.035em; }
a { color: var(--sg-slate-dark); }
.sg-wrap { width: min(calc(100% - 40px), var(--sg-max)); margin-inline: auto; }
.sg-eyebrow { color: var(--sg-accent); font-size: .76rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
.sg-hero { background: linear-gradient(110deg, rgba(251,250,246,.98) 5%, rgba(232,239,241,.72) 70%, rgba(55,90,107,.14)); padding: clamp(70px, 9vw, 130px) 0; }
.sg-hero h1 { font-size: clamp(3.2rem, 7.2vw, 6.5rem); line-height: .98; max-width: 900px; margin: 22px 0 26px; }
.sg-hero p { max-width: 720px; font-size: clamp(1.05rem, 2vw, 1.35rem); line-height: 1.6; color: var(--sg-muted); }
.sg-section { padding: clamp(56px, 8vw, 100px) 0; }
.sg-section h2 { font-size: clamp(2.2rem, 4vw, 3.8rem); line-height: 1.05; margin: 12px 0 28px; }
.sg-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.sg-grid--two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.sg-card { background: var(--sg-white); border: 1px solid var(--sg-line); border-radius: var(--sg-radius); padding: 26px; box-shadow: var(--sg-shadow); }
.sg-card h3 { margin: 0 0 12px; font-size: 1.28rem; }
.sg-card p, .sg-card li { color: var(--sg-muted); line-height: 1.65; }
.sg-card a { text-decoration-thickness: 1px; text-underline-offset: 4px; }
.sg-chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.sg-chip { background: var(--sg-white); border: 1px solid var(--sg-line); border-radius: 999px; padding: 9px 14px; font-size: .86rem; font-weight: 700; }
.sg-layout { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(280px, .75fr); gap: 30px; align-items: start; }
.sg-stack > * + * { margin-top: 24px; }
.sg-tile { border-radius: var(--sg-radius); padding: 28px; }
.sg-tile--mist { background: var(--sg-mist); }
.sg-tile--sand { background: var(--sg-sand); }
.sg-tile--slate { background: var(--sg-slate-dark); color: var(--sg-white); }
.sg-tile--slate a { color: var(--sg-white); }
.sg-actions { display: flex; flex-wrap: wrap; gap: 10px; margin: 28px 0; }
.sg-button { display: inline-flex; align-items: center; justify-content: center; min-height: 46px; padding: 0 18px; border: 1px solid var(--sg-slate); border-radius: 999px; background: var(--sg-slate); color: #fff; font-weight: 750; text-decoration: none; }
.sg-button--ghost { background: transparent; color: var(--sg-slate-dark); }
.sg-data { list-style: none; margin: 0; padding: 0; }
.sg-data li { border-top: 1px solid rgba(36,55,70,.13); padding: 14px 0; }
.sg-data strong { display: block; font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 4px; }
.sg-table { width: 100%; border-collapse: collapse; background: #fff; border-radius: var(--sg-radius); overflow: hidden; }
.sg-table th, .sg-table td { border-bottom: 1px solid var(--sg-line); padding: 15px 18px; text-align: left; vertical-align: top; }
.sg-table th { background: var(--sg-mist); font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; }
.sg-faq details { background: #fff; border: 1px solid var(--sg-line); border-radius: 14px; padding: 18px 20px; margin-top: 12px; }
.sg-faq summary { cursor: pointer; font-weight: 750; }
.sg-breadcrumb { font-size: .9rem; color: var(--sg-muted); margin-bottom: 28px; }
.sg-note { color: var(--sg-muted); font-size: .9rem; line-height: 1.6; }
@media (max-width: 820px) { .sg-grid, .sg-grid--two, .sg-layout { grid-template-columns: 1fr; } .sg-wrap { width: min(calc(100% - 28px), var(--sg-max)); } .sg-hero h1 { font-size: clamp(2.8rem, 13vw, 4.5rem); } }
