/*
Theme Name: Susana Sánchez Fisioterapia
Theme URI: https://susanasanchezfisioterapia.com/
Description: Theme custom para el centro de Fisioterapia, Suelo Pélvico y Sexología Susana Sánchez (Albacete). Child theme de Astra con todas las plantillas, schema, CPT Glosario y sistema de diseño completo.
Author: Susana Sánchez Fisioterapia
Author URI: https://susanasanchezfisioterapia.com/
Template: astra
Version: 2.0.0
Text Domain: susana-sanchez
*/

/* ==========================================================================
   TOKENS DEL SISTEMA DE DISEÑO
   ========================================================================== */
:root {
  /* Color · Brand */
  --color-primary: #774068;
  --color-primary-light: #9F568A;
  --color-primary-dark: #5C2F50;
  --color-accent: #205B4F;
  --color-accent-light: #3D8474;

  /* Color · Backgrounds */
  --bg-blush: #F4E0DA;
  --bg-sage: #D9E8E5;
  --bg-cream: #F8F8F8;
  --bg-white: #FFFFFF;

  /* Color · Text */
  --text-primary: #2A2A2A;
  --text-secondary: #5C5854;
  --text-muted: #9A9692;

  /* Color · Borders */
  --border-default: #E5E1DD;
  --border-strong: #C9C4BE;

  /* Color · States */
  --color-success: #2E7D5B;
  --color-warning: #C77D2C;
  --color-error: #B43A3A;
  --color-info: #3D6FA8;

  /* Type · Families */
  --font-display: "Roboto Condensed", system-ui, sans-serif;
  --font-editorial: "Playfair Display", Georgia, serif;
  --font-body: "Roboto", system-ui, sans-serif;
  --font-logo: "Quicksand", "Montserrat", system-ui, sans-serif;

  /* Type · Scale (desktop) */
  --fs-xs: 13px;
  --fs-sm: 14px;
  --fs-base: 17px;
  --fs-md: 19px;
  --fs-lg: 24px;
  --fs-xl: 32px;
  --fs-2xl: 42px;
  --fs-3xl: 56px;
  --fs-hero: 80px;

  /* Spacing */
  --space-1: 4px;  --space-2: 8px;  --space-3: 12px; --space-4: 16px;
  --space-6: 24px; --space-8: 32px; --space-12: 48px; --space-16: 64px;
  --space-24: 96px; --space-32: 128px;

  /* Radii */
  --radius-sm: 4px;  --radius-md: 8px;  --radius-lg: 16px;  --radius-pill: 999px;

  /* Shadows */
  --shadow-sm: 0 1px 2px rgba(42,42,42,.06);
  --shadow-md: 0 4px 12px rgba(42,42,42,.08);
  --shadow-lg: 0 12px 32px rgba(42,42,42,.12);
  --shadow-focus: 0 0 0 3px rgba(119,64,104,.25);

  /* Layout */
  --container-max: 1280px;
  --header-height: 90px;
  --header-height-scrolled: 64px;
}

/* Tablet+ */
@media (max-width: 1024px) {
  :root {
    --fs-base: 16px;  --fs-md: 18px;
    --fs-lg: 22px;    --fs-xl: 28px;
    --fs-2xl: 34px;   --fs-3xl: 42px;
    --fs-hero: 52px;
    --space-24: 64px; --space-32: 80px;
    --header-height: 68px;
  }
}

/* Base reset */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 100px; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--fs-base);
  line-height: 1.65;
  color: var(--text-primary);
  background: var(--bg-white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
::selection { background: var(--color-primary-light); color: #fff; }
:focus-visible { outline: none; box-shadow: var(--shadow-focus); border-radius: var(--radius-sm); }

img, svg { max-width: 100%; height: auto; display: block; }

/* Typography defaults */
h1, h2, h3, h4, h5, h6 { font-family: var(--font-display); color: var(--text-primary); line-height: 1.15; margin: 0 0 var(--space-4); }
h1 { font-size: var(--fs-3xl); font-weight: 700; }
h2 { font-size: var(--fs-2xl); font-weight: 700; }
h3 { font-size: var(--fs-xl); font-weight: 500; }
h4 { font-size: var(--fs-lg); font-weight: 500; }
.h-editorial, h2.h-editorial, h3.h-editorial { font-family: var(--font-editorial); font-weight: 600; }

p { margin: 0 0 var(--space-4); }
a { color: var(--color-primary); text-decoration: none; transition: color 200ms ease; }
a:hover { color: var(--color-primary-dark); }

/* Utility classes */
.container { max-width: var(--container-max); margin: 0 auto; padding-left: var(--space-6); padding-right: var(--space-6); }
.bg-blush { background-color: var(--bg-blush); }
.bg-sage  { background-color: var(--bg-sage); }
.bg-cream { background-color: var(--bg-cream); }
.bg-primary { background-color: var(--color-primary); color: #fff; }
.bg-primary h1, .bg-primary h2, .bg-primary h3, .bg-primary p { color: #fff; }
.text-center { text-align: center; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

.section { padding: var(--space-24) 0; }
.section-sm { padding: var(--space-12) 0; }

/* The actual styling lives in assets/css/main.css. This file holds only tokens. */
