:root {
  --blue: #001c91;
  --blue-700: #00166f;
  --blue-600: #183aa8;
  --blue-soft: #b5c3ff;
  --blue-soft-2: #eef2ff;
  --gold: #e8a020;
  --gold-soft: #fff2d8;
  --gold-light: #ffd98f;
  --brand-lavender: #d6ddff;
  --page-bg: #d8e2ff;
  --card-soft: #e9efff;
  --card-soft-border: #9fb1ff;
  --ink: #172033;
  --muted: #647084;
  --line: #b8c6f8;
  --surface: #ffffff;
  --surface-alt: #dfe7ff;
  --accent: var(--gold);
  --radius: 8px;
  --shadow: 0 18px 45px rgba(0, 28, 145, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background:
    radial-gradient(circle at 10% 8%, rgba(232, 160, 32, 0.22), transparent 25%),
    radial-gradient(circle at 88% 12%, rgba(181, 195, 255, 0.9), transparent 28%),
    radial-gradient(circle at 20% 86%, rgba(0, 28, 145, 0.08), transparent 30%),
    linear-gradient(135deg, #d7e1ff 0%, #edf2ff 42%, #ffe9bd 100%);
}

body {
  margin: 0;
  font-family: "Inter", Arial, sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at 10% 8%, rgba(232, 160, 32, 0.22), transparent 25%),
    radial-gradient(circle at 88% 12%, rgba(181, 195, 255, 0.9), transparent 28%),
    radial-gradient(circle at 20% 86%, rgba(0, 28, 145, 0.08), transparent 30%),
    linear-gradient(135deg, #d7e1ff 0%, #edf2ff 42%, #ffe9bd 100%);
  line-height: 1.6;
}

main {
  background: transparent;
}

body.lightbox-open {
  overflow: hidden;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
}

.section {
  position: relative;
  padding: 88px 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: var(--blue);
  box-shadow: none;
  backdrop-filter: blur(16px);
}

.header-main {
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
  background:
    linear-gradient(90deg, var(--blue), var(--blue-600));
}

.navbar {
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: max-content;
}

.brand-mark {
  width: 50px;
  height: 50px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.48);
  border-radius: 14px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.96), rgba(181, 195, 255, 0.82));
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.16);
}

.brand img {
  width: 42px;
  height: 42px;
  border-radius: 11px;
  object-fit: cover;
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  color: #fff;
  font-size: 1.02rem;
  letter-spacing: 0;
}

.brand small {
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.78rem;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
  font-size: 0.9rem;
}

.nav-links a {
  position: relative;
  padding: 10px 11px;
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.88);
  transition: color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.nav-links a:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.13);
}

.nav-links a.active:not(.nav-cta) {
  color: var(--blue);
  background: #fff;
}

.nav-cta {
  margin-left: 6px;
  padding: 11px 18px !important;
  border-radius: 999px;
  color: var(--blue) !important;
  background: linear-gradient(135deg, var(--gold), #f5c56c);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.2);
}

.nav-cta:hover {
  color: var(--blue) !important;
  background: #fff !important;
  transform: translateY(-1px);
}

.nav-cta.active {
  background: #fff;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.12);
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 5px auto;
  background: #fff;
}

.hero {
  position: relative;
  overflow: hidden;
  padding-top: 0;
  padding-bottom: 0;
  background:
    url("../img/baner-tri-02.svg") center / cover no-repeat;
}

.hero::before,
.hero::after {
  content: none;
  position: absolute;
  border-radius: 999px;
  pointer-events: none;
}

.hero::before {
  width: 380px;
  height: 380px;
  right: -110px;
  top: 70px;
  background: radial-gradient(circle, rgba(232, 160, 32, 0.18), transparent 68%);
}

.hero::after {
  width: 260px;
  height: 260px;
  left: -80px;
  bottom: 18px;
  background: radial-gradient(circle, rgba(0, 28, 145, 0.12), transparent 68%);
}

.page-hero {
  overflow: hidden;
  padding-top: 0;
  background:
    url("../img/banner.svg") center / cover no-repeat;
  box-shadow: 0 26px 42px rgba(0, 28, 145, 0.16);
}

.home-canvas-area {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, rgba(215, 225, 255, 0.94), rgba(255, 233, 189, 0.72));
}

.home-canvas-area::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  z-index: 1;
  height: 110px;
  background: linear-gradient(180deg, rgba(0, 28, 145, 0.16), rgba(0, 28, 145, 0));
  pointer-events: none;
}

