/* =========================================================
   Seguros Santiago Ramos — sistema de diseño
   Navy + azul + verde, titulares Oswald, UI Montserrat.
   Inspirado en las piezas gráficas de la marca.
   ========================================================= */

:root {
  --navy-900: #081a38;
  --navy-800: #0e2a54;
  --navy-700: #16386a;
  --blue-600: #2f5fa8;
  --blue-500: #4b74b8;
  --blue-band: #3a63ac;
  --blue-band-2: #294b88;
  --peri-400: #7c9bd1;
  --peri-300: #a9bee3;
  --peri-200: #cbd8ef;
  --sky-100: #e8eef8;
  --paper: #fbfaf7;
  --cream: #f5f1e8;
  --green: #2fa36b;
  --green-600: #1e7a4c;
  --ink: #16233d;
  --muted: #5a6a85;
  --line: #e2e6ef;
  --white: #ffffff;

  --font-display: "Oswald", "Arial Narrow", sans-serif;
  --font-body: "Montserrat", system-ui, -apple-system, "Segoe UI", sans-serif;

  --radius-sm: 10px;
  --radius: 18px;
  --radius-lg: 28px;
  --radius-xl: 40px;

  --shadow-sm: 0 4px 14px rgba(14, 42, 84, 0.08);
  --shadow: 0 18px 40px -20px rgba(14, 42, 84, 0.35);
  --shadow-lg: 0 40px 80px -40px rgba(8, 26, 56, 0.55);

  --container: 1180px;
  --header-h: 84px;
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.7;
  font-size: 17px;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img, svg, iframe { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
ul { list-style: none; padding: 0; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: 0.005em;
  text-transform: uppercase;
  color: var(--navy-800);
}

p { margin: 0 0 1.1em; }

.container { width: min(100% - 2.5rem, var(--container)); margin-inline: auto; }
.narrow { max-width: 760px; }
.center { text-align: center; }

.skip-link {
  position: absolute; left: -999px; top: 0; z-index: 200;
  background: var(--navy-800); color: #fff; padding: 12px 18px; border-radius: 0 0 10px 0;
}
.skip-link:focus { left: 0; }

/* ---------- buttons ---------- */
.btn {
  --btn-bg: var(--navy-800);
  --btn-fg: #fff;
  display: inline-flex; align-items: center; gap: 0.55rem;
  padding: 0.85rem 1.6rem;
  background: var(--btn-bg); color: var(--btn-fg);
  font-family: var(--font-body); font-weight: 700; font-size: 0.86rem;
  letter-spacing: 0.06em; text-transform: uppercase;
  border: 2px solid transparent; border-radius: 999px;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.btn .icon-sm { width: 18px; height: 18px; }
.btn-sm { padding: 0.55rem 1rem; font-size: 0.76rem; }
.btn-lg { padding: 1.05rem 2.1rem; font-size: 0.92rem; }
.btn-block { width: 100%; justify-content: center; }
.btn-primary { --btn-bg: var(--navy-800); }
.btn-primary:hover { --btn-bg: var(--navy-700); }
.btn-light { --btn-bg: #fff; --btn-fg: var(--navy-800); }
.btn-light:hover { --btn-bg: var(--sky-100); }
.btn-outline { --btn-bg: transparent; --btn-fg: var(--navy-800); border-color: var(--peri-300); }
.btn-outline:hover { --btn-bg: var(--navy-800); --btn-fg: #fff; border-color: var(--navy-800); }
.btn-ghost-light { --btn-bg: transparent; --btn-fg: #fff; border-color: rgba(255,255,255,0.5); }
.btn-ghost-light:hover { --btn-bg: rgba(255,255,255,0.12); border-color: #fff; }
.btn.danger { --btn-bg: #b3261e; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 0.4rem;
  font-weight: 700; font-size: 0.82rem; letter-spacing: 0.05em; text-transform: uppercase;
  color: var(--blue-600);
}
.link-arrow .icon-sm { width: 17px; height: 17px; transition: transform 0.25s ease; }
.link-arrow:hover .icon-sm { transform: translateX(4px); }

.icon { width: 26px; height: 26px; }
.icon-sm { width: 17px; height: 17px; }

/* ---------- iconography helpers ---------- */
.check-icon {
  width: 22px; height: 22px; padding: 4px; border-radius: 50%;
  background: rgba(47, 163, 107, 0.14); color: var(--green-600);
  flex: none;
}

/* =========================================================
   HEADER
   ========================================================= */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  height: var(--header-h); display: flex; align-items: center;
  transition: background 0.35s ease, box-shadow 0.35s ease, height 0.35s ease;
}
.site-header::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: rgba(8, 26, 56, 0.15); backdrop-filter: blur(2px);
  transition: opacity 0.35s ease; opacity: 0;
}
.site-header.scrolled {
  height: 72px; background: #ffffff; backdrop-filter: blur(10px);
  box-shadow: 0 10px 30px -18px rgba(8,26,56,0.5);
}
/* Pages without a dark hero start with a solid header */
body.header-solid .site-header {
  background: #ffffff; backdrop-filter: blur(10px);
  box-shadow: 0 10px 30px -18px rgba(8,26,56,0.5); height: 72px;
}
body.header-solid .brand-logo { filter: none; }
body.header-solid .site-header:not(.scrolled) .brand-logo { filter: none; }
body.header-solid .primary-nav ul a { color: var(--navy-800); }
body.header-solid .nav-toggle { background: var(--sky-100); }
body.header-solid .nav-toggle span { background: var(--navy-800); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; width: min(100% - 2.5rem, 1280px); }
.header-right { display: flex; align-items: center; gap: 1.6rem; }
.brand-logo { width: 178px; height: auto; transition: filter 0.3s ease; }
.site-header:not(.scrolled) .brand-logo { filter: brightness(0) invert(1) drop-shadow(0 2px 10px rgba(0,0,0,0.25)); }

.primary-nav { display: flex; align-items: center; gap: 2rem; }
.primary-nav ul { display: flex; gap: 1.9rem; }
.primary-nav ul a {
  position: relative; font-weight: 600; font-size: 0.86rem; letter-spacing: 0.04em;
  color: #fff; padding: 6px 0; transition: color 0.25s ease;
}
.site-header.scrolled .primary-nav ul a { color: var(--navy-800); }
.primary-nav ul a::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 2px; width: 0;
  background: var(--green); transition: width 0.3s ease;
}
.primary-nav ul a:hover::after, .primary-nav ul a.active::after { width: 100%; }
.primary-nav ul a.active { font-weight: 700; }
.btn-header { padding: 0.78rem 1.55rem; gap: 0.6rem; }
.primary-nav .btn-header { color: #fff; }

.nav-toggle {
  display: none; flex-direction: column; gap: 5px; width: 46px; height: 46px;
  align-items: center; justify-content: center; background: rgba(255,255,255,0.14);
  border: none; border-radius: 12px;
}
.nav-toggle span { width: 22px; height: 2px; background: #fff; transition: 0.3s; }
.site-header.scrolled .nav-toggle { background: var(--sky-100); }
.site-header.scrolled .nav-toggle span { background: var(--navy-800); }

/* =========================================================
   HERO / CARRUSEL
   ========================================================= */
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.hero { position: relative; background: var(--navy-900); overflow: hidden; aspect-ratio: 16 / 9; }
.hero-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; z-index: 0; background: var(--navy-900); }
.hero-video-overlay {
  position: absolute; inset: 0; z-index: 1; background: none;
}
.hero-slides { position: relative; z-index: 2; width: 100%; height: 100%; }
.hero-slide {
  position: absolute; inset: 0; display: flex; align-items: center;
  opacity: 0; visibility: hidden; transition: opacity 0.9s ease;
}
.hero-slide.is-active { opacity: 1; visibility: visible; }
.hero-media {
  position: absolute; inset: 0; background-size: cover; background-position: center;
  transform: scale(1.06); transition: transform 8s ease;
}
.hero-slide.is-active .hero-media { transform: scale(1); }
.hero-overlay {
  position: absolute; inset: 0;
  background: none;
}
.hero-content { position: relative; z-index: 2; padding-top: calc(var(--header-h) + 1.25rem); padding-bottom: 2.75rem; max-width: 780px; }
.hero-kicker {
  display: inline-block; margin-bottom: 1.1rem; padding: 0.4rem 1rem;
  background: rgba(124,155,209,0.22); border: 1px solid rgba(196,214,240,0.4);
  border-radius: 999px; color: var(--peri-200);
  font-size: 0.76rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase;
}
.hero-title {
  color: var(--green); font-weight: 700; font-size: clamp(2.1rem, 5vw, 3.8rem);
  line-height: 0.98; letter-spacing: 0.01em; margin-bottom: 1.2rem;
  text-shadow: 0 10px 40px rgba(0,0,0,0.3);
  max-width: 15ch;
}
.hero-quote { max-width: 640px; margin: 0; }
.hero-quote-mark {
  display: block; color: var(--green); font-family: Georgia, "Times New Roman", serif;
  font-weight: 700; font-size: clamp(6.5rem, 13vw, 10.5rem); line-height: 0.5;
  margin: 0 0 0.5rem 0.04em; text-shadow: 0 6px 26px rgba(0, 0, 0, 0.45);
}
.hero-quote-text {
  color: #fff; font-size: clamp(1.3rem, 2.5vw, 2rem); line-height: 1.34;
  letter-spacing: 0.004em; font-weight: 700; font-style: italic; margin: 0;
  text-shadow: 0 4px 22px rgba(0, 0, 0, 0.5), 0 1px 3px rgba(0, 0, 0, 0.4);
}
.hero-quote-mark--close { margin: 0.125em 0.04em -0.2em 0; line-height: 1; text-align: right; }
.hero-statement {
  color: #fff; font-family: var(--font-body); font-weight: 500;
  font-size: clamp(1.35rem, 3vw, 2.05rem); line-height: 1.42; letter-spacing: 0.005em;
  max-width: 60ch; margin: 0; text-shadow: 0 8px 34px rgba(0, 0, 0, 0.38);
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.9rem; }

.hero-arrow {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 3;
  width: 56px; height: 56px; border-radius: 50%; border: 1px solid rgba(255,255,255,0.35);
  background: rgba(255,255,255,0.1); color: #fff; display: grid; place-items: center;
  backdrop-filter: blur(4px); transition: 0.25s;
}
.hero-arrow:hover { background: #fff; color: var(--navy-800); }
.hero-prev { left: 1.4rem; }
.hero-next { right: 1.4rem; }
.hero-dots { position: absolute; left: 0; right: 0; bottom: 1.5rem; z-index: 3; display: flex; justify-content: center; gap: 0.6rem; }
.hero-dot { width: 42px; height: 4px; border-radius: 4px; border: none; background: rgba(255,255,255,0.35); transition: 0.3s; }
.hero-dot.is-active { background: var(--green); width: 64px; }

/* ---------- trust strip ---------- */
.trust { color: #fff; background-image: linear-gradient(rgba(10,26,50,0.86), rgba(10,26,50,0.86)), url('/uploads/slides/sr-hero-2.jpg'); background-size: cover; background-position: center; }
.trust-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem;
  padding: 2.2rem 0; text-align: center;
}
.trust-item { padding: 0.4rem 1rem; border-right: 1px solid rgba(255,255,255,0.14); }
.trust-item:last-child { border-right: none; }
.trust-num { display: block; font-family: var(--font-display); font-weight: 700; font-size: clamp(1.6rem, 3vw, 2.3rem); color: #fff; line-height: 1; }
.trust-label { display: block; margin-top: 0.4rem; font-size: 0.78rem; letter-spacing: 0.05em; text-transform: uppercase; color: var(--peri-200); }

/* =========================================================
   SECTIONS
   ========================================================= */
.section { padding: clamp(4rem, 9vw, 7rem) 0; position: relative; }
.section-intro { background: var(--paper); padding-top: clamp(4rem, 7vw, 6rem); padding-bottom: clamp(2.5rem, 4vw, 3.5rem); }
.section-services { background: linear-gradient(180deg, var(--paper), var(--sky-100)); padding-top: clamp(2.5rem, 4vw, 3.5rem); padding-bottom: clamp(2.5rem, 4vw, 3.5rem); }
.section-why { background: linear-gradient(135deg, var(--blue-band), var(--blue-band-2)); color: #fff; margin-top: 90px; }
.section-why::before {
  content: ""; position: absolute; left: 0; right: 0; top: -89px; height: 90px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 90' preserveAspectRatio='none'%3E%3Cpath d='M0,90 C260,8 520,-4 760,22 C1000,48 1220,72 1440,26 L1440,90 Z' fill='%233a63ac'/%3E%3C/svg%3E");
  background-size: 100% 100%; background-repeat: no-repeat;
}
.section-team-teaser { background: var(--paper); padding-top: clamp(2.5rem, 4vw, 3.5rem); padding-bottom: clamp(2.5rem, 4vw, 3.5rem); }
.section-blog { background: var(--cream); padding-top: clamp(2.5rem, 4vw, 3.5rem); padding-bottom: clamp(4rem, 7vw, 6rem); }
.section-timeline { background: var(--sky-100); padding-top: clamp(3rem, 5vw, 4rem); padding-bottom: clamp(3rem, 5vw, 4rem); }
.blog-section, .contact-main { padding-top: clamp(2.5rem, 4vw, 3.5rem); }
.section-values { background: var(--paper); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 0.55rem;
  font-family: var(--font-body); font-weight: 800; font-size: 0.78rem;
  letter-spacing: 0.18em; text-transform: uppercase; color: var(--green-600);
  margin-bottom: 0.9rem;
}
.eyebrow::before { content: ""; width: 28px; height: 2px; background: var(--green); border-radius: 2px; }
.eyebrow.light { color: var(--peri-200); }
.eyebrow.light::before { background: var(--green); }

.section-title { font-size: clamp(1.9rem, 4.3vw, 3.1rem); margin-bottom: 1rem; color: var(--navy-800); }
.section-title.title-green { color: var(--green); }
.section-title.left { text-align: left; }
.section-head.center { max-width: 780px; margin: 0 auto 3rem; }
.section-head.center .eyebrow { justify-content: center; }
.services-intro { padding-bottom: 0; }
.intro-panel {
  background: var(--cream);
  border: 1px solid var(--line);
  border-left: 5px solid var(--green);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  padding: clamp(1.7rem, 3vw, 2.5rem) clamp(1.6rem, 4vw, 3rem);
}
.intro-panel p:last-child { margin-bottom: 0; }
.section-head.portfolio-title { margin-top: clamp(2.5rem, 5vw, 3.25rem); margin-bottom: 0; }
.service-detail.is-first { padding-top: clamp(1.75rem, 3vw, 2.5rem); }
.section-head.between { display: flex; align-items: flex-end; justify-content: space-between; gap: 1.5rem; margin-bottom: 2.5rem; }
.section-sub { color: var(--muted); font-size: 1.05rem; max-width: 62ch; margin-inline: auto; }
.section-head.light .section-title { color: #fff; }
.section-head.light .section-sub { color: var(--peri-200); }

.lead { font-size: 1.12rem; color: var(--muted); }
.intro-paragraph { font-size: 1.2rem; color: var(--navy-700); font-weight: 500; }

/* ---------- split (intro) ---------- */
.split { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.split-media { position: relative; }
.media-frame {
  border-radius: var(--radius-xl);
  overflow: hidden; box-shadow: var(--shadow-lg);
  aspect-ratio: 4 / 5;
}
.media-frame img { width: 100%; height: 100%; object-fit: cover; }
.media-frame::after {
  content: ""; position: absolute; inset: 0; border-radius: var(--radius-xl);
  background: linear-gradient(160deg, rgba(47,95,168,0.28), rgba(8,26,56,0.5));
  mix-blend-mode: multiply;
}
.media-badge {
  position: absolute; right: -18px; bottom: 40px;
  background: var(--green); color: #fff; border-radius: 20px;
  padding: 1rem 1.4rem; text-align: center; box-shadow: var(--shadow);
}
.media-badge-num { display: block; font-family: var(--font-display); font-weight: 700; font-size: 2rem; line-height: 1; }
.media-badge-label { font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.14em; }

.check-list { display: grid; gap: 0.75rem; margin: 1.6rem 0 2rem; }
.check-list li { display: flex; align-items: flex-start; gap: 0.7rem; font-weight: 500; color: var(--navy-700); }

/* ---------- services cards ---------- */
.services-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.6rem; }
.service-card {
  position: relative; background: #fff; border-radius: var(--radius-lg);
  padding: 2.2rem; border: 1px solid var(--line);
  box-shadow: var(--shadow-sm); transition: transform 0.3s ease, box-shadow 0.3s ease;
  overflow: hidden;
}
.service-card::before {
  content: ""; position: absolute; left: 0; top: 0; height: 5px; width: 100%;
  background: linear-gradient(90deg, var(--blue-600), var(--green));
  transform: scaleX(0); transform-origin: left; transition: transform 0.4s ease;
}
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.service-card:hover::before { transform: scaleX(1); }
.service-icon {
  width: 58px; height: 58px; border-radius: 16px; display: grid; place-items: center;
  background: var(--sky-100); color: var(--navy-800); margin-bottom: 1.2rem;
}
.service-icon.lg { width: 74px; height: 74px; border-radius: 20px; }
.service-icon .icon { width: 28px; height: 28px; }
.service-icon.lg .icon { width: 34px; height: 34px; }
.service-card h3 { font-size: 1.35rem; margin-bottom: 0.6rem; }
.service-card p { color: var(--muted); font-size: 0.96rem; }
.service-points { display: grid; gap: 0.5rem; margin: 1.2rem 0 1.4rem; }
.service-points li { display: flex; align-items: center; gap: 0.6rem; font-size: 0.92rem; font-weight: 600; color: var(--navy-700); }

/* ---------- why band ---------- */
.why-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.4rem; }
.why-card {
  background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.2);
  border-radius: var(--radius); padding: 1.9rem; transition: 0.3s;
}
.why-card:hover { background: rgba(255,255,255,0.16); transform: translateY(-4px); }
.why-icon {
  width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center;
  background: var(--green); color: #fff; margin-bottom: 1.1rem;
}
.why-card h3 { color: #fff; font-size: 1.12rem; margin-bottom: 0.5rem; }
.why-card p { color: var(--peri-200); font-size: 0.92rem; margin: 0; }

/* ---------- team ---------- */
.team-teaser-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.8rem; }
.team-mini { display: block; background: #fff; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-sm); transition: transform 0.3s ease; color: inherit; }
.team-mini:focus-visible { outline: 3px solid var(--green); outline-offset: 3px; }
.team-mini-link { display: inline-flex; align-items: center; gap: 0.35rem; margin-top: 0.9rem; font-size: 0.74rem; font-weight: 700; letter-spacing: 0.07em; text-transform: uppercase; color: var(--blue-600); opacity: 0.85; }
.team-mini:hover .team-mini-link { opacity: 1; }
.team-mini-link .icon-sm { width: 15px; height: 15px; transition: transform 0.25s ease; }
.team-mini:hover .team-mini-link .icon-sm { transform: translateX(4px); }
.team-mini:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.team-mini-photo { aspect-ratio: 1 / 1; overflow: hidden; }
.team-mini-photo img { width: 100%; height: 100%; object-fit: cover; }
.team-mini-body { padding: 1.4rem; text-align: center; }
.team-mini-body h3 { font-size: 1.05rem; margin-bottom: 0.25rem; text-transform: none; }
.team-role { display: block; color: var(--green-600); font-size: 0.8rem; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; }
.center-actions { text-align: center; margin-top: 2.6rem; }

.team-section .section-head { margin-top: 3.75rem; margin-bottom: 1.75rem; }
.team-intro { padding-top: clamp(2.5rem, 4vw, 3.5rem); padding-bottom: clamp(1.5rem, 2.5vw, 2rem); }
.team-intro .intro-block { font-size: 1.14rem; }
.team-intro .intro-block .intro-paragraph { font-size: 1.4rem; line-height: 1.55; }
.team-intro .intro-block .intro-note { font-style: italic; }
.team-section { padding-top: clamp(1.5rem, 2.5vw, 2rem); }
.team-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.8rem; }
.team-card { background: #fff; border-radius: var(--radius-lg); padding: 1.6rem; border: 1px solid var(--line); box-shadow: var(--shadow-sm); scroll-margin-top: 104px; }
.team-photo { border-radius: var(--radius); overflow: hidden; aspect-ratio: 1 / 1; }
.team-photo img { width: 100%; height: 100%; object-fit: cover; }
.team-body h3 { font-size: 1.28rem; margin-bottom: 0.2rem; text-transform: none; }
.team-body p { color: var(--muted); font-size: 0.92rem; margin-top: 0.7rem; }
.team-creds { margin-top: 1rem; }
.team-creds h4 { font-size: 0.82rem; letter-spacing: 0.08em; color: var(--blue-600); margin-bottom: 0.6rem; }
.team-creds ul { display: grid; gap: 0.45rem; }
.team-creds li { display: flex; gap: 0.55rem; align-items: flex-start; font-size: 0.86rem; color: var(--navy-700); }

/* ---------- posts ---------- */
.posts-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.8rem; }
.post-card { background: #fff; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-sm); border: 1px solid var(--line); display: flex; flex-direction: column; transition: transform 0.3s ease, box-shadow 0.3s ease; }
.post-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.post-card-media { position: relative; aspect-ratio: 16 / 11; overflow: hidden; display: block; }
.post-card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.post-card:hover .post-card-media img { transform: scale(1.06); }
.post-card-tag { position: absolute; left: 14px; top: 14px; background: var(--navy-800); color: #fff; font-size: 0.68rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; padding: 0.35rem 0.75rem; border-radius: 999px; }
.post-card-tag.inline { position: static; display: inline-block; margin-bottom: 0.9rem; }
.post-card-body { padding: 1.5rem; display: flex; flex-direction: column; flex: 1; }
.post-date { font-size: 0.78rem; color: var(--muted); text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 0.5rem; }
.post-card-body h3 { font-size: 1.18rem; margin-bottom: 0.6rem; line-height: 1.15; }
.post-card-body h3 a:hover { color: var(--blue-600); }
.post-card-body p { color: var(--muted); font-size: 0.92rem; }
.post-card-body .link-arrow { margin-top: auto; }

/* =========================================================
   PAGE HERO
   ========================================================= */
.page-hero {
  position: relative; background: var(--navy-800); color: #fff;
  margin-top: 72px;
  padding: 5rem 0 5rem; overflow: hidden;
}
.page-hero::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(1000px 400px at 85% 0%, rgba(140,175,225,0.6), transparent 60%),
    linear-gradient(120deg, #2f56a0, #4a72bc);
}
.page-hero::after {
  content: ""; position: absolute; right: -8%; top: -30%; width: 60%; height: 160%;
  background: radial-gradient(closest-side, rgba(124,155,209,0.25), transparent);
  transform: rotate(-12deg);
}
.page-hero-sm { padding: 3.5rem 0 3.5rem; }
.page-hero.has-photo { aspect-ratio: 2400 / 1050; min-height: 300px; max-height: 700px; display: flex; align-items: center; background-size: cover; background-position: center; }
.page-hero.has-photo::before { background: none; }
.page-hero.has-photo.page-hero--light::before { background: linear-gradient(120deg, rgba(8,22,44,0.70) 0%, rgba(11,30,58,0.34) 50%, rgba(15,38,74,0.06) 100%); }
.page-hero--light .page-title { text-shadow: 0 6px 26px rgba(0,0,0,0.55), 0 1px 3px rgba(0,0,0,0.45); }
.page-hero.has-photo::after { display: none; }
.page-hero-content { position: relative; z-index: 2; max-width: 900px; }
.page-title { color: #fff; font-size: clamp(2.1rem, 5vw, 3.6rem); margin-bottom: 1rem; max-width: 20ch; }
.page-title.title-green { color: var(--green); }
.page-hero-content--box {
  align-self: flex-end; width: 100%; max-width: none; margin: 0;
  padding-inline: clamp(1.25rem, 4vw, 4rem);
}
.page-hero-content--box .page-title {
  display: inline-block; margin-bottom: 0; max-width: 26ch;
  background: rgba(0, 0, 0, 0.55);
  padding: 0.8rem 1.4rem; border-radius: 14px;
  font-size: clamp(1.45rem, 2.9vw, 2.3rem);
  -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px);
}
.page-lead { color: var(--peri-200); font-size: 1.15rem; max-width: 65ch; margin: 0; }

/* ---------- timeline ---------- */
.timeline { position: relative; max-width: 900px; margin: 0 auto; padding-left: 0; }
.timeline::before { content: ""; position: absolute; left: 50%; top: 0; bottom: 0; width: 2px; background: linear-gradient(var(--peri-300), var(--green)); transform: translateX(-50%); }
.timeline-item { position: relative; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 1.5rem; margin-bottom: 2.2rem; }
.timeline-year { font-family: var(--font-display); font-weight: 700; font-size: 1.5rem; color: var(--blue-600); text-align: right; }
.timeline-dot { width: 18px; height: 18px; border-radius: 50%; background: #fff; border: 4px solid var(--green); z-index: 1; justify-self: center; }
.timeline-card { background: #fff; border-radius: var(--radius); padding: 1.3rem 1.5rem; box-shadow: var(--shadow-sm); border: 1px solid var(--line); }
.timeline-card p { margin: 0; color: var(--muted); font-size: 0.94rem; }
.timeline-item:nth-child(even) .timeline-year { order: 3; text-align: left; }
.timeline-item:nth-child(even) .timeline-card { order: 1; }

.pull-quote {
  margin: 2.4rem 0 0; padding: 1.8rem 2rem; border-left: 5px solid var(--green);
  background: var(--sky-100); border-radius: 0 var(--radius) var(--radius) 0;
  font-family: var(--font-display); font-weight: 500; font-size: 1.3rem; text-transform: none;
  letter-spacing: 0; color: var(--navy-800); line-height: 1.4;
}

/* ---------- values ---------- */
.values-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.8rem; }
.value-card { text-align: center; padding: 2.4rem 1.6rem; background: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); border: 1px solid var(--line); }
.value-icon { width: 64px; height: 64px; border-radius: 18px; display: grid; place-items: center; margin: 0 auto 1.2rem; background: var(--navy-800); color: #fff; }
.value-icon .icon { width: 30px; height: 30px; }
.value-card h3 { font-size: 1.2rem; margin-bottom: 0.6rem; }
.value-card p { color: var(--muted); font-size: 0.94rem; margin: 0; }

/* ---------- Quiénes somos: historia + arte ---------- */
.about-story { display: block; max-width: 720px; margin-inline: auto; }
.about-story-section { padding-top: clamp(2.5rem, 4vw, 3.5rem); padding-bottom: clamp(2.5rem, 4vw, 3.5rem); }
.about-story-art { position: sticky; top: 100px; }
.about-art {
  position: relative; border-radius: var(--radius-xl); overflow: hidden; padding: 2.4rem;
  min-height: 460px; display: flex; flex-direction: column; justify-content: space-between;
  background-color: var(--navy-900); background-size: cover; background-position: center;
  box-shadow: var(--shadow-lg);
}
.about-art::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; z-index: 1;
  background: none;
}
.art-logo { position: relative; z-index: 2; width: 168px; height: auto; }
.art-foot { position: relative; z-index: 2; display: flex; flex-direction: column; gap: 0.35rem; }
.art-year { font-family: var(--font-display); font-weight: 700; font-size: clamp(2.6rem, 5vw, 3.6rem); color: var(--green); line-height: 1; text-shadow: 0 6px 24px rgba(0,0,0,0.5); }
.art-caption { color: rgba(255,255,255,0.92); font-size: 0.95rem; max-width: 26ch; text-shadow: 0 4px 18px rgba(0,0,0,0.6); }
.about-story-text { font-size: 1.08rem; }
.about-story-text p { font-size: 1.2rem; font-weight: 400; }

/* ---------- service detail ---------- */
.service-detail { background: var(--paper); }
.service-detail.is-alt { background: var(--sky-100); }
.service-detail-inner { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.service-detail-head { position: sticky; top: 100px; display: flex; gap: 1.15rem; align-items: flex-start; }
.service-detail-head > div { min-width: 0; }
.service-detail-head .service-icon { flex: 0 0 auto; margin-bottom: 0; }
.service-detail-head .lead { margin-top: 0.8rem; }
.service-items { display: grid; gap: 1.1rem; }
.service-item { display: flex; gap: 1.3rem; background: #fff; border-radius: var(--radius); padding: 1.6rem 1.8rem; box-shadow: var(--shadow-sm); border: 1px solid var(--line); }
.service-item-num { font-family: var(--font-display); font-weight: 700; font-size: 1.5rem; color: var(--peri-300); line-height: 1; }
.service-item h3 { font-size: 1.12rem; margin-bottom: 0.35rem; }
.service-item p { color: var(--muted); font-size: 0.92rem; margin: 0; }

/* ---------- process ---------- */
.process-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.4rem; }
.process-step { padding: 1.8rem; border-radius: var(--radius); background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.2); }
.process-num { font-family: var(--font-display); font-weight: 700; font-size: 2rem; color: var(--green); display: block; margin-bottom: 0.5rem; }
.process-step h3 { color: #fff; font-size: 1.05rem; margin-bottom: 0.4rem; }
.process-step p { color: var(--peri-200); font-size: 0.9rem; margin: 0; }

/* =========================================================
   CONTACT
   ========================================================= */
.contact-layout { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.contact-cards { display: grid; gap: 1rem; margin-top: 2rem; }
.contact-cards li { display: flex; gap: 1rem; align-items: center; background: #fff; border-radius: var(--radius); padding: 1.1rem 1.3rem; box-shadow: var(--shadow-sm); border: 1px solid var(--line); }
.contact-card-icon { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: var(--navy-800); color: #fff; flex: none; }
.contact-card-icon .icon { width: 22px; height: 22px; }
.contact-card-label { display: block; font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); margin-bottom: 0.15rem; }
.contact-cards a { font-weight: 600; color: var(--navy-800); }
.contact-cards a:hover { color: var(--blue-600); }

.contact-form-card { background: #fff; border-radius: var(--radius-lg); padding: clamp(1.6rem, 3vw, 2.6rem); box-shadow: var(--shadow); border: 1px solid var(--line); }
.contact-form .field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.field { display: block; margin-bottom: 1.1rem; }
.field > span { display: block; font-size: 0.82rem; font-weight: 700; letter-spacing: 0.03em; color: var(--navy-700); margin-bottom: 0.4rem; }
.field input, .field select, .field textarea {
  width: 100%; padding: 0.85rem 1rem; font: inherit; font-size: 0.95rem;
  border: 1.5px solid var(--line); border-radius: 12px; background: var(--paper); color: var(--ink);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue-600); box-shadow: 0 0 0 4px rgba(47,95,168,0.12); }
.field-hint { font-size: 0.78rem; color: var(--muted); }
.form-alert { display: flex; align-items: center; gap: 0.6rem; padding: 1rem 1.2rem; border-radius: 12px; margin-bottom: 1.4rem; font-size: 0.92rem; font-weight: 600; }
.form-alert.success { background: rgba(47,163,107,0.12); color: var(--green-600); }
.form-alert.error { background: rgba(179,38,30,0.1); color: #b3261e; }

.map-section { padding-top: 0; }
.map-frame { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); height: 420px; border: 1px solid var(--line); }
.map-frame iframe { width: 100%; height: 100%; border: 0; }

/* =========================================================
   BLOG
   ========================================================= */
.blog-featured { display: grid; grid-template-columns: 1.15fr 1fr; gap: 0; background: #fff; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); border: 1px solid var(--line); margin-bottom: 3rem; }
.blog-featured-media { min-height: 340px; }
.blog-featured-media img { width: 100%; height: 100%; object-fit: cover; }
.blog-featured-body { padding: clamp(1.8rem, 4vw, 3rem); display: flex; flex-direction: column; justify-content: center; align-items: flex-start; }
.blog-featured-body h2 { font-size: clamp(1.5rem, 3vw, 2.2rem); margin: 0.8rem 0; }
.blog-featured-body p { color: var(--muted); }
.blog-featured-body .btn { margin-top: 1rem; }

.blog-toolbar { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: space-between; align-items: center; margin-bottom: 2.2rem; }
.blog-filters { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.chip { padding: 0.5rem 1rem; border-radius: 999px; background: #fff; border: 1.5px solid var(--line); font-size: 0.82rem; font-weight: 600; color: var(--navy-700); transition: 0.2s; }
.chip:hover { border-color: var(--blue-600); color: var(--blue-600); }
.chip.is-active { background: var(--navy-800); border-color: var(--navy-800); color: #fff; }
.blog-search { display: flex; align-items: center; background: #fff; border: 1.5px solid var(--line); border-radius: 999px; padding: 0.25rem 0.25rem 0.25rem 1rem; }
.blog-search input { border: none; background: transparent; font: inherit; font-size: 0.9rem; padding: 0.5rem 0.4rem; min-width: 180px; }
.blog-search input:focus { outline: none; }
.blog-search button { border: none; background: var(--navy-800); color: #fff; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; }
.blog-result-note { color: var(--muted); margin-bottom: 1.6rem; }
.empty-state { text-align: center; padding: 4rem 1rem; color: var(--muted); }
.empty-state .btn { margin-top: 1rem; }
.pagination { display: flex; justify-content: center; gap: 0.5rem; margin-top: 3rem; }
.page-link { padding: 0.6rem 1rem; border-radius: 10px; background: #fff; border: 1.5px solid var(--line); font-weight: 600; font-size: 0.85rem; display: inline-flex; align-items: center; gap: 0.3rem; }
.page-link.is-active { background: var(--navy-800); color: #fff; border-color: var(--navy-800); }

/* ---------- article ---------- */
.article { padding-top: calc(var(--header-h) + 3rem); }
.article-head { max-width: 820px; }
.breadcrumb { font-size: 0.8rem; color: var(--muted); margin-bottom: 1.2rem; display: flex; gap: 0.5rem; flex-wrap: wrap; }
.breadcrumb a:hover { color: var(--blue-600); }
.article-title { font-size: clamp(2rem, 5vw, 3.3rem); margin-bottom: 1rem; }
.article-lead { font-size: 1.15rem; color: var(--muted); max-width: 65ch; }
.article-meta { display: flex; gap: 1.5rem; flex-wrap: wrap; margin-top: 1.4rem; font-size: 0.85rem; color: var(--muted); }
.article-meta span { display: inline-flex; align-items: center; gap: 0.45rem; }
.article-cover { margin: 2.5rem auto; max-width: 1000px; }
.article-cover img { width: 100%; border-radius: var(--radius-lg); box-shadow: var(--shadow); }
.article-cover figcaption { text-align: center; font-size: 0.82rem; color: var(--muted); margin-top: 0.7rem; }
.article-layout { display: grid; grid-template-columns: 1fr 340px; gap: clamp(2rem, 5vw, 4rem); align-items: start; margin-bottom: 4rem; }
.article-body { max-width: 720px; font-size: 1.08rem; }
.article-body h2 { font-size: 1.7rem; margin: 2.2rem 0 0.9rem; }
.article-body h3 { font-size: 1.3rem; margin: 1.8rem 0 0.7rem; }
.article-body p { color: #2c3a52; }
.article-body ul { display: grid; gap: 0.5rem; margin: 1.2rem 0; padding-left: 0.2rem; }
.article-body ul li { position: relative; padding-left: 1.6rem; }
.article-body ul li::before { content: ""; position: absolute; left: 0; top: 0.65em; width: 8px; height: 8px; border-radius: 50%; background: var(--green); }
.article-body a { color: var(--blue-600); text-decoration: underline; font-weight: 600; }
.article-body blockquote { margin: 1.8rem 0; padding: 1.2rem 1.6rem; background: var(--sky-100); border-left: 4px solid var(--green); border-radius: 0 var(--radius) var(--radius) 0; font-style: italic; }
.inline-photo { margin: 2rem 0; }
.inline-photo img { border-radius: var(--radius); width: 100%; }
.inline-photo figcaption { font-size: 0.82rem; color: var(--muted); margin-top: 0.5rem; }
.article-aside { position: sticky; top: 100px; display: grid; gap: 1.2rem; }
.aside-card { background: #fff; border-radius: var(--radius); padding: 1.6rem; box-shadow: var(--shadow-sm); border: 1px solid var(--line); }
.aside-card h3 { font-size: 1.1rem; margin-bottom: 0.6rem; }
.aside-card p { color: var(--muted); font-size: 0.9rem; }
.aside-card .btn { margin-top: 0.6rem; }
.share-links { display: flex; gap: 0.6rem; }
.share-links a { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: var(--sky-100); color: var(--navy-800); transition: 0.2s; }
.share-links a:hover { background: var(--navy-800); color: #fff; }
.related { background: var(--cream); }

/* =========================================================
   CTA BAND
   ========================================================= */
.cta-band { color: #fff; position: relative; margin-top: 90px; overflow: hidden; background-image: linear-gradient(rgba(8,22,44,0.82), rgba(8,22,44,0.82)), url('/uploads/slides/sr-hero-2.jpg'); background-size: cover; background-position: center; }
.cta-band::before {
  content: ""; position: absolute; left: 0; right: 0; top: -89px; height: 90px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 90' preserveAspectRatio='none'%3E%3Cpath d='M0,90 C240,30 520,90 760,60 C1010,30 1240,-6 1440,34 L1440,90 Z' fill='%233a63ac'/%3E%3C/svg%3E");
  background-size: 100% 100%; background-repeat: no-repeat;
}
.cta-band::after {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(800px 400px at 90% 110%, rgba(47,163,107,0.35), transparent 60%);
  pointer-events: none;
}
.cta-inner { position: relative; z-index: 2; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 2rem; padding: 1rem 0; }
.cta-copy { max-width: 620px; }
.cta-copy h2 { color: #fff; font-size: clamp(1.7rem, 3.6vw, 2.6rem); margin-bottom: 0.7rem; }
.cta-copy p { color: var(--peri-200); margin: 0; }
.cta-actions { display: flex; gap: 0.9rem; flex-wrap: wrap; }

/* =========================================================
   FOOTER
   ========================================================= */
.site-footer { background: var(--navy-900); color: var(--peri-200); padding-top: 4.5rem; padding-bottom: 1.25rem; }
.site-footer--compact { padding-top: 0.75rem; }
.site-footer--compact .footer-bottom { border-top: none; }
.footer-top { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.3fr; gap: 2.5rem; padding-bottom: 3rem; }
.footer-logo-chip { background: #fff; border-radius: 14px; padding: 0.8rem 1rem; display: inline-block; margin-bottom: 1.2rem; }
.footer-logo-chip img { width: 170px; height: auto; }
.footer-tagline { color: #fff; font-weight: 600; margin-bottom: 0.6rem; }
.footer-note { font-size: 0.86rem; }
.footer-social { display: flex; gap: 0.6rem; margin-top: 1.2rem; }
.footer-social a { width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center; background: rgba(255,255,255,0.08); color: #fff; transition: 0.2s; }
.footer-social a:hover { background: var(--green); }
.footer-col h3 { color: #fff; font-size: 1rem; letter-spacing: 0.06em; margin-bottom: 1.1rem; }
.footer-col ul { display: grid; gap: 0.6rem; }
.footer-col a { font-size: 0.92rem; transition: color 0.2s; }
.footer-col a:hover { color: #fff; }
.contact-list li { display: flex; gap: 0.7rem; align-items: flex-start; font-size: 0.9rem; }
.contact-list .icon-sm { width: 18px; height: 18px; color: var(--green); flex: none; margin-top: 3px; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; padding: 1.5rem 0 0; border-top: 1px solid rgba(255,255,255,0.1); font-size: 0.82rem; }
.footer-bottom p { margin: 0; }
.footer-legal { display: flex; gap: 0.6rem; }
.footer-legal a:hover { color: #fff; }

/* =========================================================
   FLOATING + 404
   ========================================================= */
.floating-actions { position: fixed; right: 1.4rem; bottom: 1.4rem; z-index: 90; display: flex; flex-direction: column; gap: 0.7rem; transition: opacity 0.3s ease, transform 0.3s ease; }
.floating-actions.is-hidden { opacity: 0; transform: translateY(24px); pointer-events: none; }
.fab { display: inline-flex; align-items: center; gap: 0.6rem; height: 56px; padding: 0 1.2rem; border-radius: 999px; color: #fff; box-shadow: var(--shadow); transition: transform 0.25s ease; }
.fab:hover { transform: translateY(-3px) scale(1.03); }
.fab .icon { width: 24px; height: 24px; }
.fab-phone { background: var(--navy-800); }
.fab-wa { background: #25d366; width: 56px; padding: 0; justify-content: center; }
.fab-phone-text { font-weight: 700; font-size: 0.9rem; }

.notfound { padding: calc(var(--header-h) + 5rem) 0 6rem; text-align: center; background: var(--sky-100); min-height: 70vh; }
.notfound-code { font-family: var(--font-display); font-weight: 700; font-size: clamp(5rem, 18vw, 12rem); color: var(--peri-300); line-height: 1; display: block; }
.notfound h1 { font-size: clamp(1.8rem, 4vw, 2.6rem); margin: 1rem 0 0.8rem; }
.notfound p { color: var(--muted); max-width: 48ch; margin: 0 auto 2rem; }
.notfound-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* =========================================================
   REVEAL ANIMATIONS
   ========================================================= */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1); }
.reveal.is-visible { opacity: 1; transform: none; }

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1080px) {
  .why-grid, .process-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 2rem; }
}

@media (max-width: 960px) {
  .about-story { grid-template-columns: 1fr; }
  .about-story-art { position: static; }
  .about-art { min-height: 320px; }
  .primary-nav {
    position: fixed; inset: 0 0 0 auto; width: min(86vw, 360px);
    background: var(--navy-800); flex-direction: column; align-items: stretch;
    padding: calc(var(--header-h) + 1.5rem) 1.8rem 2rem; gap: 1.4rem;
    transform: translateX(100%); transition: transform 0.35s ease; z-index: 99;
    box-shadow: -20px 0 60px rgba(0,0,0,0.4);
  }
  .primary-nav.open { transform: none; }
  .primary-nav ul { flex-direction: column; gap: 1.2rem; }
  .primary-nav a { color: #fff !important; font-size: 1.05rem; }
  .header-right { gap: 0.7rem; }
  .nav-toggle { display: flex; position: relative; z-index: 101; }
  .nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle.open span:nth-child(2) { opacity: 0; }
  .nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .split { grid-template-columns: 1fr; }
  .split-media { max-width: 480px; }
  .services-grid, .team-grid, .service-detail-inner, .contact-layout, .article-layout, .blog-featured { grid-template-columns: 1fr; }
  .team-teaser-grid, .posts-grid, .values-grid { grid-template-columns: repeat(2, 1fr); }
  .service-detail-head { position: static; }
  .article-aside { position: static; }
  .contact-form .field-row { grid-template-columns: 1fr; }
  .split-media { order: -1; }
}

@media (max-width: 900px) {
  .hero-content { padding-top: calc(var(--header-h) + 0.25rem); padding-bottom: 1.5rem; max-width: 560px; }
  .hero-quote-mark { font-size: clamp(1.6rem, 5.5vw, 2.4rem); line-height: 0.45; margin-bottom: 0.05rem; }
  .hero-quote-text { font-size: clamp(0.9rem, 3.1vw, 1.5rem); line-height: 1.26; }
}

@media (max-width: 640px) {
  body { font-size: 16px; }
  .btn-header { padding: 0.7rem; }
  .btn-header-label { display: none; }
  .container { width: min(100% - 2rem, var(--container)); }
  .trust-grid { grid-template-columns: repeat(2, 1fr); gap: 1.4rem 0.5rem; }
  .trust-item { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.12); padding-bottom: 1rem; }
  .trust-item:nth-child(3), .trust-item:nth-child(4) { border-bottom: none; }
  .section-head.between { flex-direction: column; align-items: flex-start; }
  .why-grid, .process-grid, .team-teaser-grid, .posts-grid, .values-grid, .team-grid { grid-template-columns: 1fr; }
  .hero-title { font-size: clamp(2rem, 9vw, 2.8rem); }
  .hero-arrow { display: none; }
  .fab-phone-text { display: none; }
  .fab-phone { width: 56px; padding: 0; justify-content: center; }
  .timeline::before { left: 9px; }
  .timeline-item { grid-template-columns: auto 1fr; gap: 1rem; }
  .timeline-year { order: 1 !important; text-align: left !important; grid-column: 2; }
  .timeline-dot { order: 0; grid-row: span 2; align-self: start; margin-top: 6px; }
  .timeline-card { order: 3 !important; grid-column: 2; }
  .cta-inner { flex-direction: column; align-items: flex-start; }
  .footer-top { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
}
