/* Casa del Espíritu Santo — diseño institucional */
:root {
  --sky-deep: #0a3d62;
  --sky-mid: #1a6ea8;
  --sky-bright: #3d9fd4;
  --sky-soft: #7ec8e8;
  --sky-mist: #d6eef8;
  --sky-cloud: #f4fafd;
  --white: #ffffff;
  --ink: #0f2a3d;
  --ink-soft: #3a5a70;
  --gold-soft: #c9a84c;
  --shadow: 0 20px 60px rgba(10, 61, 98, 0.12);
  --radius: 4px;
  --font-display: "Cormorant Garamond", Georgia, serif;
  --font-body: "Outfit", "Segoe UI", sans-serif;
  --max: 1120px;
  --header-h: 72px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h);
}

body {
  font-family: var(--font-body);
  font-weight: 400;
  color: var(--ink);
  background:
    radial-gradient(ellipse 80% 50% at 100% -10%, rgba(126, 200, 232, 0.35), transparent 50%),
    radial-gradient(ellipse 60% 40% at 0% 30%, rgba(61, 159, 212, 0.12), transparent 45%),
    var(--sky-cloud);
  line-height: 1.65;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

.container {
  width: min(100% - 2.5rem, var(--max));
  margin-inline: auto;
}

/* —— Header —— */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  height: var(--header-h);
  transition: background 0.35s ease, box-shadow 0.35s ease, backdrop-filter 0.35s ease;
}

.site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(14px);
  box-shadow: 0 4px 24px rgba(10, 61, 98, 0.08);
}

.site-header.is-scrolled .logo-text,
.site-header.is-scrolled .nav-link,
.site-header.is-scrolled .lang-switch a {
  color: var(--sky-deep);
}

.site-header.is-scrolled .nav-toggle span {
  background: var(--sky-deep);
}

.header-inner {
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  z-index: 2;
}

.logo-mark {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: linear-gradient(145deg, var(--sky-soft), var(--sky-mid));
  display: grid;
  place-items: center;
  box-shadow: 0 4px 16px rgba(26, 110, 168, 0.35);
  flex-shrink: 0;
}

.logo-mark svg {
  width: 22px;
  height: 22px;
  fill: var(--white);
}

.logo-text {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--white);
  line-height: 1.15;
  letter-spacing: 0.02em;
  transition: color 0.3s ease;
}

.logo-text small {
  display: block;
  font-family: var(--font-body);
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0.85;
}

.nav {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.nav-link {
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.9rem;
  font-weight: 500;
  padding: 0.5rem 0.85rem;
  border-radius: var(--radius);
  transition: color 0.25s ease, background 0.25s ease;
}

.nav-link:hover {
  color: var(--white);
  background: rgba(255, 255, 255, 0.12);
}

.site-header.is-scrolled .nav-link:hover {
  background: var(--sky-mist);
  color: var(--sky-mid);
}

.lang-switch {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  margin-left: 0.5rem;
  padding-left: 0.85rem;
  border-left: 1px solid rgba(255, 255, 255, 0.3);
}

.site-header.is-scrolled .lang-switch {
  border-left-color: rgba(10, 61, 98, 0.15);
}

.lang-switch a {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  padding: 0.25rem 0.4rem;
  transition: color 0.2s ease;
}

.lang-switch a.is-active,
.lang-switch a:hover {
  color: var(--white);
}

.site-header.is-scrolled .lang-switch a.is-active {
  color: var(--sky-mid);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 2;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  transition: transform 0.3s ease, opacity 0.3s ease, background 0.3s ease;
}

/* —— Hero —— */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: flex-end;
  padding: calc(var(--header-h) + 2rem) 0 5rem;
  color: var(--white);
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(10, 61, 98, 0.45) 0%, rgba(10, 61, 98, 0.55) 40%, rgba(8, 40, 70, 0.88) 100%),
    url("https://images.unsplash.com/photo-1507692049790-de58290a4334?auto=format&fit=crop&w=1920&q=80") center/cover no-repeat;
  animation: heroZoom 28s ease-in-out infinite alternate;
  will-change: transform;
}

