:root {
  --blue: #23238f;
  --teal: #1fc9c7;
  --petrol: #063b5c;
  --white: #ffffff;
  --gray-50: #f5f7fa;
  --gray-100: #edf1f6;
  --gray-300: #cdd7e3;
  --gray-500: #718096;
  --gray-700: #42526b;
  --ink: #081a3d;
  --shadow: 0 24px 60px rgba(8, 26, 61, 0.14);
  --shadow-soft: 0 14px 36px rgba(8, 26, 61, 0.1);
  --shadow-card: 0 1px 2px rgba(8, 26, 61, 0.04), 0 18px 38px rgba(8, 26, 61, 0.08);
  --radius: 8px;
  --header-height: 76px;
  --wp-admin-bar-offset: 0px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body.nav-open {
  overflow: hidden;
}

body.lightbox-open {
  overflow: hidden;
}

body.admin-bar {
  --wp-admin-bar-offset: 32px;
}

@media screen and (max-width: 782px) {
  body.admin-bar {
    --wp-admin-bar-offset: 46px;
  }
}

@media screen and (max-width: 600px) {
  body.admin-bar {
    --wp-admin-bar-offset: 0px;
  }
}

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

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

:focus-visible {
  outline: 3px solid rgba(31, 201, 199, 0.38);
  outline-offset: 3px;
}

button,
input,
textarea {
  font: inherit;
}

svg {
  width: 1.2rem;
  height: 1.2rem;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.container {
  width: min(100% - 32px, 1180px);
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 1000;
  transform: translateY(-140%);
  border-radius: var(--radius);
  padding: 10px 14px;
  background: var(--blue);
  color: var(--white);
  font-weight: 800;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: fixed;
  inset: var(--wp-admin-bar-offset) 0 auto;
  z-index: 50;
  min-height: var(--header-height);
  border-bottom: 1px solid rgba(205, 215, 227, 0.75);
  background: var(--white);
  box-shadow: 0 4px 18px rgba(8, 26, 61, 0.05);
  backdrop-filter: none;
}

.header-inner {
  display: flex;
  min-height: var(--header-height);
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.brand {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
}

.brand img {
  width: clamp(158px, 17vw, 214px);
  height: auto;
  max-height: 54px;
  border-radius: var(--radius);
  object-fit: contain;
  box-shadow: none;
}

.menu-toggle {
  display: inline-grid;
  width: 44px;
  height: 44px;
  place-content: center;
  gap: 5px;
  border: 1px solid var(--gray-300);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.88);
  color: var(--blue);
  cursor: pointer;
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.menu-toggle:hover,
.menu-toggle:focus-visible {
  border-color: rgba(31, 201, 199, 0.85);
  box-shadow: var(--shadow-soft);
}

.menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  transition: transform 180ms ease, opacity 180ms ease;
}

.menu-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.menu-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.main-nav {
  position: fixed;
  inset: calc(var(--header-height) + var(--wp-admin-bar-offset)) 0 auto;
  display: grid;
  gap: 6px;
  padding: 18px 16px 22px;
  border-bottom: 1px solid var(--gray-300);
  background: var(--white);
  box-shadow: var(--shadow-soft);
  transform: translateY(-120%);
  visibility: hidden;
  transition: transform 220ms ease, visibility 220ms ease;
}

.main-nav .primary-menu,
.main-nav .primary-menu li,
.footer-links .footer-menu,
.footer-links .footer-menu li {
  display: contents;
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav-open .main-nav {
  transform: translateY(0);
  visibility: visible;
}

.main-nav a {
  position: relative;
  border-radius: var(--radius);
  padding: 12px;
  color: var(--blue);
  font-weight: 800;
}

.main-nav a:hover,
.main-nav a:focus-visible {
  background: var(--gray-50);
  color: var(--petrol);
}

.main-nav .nav-cta,
.main-nav .nav-cta:hover,
.main-nav .nav-cta:focus-visible {
  background: linear-gradient(135deg, var(--teal), #079ca9);
  box-shadow: 0 12px 24px rgba(31, 201, 199, 0.24);
  color: var(--white);
}

.btn {
  position: relative;
  overflow: hidden;
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  padding: 12px 18px;
  font-weight: 900;
  line-height: 1;
  text-align: center;
  isolation: isolate;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease, color 180ms ease, border-color 180ms ease;
}

.btn::after {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(120deg, rgba(255, 255, 255, 0.22), rgba(255, 255, 255, 0));
  opacity: 0;
  transition: opacity 180ms ease;
  content: "";
}

.btn:hover,
.btn:focus-visible {
  transform: translateY(-2px);
}

.btn:hover::after,
.btn:focus-visible::after {
  opacity: 1;
}

.btn-primary {
  background: linear-gradient(135deg, var(--teal), #079ca9);
  box-shadow: 0 12px 24px rgba(31, 201, 199, 0.28);
  color: var(--white);
}

.btn-primary:hover,
.btn-primary:focus-visible {
  background: linear-gradient(135deg, #19b5b3, var(--blue));
  box-shadow: 0 16px 32px rgba(35, 35, 143, 0.22);
}

.btn-secondary {
  border-color: rgba(35, 35, 143, 0.4);
  background: rgba(255, 255, 255, 0.85);
  color: var(--blue);
}

.btn-secondary:hover,
.btn-secondary:focus-visible {
  border-color: var(--blue);
  background: var(--white);
  box-shadow: var(--shadow-soft);
}

.btn-outline-light {
  border-color: rgba(255, 255, 255, 0.45);
  color: var(--white);
}

.btn-outline-light:hover,
.btn-outline-light:focus-visible {
  background: var(--white);
  color: var(--petrol);
}

.hero {
  position: relative;
  display: grid;
  min-height: 560px;
  align-items: center;
  overflow: hidden;
  padding: calc(var(--header-height) + 54px) 0 92px;
  background: var(--gray-50);
}

.hero::before {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: var(--hero-image-desktop, url("../img/bg-hero-ciscrei.png")) center top / cover no-repeat;
  transform: scale(1.02);
  transition: transform 950ms cubic-bezier(0.22, 1, 0.36, 1);
  content: "";
}

.hero::after {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: var(--hero-image-mobile, url("../img/bg-hero-ciscrei-2.png")) center top / cover no-repeat;
  transform: translateX(100%) scale(1.02);
  transition: transform 950ms cubic-bezier(0.22, 1, 0.36, 1);
  content: "";
}

.hero.is-alt-bg::before {
  transform: translateX(-8%) scale(1.02);
}

.hero.is-alt-bg::after {
  transform: translateX(0) scale(1.02);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.94) 0%, rgba(255, 255, 255, 0.74) 32%, rgba(255, 255, 255, 0.14) 54%, rgba(255, 255, 255, 0) 72%),
    linear-gradient(0deg, rgba(31, 201, 199, 0.28), rgba(255, 255, 255, 0) 42%);
  pointer-events: none;
}

.hero-overlay::after {
  position: absolute;
  inset: auto 0 0;
  height: 86px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.86));
  content: "";
}

.hero-grid {
  position: relative;
  z-index: 3;
  display: grid;
}

.hero-copy {
  max-width: 560px;
}

.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 12px;
  color: #047987;
  font-size: 0.78rem;
  font-weight: 900;
  line-height: 1.1;
  text-transform: uppercase;
}

.section-kicker::before {
  display: inline-block;
  width: 28px;
  height: 2px;
  border-radius: 999px;
  background: var(--teal);
  content: "";
}

.areas-section .section-kicker,
.projects-section .section-kicker,
.gallery-section .section-kicker,
.contact-section .section-kicker {
  display: none;
}

.hero h1,
.section h2,
.social-impact h2,
.volunteer-section h2,
.contact-section h2 {
  margin: 0;
  color: var(--blue);
  line-height: 1.08;
}

.hero h1 {
  font-size: 3.55rem;
  letter-spacing: 0;
}

.hero-subtitle {
  margin: 2px 0 22px;
  color: var(--blue);
  font-size: 1.35rem;
  font-weight: 900;
  line-height: 1.2;
}

.hero-highlight {
  max-width: 440px;
  margin: 0 0 14px;
  color: #078c9c;
  font-size: 1.55rem;
  font-weight: 900;
  line-height: 1.18;
}

.hero-text {
  max-width: 460px;
  margin: 0 0 30px;
  color: #132650;
  font-size: 1.05rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.impact-strip {
  position: relative;
  z-index: 3;
  margin-top: -54px;
}

.impact-cards {
  display: grid;
  gap: 18px;
  border: 0;
  border-radius: 0;
  padding: 0;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
}

.impact-card {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0 16px;
  align-items: center;
  border: 1px solid rgba(205, 215, 227, 0.74);
  border-radius: var(--radius);
  padding: 22px 24px;
  background: var(--white);
  box-shadow: 0 18px 36px rgba(8, 26, 61, 0.12);
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.impact-card:hover {
  border-color: rgba(31, 201, 199, 0.72);
  box-shadow: 0 22px 44px rgba(8, 26, 61, 0.16);
  transform: translateY(-2px);
}

.impact-card:not(:last-child) {
  border-bottom: 1px solid rgba(205, 215, 227, 0.74);
}

.impact-icon,
.area-icon {
  display: inline-grid;
  width: 58px;
  height: 58px;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--teal), #079ca9);
  box-shadow: 0 12px 24px rgba(31, 201, 199, 0.22);
  color: var(--white);
}

.impact-icon svg {
  width: 2rem;
  height: 2rem;
  stroke-width: 1.8;
}

.impact-card strong {
  color: var(--blue);
  font-size: 1.65rem;
  line-height: 1;
}

.impact-card span:last-child {
  grid-column: 2;
  color: var(--gray-700);
  font-size: 0.9rem;
  font-weight: 700;
}

.section {
  padding: 58px 0;
}

.about-section {
  display: none;
  padding-top: 0;
  background: var(--white);
}

.two-column,
.social-grid,
.contact-grid {
  display: grid;
  gap: 28px;
}

.two-column p {
  margin: 0;
  color: var(--gray-700);
  font-size: 1.06rem;
}

.section h2,
.social-impact h2,
.volunteer-section h2,
.contact-section h2 {
  font-size: 1.38rem;
  letter-spacing: 0;
  text-transform: uppercase;
}

.section-heading {
  display: grid;
  justify-items: center;
  margin-bottom: 30px;
  text-align: center;
}

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

.section-heading h2::after,
.contact-section h2::after {
  display: block;
  width: 34px;
  height: 3px;
  margin: 12px auto 0;
  border-radius: 999px;
  background: var(--teal);
  content: "";
}

.areas-section {
  background: var(--white);
}

.areas-scroll {
  display: grid;
  grid-auto-columns: minmax(210px, 72%);
  grid-auto-flow: column;
  gap: 22px;
  overflow-x: auto;
  padding-bottom: 12px;
  scroll-snap-type: x mandatory;
  scrollbar-color: var(--teal) var(--gray-100);
}

.area-card {
  position: relative;
  display: grid;
  min-height: 0;
  align-content: start;
  gap: 10px;
  overflow: hidden;
  scroll-snap-align: start;
  border: 1px solid rgba(205, 215, 227, 0.78);
  border-radius: var(--radius);
  padding: 0 0 18px;
  background: var(--white);
  box-shadow: 0 1px 0 rgba(8, 26, 61, 0.03);
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.area-photo {
  width: 100%;
  height: 140px;
  margin: 0;
  object-fit: cover;
  filter: saturate(1.03) contrast(1.02);
}

.area-card .area-icon {
  position: absolute;
  top: 114px;
  left: 18px;
  z-index: 2;
  width: 48px;
  height: 48px;
}

.area-card .area-icon svg {
  width: 1.35rem;
  height: 1.35rem;
}

.area-card::before,
.project-card::before {
  position: absolute;
  inset: 0 0 auto;
  z-index: 1;
  height: 3px;
  background: linear-gradient(90deg, var(--teal), var(--blue));
  opacity: 0;
  transition: opacity 180ms ease;
  content: "";
  pointer-events: none;
}

.area-card:hover,
.area-card:focus-within {
  transform: translateY(-4px);
  border-color: rgba(31, 201, 199, 0.85);
  box-shadow: var(--shadow-card);
}

.area-card:hover::before,
.area-card:focus-within::before,
.project-card:hover::before,
.project-card:focus-within::before {
  opacity: 1;
}

.area-card h3,
.project-card h3 {
  margin: 0;
  color: var(--blue);
  font-size: 1rem;
  line-height: 1.2;
}

.area-card h3 {
  margin: 18px 16px 0;
}

.area-card p,
.project-card p {
  margin: 0;
  color: var(--gray-700);
  font-size: 0.86rem;
}

.area-card p {
  margin-inline: 16px;
}

.area-card a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin: auto 16px 0;
  color: #057f8f;
  font-weight: 900;
  transition: color 180ms ease, transform 180ms ease;
}

.area-card a::after {
  content: "→";
}

.area-card:hover a,
.area-card:focus-within a {
  color: var(--blue);
  transform: translateX(2px);
}

.social-impact {
  position: relative;
  overflow: hidden;
  padding: 48px 0;
  background:
    linear-gradient(135deg, rgba(6, 59, 92, 0.98), rgba(35, 35, 143, 0.95) 54%, rgba(31, 201, 199, 0.78)),
    var(--social-impact-image, url("../img/foto12.png")) center / cover;
  color: var(--white);
}

.social-impact::before {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(6, 59, 92, 0.56), rgba(6, 59, 92, 0.08));
  content: "";
}

.social-grid {
  position: relative;
  z-index: 1;
}

.social-impact .section-kicker,
.social-impact h2,
.social-impact p {
  color: var(--white);
}

.social-impact p {
  margin: 0;
}

.social-icon {
  display: none;
}

.ciscrei-customize-shortcut {
  position: absolute;
  top: 14px;
  left: max(14px, calc((100% - 1180px) / 2 + 14px));
  z-index: 20;
  display: inline-grid;
  width: 38px;
  height: 38px;
  place-items: center;
  padding: 0;
  color: var(--white);
  font-size: 18px;
  font-weight: 900;
  line-height: 1;
  background: var(--turquoise);
  border: 2px solid rgba(255, 255, 255, 0.92);
  border-radius: 999px;
  box-shadow: 0 14px 32px rgba(6, 59, 92, 0.28);
  cursor: pointer;
  transition: background 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.ciscrei-customize-shortcut:hover,
.ciscrei-customize-shortcut:focus-visible {
  background: var(--blue);
  box-shadow: 0 18px 40px rgba(6, 59, 92, 0.36);
  outline: none;
  transform: translateY(-2px);
}

.hero > .ciscrei-customize-shortcut {
  top: calc(var(--header-height) + 16px);
}

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

.project-card {
  position: relative;
  display: grid;
  overflow: hidden;
  border: 1px solid rgba(205, 215, 227, 0.78);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 1px 0 rgba(35, 35, 143, 0.04);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.project-card:hover,
.project-card:focus-within {
  transform: translateY(-6px);
  border-color: rgba(31, 201, 199, 0.8);
  box-shadow: var(--shadow-card);
}

.project-card img {
  width: 100%;
  height: 132px;
  object-fit: cover;
  filter: saturate(1.04) contrast(1.02);
  transition: transform 240ms ease, filter 240ms ease;
}

.project-card:hover img,
.project-card:focus-within img {
  transform: scale(1.035);
  filter: saturate(1.1) contrast(1.04);
}

.project-card div {
  display: grid;
  gap: 8px;
  padding: 14px;
}

.project-card span {
  width: fit-content;
  border-radius: 999px;
  padding: 4px 9px;
  background: rgba(31, 201, 199, 0.12);
  color: #057f8f;
  font-size: 0.78rem;
  font-weight: 900;
}

.gallery-section {
  background:
    linear-gradient(180deg, var(--gray-50), var(--white)),
    var(--gray-50);
}

.gallery-grid {
  display: grid;
  gap: 10px;
}

.gallery-item {
  min-height: 170px;
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--gray-100);
  box-shadow: 0 10px 26px rgba(8, 26, 61, 0.1);
}

.gallery-featured {
  min-height: 260px;
}

.gallery-trigger {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  padding: 0;
  background: transparent;
  cursor: zoom-in;
}

.gallery-action {
  display: flex;
  justify-content: center;
  margin-top: 24px;
}

.gallery-action .btn {
  min-height: 40px;
  padding: 11px 18px;
  font-size: 0.82rem;
  text-transform: uppercase;
}

.gallery-trigger img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: saturate(1.03) contrast(1.02);
  transition: transform 240ms ease, filter 240ms ease;
}

.gallery-item:hover img,
.gallery-trigger:focus-visible img {
  transform: scale(1.04);
  filter: saturate(1.08) contrast(1.04);
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: 22px;
  background: rgba(4, 16, 38, 0.86);
  backdrop-filter: blur(12px);
}

.lightbox[hidden] {
  display: none;
}

.lightbox-content {
  display: grid;
  gap: 12px;
  width: min(100%, 1080px);
  margin: 0;
}

.lightbox-content img {
  width: 100%;
  max-height: min(78vh, 760px);
  border-radius: var(--radius);
  object-fit: contain;
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.35);
}