.home-gradient-canvas {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.home-canvas-area > .section {
  position: relative;
  z-index: 2;
  background: transparent;
}

.section > .container {
  position: relative;
  z-index: 1;
}

.narrow {
  max-width: 860px;
}

.hero-grid,
.split-layout,
.ethics-grid,
.contact-grid {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 56px;
  align-items: center;
}

.hero-frame {
  position: relative;
  z-index: 1;
  overflow: hidden;
  padding: 46px;
  border: 1px solid rgba(159, 177, 255, 0.86);
  border-radius: 28px;
  background:
    radial-gradient(circle at 88% 14%, rgba(232, 160, 32, 0.18), transparent 25%),
    linear-gradient(145deg, rgba(237, 242, 255, 0.9), rgba(213, 223, 255, 0.82));
  box-shadow: 0 28px 70px rgba(0, 28, 145, 0.16);
}

.hero .hero-frame {
  width: 100%;
  max-width: none;
  margin-right: 0;
  margin-left: 0;
  padding: 46px max(32px, calc((100vw - 1120px) / 2));
  min-height: clamp(680px, calc(100vh - 82px), 900px);
  border-width: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: 0 26px 42px rgba(0, 28, 145, 0.16);
}

.page-hero .page-hero-frame {
  width: 100%;
  max-width: none;
  margin-right: 0;
  margin-left: 0;
  padding: 46px max(32px, calc((100vw - 1120px) / 2));
  border-width: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.page-hero.section {
  padding-bottom: 0;
}


.hero-frame::after {
  content: "";
  position: absolute;
  right: -60px;
  bottom: -74px;
  width: 260px;
  height: 240px;
  background: url("../img/ijm-isotipo.svg") center / contain no-repeat;
  opacity: 0.055;
  pointer-events: none;
}

.page-hero-frame {
  max-width: 980px;
  padding: 42px 46px;
}

.page-hero-frame h1 {
  max-width: 820px;
}

.page-hero-frame p:not(.eyebrow) {
  max-width: 760px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--blue);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.78rem;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 760px;
  font-size: clamp(2.25rem, 5vw, 4.35rem);
  line-height: 1.03;
  letter-spacing: 0;
  margin-bottom: 24px;
}

h2 {
  font-size: clamp(1.85rem, 3vw, 2.75rem);
  line-height: 1.15;
  letter-spacing: 0;
  margin-bottom: 18px;
}

h3 {
  font-size: 1.12rem;
  line-height: 1.3;
  margin-bottom: 10px;
}

.hero-text,
.section-heading p,
.split-layout p,
.ethics-grid p,
.contact-grid p {
  color: var(--muted);
  font-size: 1.05rem;
}

.hero .eyebrow {
  color: #10182d;
  font-weight: 900;
}

.hero-text {
  position: relative;
  max-width: 650px;
  margin-top: 18px;
  padding: 18px 22px 18px 26px;
  border: 1px solid rgba(181, 195, 255, 0.78);
  border-left: 5px solid var(--gold);
  border-radius: 20px;
  background:
    linear-gradient(135deg, rgba(237, 242, 255, 0.94), rgba(215, 225, 255, 0.78)),
    rgba(237, 242, 255, 0.9);
  box-shadow: 0 18px 36px rgba(0, 28, 145, 0.12);
  color: #10182d;
  font-weight: 400;
  line-height: 1.75;
  backdrop-filter: blur(10px);
}

.text-panel {
  max-width: 690px;
  padding: 18px 22px 18px 26px;
  border: 1px solid rgba(181, 195, 255, 0.78);
  border-left: 5px solid var(--gold);
  border-radius: 20px;
  background:
    linear-gradient(135deg, rgba(237, 242, 255, 0.94), rgba(215, 225, 255, 0.78)),
    rgba(237, 242, 255, 0.9);
  box-shadow: 0 18px 36px rgba(0, 28, 145, 0.12);
  color: #10182d;
  backdrop-filter: blur(10px);
}

.text-panel p,
p.text-panel {
  color: #10182d;
  line-height: 1.75;
}

.text-panel p:last-child {
  margin-bottom: 0;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin: 26px 0 26px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 20px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 800;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.btn-primary {
  color: #fff;
  background: linear-gradient(135deg, var(--blue), var(--blue-600));
  box-shadow: 0 14px 28px rgba(0, 28, 145, 0.26);
}

.btn-primary:hover {
  transform: translateY(-2px);
  color: var(--blue);
  border-color: var(--gold);
  background: linear-gradient(135deg, var(--gold), #f5c56c);
  box-shadow: 0 14px 28px rgba(232, 160, 32, 0.24);
}

.btn-secondary {
  color: #fff;
  background: linear-gradient(135deg, var(--blue), var(--blue-600));
  border-color: var(--blue);
  box-shadow: 0 10px 22px rgba(0, 28, 145, 0.14);
}

.btn-secondary:hover {
  transform: translateY(-2px);
  border-color: var(--gold);
  color: var(--blue);
  background: linear-gradient(135deg, var(--gold), #f5c56c);
}

.trust-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.trust-row span {
  padding: 9px 14px;
  border-radius: 999px;
  color: var(--blue);
  background: linear-gradient(135deg, var(--gold), #f6cc7a);
  border: 1px solid rgba(232, 160, 32, 0.72);
  box-shadow: 0 10px 22px rgba(232, 160, 32, 0.18);
  font-size: 0.88rem;
  font-weight: 800;
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 18px;
}

.hero-metrics span {
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: var(--radius);
  color: #fff;
  background:
    radial-gradient(circle at 88% 12%, rgba(232, 160, 32, 0.16), transparent 28%),
    linear-gradient(135deg, var(--blue), var(--blue-600));
  box-shadow: 0 14px 28px rgba(0, 28, 145, 0.14);
  font-size: 0.84rem;
  font-weight: 800;
}

.hero-metrics strong {
  display: block;
  margin-bottom: 2px;
  color: var(--gold);
  font-size: 1.1rem;
}

.hero-panel,
.values-box,
.comment-form,
.contact-form {
  position: relative;
  overflow: hidden;
  padding: 30px;
  border: 1px solid var(--card-soft-border);
  border-radius: var(--radius);
  background:
    radial-gradient(circle at 92% 10%, rgba(232, 160, 32, 0.18), transparent 28%),
    linear-gradient(145deg, rgba(238, 242, 255, 0.94), rgba(181, 195, 255, 0.54)),
    var(--card-soft);
  box-shadow: 0 22px 48px rgba(0, 28, 145, 0.16);
}

.comment-form,
.contact-form {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.22);
  background:
    radial-gradient(circle at 86% 14%, rgba(181, 195, 255, 0.16), transparent 32%),
    linear-gradient(135deg, #001c91, #102a8f 56%, #07185a);
  box-shadow: 0 24px 54px rgba(0, 28, 145, 0.26);
}

.comment-form h3,
.contact-form h3 {
  color: #fff;
}

.hero-panel,
.values-box {
  border-top: 4px solid var(--blue-soft);
}

.hero-panel {
  position: relative;
  overflow: hidden;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.22);
  background:
    radial-gradient(circle at 86% 14%, rgba(181, 195, 255, 0.16), transparent 32%),
    linear-gradient(135deg, #001c91, #102a8f 56%, #07185a);
  box-shadow: 0 24px 54px rgba(0, 28, 145, 0.28);
}

.hero-panel::after {
  content: none;
}

.hero-panel img {
  width: 96px;
  height: 96px;
  border-radius: 18px;
  margin-bottom: 22px;
}

.hero-panel .hero-brand-visual {
  width: min(360px, 100%);
  height: auto;
  margin: 0 auto 28px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  object-fit: contain;
}

.academic-visual {
  position: absolute;
  right: 24px;
  top: 28px;
  width: 132px;
  height: 118px;
  opacity: 0.95;
}

.visual-document,
.visual-book,
.visual-seal {
  position: absolute;
  display: block;
}

.visual-document {
  right: 0;
  top: 0;
  width: 82px;
  height: 104px;
  border: 1px solid rgba(0, 28, 145, 0.18);
  border-radius: 8px;
  background:
    linear-gradient(#b5c3ff 0 8px, transparent 8px),
    repeating-linear-gradient(180deg, transparent 0 16px, rgba(0, 28, 145, 0.12) 16px 18px),
    #fff;
  box-shadow: 0 16px 30px rgba(0, 28, 145, 0.12);
}

.visual-book {
  left: 0;
  bottom: 8px;
  width: 76px;
  height: 44px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--blue), var(--blue-600));
  box-shadow: 0 14px 26px rgba(0, 28, 145, 0.18);
}

.visual-seal {
  left: 24px;
  top: 14px;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--blue);
  background: var(--gold);
  font-size: 0.78rem;
  font-weight: 900;
  box-shadow: 0 12px 24px rgba(232, 160, 32, 0.22);
}

.hero-panel h2 {
  color: #fff;
  font-size: 1.55rem;
}

.hero-panel p {
  color: rgba(255, 255, 255, 0.86);
}

.hero-panel ul {
  padding-left: 18px;
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.86);
}

.problem-section,
.method-section,
.faq-section {
  position: relative;
  background: transparent;
}

.problem-section .section-heading .eyebrow {
  color: #10182d;
  font-weight: 900;
}

.problem-section .section-heading p:not(.eyebrow) {
  color: #10182d;
  font-weight: 400;
}

.section-heading > .eyebrow,
.split-layout > div:not(.values-box) > .eyebrow,
.contact-grid > div > .eyebrow {
  color: #10182d;
  font-weight: 900;
}

.section-heading > p:not(.eyebrow),
.split-layout > div:not(.values-box) > p,
.contact-grid > div > p {
  color: #10182d;
  font-weight: 400;
}

.section-heading {
  max-width: 780px;
  margin-bottom: 28px;
}

.section-heading.compact {
  max-width: 680px;
}

.cards-grid {
  display: grid;
  gap: 18px;
}

.cards-grid.four {
  grid-template-columns: repeat(4, 1fr);
}

.cards-grid.three {
  grid-template-columns: repeat(3, 1fr);
}

.info-card,
.service-card,
.timeline article,
.testimonial {
  border: 1px solid rgba(159, 177, 255, 0.9);
  border-radius: var(--radius);
  background:
    linear-gradient(145deg, rgba(238, 242, 255, 0.92), rgba(181, 195, 255, 0.62)),
    var(--card-soft);
  position: relative;
  overflow: hidden;
  box-shadow: 0 14px 30px rgba(0, 28, 145, 0.08);
}

.info-card::before,
.service-card::before,
.timeline article::before,
.testimonial::before,
.gallery-card::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 5px;
  background: linear-gradient(180deg, var(--blue), var(--gold));
}

.info-card:hover,
.service-card:hover,
.timeline article:hover,
.gallery-card:hover {
  transform: translateY(-3px);
  border-color: var(--gold);
  box-shadow: 0 18px 42px rgba(0, 28, 145, 0.16);
}

.info-card,
.service-card {
  padding: 24px;
}

.problem-section .info-card {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.18);
  background:
    radial-gradient(circle at 82% 12%, rgba(181, 195, 255, 0.16), transparent 30%),
    linear-gradient(135deg, #001c91, #102a8f 56%, #07185a);
  box-shadow: 0 18px 40px rgba(0, 28, 145, 0.2);
}

.problem-section .info-card::before {
  background: linear-gradient(180deg, var(--gold), rgba(255, 255, 255, 0.18));
}

.problem-section .info-card h3,
.problem-section .info-card p,
.problem-section .info-card .card-icon {
  color: #fff;
}

.problem-section .info-card .card-icon {
  color: #001c91;
}

.problem-section .info-card p {
  opacity: 0.86;
}

.problem-section .card-icon {
  width: 52px;
  height: 52px;
  background: #d7e0ff;
  border: 1px solid rgba(255, 255, 255, 0.58);
  box-shadow: 0 10px 22px rgba(0, 28, 145, 0.16);
}

.card-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  margin-bottom: 18px;
  border-radius: 50%;
  color: var(--blue);
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  box-shadow: 0 10px 22px rgba(232, 160, 32, 0.2);
  font-weight: 800;
}