.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(40px);
  pointer-events: none;
  z-index: 0;
  opacity: 0.45;
}

.hero-orb--1 {
  width: 280px;
  height: 280px;
  background: var(--sky-soft);
  top: 18%;
  right: 12%;
  animation: floatOrb 12s ease-in-out infinite;
}

.hero-orb--2 {
  width: 180px;
  height: 180px;
  background: var(--sky-bright);
  bottom: 22%;
  right: 28%;
  animation: floatOrb 16s ease-in-out infinite reverse;
}

@keyframes floatOrb {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(-18px, 22px); }
}

@keyframes heroZoom {
  from { transform: scale(1); }
  to { transform: scale(1.08); }
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 720px;
  animation: fadeUp 1s ease 0.2s both;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(28px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-brand {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 7vw, 4.75rem);
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -0.01em;
  margin-bottom: 1.25rem;
  text-shadow: 0 4px 40px rgba(0, 0, 0, 0.25);
}

.hero-lead {
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  font-weight: 300;
  line-height: 1.7;
  opacity: 0.95;
  max-width: 36em;
  margin-bottom: 2rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.9rem 1.75rem;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  border: none;
  border-radius: var(--radius);
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: var(--white);
  color: var(--sky-deep);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.18);
}

.btn-primary:hover {
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.22);
}

.btn-ghost {
  background: transparent;
  color: var(--white);
  border: 1.5px solid rgba(255, 255, 255, 0.55);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--white);
}

.btn-solid {
  background: linear-gradient(135deg, var(--sky-mid), var(--sky-deep));
  color: var(--white);
  box-shadow: 0 8px 28px rgba(26, 110, 168, 0.35);
}

.btn-solid:disabled,
.btn.is-loading {
  opacity: 0.7;
  cursor: wait;
  transform: none;
}

.scroll-hint {
  position: absolute;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  animation: bounce 2.2s ease infinite;
}

.scroll-hint::after {
  content: "";
  width: 1px;
  height: 28px;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0.7), transparent);
}

@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(6px); }
}

/* —— Sections —— */
.section {
  padding: 5.5rem 0;
  position: relative;
}

.section-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--sky-mid);
  margin-bottom: 0.75rem;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.85rem);
  font-weight: 600;
  color: var(--sky-deep);
  line-height: 1.15;
  margin-bottom: 1.25rem;
}

.section-intro {
  font-size: 1.1rem;
  color: var(--ink-soft);
  max-width: 40em;
  margin-bottom: 2.5rem;
}

.section--purpose {
  background:
    linear-gradient(180deg, var(--white) 0%, var(--sky-cloud) 100%);
  overflow: hidden;
}

.purpose-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3.5rem;
  align-items: center;
}

.purpose-text p {
  color: var(--ink-soft);
  margin-bottom: 1.25rem;
  font-size: 1.05rem;
}

.purpose-text p:last-child {
  margin-bottom: 0;
}

.purpose-visual {
  position: relative;
  min-height: 420px;
  border-radius: 2px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.purpose-visual img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.purpose-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, rgba(26, 110, 168, 0.15), rgba(10, 61, 98, 0.55));
  pointer-events: none;
}

.purpose-quote {
  position: absolute;
  inset: auto 1.5rem 1.5rem 1.5rem;
  z-index: 1;
  background: rgba(255, 255, 255, 0.95);
  padding: 1.5rem;
  border-left: 3px solid var(--sky-bright);
  backdrop-filter: blur(6px);
}

.purpose-quote p {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-style: italic;
  color: var(--sky-deep);
  line-height: 1.4;
}

.purpose-quote cite {
  display: block;
  margin-top: 0.75rem;
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-style: normal;
  font-weight: 600;
  color: var(--sky-mid);
  letter-spacing: 0.04em;
}