.lightbox-content figcaption {
  color: var(--white);
  font-size: 0.95rem;
  font-weight: 800;
  text-align: center;
}

.lightbox-close {
  position: fixed;
  top: 18px;
  right: 18px;
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.12);
  color: var(--white);
  cursor: pointer;
  transition: background 180ms ease, transform 180ms ease;
}

.lightbox-close:hover,
.lightbox-close:focus-visible {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

.back-to-top {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 45;
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: var(--radius);
  background: linear-gradient(135deg, var(--teal), #079ca9);
  box-shadow: 0 16px 34px rgba(8, 26, 61, 0.18);
  color: var(--white);
  cursor: pointer;
  opacity: 0;
  transform: translateY(14px);
  visibility: hidden;
  transition: opacity 180ms ease, transform 180ms ease, visibility 180ms ease, box-shadow 180ms ease;
}

.back-to-top.is-visible {
  opacity: 1;
  transform: translateY(0);
  visibility: visible;
}

.back-to-top:hover,
.back-to-top:focus-visible {
  box-shadow: 0 20px 42px rgba(35, 35, 143, 0.24);
  transform: translateY(-2px);
}

.volunteer-section {
  position: relative;
  overflow: hidden;
  padding: 0;
  background:
    linear-gradient(135deg, rgba(31, 201, 199, 0.94), rgba(35, 35, 143, 0.94)),
    var(--volunteer-image, url("../img/foto9.png")) right center / auto 100% no-repeat;
  box-shadow: none;
}

.volunteer-section::before {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(6, 59, 92, 0.2), rgba(6, 59, 92, 0.72));
  content: "";
}

.volunteer-card {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 24px;
  align-items: center;
  padding-block: 42px;
}

.volunteer-card p {
  margin: 12px 0 0;
  color: rgba(255, 255, 255, 0.9);
}

.volunteer-card .section-kicker,
.volunteer-card h2 {
  color: var(--white);
}

.contact-section {
  background: var(--white);
}

.contact-info > p:not(.section-kicker) {
  margin: 16px 0 0;
  color: var(--gray-700);
}

.contact-list {
  display: grid;
  gap: 14px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.contact-list li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  color: var(--ink);
  font-weight: 700;
}

.contact-list svg {
  flex: 0 0 auto;
  margin-top: 3px;
  color: #057f8f;
}

.contact-list a:hover,
.social-links a:hover {
  color: var(--blue);
  text-decoration: underline;
  text-decoration-thickness: 2px;
}

.social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.social-links a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid rgba(205, 215, 227, 0.78);
  border-radius: var(--radius);
  padding: 10px 12px;
  background: var(--white);
  color: var(--petrol);
  font-weight: 900;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.social-links a:hover,
.social-links a:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(31, 201, 199, 0.8);
  box-shadow: var(--shadow-soft);
}