.card-icon-image img {
  display: block;
  width: 34px;
  height: 34px;
  object-fit: contain;
  object-position: center;
}

.card-icon-image img[src*="mision.svg"] {
  transform: translateX(2px);
}

.info-card p,
.service-card p,
.timeline p,
.testimonial p,
.faq-list p {
  color: var(--muted);
}

.values-box {
  background:
    linear-gradient(145deg, rgba(238, 242, 255, 0.92), rgba(181, 195, 255, 0.62)),
    var(--card-soft);
}

.split-layout .values-box {
  position: relative;
  overflow: hidden;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.22);
  background:
    radial-gradient(circle at 86% 14%, rgba(181, 195, 255, 0.16), transparent 32%),
    linear-gradient(135deg, #001c91, #102a8f 56%, #07185a);
  box-shadow: 0 22px 48px rgba(0, 28, 145, 0.24);
}

.split-layout .values-box h3 {
  color: #fff;
}

.values-panel {
  position: relative;
  overflow: hidden;
  padding: 52px 64px;
  border: 1px solid rgba(181, 195, 255, 0.34);
  border-radius: 28px;
  color: #fff;
  background:
    radial-gradient(circle at 90% 20%, rgba(232, 160, 32, 0.28), transparent 24%),
    linear-gradient(135deg, var(--blue), var(--blue-600));
  box-shadow: 0 24px 58px rgba(0, 28, 145, 0.22);
}