/* —— Values —— */
.section--values {
  background:
    radial-gradient(ellipse at top right, rgba(126, 200, 232, 0.35), transparent 55%),
    linear-gradient(180deg, var(--sky-cloud), var(--white));
  position: relative;
}

.values-deco {
  position: absolute;
  top: 2rem;
  right: max(1rem, calc((100% - var(--max)) / 2 - 1rem));
  width: min(200px, 28vw);
  opacity: 0.55;
  pointer-events: none;
  animation: floatOrb 14s ease-in-out infinite;
}

.values-deco img {
  width: 100%;
  height: auto;
  filter: drop-shadow(0 12px 30px rgba(26, 110, 168, 0.25));
}

.values-list {
  display: grid;
  gap: 0;
  border-top: 1px solid rgba(26, 110, 168, 0.15);
}

.value-item {
  display: grid;
  grid-template-columns: 4rem 1fr;
  gap: 1.5rem;
  padding: 1.75rem 0;
  border-bottom: 1px solid rgba(26, 110, 168, 0.15);
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.value-item.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.value-num {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 600;
  color: var(--sky-soft);
  line-height: 1;
  padding-top: 0.15rem;
}

.value-body h3 {
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 600;
  color: var(--sky-deep);
  margin-bottom: 0.4rem;
}

.value-body p {
  color: var(--ink-soft);
  margin-bottom: 0.5rem;
}

.value-verse {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--sky-mid);
  letter-spacing: 0.02em;
}

/* —— Objectives —— */
.section--objectives {
  position: relative;
  color: var(--white);
  overflow: hidden;
}

.objectives-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(10, 61, 98, 0.9), rgba(26, 110, 168, 0.82)),
    url("../img/community-gathering.jpg") center/cover no-repeat;
}

/* —— Visual band —— */
.visual-band {
  position: relative;
  min-height: 280px;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.visual-band img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.visual-band::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(10, 61, 98, 0.78), rgba(26, 110, 168, 0.45));
}

.visual-band-content {
  position: relative;
  z-index: 1;
  color: var(--white);
  max-width: 36em;
}

.visual-band-content p {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3.5vw, 2.15rem);
  font-style: italic;
  font-weight: 500;
  line-height: 1.35;
}

.objectives-inner {
  position: relative;
  z-index: 1;
}

.section--objectives .section-label {
  color: var(--sky-soft);
}

.section--objectives .section-title {
  color: var(--white);
}

.section--objectives .section-intro {
  color: rgba(255, 255, 255, 0.85);
}

.obj-general {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 1.75rem 2rem;
  margin-bottom: 2.5rem;
  backdrop-filter: blur(8px);
}

.obj-general h3 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 600;
  margin-bottom: 0.6rem;
}

.obj-general p {
  opacity: 0.9;
  font-size: 1.05rem;
}

.obj-general .verse {
  display: block;
  margin-top: 0.75rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--sky-soft);
}

.obj-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem 2rem;
  counter-reset: obj;
}

.obj-item {
  display: flex;
  gap: 1rem;
  padding: 1rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  counter-increment: obj;
}

.obj-item::before {
  content: counter(obj, decimal-leading-zero);
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--sky-soft);
  flex-shrink: 0;
  min-width: 2.2rem;
}

.obj-item p {
  font-size: 0.98rem;
  opacity: 0.92;
  line-height: 1.55;
}

/* —— Structure —— */
.section--structure {
  background:
    linear-gradient(180deg, rgba(244, 250, 253, 0.92), rgba(255, 255, 255, 0.96)),
    url("../img/word-prayer.jpg") center top / cover no-repeat fixed;
}

.structure-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-bottom: 3.5rem;
}

.role {
  padding: 1.75rem 1.5rem;
  background: linear-gradient(180deg, var(--sky-cloud), var(--white));
  border-top: 3px solid var(--sky-bright);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.role:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.role h3 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--sky-deep);
  margin-bottom: 0.5rem;
}

.role p {
  font-size: 0.95rem;
  color: var(--ink-soft);
}