.contact-form {
  display: grid;
  gap: 11px;
  border: 1px solid rgba(205, 215, 227, 0.78);
  border-radius: var(--radius);
  padding: 24px;
  background: var(--white);
  box-shadow: var(--shadow-card);
}

.contact-form .wpcf7,
.contact-form .wpcf7 form,
.contact-form .wpcf7 p {
  display: contents;
}

.contact-form br,
.contact-form .hidden-fields-container {
  display: none;
}

.contact-form .wpcf7-form-control-wrap {
  display: block;
}

.contact-form .wpcf7-spinner {
  margin: 0;
}

.whatsapp-card {
  display: grid;
  justify-items: center;
  gap: 14px;
  align-self: center;
  border: 1px solid rgba(205, 215, 227, 0.78);
  border-radius: var(--radius);
  padding: 28px 20px;
  background: var(--white);
  box-shadow: var(--shadow-card);
  text-align: center;
}

.whatsapp-card svg {
  width: 56px;
  height: 56px;
  color: #10b955;
  stroke-width: 1.8;
}

.whatsapp-card strong {
  color: var(--blue);
  line-height: 1.25;
}

.whatsapp-card .btn {
  min-height: 38px;
  padding: 10px 14px;
  font-size: 0.78rem;
  text-transform: uppercase;
}