.values-panel .section-heading {
  position: relative;
  z-index: 1;
}

.values-panel .eyebrow {
  color: #dfe6ff;
}

.values-panel h2 {
  color: #fff;
}

.values-panel .values-list {
  position: relative;
  z-index: 1;
}

.values-panel .values-list span {
  color: #001c91;
  border-color: rgba(181, 195, 255, 0.88);
  border-radius: 18px;
  background: linear-gradient(135deg, #e8edff, #b5c3ff);
  box-shadow: 0 12px 26px rgba(0, 28, 145, 0.14);
}

.values-panel .values-list span:hover {
  color: #001c91;
  border-color: rgba(255, 255, 255, 0.86);
  background: linear-gradient(135deg, #f5f7ff, #c9d4ff);
}

.values-list,
.ethics-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.values-list span,
.values-list a,
.ethics-list span {
  padding: 12px;
  border: 1px solid rgba(159, 177, 255, 0.86);
  border-radius: var(--radius);
  background: rgba(238, 242, 255, 0.82);
  font-weight: 700;
  color: #34415b;
}

.values-list a:hover {
  color: var(--blue);
  border-color: var(--gold);
  background: var(--gold-soft);
}

.split-layout .values-list a {
  color: #10182d;
  border-color: rgba(181, 195, 255, 0.88);
  background: linear-gradient(135deg, #e8edff, #b5c3ff);
  box-shadow: 0 12px 26px rgba(0, 28, 145, 0.14);
}

.split-layout .values-list a:hover {
  color: #001c91;
  border-color: rgba(255, 255, 255, 0.86);
  background: linear-gradient(135deg, #f5f7ff, #c9d4ff);
}

.values-wide {
  grid-template-columns: repeat(4, 1fr);
}

.highlight-quote {
  margin-top: 18px;
  padding: 18px;
  border-left: 4px solid #b5c3ff;
  border-radius: var(--radius);
  color: #10182d;
  background: linear-gradient(135deg, #e8edff, #b5c3ff);
  font-weight: 800;
}

.method-section .container {
  position: relative;
}

.method-section .section-heading {
  max-width: 760px;
}

.timeline {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  align-items: start;
  gap: 14px;
  margin-top: 42px;
  padding: 54px 0 74px;
}

.timeline article {
  overflow: visible;
  min-height: auto;
  padding: 18px 18px 20px;
}

.timeline article:nth-child(1),
.timeline article:nth-child(3),
.timeline article:nth-child(5) {
  transform: translateY(-22px);
}

.timeline article:nth-child(2),
.timeline article:nth-child(4) {
  transform: translateY(22px);
}

.timeline article::after {
  content: "";
  position: absolute;
  z-index: 0;
  width: 116px;
  height: 92px;
  background: url("../img/flecha-c-1.svg") center / contain no-repeat;
  opacity: 0.74;
  filter: drop-shadow(0 10px 16px rgba(0, 28, 145, 0.22));
  pointer-events: none;
}

.timeline article:nth-child(1)::after,
.timeline article:nth-child(3)::after {
  right: 6px;
  bottom: -70px;
  width: 134px;
  height: 106px;
  background-image: url("../img/flecha-c-2.svg");
}

.timeline article:nth-child(2)::after,
.timeline article:nth-child(4)::after {
  right: 16px;
  top: -64px;
  background-image: url("../img/flecha-c-1.svg");
}

.timeline article:nth-child(5)::after {
  content: none;
}

.timeline span {
  display: none;
}

.timeline p {
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.5;
}

.timeline h3 {
  margin-bottom: 8px;
}

.service-card {
  display: flex;
  min-height: 220px;
  flex-direction: column;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.18);
  background:
    radial-gradient(circle at 82% 12%, rgba(181, 195, 255, 0.16), transparent 30%),
    linear-gradient(135deg, #001c91, #102a8f 56%, #07185a);
  box-shadow: 0 18px 40px rgba(0, 28, 145, 0.2);
}

.service-card::before {
  inset: 0 auto 0 0;
  width: 5px;
  height: auto;
  background: linear-gradient(180deg, var(--gold), rgba(255, 255, 255, 0.18));
}

.service-card::after {
  content: "";
  position: absolute;
  right: -28px;
  bottom: -24px;
  width: 142px;
  height: 102px;
  background: url("../img/escaleras-2.svg") center / contain no-repeat;
  opacity: 0.16;
  pointer-events: none;
}

.service-card h3,
.service-card p,
.service-card a {
  position: relative;
  z-index: 1;
}

.service-card a {
  margin-top: auto;
  display: inline-block;
  width: fit-content;
  padding: 0;
  color: #e8edff;
  background: transparent;
  border: 0;
  border-radius: 0;
  font-weight: 800;
}

.service-card h3 {
  color: #fff;
}

.service-card p {
  color: rgba(255, 255, 255, 0.82);
}

.service-card a::after {
  content: "";
  display: block;
  width: 42px;
  height: 3px;
  margin-top: 8px;
  border-radius: 999px;
  background: var(--gold);
}

.ethics-section {
  position: relative;
  overflow: hidden;
  background: transparent;
}

.ethics-grid {
  position: relative;
  overflow: hidden;
  padding: 52px 64px;
  border: 1px solid rgba(181, 195, 255, 0.34);
  border-radius: 28px;
  color: #fff;
  background:
    radial-gradient(circle at 90% 20%, rgba(232, 160, 32, 0.28), transparent 24%),
    linear-gradient(135deg, var(--blue), var(--blue-600));
  box-shadow: 0 24px 58px rgba(0, 28, 145, 0.22);
}

.ethics-grid > * {
  position: relative;
  z-index: 1;
}

.ethics-section .eyebrow,
.ethics-section p {
  color: #edf2ff;
}

.ethics-section h2 {
  color: #fff;
}

.ethics-list span {
  color: #10182d;
  background: linear-gradient(135deg, #e8edff, #b5c3ff);
  border-color: rgba(181, 195, 255, 0.88);
  border-radius: 18px;
  box-shadow: 0 12px 26px rgba(0, 28, 145, 0.14);
}

.ethics-list span:hover {
  color: #001c91;
  background: linear-gradient(135deg, #f5f7ff, #c9d4ff);
  border-color: rgba(255, 255, 255, 0.86);
}

.testimonial {
  margin-top: 24px;
  padding: 24px;
  border-left: 4px solid var(--accent);
}

.testimonial-name,
.testimonial-service,
.testimonial-comment {
  display: block;
  color: #10182d;
}

.testimonial-name {
  margin-bottom: 8px;
  font-weight: 800;
}

.testimonial-service {
  width: fit-content;
  margin-bottom: 14px;
  padding-bottom: 6px;
  border-bottom: 2px solid var(--gold);
  font-size: 0.95rem;
  font-weight: 400;
}

.testimonial-comment {
  margin: 0;
  color: #10182d;
  font-weight: 800;
}

.testimonial span:not(.testimonial-service) {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 700;
}

.form-message {
  padding: 12px 14px;
  border-radius: var(--radius);
  font-weight: 700;
}

.form-message p {
  margin: 0;
}

.form-message p + p {
  margin-top: 6px;
}

.form-message.success {
  color: #0f5132;
  background: #d1e7dd;
  border: 1px solid #badbcc;
}

.form-message.error {
  color: #842029;
  background: #f8d7da;
  border: 1px solid #f5c2c7;
}

form {
  display: grid;
  gap: 16px;
}

label {
  display: grid;
  gap: 7px;
  color: #2c3850;
  font-weight: 700;
  font-size: 0.93rem;
}

.comment-form label,
.contact-form label {
  color: #fff;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 12px 13px;
  color: var(--ink);
  font: inherit;
  background: rgba(238, 242, 255, 0.84);
}

.comment-form input,
.comment-form select,
.comment-form textarea,
.contact-form input,
.contact-form select,
.contact-form textarea {
  color: var(--ink);
  border-color: rgba(181, 195, 255, 0.8);
  background: rgba(255, 255, 255, 0.94);
}

input:focus,
select:focus,
textarea:focus {
  outline: 3px solid rgba(232, 160, 32, 0.22);
  border-color: var(--gold);
}

textarea {
  resize: vertical;
}

.check-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--muted);
  font-weight: 500;
}

.comment-form .check-row,
.contact-form .check-row {
  color: #edf2ff;
}

.comment-form .btn-primary,
.contact-form .btn-primary {
  color: #10182d;
  border-color: rgba(181, 195, 255, 0.88);
  background: linear-gradient(135deg, #e8edff, #b5c3ff);
  box-shadow: 0 14px 28px rgba(0, 28, 145, 0.18);
}

.comment-form .btn-primary:hover,
.contact-form .btn-primary:hover {
  color: #001c91;
  border-color: rgba(255, 255, 255, 0.86);
  background: linear-gradient(135deg, #f5f7ff, #c9d4ff);
  box-shadow: 0 14px 28px rgba(0, 28, 145, 0.18);
}

.check-row input {
  width: 18px;
  height: 18px;
  margin-top: 3px;
}

.faq-list {
  display: grid;
  gap: 12px;
}

details {
  border: 1px solid rgba(159, 177, 255, 0.9);
  border-radius: var(--radius);
  padding: 18px 20px;
  background:
    linear-gradient(145deg, rgba(238, 242, 255, 0.92), rgba(181, 195, 255, 0.58)),
    var(--card-soft);
}

summary {
  cursor: pointer;
  font-weight: 800;
}

details p {
  margin: 12px 0 0;
}

.contact-section {
  background: transparent;
}

.contact-data {
  display: grid;
  gap: 12px;
  margin-top: 26px;
}

.contact-data a,
.contact-data span {
  padding: 14px 16px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: var(--radius);
  color: #fff;
  background:
    radial-gradient(circle at 92% 18%, rgba(232, 160, 32, 0.14), transparent 28%),
    linear-gradient(135deg, var(--blue), var(--blue-600));
  font-weight: 700;
  box-shadow: 0 14px 28px rgba(0, 28, 145, 0.14);
  user-select: none;
}

.contact-data a:first-child {
  color: #fff;
  background:
    radial-gradient(circle at 92% 18%, rgba(232, 160, 32, 0.14), transparent 28%),
    linear-gradient(135deg, var(--blue), var(--blue-600));
  border-color: rgba(255, 255, 255, 0.22);
}

.contact-data a:hover {
  color: var(--gold);
  background:
    radial-gradient(circle at 92% 18%, rgba(232, 160, 32, 0.14), transparent 28%),
    linear-gradient(135deg, var(--blue), var(--blue-600));
  border-color: rgba(255, 255, 255, 0.22);
}

.cta-band {
  color: #fff;
  background: transparent;
}

.cta-band .eyebrow {
  color: #dfe6ff;
}

.cta-band h2 {
  color: #fff;
}

.cta-content {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 52px 64px;
  border: 1px solid rgba(181, 195, 255, 0.34);
  border-radius: 28px;
  background:
    radial-gradient(circle at 90% 20%, rgba(232, 160, 32, 0.28), transparent 24%),
    linear-gradient(135deg, var(--blue), var(--blue-600));
  box-shadow: 0 24px 58px rgba(0, 28, 145, 0.22);
}

.cta-content h2 {
  max-width: 760px;
  margin-bottom: 0;
}

.cta-band .btn-primary {
  color: #10182d;
  border-color: rgba(181, 195, 255, 0.88);
  background: linear-gradient(135deg, #e8edff, #b5c3ff);
  box-shadow: 0 14px 28px rgba(0, 28, 145, 0.18);
  min-width: 220px;
  border-radius: 999px;
  white-space: nowrap;
}

.cta-band .btn-primary:hover {
  color: #001c91;
  border-color: rgba(255, 255, 255, 0.86);
  background: linear-gradient(135deg, #f5f7ff, #c9d4ff);
}

.gallery-section {
  display: grid;
  gap: 30px;
}

.gallery-filter-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.gallery-filter-card {
  position: relative;
  overflow: hidden;
  min-height: 148px;
  padding: 24px 22px 22px;
  border: 1px solid rgba(181, 195, 255, 0.36);
  border-radius: 18px;
  color: #fff;
  text-align: left;
  background:
    radial-gradient(circle at 82% 12%, rgba(181, 195, 255, 0.2), transparent 30%),
    radial-gradient(circle at 18% 88%, rgba(232, 160, 32, 0.12), transparent 34%),
    linear-gradient(135deg, #001c91, #14288d 48%, #061558);
  box-shadow: 0 18px 38px rgba(0, 28, 145, 0.18);
  cursor: pointer;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.gallery-filter-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-top: 4px solid var(--gold);
  border-left: 4px solid var(--gold);
  border-radius: inherit;
  pointer-events: none;
}

.gallery-filter-card::after {
  content: "";
  position: absolute;
  right: -24px;
  bottom: -22px;
  width: 128px;
  height: 92px;
  background: url("../img/escaleras-2.svg") center / contain no-repeat;
  opacity: 0.18;
  pointer-events: none;
}

.gallery-filter-card:hover,
.gallery-filter-card.is-active {
  transform: translateY(-4px);
  border-color: rgba(232, 160, 32, 0.78);
  box-shadow: 0 24px 48px rgba(0, 28, 145, 0.24);
}

.gallery-filter-card span,
.gallery-filter-card strong,
.gallery-filter-card small {
  position: relative;
  z-index: 1;
  display: block;
}

.gallery-filter-card span {
  width: fit-content;
  margin-bottom: 14px;
  padding: 5px 10px;
  border-radius: 999px;
  color: #001c91;
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  font-weight: 900;
  font-size: 0.82rem;
  letter-spacing: 0.01em;
}

.gallery-filter-card strong {
  margin-bottom: 8px;
  font-size: 1.1rem;
  line-height: 1.25;
}

.gallery-filter-card small {
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.45;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.gallery-card {
  overflow: hidden;
  border: 1px solid rgba(159, 177, 255, 0.9);
  border-radius: var(--radius);
  background:
    linear-gradient(145deg, rgba(238, 242, 255, 0.92), rgba(181, 195, 255, 0.6)),
    var(--card-soft);
  position: relative;
  box-shadow: 0 14px 30px rgba(0, 28, 145, 0.08);
}

.gallery-open {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  overflow: hidden;
  color: inherit;
  background: transparent;
  cursor: zoom-in;
}

.gallery-open:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: -3px;
}

.gallery-card h3,
.gallery-card p {
  padding: 0 20px;
}

.gallery-card h3 {
  margin-top: 20px;
}

.gallery-card p {
  padding-bottom: 22px;
  color: var(--muted);
}

.gallery-image {
  display: block;
  width: 100%;
  height: 220px;
  object-fit: cover;
  transition: transform 0.25s ease, filter 0.25s ease;
}

.gallery-open:hover .gallery-image {
  transform: scale(1.04);
  filter: brightness(0.8);
}

.gallery-zoom-label {
  position: absolute;
  left: 50%;
  bottom: 16px;
  transform: translate(-50%, 10px);
  padding: 8px 14px;
  border-radius: 999px;
  color: #fff;
  background: rgba(0, 28, 145, 0.88);
  font-size: 0.8rem;
  font-weight: 800;
  opacity: 0;
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.gallery-open:hover .gallery-zoom-label,
.gallery-open:focus-visible .gallery-zoom-label {
  opacity: 1;
  transform: translate(-50%, 0);
}

.gallery-category {
  display: inline-flex;
  margin: 18px 20px 0;
  padding: 5px 10px;
  border-radius: 999px;
  color: var(--blue);
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  font-size: 0.8rem;
  font-weight: 800;
}

.gallery-placeholder {
  display: flex;
  min-height: 210px;
  align-items: center;
  justify-content: center;
  color: #fff;
  background:
    linear-gradient(135deg, rgba(0, 28, 145, 0.92), rgba(0, 28, 145, 0.72)),
    var(--blue);
  font-weight: 800;
}

.gallery-empty {
  padding: 22px 24px;
  border: 1px solid rgba(159, 177, 255, 0.9);
  border-radius: var(--radius);
  color: var(--muted);
  background:
    linear-gradient(145deg, rgba(238, 242, 255, 0.92), rgba(181, 195, 255, 0.6)),
    var(--card-soft);
  font-weight: 700;
}

.gallery-lightbox {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 28px;
}

.gallery-lightbox.is-open {
  display: flex;
}

.gallery-lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(3, 12, 42, 0.78);
  backdrop-filter: blur(7px);
}

.gallery-lightbox-panel {
  position: relative;
  z-index: 1;
  width: min(1040px, 100%);
  max-height: calc(100vh - 56px);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.32);
}

.gallery-lightbox-image {
  display: block;
  width: 100%;
  max-height: 72vh;
  object-fit: contain;
  background: #07143f;
}

.gallery-lightbox-content {
  padding: 20px 24px 24px;
}

.gallery-lightbox-content h2 {
  margin-bottom: 8px;
  color: var(--ink);
}

.gallery-lightbox-content p {
  margin: 0;
  color: var(--muted);
}

.gallery-lightbox-close {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 2;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 50%;
  color: #fff;
  background: rgba(0, 28, 145, 0.88);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.22);
  cursor: pointer;
  font-size: 1.6rem;
  line-height: 1;
}

.gallery-lightbox-close:hover,
.gallery-lightbox-close:focus-visible {
  color: var(--blue);
  background: var(--gold);
}

.map-box {
  position: relative;
  overflow: hidden;
  padding: 34px;
  border: 1px solid rgba(159, 177, 255, 0.9);
  border-radius: var(--radius);
  background:
    linear-gradient(145deg, rgba(238, 242, 255, 0.92), rgba(181, 195, 255, 0.6)),
    var(--card-soft);
  box-shadow: 0 22px 48px rgba(0, 28, 145, 0.14);
}

.map-box {
  border-top: 4px solid var(--gold);
}

.map-frame {
  overflow: hidden;
  height: 360px;
  margin-top: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface-alt);
}

.map-frame iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.site-footer {
  position: relative;
  overflow: hidden;
  padding: 48px 0 22px;
  color: #dce3ff;
  background:
    linear-gradient(135deg, var(--blue), var(--blue-700));
}

.footer-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.2fr 1.25fr 0.75fr;
  gap: 34px;
}

.site-footer h2 {
  margin: 0 0 14px;
  color: #fff;
  font-size: 1rem;
}

.footer-brand strong {
  display: block;
  color: #fff;
  font-size: 1.3rem;
}

.site-footer p {
  margin: 6px 0 0;
  color: #c8d2f0;
}

.site-footer a {
  color: #fff;
  font-weight: 700;
}

.site-footer a:hover {
  color: var(--gold);
}

.footer-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

.footer-trust span {
  padding: 7px 10px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
  font-size: 0.82rem;
  font-weight: 700;
}

.footer-contact p {
  font-size: 0.92rem;
}

.footer-contact strong {
  color: #fff;
}

.footer-social {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.footer-social a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 150px;
  margin-bottom: 12px;
  padding: 10px 12px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.08);
  transition: transform 0.2s ease, background 0.2s ease;
}

.footer-social a:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.15);
  transform: translateY(-2px);
}

.footer-social img {
  width: 28px;
  height: 28px;
}

.footer-bottom {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 34px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
}

.footer-bottom p {
  margin: 0;
  font-size: 0.84rem;
}

.whatsapp-float {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 30;
  display: flex;
  width: 58px;
  height: 58px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: #fff;
  background: #128c7e;
  box-shadow: 0 12px 24px rgba(18, 140, 126, 0.28);
  font-size: 0;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.whatsapp-float::before {
  content: "";
  width: 32px;
  height: 32px;
  background: url("../img/whatsapp.svg") center / contain no-repeat;
}

.whatsapp-float:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 30px rgba(18, 140, 126, 0.34);
}

@media (max-width: 980px) {
  .section {
    padding: 70px 0;
  }

  .hero-grid,
  .split-layout,
  .ethics-grid,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .hero-frame {
    padding: 34px;
  }

  .hero .hero-frame {
    min-height: auto;
    padding: 52px max(24px, calc((100vw - 720px) / 2));
  }

  .page-hero-frame {
    padding: 34px;
  }

  .academic-visual {
    right: 22px;
    top: 22px;
  }

  .cards-grid.four,
  .cards-grid.three,
  .timeline,
  .values-wide,
  .gallery-filter-grid,
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .timeline {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
    min-height: auto;
    padding-bottom: 0;
  }

  .timeline article,
  .timeline article:nth-child(even) {
    position: relative;
    left: auto;
    right: auto;
    top: auto;
    width: auto;
    margin-top: 0;
  }

  .timeline article::after {
    content: none;
  }

  .timeline-arrow {
    display: none;
  }

  .process-flow {
    grid-template-columns: repeat(2, minmax(150px, 1fr));
    gap: 28px 20px;
    padding: 24px 0 10px;
  }

  .process-card,
  .process-card:nth-child(odd),
  .process-card:nth-child(even) {
    width: 168px;
    height: 168px;
    transform: none;
  }

  .process-card::before,
  .process-card::after {
    content: none !important;
  }

  .nav-links {
    position: absolute;
    left: 16px;
    right: 16px;
    top: 78px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 18px;
    border: 1px solid rgba(181, 195, 255, 0.72);
    border-radius: var(--radius);
    background: var(--blue);
    box-shadow: var(--shadow);
  }

  .nav-links.is-open {
    display: flex;
  }

  .nav-links a {
    padding: 12px 14px;
  }

  .nav-cta {
    margin-left: 0;
    text-align: center;
  }

  .menu-toggle {
    display: block;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .footer-social {
    grid-column: 1 / -1;
  }

  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 640px) {
  .container {
    width: min(100% - 28px, 1120px);
  }

  .section {
    padding: 46px 0;
  }

  .hero {
    padding-top: 0;
    min-height: auto;
  }

  .hero-frame {
    padding: 22px;
    border-radius: 18px;
  }

  .hero .hero-frame {
    padding: 34px 22px;
  }

  .page-hero-frame {
    padding: 26px 22px;
  }

  .hero-metrics {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .academic-visual {
    position: relative;
    right: auto;
    top: auto;
    margin: 0 0 18px auto;
    transform: scale(0.9);
    transform-origin: right top;
  }

  h1 {
    font-size: clamp(2.05rem, 11vw, 2.75rem);
    line-height: 1.04;
    margin-bottom: 18px;
  }

  h2 {
    font-size: clamp(1.65rem, 8vw, 2.15rem);
    line-height: 1.12;
  }

  h3 {
    font-size: 1.02rem;
  }

  .hero-text,
  .section-heading p,
  .split-layout p,
  .contact-grid p {
    font-size: 0.98rem;
  }

  .navbar {
    min-height: 70px;
    gap: 12px;
  }

  .brand-mark {
    width: 40px;
    height: 40px;
    border-radius: 12px;
  }

  .brand img {
    width: 33px;
    height: 33px;
  }

  .brand strong {
    font-size: 0.86rem;
  }

  .brand small {
    font-size: 0.66rem;
  }

  .menu-toggle {
    padding: 9px 12px;
  }

  .nav-links {
    left: 14px;
    right: 14px;
    top: 70px;
    padding: 14px;
  }

  .cards-grid.four,
  .cards-grid.three,
  .timeline,
  .values-list,
  .ethics-list,
  .values-wide,
  .gallery-filter-grid,
  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .process-flow {
    grid-template-columns: 1fr;
  }

  .process-card,
  .process-card:nth-child(odd),
  .process-card:nth-child(even) {
    width: min(210px, 76vw);
    height: min(210px, 76vw);
    justify-self: center;
  }

  .cta-content,
  .values-panel,
  .ethics-grid {
    align-items: flex-start;
    flex-direction: column;
    padding: 30px 22px;
    border-radius: 20px;
  }

  .hero-panel,
  .values-box,
  .comment-form,
  .contact-form {
    padding: 22px;
    border-radius: 18px;
  }

  .hero-panel .hero-brand-visual {
    width: min(260px, 100%);
    margin-bottom: 22px;
  }

  .service-card,
  .info-card,
  .timeline article,
  .testimonial,
  .gallery-filter-card {
    min-height: auto;
    padding: 20px;
  }

  .gallery-filter-card {
    min-height: 112px;
  }

  .values-list a,
  .values-list span,
  .ethics-list span {
    padding: 13px 14px;
  }

  .contact-data {
    gap: 10px;
  }

  .contact-data a,
  .contact-data span {
    padding: 14px;
    font-size: 0.95rem;
    word-break: break-word;
  }

  .comment-form input,
  .comment-form select,
  .comment-form textarea,
  .contact-form input,
  .contact-form select,
  .contact-form textarea {
    min-height: 48px;
    padding: 12px 14px;
    font-size: 0.95rem;
  }

  .check-row {
    font-size: 0.92rem;
  }

  .map-box {
    padding: 22px;
  }

  .map-frame {
    min-height: 280px;
  }

  .gallery-lightbox {
    padding: 14px;
  }

  .gallery-lightbox-panel {
    max-height: calc(100vh - 28px);
  }

  .gallery-lightbox-image {
    max-height: 68vh;
  }

  .gallery-lightbox-content {
    padding: 16px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 26px;
  }

  .site-footer a {
    margin: 0;
  }

  .footer-social {
    grid-column: auto;
  }

  .footer-social a {
    width: 100%;
  }

  .whatsapp-float {
    right: 14px;
    bottom: 14px;
    width: 52px;
    height: 52px;
  }

  .whatsapp-float::before {
    width: 29px;
    height: 29px;
  }
}