.requirements {
  background:
    linear-gradient(120deg, var(--sky-deep), var(--sky-mid));
  color: var(--white);
  padding: 2.5rem;
  position: relative;
  overflow: hidden;
}

.requirements::before {
  content: "";
  position: absolute;
  top: -40%;
  right: -10%;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  pointer-events: none;
}

.requirements h3 {
  font-family: var(--font-display);
  font-size: 1.85rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  position: relative;
}

.requirements > p {
  opacity: 0.85;
  margin-bottom: 1.5rem;
  position: relative;
}

.req-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem 2rem;
  position: relative;
}

.req-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 1rem;
  padding: 0.5rem 0;
}

.req-list li::before {
  content: "";
  width: 8px;
  height: 8px;
  margin-top: 0.45rem;
  border-radius: 50%;
  background: var(--sky-soft);
  flex-shrink: 0;
}

.req-note {
  margin-top: 1.25rem;
  font-size: 0.85rem;
  opacity: 0.75;
  font-style: italic;
  position: relative;
}

/* —— Contact —— */
.section--groups {
  background:
    radial-gradient(ellipse at bottom left, rgba(126, 200, 232, 0.28), transparent 50%),
    linear-gradient(180deg, var(--white), var(--sky-cloud));
}

.groups-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  margin-bottom: 2rem;
}

.group-card {
  padding: 1.75rem 1.35rem;
  background: var(--white);
  border: 1px solid rgba(26, 110, 168, 0.12);
  border-top: 3px solid var(--sky-bright);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.group-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.group-pin {
  display: inline-block;
  width: 12px;
  height: 12px;
  margin-bottom: 0.85rem;
  border-radius: 50% 50% 50% 0;
  background: var(--sky-mid);
  transform: rotate(-45deg);
  box-shadow: 0 0 0 6px rgba(61, 159, 212, 0.2);
}

.group-card h3 {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--sky-deep);
  margin-bottom: 0.35rem;
}

.group-card p {
  font-size: 0.85rem;
  color: var(--ink-soft);
  letter-spacing: 0.04em;
}

.groups-cta {
  text-align: center;
  color: var(--ink-soft);
  font-size: 1.05rem;
}

.groups-cta a {
  color: var(--sky-mid);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.groups-cta a:hover {
  color: var(--sky-deep);
}

.section--contact {
  background:
    linear-gradient(180deg, var(--sky-cloud) 0%, var(--sky-mist) 100%);
}

.contact-wrap {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 3rem;
  align-items: start;
}

.contact-aside-img {
  margin-top: 2rem;
  border-radius: 2px;
  overflow: hidden;
  box-shadow: var(--shadow);
  aspect-ratio: 4 / 3;
}

.contact-aside-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.contact-aside-img:hover img {
  transform: scale(1.04);
}

.contact-info p {
  color: var(--ink-soft);
  margin-bottom: 1.5rem;
  font-size: 1.05rem;
}

.contact-meta {
  display: grid;
  gap: 1rem;
}

.contact-meta dt {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--sky-mid);
  margin-bottom: 0.2rem;
}

.contact-meta dd {
  color: var(--sky-deep);
  font-weight: 500;
}

.contact-meta dd a {
  color: var(--sky-mid);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.2s ease;
}

.contact-meta dd a:hover {
  color: var(--sky-deep);
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin: 1.75rem 0 0;
}

.btn-map {
  background: var(--white);
  color: var(--sky-deep);
  border: 1.5px solid rgba(26, 110, 168, 0.35);
  box-shadow: none;
}

.btn-map:hover {
  border-color: var(--sky-mid);
  background: var(--sky-mist);
}

.contact-form {
  background: var(--white);
  padding: 2rem;
  box-shadow: var(--shadow);
}

.form-row {
  margin-bottom: 1.15rem;
}

.form-row label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--sky-deep);
  margin-bottom: 0.4rem;
}

.form-row input,
.form-row textarea,
.form-row select {
  width: 100%;
  padding: 0.85rem 1rem;
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--ink);
  background: var(--sky-cloud);
  border: 1.5px solid transparent;
  border-radius: var(--radius);
  outline: none;
  transition: border-color 0.25s ease, background 0.25s ease;
}