.contact-form label {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid rgba(205, 215, 227, 0.92);
  border-radius: var(--radius);
  padding: 12px 13px;
  background: var(--white);
  color: var(--ink);
  transition: border-color 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: var(--gray-500);
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: 3px solid rgba(31, 201, 199, 0.28);
  border-color: var(--teal);
  box-shadow: 0 8px 20px rgba(8, 26, 61, 0.06);
}

.contact-form textarea {
  resize: vertical;
}

.contact-form .btn {
  margin-top: 8px;
  cursor: pointer;
}

.contact-form input[type="submit"].btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: max-content;
  min-height: 46px;
  border: 0;
  padding: 13px 18px;
  color: var(--white);
  font-weight: 900;
  background: linear-gradient(135deg, var(--teal), #079ca9);
  box-shadow: 0 12px 24px rgba(31, 201, 199, 0.28);
}

.contact-form input[type="submit"].btn:hover,
.contact-form input[type="submit"].btn:focus-visible {
  background: linear-gradient(135deg, #19b5b3, var(--blue));
  box-shadow: 0 16px 32px rgba(35, 35, 143, 0.22);
}

.contact-form .wpcf7-not-valid-tip {
  margin-top: 6px;
  color: #b42318;
  font-size: 0.82rem;
  font-weight: 700;
}

.contact-form .wpcf7-response-output {
  margin: 6px 0 0;
  border: 1px solid rgba(31, 201, 199, 0.5);
  border-radius: var(--radius-sm);
  padding: 10px 12px;
  color: var(--petrol);
  font-size: 0.9rem;
}

.contact-form .ciscrei-lgpd-acceptance {
  position: static;
  display: block;
  width: auto;
  height: auto;
  overflow: visible;
  clip: auto;
  color: var(--petrol);
  font-size: 0.84rem;
  font-weight: 700;
  line-height: 1.45;
  white-space: normal;
}

.contact-form .ciscrei-lgpd-acceptance .wpcf7-list-item {
  display: block;
  margin: 0;
}

.contact-form .ciscrei-lgpd-acceptance label {
  position: static;
  display: flex;
  gap: 9px;
  width: auto;
  height: auto;
  overflow: visible;
  clip: auto;
  white-space: normal;
}

.contact-form .ciscrei-lgpd-acceptance input {
  width: 18px;
  min-width: 18px;
  height: 18px;
  margin-top: 2px;
  accent-color: var(--teal);
}

.contact-form .ciscrei-lgpd-acceptance a {
  color: var(--blue);
  font-weight: 900;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.site-footer {
  background:
    linear-gradient(135deg, #052f4b, var(--petrol) 48%, #081a3d),
    var(--petrol);
  color: var(--white);
}

.footer-grid {
  display: grid;
  gap: 26px;
  padding: 42px 0 28px;
}

.footer-brand img {
  width: 126px;
  height: auto;
  margin-bottom: 12px;
  border-radius: var(--radius);
  background: var(--white);
  padding: 8px;
}

.footer-brand p {
  max-width: 440px;
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
}

.footer-links {
  display: grid;
  gap: 10px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.86);
  font-weight: 800;
}

.footer-links a:hover,
.footer-links a:focus-visible {
  color: var(--teal);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  padding: 18px 0;
}

.footer-bottom p {
  margin: 0;
  color: rgba(255, 255, 255, 0.74);
  font-size: 0.92rem;
}

.lgpd-cookie-banner {
  position: fixed;
  right: 18px;
  bottom: 18px;
  left: 18px;
  z-index: 9999;
  max-width: 980px;
  margin-inline: auto;
  color: var(--blue);
}

.lgpd-cookie-banner__content {
  display: grid;
  gap: 14px;
  align-items: center;
  border: 1px solid rgba(205, 215, 227, 0.9);
  border-radius: var(--radius);
  padding: 16px;
  background: var(--white);
  box-shadow: 0 22px 48px rgba(8, 26, 61, 0.18);
}

.lgpd-cookie-banner p {
  margin: 0;
  color: var(--blue);
  font-size: 0.94rem;
  line-height: 1.45;
}

.lgpd-cookie-banner__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.lgpd-cookie-banner .btn {
  min-height: 40px;
  padding: 10px 14px;
  border: 0;
  font-size: 0.82rem;
}

@media (min-width: 760px) {
  .lgpd-cookie-banner__content {
    grid-template-columns: 1fr auto;
    padding: 18px 20px;
  }

  .lgpd-cookie-banner__actions {
    justify-content: flex-end;
  }
}

.internal-hero {
  position: relative;
  overflow: hidden;
  padding: calc(var(--header-height) + 56px) 0 56px;
  background: url("../img/bg-interno.png") center / cover no-repeat;
  color: var(--white);
}

.internal-hero .container {
  position: relative;
  z-index: 1;
}

.internal-hero .section-kicker,
.internal-hero h1 {
  color: var(--white);
}

.internal-hero h1 {
  max-width: 860px;
  margin: 0;
  font-size: clamp(2.2rem, 6vw, 4.2rem);
  line-height: 1;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin-bottom: 24px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.9rem;
  font-weight: 800;
}

.breadcrumb a {
  color: var(--white);
  text-decoration: underline;
  text-decoration-color: rgba(31, 201, 199, 0.7);
  text-underline-offset: 4px;
}

.page-content-section {
  background: linear-gradient(180deg, var(--gray-50), var(--white));
}

.page-content-container {
  max-width: 980px;
}

.page-content-card {
  border: 1px solid rgba(205, 215, 227, 0.78);
  border-radius: var(--radius);
  padding: clamp(24px, 5vw, 48px);
  background: var(--white);
  box-shadow: var(--shadow-card);
}

.page-content-body {
  display: grid;
  gap: 18px;
  color: var(--gray-700);
  font-size: 1.02rem;
  line-height: 1.75;
}

.page-content-body > * {
  margin-top: 0;
  margin-bottom: 0;
}

.page-content-body h2,
.page-content-body h3,
.page-content-body h4 {
  color: var(--blue);
  line-height: 1.15;
}

.page-content-body h2:not(:first-child),
.page-content-body h3:not(:first-child),
.page-content-body h4:not(:first-child) {
  margin-top: 12px;
}

.page-content-body a {
  color: var(--blue);
  font-weight: 900;
  text-decoration: underline;
  text-decoration-color: var(--teal);
  text-underline-offset: 4px;
}

.area-single-section {
  background: var(--gray-50);
}

.area-single-layout {
  display: grid;
  gap: 28px;
}

.area-single-content {
  display: grid;
  gap: 24px;
}

.area-single-media {
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--gray-100);
  box-shadow: var(--shadow-card);
}

.area-single-image {
  width: 100%;
  max-height: 520px;
  object-fit: cover;
  object-position: center;
}

.area-single-card {
  display: grid;
  gap: 24px;
  border: 1px solid rgba(205, 215, 227, 0.78);
  border-radius: var(--radius);
  padding: clamp(22px, 4vw, 38px);
  background: var(--white);
  box-shadow: var(--shadow-card);
}

.area-single-summary {
  border-left: 4px solid var(--teal);
  padding-left: 18px;
  color: var(--blue);
  font-size: 1.12rem;
  font-weight: 900;
  line-height: 1.45;
}

.area-single-summary p,
.area-single-body p {
  margin: 0;
}

.area-single-body {
  display: grid;
  gap: 18px;
  color: var(--gray-700);
  font-size: 1.02rem;
}

.area-single-body > * {
  margin-top: 0;
  margin-bottom: 0;
}

.area-single-card .btn {
  justify-self: start;
}

.area-related-section {
  background: var(--white);
}

.area-related-section .area-card {
  min-height: auto;
}

.area-related-section .area-card h3 {
  margin-top: 16px;
}

.project-single-hero {
  padding-bottom: 72px;
}

.project-hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 28px;
  align-items: center;
}

