/* ═══════════════════════════════════════════════════════════════════════════
   Praxis Photo Academy — shared stylesheet for the inner pages
   (equipo / servicios / portafolio / contacto).
   Tokens and components mirror the "Praxis Home v3" desktop design and m.html.
   ═══════════════════════════════════════════════════════════════════════ */

/* — fonts (local, /assets) — */
/* Caprasimo · latin-ext */
@font-face {
  font-family: 'Caprasimo';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/assets/8208ac01.woff2") format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* Caprasimo · latin */
@font-face {
  font-family: 'Caprasimo';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/assets/dc9f20d2.woff2") format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* Figtree · latin-ext */
@font-face {
  font-family: 'Figtree';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/assets/a3bd1c66.woff2") format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* Figtree · latin */
@font-face {
  font-family: 'Figtree';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/assets/d8d306e1.woff2") format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Figtree';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("/assets/a3bd1c66.woff2") format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Figtree';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("/assets/d8d306e1.woff2") format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Figtree';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("/assets/a3bd1c66.woff2") format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Figtree';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("/assets/d8d306e1.woff2") format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* — tokens: Praxis brand palette on the design-system roles — */
:root {
  --color-bg: #F6EBE8;            /* paper */
  --color-surface: #EDE4D8;       /* warm cream */
  --color-text: #3C3C3C;          /* charcoal */
  --color-accent: #A05870;        /* rose */
  --color-accent-2: #7A8B68;      /* sage / olive */
  --color-divider: color-mix(in srgb, #3C3C3C 16%, transparent);

  --color-accent-100: color-mix(in srgb, #A05870 12%, #F6EBE8);
  --color-accent-200: color-mix(in srgb, #A05870 22%, #F6EBE8);
  --color-accent-300: color-mix(in srgb, #A05870 34%, #F6EBE8);
  --color-accent-500: #A05870;
  --color-accent-600: #8f4c63;
  --color-accent-700: #7d4055;
  --color-accent-800: #693646;
  --color-accent-900: #552b39;

  --color-accent-2-100: color-mix(in srgb, #7A8B68 13%, #F6EBE8);
  --color-accent-2-200: color-mix(in srgb, #7A8B68 24%, #F6EBE8);
  --color-accent-2-300: color-mix(in srgb, #7A8B68 36%, #F6EBE8);
  --color-accent-2-500: #7A8B68;
  --color-accent-2-600: #69795a;
  --color-accent-2-700: #4F5F45;
  --color-accent-2-800: #42503a;
  --color-accent-2-900: #35402e;

  --color-neutral-100: #EDE4D8;
  --color-neutral-200: color-mix(in srgb, #B9A48A 34%, #F6EBE8);
  --color-neutral-300: #B9A48A;
  --color-neutral-700: #6E6762;
  --color-neutral-800: #544e4a;
  --color-neutral-900: #3C3C3C;

  --font-heading: "Caprasimo", system-ui, sans-serif;
  --font-heading-weight: 400;
  --font-body: "Figtree", system-ui, sans-serif;

  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 28px;

  --shadow-md: 0 3px 10px color-mix(in srgb, #2e2b25 16%, transparent);
  --shadow-lg: 0 12px 32px color-mix(in srgb, #2e2b25 22%, transparent);
}

/* — base — */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  background: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.65;
  text-wrap: pretty;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: var(--font-heading-weight);
  line-height: 1.12;
  letter-spacing: -0.015em;
  margin: 0;
}
p { margin: 0 0 14px; }
img { display: block; max-width: 100%; height: auto; }
figure { margin: 0; }
a { color: var(--color-accent-700); text-decoration: none; text-underline-offset: 3px; }
a:hover { color: var(--color-accent-800); }
:focus { outline: none; }
:focus-visible { outline: 2px solid var(--color-accent); outline-offset: 2px; }
::selection { background: color-mix(in srgb, var(--color-accent) 30%, transparent); }
.text-muted { color: color-mix(in srgb, var(--color-text) 65%, transparent); }
.washed { filter: saturate(0.6) contrast(0.85) brightness(1.1) opacity(0.94); }

/* — layout — */
.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 clamp(20px, 5vw, 64px);
  position: relative;
  z-index: 1;
}
.page-deco {
  position: absolute; right: -160px; top: -200px;
  width: 440px; height: 440px; border-radius: 50%;
  background: var(--color-accent-2-200);
  pointer-events: none; z-index: 0;
}

/* — buttons — */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  cursor: pointer; text-decoration: none;
  font-family: var(--font-heading); font-weight: var(--font-heading-weight);
  font-size: 14px; line-height: 1.2; color: var(--color-text);
  background: transparent; border: 1px solid transparent;
  padding: 9px 18px; border-radius: 999px;
}
.btn-primary { background: var(--color-accent); color: var(--color-bg); }
.btn-primary:hover { background: var(--color-accent-600); color: var(--color-bg); }
.btn-primary:active { background: var(--color-accent-700); }
.btn-secondary { border-color: var(--color-divider); color: var(--color-text); }
.btn-secondary:hover { background: color-mix(in srgb, var(--color-text) 7%, transparent); color: var(--color-text); }
.btn-ghost { color: var(--color-accent); padding-inline: 6px; }
.btn-ghost:hover { background: color-mix(in srgb, var(--color-accent) 10%, transparent); color: var(--color-accent-700); }

/* — tags — */
.tag {
  display: inline-flex; align-items: center; font-size: 11px;
  letter-spacing: 0.02em; padding: 3px 10px; border-radius: 999px;
}
.tag-accent { background: var(--color-accent-100); color: var(--color-accent-800); }
.tag-accent-2 { background: var(--color-accent-2-100); color: var(--color-accent-2-800); }
.tag-neutral { background: var(--color-neutral-100); color: var(--color-neutral-800); }
.tag-outline { border: 1px solid var(--color-accent); color: var(--color-accent); }

/* — cards — */
.card {
  display: flex; flex-direction: column; gap: 9px;
  padding: 22px; border-radius: calc(var(--radius-lg) * 1.15);
  background: var(--color-surface);
}
.card-kicker { font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--color-accent); font-weight: 600; }
.card-title { font-family: var(--font-heading); font-weight: var(--font-heading-weight); font-size: 17px; line-height: 1.2; }
.card-body { margin: 0; font-size: 13px; opacity: 0.8; flex: 1; }

/* — section rhythm — */
.kicker {
  display: block; font-size: 13px; letter-spacing: .06em; text-transform: uppercase;
  font-weight: 600; color: var(--color-accent-700); margin-bottom: 14px;
}
.kicker-2 { color: var(--color-accent-2-800); }
.section { padding: clamp(40px, 6vw, 88px) 0; }
.section-tight { padding: clamp(24px, 4vw, 56px) 0; }
.section-head {
  display: flex; justify-content: space-between; align-items: flex-end;
  flex-wrap: wrap; gap: 18px; margin-bottom: 40px;
}
.section-head h2 { font-size: clamp(30px, 3.8vw, 48px); line-height: 1.1; margin-left: -0.028em; }
.section-head .aside { max-width: 38ch; font-size: 15px; color: color-mix(in srgb, var(--color-text) 72%, transparent); margin: 0; }
.h1 { font-size: clamp(38px, 5vw, 64px); line-height: 1.08; margin-left: -0.028em; }
.lead { font-size: 17px; max-width: 56ch; color: color-mix(in srgb, var(--color-text) 80%, transparent); }

/* — organic image masks — */
.blob { border-radius: 46% 54% 48% 52% / 52% 46% 54% 48%; overflow: hidden; }
.rounded { border-radius: var(--radius-lg); overflow: hidden; }
.rounded-xl { border-radius: calc(2 * var(--radius-lg)); overflow: hidden; }
.pill-badge {
  background: var(--color-accent-100); color: var(--color-accent-800);
  border-radius: 999px; padding: 10px 18px; font-size: 12.5px; font-weight: 600;
  letter-spacing: .06em; text-transform: uppercase;
}

/* — tinted panels (like the home "Nosotros"/"Contacto" bands) — */
.panel { border-radius: calc(2 * var(--radius-lg)); padding: clamp(28px, 4.5vw, 64px); }
.panel-olive { background: var(--color-accent-2-100); }
.panel-rose { background: var(--color-accent-100); }
.panel-cream { background: var(--color-surface); }

/* — navigation — */
.nav {
  display: flex; align-items: center; flex-wrap: wrap;
  gap: 14px 18px; padding: 16px clamp(16px, 3vw, 28px);
  position: relative; z-index: 5;
}
.nav-brand {
  font-family: var(--font-heading); font-weight: var(--font-heading-weight);
  font-size: 18px; margin-right: auto; color: var(--color-text); white-space: nowrap;
}
.nav-brand:hover { color: var(--color-accent-700); }
.nav-links { display: flex; align-items: center; gap: 18px; }
.nav-links a { color: inherit; font-size: 14px; white-space: nowrap; }
.nav-links a:hover { color: var(--color-accent); }
.nav-links a[aria-current='page'] { color: var(--color-accent); font-weight: 600; }
.nav .btn { flex: none; }
@media (max-width: 860px) {
  .nav-links {
    order: 3; width: 100%;
    overflow-x: auto; -webkit-overflow-scrolling: touch;
    padding-bottom: 4px; scrollbar-width: none;
  }
  .nav-links::-webkit-scrollbar { display: none; }
}

/* — footer — */
.foot {
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap;
  gap: 14px 24px; padding: clamp(32px, 5vw, 64px) 0 clamp(32px, 4vw, 56px);
  font-size: 13.5px; color: color-mix(in srgb, var(--color-text) 65%, transparent);
  border-top: 1px solid var(--color-divider); margin-top: clamp(24px, 4vw, 48px);
}
.foot-brand { font-family: var(--font-heading); font-weight: var(--font-heading-weight); font-size: 19px; color: var(--color-text); }
.foot-links { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.foot-links a { font-weight: 600; color: var(--color-accent-800); }
.foot-links a:hover { color: var(--color-accent-700); }

/* — contact rows (circle glyph + label, as on the home contact band) — */
.contact-row {
  display: flex; align-items: center; gap: 12px;
  font-weight: 600; color: var(--color-accent-800); font-size: 15px;
  overflow-wrap: anywhere;
}
.contact-row .glyph {
  width: 40px; height: 40px; border-radius: 50%; background: var(--color-accent-200);
  flex: none; display: grid; place-content: center; font-weight: 700;
}

/* — CTA band shared by the inner pages — */
.cta-band { padding: 0 0 clamp(40px, 6vw, 80px); }
.cta-band .panel {
  display: grid; grid-template-columns: minmax(280px, 1.15fr) minmax(240px, .85fr);
  gap: clamp(24px, 4vw, 56px); align-items: center;
}
.cta-band h2 { font-size: clamp(28px, 3.6vw, 46px); line-height: 1.12; margin-left: -0.028em; }
@media (max-width: 760px) {
  .cta-band .panel { grid-template-columns: 1fr; }
}

/* — two-column hero used on the inner pages — */
.page-hero {
  display: grid; grid-template-columns: minmax(300px, 1.08fr) minmax(260px, .92fr);
  gap: clamp(28px, 5vw, 72px); align-items: center;
  padding: clamp(40px, 6vw, 80px) 0 clamp(32px, 5vw, 56px);
}
@media (max-width: 820px) {
  .page-hero { grid-template-columns: 1fr; }
}