.form-row input:focus,
.form-row textarea:focus,
.form-row select:focus {
  border-color: var(--sky-bright);
  background: var(--white);
}

.form-row textarea {
  min-height: 130px;
  resize: vertical;
}

.form-msg {
  display: none;
  margin-top: 1rem;
  padding: 0.85rem 1rem;
  background: var(--sky-mist);
  color: var(--sky-deep);
  font-size: 0.95rem;
  border-left: 3px solid var(--sky-bright);
}

.form-msg.is-visible {
  display: block;
  animation: fadeUp 0.4s ease;
}

.form-msg.is-error {
  background: #fde8e8;
  color: #8a1f1f;
  border-left-color: #d64545;
}

.hp-field {
  position: absolute;
  left: -9999px;
  opacity: 0;
  height: 0;
  overflow: hidden;
  pointer-events: none;
}

/* —— Footer —— */
.site-footer {
  background: var(--sky-deep);
  color: rgba(255, 255, 255, 0.8);
  padding: 3rem 0 2rem;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: 2.5rem;
}

.footer-brand {
  max-width: 280px;
}

.footer-brand .logo-text {
  color: var(--white);
  margin-bottom: 0.75rem;
}

.footer-brand p {
  font-size: 0.9rem;
  line-height: 1.6;
  opacity: 0.8;
}

.footer-contact {
  margin-top: 0.85rem;
}

.footer-contact a {
  opacity: 0.9;
  transition: color 0.2s ease, opacity 0.2s ease;
}

.footer-contact a:hover {
  color: var(--sky-soft);
  opacity: 1;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem 2rem;
}

.footer-nav a {
  font-size: 0.9rem;
  opacity: 0.85;
  transition: opacity 0.2s ease, color 0.2s ease;
}

.footer-nav a:hover {
  opacity: 1;
  color: var(--sky-soft);
}

.footer-bottom {
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75rem;
  font-size: 0.8rem;
  opacity: 0.65;
}

/* —— Reveal on scroll —— */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* —— Responsive —— */
@media (max-width: 960px) {
  .purpose-grid,
  .contact-wrap {
    grid-template-columns: 1fr;
  }

  .purpose-visual {
    min-height: 320px;
  }

  .structure-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .groups-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .obj-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .values-deco {
    display: none;
  }

  .section--structure {
    background-attachment: scroll;
  }

  .visual-band {
    min-height: 220px;
  }

  .nav-toggle {
    display: flex;
  }

  .nav {
    position: fixed;
    inset: 0;
    flex-direction: column;
    justify-content: center;
    gap: 0.5rem;
    background: rgba(10, 61, 98, 0.97);
    backdrop-filter: blur(12px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.35s ease, visibility 0.35s ease;
  }

  .nav.is-open {
    opacity: 1;
    visibility: visible;
  }

  .nav-link {
    font-size: 1.25rem;
    color: var(--white) !important;
    padding: 0.75rem 1.5rem;
  }

  .lang-switch {
    margin: 1.5rem 0 0;
    padding: 0;
    border: none;
  }

  .lang-switch a {
    color: rgba(255, 255, 255, 0.7) !important;
    font-size: 1rem;
  }

  .lang-switch a.is-active {
    color: var(--white) !important;
  }

  .nav-toggle.is-open span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }

  .nav-toggle.is-open span:nth-child(2) {
    opacity: 0;
  }

  .nav-toggle.is-open span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }

  .structure-grid,
  .req-list,
  .groups-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    align-items: center;
    padding-bottom: 4rem;
  }

  .scroll-hint {
    display: none;
  }

  .requirements {
    padding: 1.75rem;
  }

  .contact-form {
    padding: 1.5rem;
  }

  .value-item {
    grid-template-columns: 3rem 1fr;
    gap: 1rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  html {
    scroll-behavior: auto;
  }
}