.project-hero-copy {
  display: grid;
  gap: 16px;
}

.project-hero-copy .breadcrumb {
  margin-bottom: 4px;
}

.project-hero-text {
  max-width: 660px;
  margin: 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: 1.12rem;
  font-weight: 700;
}

.project-hero-media {
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.1);
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.24);
}

.project-hero-image {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: center;
}

.project-single-section {
  background: var(--gray-50);
}

.project-single-grid {
  display: grid;
  gap: 24px;
  align-items: start;
}

.project-single-card,
.project-single-aside {
  border: 1px solid rgba(205, 215, 227, 0.78);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow-card);
}

.project-single-card {
  display: grid;
  gap: 24px;
  padding: clamp(22px, 4vw, 40px);
}

.project-single-header {
  display: grid;
  gap: 10px;
}

.project-single-header h2 {
  margin: 0;
  color: var(--blue);
  font-size: clamp(1.45rem, 3vw, 2rem);
  line-height: 1.12;
}

.project-single-body {
  display: grid;
  gap: 18px;
  color: var(--gray-700);
  font-size: 1.03rem;
}

.project-single-body > * {
  margin-top: 0;
  margin-bottom: 0;
}

.project-single-card .btn {
  justify-self: start;
}

.project-single-aside {
  display: grid;
  gap: 1px;
  overflow: hidden;
}

.project-info-card {
  display: grid;
  gap: 6px;
  padding: 20px;
  background: var(--white);
}

.project-info-card + .project-info-card {
  border-top: 1px solid rgba(205, 215, 227, 0.72);
}

.project-info-card span {
  color: #057f8f;
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.project-info-card strong {
  color: var(--blue);
  line-height: 1.25;
}

.project-related-section {
  background: var(--white);
}

.project-related-section .projects-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.project-related-section .project-card {
  grid-column: auto;
}

.reveal-on-scroll {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 680ms ease, transform 680ms ease;
  transition-delay: var(--reveal-delay, 0ms);
  will-change: opacity, transform;
}

.reveal-on-scroll.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-scale {
  transform: translateY(18px) scale(0.98);
}

.reveal-scale.is-visible {
  transform: translateY(0) scale(1);
}

@media (max-width: 699px) {
  :root {
    --header-height: 68px;
  }

  .container {
    width: min(100% - 28px, 1180px);
  }

  .site-header {
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 8px 24px rgba(8, 26, 61, 0.08);
  }

  .brand img {
    width: 148px;
    max-height: 46px;
  }

  .menu-toggle {
    width: 40px;
    height: 40px;
    background: var(--white);
  }

  .back-to-top {
    right: 14px;
    bottom: 14px;
    width: 42px;
    height: 42px;
  }

  .main-nav {
    gap: 4px;
    padding: 14px;
  }

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

  .hero {
    min-height: 620px;
    align-items: end;
    padding: calc(var(--header-height) + 28px) 0 96px;
  }

  .hero::before,
  .hero::after {
    background-position: 63% top;
  }

  .hero-overlay {
    background:
      linear-gradient(180deg, rgba(6, 59, 92, 0) 0%, rgba(6, 59, 92, 0.18) 30%, rgba(4, 16, 38, 0.94) 100%),
      linear-gradient(90deg, rgba(4, 16, 38, 0.36), rgba(4, 16, 38, 0.08));
  }

  .hero h1,
  .hero-subtitle,
  .hero-text {
    color: var(--white);
  }

  .hero h1 {
    font-size: 2.42rem;
    line-height: 1;
  }

  .hero-subtitle {
    max-width: 310px;
    margin-bottom: 16px;
    font-size: 1rem;
  }

  .hero-highlight {
    color: var(--teal);
    max-width: 320px;
    font-size: 1.28rem;
  }

  .hero-text {
    max-width: 340px;
    margin-bottom: 22px;
    font-size: 0.95rem;
    line-height: 1.5;
  }

  .hero .section-kicker {
    display: none;
  }

  .hero-actions {
    display: grid;
    gap: 10px;
    max-width: 320px;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .hero .btn-secondary {
    border-color: rgba(255, 255, 255, 0.55);
    background: rgba(0, 0, 0, 0.18);
    color: var(--white);
  }

  .impact-cards {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }

  .impact-card {
    min-height: 116px;
    align-content: center;
    gap: 8px 10px;
    padding: 14px 12px;
    box-shadow: 0 12px 24px rgba(8, 26, 61, 0.1);
  }

  .impact-card:not(:last-child) {
    border-bottom: 1px solid rgba(205, 215, 227, 0.74);
  }

  .impact-card:nth-child(odd) {
    border-right: 1px solid rgba(205, 215, 227, 0.74);
  }

  .impact-card:nth-child(-n + 2) {
    border-bottom: 1px solid rgba(205, 215, 227, 0.74);
  }

  .impact-icon {
    width: 44px;
    height: 44px;
  }

  .impact-icon svg {
    width: 1.18rem;
    height: 1.18rem;
  }

  .impact-card strong {
    font-size: 1.28rem;
  }

  .impact-card span:last-child {
    font-size: 0.76rem;
    line-height: 1.25;
  }

  .section {
    padding: 46px 0;
  }

  .section-heading {
    margin-bottom: 22px;
  }

  .section h2,
  .social-impact h2,
  .volunteer-section h2,
  .contact-section h2 {
    font-size: 1.2rem;
    line-height: 1.18;
  }

  .areas-scroll {
    grid-auto-columns: minmax(228px, 78%);
    gap: 14px;
    padding-bottom: 8px;
  }

  .area-card {
    padding: 0 0 16px;
    box-shadow: 0 10px 24px rgba(8, 26, 61, 0.08);
  }

  .area-photo {
    width: 100%;
    height: 122px;
    margin-inline: 0;
  }

  .area-card .area-icon {
    top: 98px;
    left: 16px;
    width: 44px;
    height: 44px;
  }

  .area-card .area-icon svg {
    width: 1.2rem;
    height: 1.2rem;
  }

  .area-card h3 {
    margin: 18px 14px 0;
    font-size: 0.98rem;
  }

  .area-card p {
    margin-inline: 14px;
  }

  .area-card a {
    margin-inline: 14px;
  }

  .area-card p,
  .project-card p {
    font-size: 0.82rem;
  }

  .social-impact {
    padding: 38px 0;
  }

  .social-grid {
    gap: 18px;
  }

  .social-impact .btn {
    width: 100%;
  }

  .projects-grid {
    gap: 12px;
  }

  .project-card {
    grid-template-columns: 108px minmax(0, 1fr);
    min-height: 118px;
    box-shadow: 0 10px 24px rgba(8, 26, 61, 0.08);
  }

  .project-card img {
    height: 100%;
    min-height: 118px;
  }

  .project-card div {
    align-content: center;
    gap: 6px;
    padding: 12px;
  }

  .project-card h3 {
    font-size: 0.9rem;
  }

  .project-card span {
    padding: 3px 7px;
    font-size: 0.68rem;
  }

  .gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-rows: 142px;
  }

  .gallery-item {
    min-height: 0;
  }

  .gallery-featured {
    grid-column: span 2;
  }

  .volunteer-section {
    gap: 18px;
    padding: 0;
    background:
      linear-gradient(135deg, rgba(31, 201, 199, 0.94), rgba(35, 35, 143, 0.94)),
      var(--volunteer-image, url("../img/foto9.png")) center / cover no-repeat;
  }

  .volunteer-section::before {
    background: rgba(6, 59, 92, 0.42);
  }

  .volunteer-card {
    gap: 18px;
    padding-block: 32px;
  }

  .volunteer-card .btn {
    width: 100%;
  }

  .contact-grid {
    gap: 20px;
  }

  .contact-info {
    text-align: center;
  }

  .contact-list {
    gap: 10px;
    margin-top: 18px;
    text-align: left;
  }

  .contact-list li {
    align-items: center;
    border: 1px solid rgba(205, 215, 227, 0.72);
    border-radius: var(--radius);
    padding: 10px;
    background: var(--white);
  }

  .social-links {
    justify-content: center;
  }

  .contact-form {
    padding: 18px;
    box-shadow: 0 12px 28px rgba(8, 26, 61, 0.09);
  }

  .contact-form .btn,
  .whatsapp-card .btn {
    width: 100%;
  }

  .whatsapp-card {
    padding: 22px 18px;
  }

  .footer-grid {
    text-align: center;
  }

  .footer-brand img {
    margin-inline: auto;
  }

  .footer-links {
    justify-items: center;
  }

  .project-single-hero {
    padding-bottom: 52px;
  }

  .project-hero-text {
    font-size: 0.98rem;
  }

  .project-related-section .projects-grid {
    grid-template-columns: 1fr;
  }
}

@media (min-width: 700px) {
  .container {
    width: min(100% - 56px, 1180px);
  }

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

  .impact-card:not(:last-child) {
    border-right: 1px solid rgba(205, 215, 227, 0.74);
    border-bottom: 1px solid rgba(205, 215, 227, 0.74);
  }

  .two-column {
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    align-items: end;
  }

  .areas-scroll {
    grid-auto-columns: minmax(210px, 1fr);
  }

  .projects-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .gallery-grid {
    grid-template-columns: repeat(6, minmax(0, 1fr));
    grid-auto-rows: 132px;
  }

  .gallery-item {
    min-height: 0;
  }

  .gallery-featured {
    grid-column: span 2;
    grid-row: span 2;
  }

  .volunteer-card {
    grid-template-columns: minmax(0, 1fr) auto;
    padding-block: 38px;
  }

  .contact-grid {
    grid-template-columns: minmax(0, 0.95fr) minmax(320px, 0.8fr);
    align-items: start;
  }

  .footer-grid {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: start;
  }

  .footer-links {
    grid-template-columns: repeat(2, auto);
    gap: 10px 26px;
  }
}

@media (min-width: 960px) {
  .menu-toggle {
    display: none;
  }

  .main-nav {
    position: static;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 16px;
    padding: 0;
    border: 0;
    background: transparent;
    box-shadow: none;
    transform: none;
    visibility: visible;
  }

  .main-nav a {
    padding: 9px 4px;
    font-size: 0.9rem;
  }

  .main-nav a:not(.nav-cta)::after {
    position: absolute;
    right: 4px;
    bottom: 3px;
    left: 4px;
    height: 2px;
    transform: scaleX(0);
    transform-origin: center;
    border-radius: 999px;
    background: var(--teal);
    transition: transform 180ms ease;
    content: "";
  }

  .main-nav a:not(.nav-cta):hover,
  .main-nav a:not(.nav-cta):focus-visible {
    background: transparent;
  }

  .main-nav a:not(.nav-cta):hover::after,
  .main-nav a:not(.nav-cta):focus-visible::after {
    transform: scaleX(1);
  }

  .main-nav .nav-cta {
    padding: 13px 18px;
    color: var(--white);
  }

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

  .section h2,
  .social-impact h2,
  .volunteer-section h2,
  .contact-section h2 {
    font-size: 1.38rem;
  }

  .social-grid {
    grid-template-columns: auto minmax(260px, 0.8fr) minmax(320px, 1fr) auto;
    align-items: center;
  }

  .social-icon {
    display: grid;
    width: 92px;
    height: 92px;
    place-items: center;
    color: var(--teal);
  }

  .social-icon svg {
    width: 78px;
    height: 78px;
    stroke-width: 1.5;
  }

  .projects-grid {
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 18px;
  }

  .areas-scroll {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    grid-auto-flow: row;
    overflow: visible;
  }

  .contact-grid {
    grid-template-columns: minmax(220px, 0.9fr) minmax(320px, 1.25fr) minmax(190px, 0.7fr);
    align-items: center;
  }

  .project-hero-grid {
    grid-template-columns: minmax(0, 0.88fr) minmax(360px, 0.72fr);
  }

  .project-single-grid {
    grid-template-columns: minmax(0, 1fr) 280px;
  }

  .project-single-aside {
    position: sticky;
    top: calc(var(--header-height) + 24px);
  }
}

@media (min-width: 1180px) {
  .hero h1 {
    font-size: 4.2rem;
  }

  .hero-subtitle {
    font-size: 1.55rem;
  }

  .hero-highlight {
    font-size: 1.8rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }

  .reveal-on-scroll {
    opacity: 1 !important;
    transform: none !important;
  }
}
