/* =========================================================
   GRUPO ESCOLAR FEDERICO FRÖEBEL
   Sitio institucional
   escuelafroebel.com.mx
========================================================= */


/* =========================================================
   VARIABLES
========================================================= */

:root {
  --froebel-navy: #06345f;
  --froebel-navy-dark: #032747;
  --froebel-blue: #0b4f85;

  --froebel-cyan: #09b8cf;
  --froebel-cyan-dark: #0796ad;
  --froebel-cyan-soft: #e8fbfd;

  --froebel-gold: #d4a33d;
  --froebel-gold-dark: #b98524;
  --froebel-gold-soft: #fff8e7;

  --froebel-white: #ffffff;
  --froebel-bg: #f7fafc;
  --froebel-bg-soft: #f1f6fa;

  --froebel-text: #1c2937;
  --froebel-text-soft: #66778a;
  --froebel-border: #dce6ee;

  --shadow-sm:
    0 8px 22px rgba(5, 48, 86, 0.08);

  --shadow-md:
    0 18px 45px rgba(5, 48, 86, 0.12);

  --shadow-lg:
    0 30px 70px rgba(5, 48, 86, 0.17);

  --radius-sm: 12px;
  --radius-md: 22px;
  --radius-lg: 32px;

  --transition:
    all 0.3s ease;
}


/* =========================================================
   RESET / GENERAL
========================================================= */

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
}

body {
  margin: 0;
  padding: 0;
  background: var(--froebel-white);
  color: var(--froebel-text);
  font-family:
    Inter,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  font-size: 16px;
  line-height: 1.7;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
}

a {
  text-decoration: none;
  transition: var(--transition);
}

section {
  position: relative;
}

::selection {
  background: var(--froebel-cyan);
  color: var(--froebel-white);
}


/* =========================================================
   TYPOGRAPHY
========================================================= */

h1,
h2,
h3,
h4,
h5,
h6 {
  color: var(--froebel-navy);
  font-weight: 800;
  line-height: 1.15;
}

h1 {
  font-size: clamp(2.7rem, 5vw, 5.2rem);
  letter-spacing: -0.04em;
}

h2 {
  font-size: clamp(2rem, 3.6vw, 3.4rem);
  letter-spacing: -0.03em;
}

h3 {
  font-size: 1.35rem;
}

p {
  color: var(--froebel-text-soft);
}

.section-kicker {
  display: inline-block;
  margin-bottom: 12px;

  color: var(--froebel-gold);

  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.18em;
}

.section-heading {
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
}

.section-heading p {
  max-width: 650px;
  margin: 15px auto 0;
  font-size: 1.05rem;
}


/* =========================================================
   HEADER
========================================================= */

.site-header {
  z-index: 1050;
}

.navbar {
  min-height: 88px;

  background: rgba(255, 255, 255, 0.96) !important;

  border-bottom: 1px solid rgba(6, 52, 95, 0.08);

  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);

  box-shadow:
    0 5px 30px rgba(4, 42, 76, 0.04);

  transition: var(--transition);
}

.navbar-brand {
  padding: 0;
}

.site-logo {
  width: 235px;
  max-height: 68px;
  object-fit: contain;
}

.navbar-nav {
  gap: 4px;
}

.navbar .nav-link {
  position: relative;

  padding: 12px 12px !important;

  color: var(--froebel-navy);

  font-size: 0.94rem;
  font-weight: 650;
}

.navbar .nav-link:hover,
.navbar .nav-link:focus,
.navbar .nav-link.active {
  color: var(--froebel-cyan-dark);
}

.navbar .nav-link:not(.btn-campus)::after {
  content: "";

  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 5px;

  height: 2px;

  background: var(--froebel-cyan);

  transform: scaleX(0);
  transform-origin: center;

  transition: transform 0.25s ease;
}

.navbar .nav-link:hover::after,
.navbar .nav-link.active::after {
  transform: scaleX(1);
}


/* =========================================================
   DROPDOWN
========================================================= */

.dropdown-menu {
  min-width: 230px;

  padding: 10px;

  background: var(--froebel-white);

  border: 1px solid rgba(6, 52, 95, 0.08);
  border-radius: 16px;

  box-shadow: var(--shadow-md);
}

.dropdown-item {
  padding: 11px 14px;

  color: var(--froebel-text);

  border-radius: 10px;

  font-weight: 600;
}

.dropdown-item:hover,
.dropdown-item:focus {
  background: var(--froebel-cyan-soft);
  color: var(--froebel-navy);
}


/* =========================================================
   NAVBAR TOGGLER
========================================================= */

.navbar-toggler {
  border: none;
  padding: 8px;
}

.navbar-toggler:focus {
  box-shadow: none;
}


/* =========================================================
   BUTTONS
========================================================= */

.btn {
  border-radius: 999px;
  font-weight: 750;
  transition: var(--transition);
}

.btn-primary-custom {
  padding: 14px 26px;

  color: var(--froebel-white);

  background:
    linear-gradient(
      135deg,
      var(--froebel-navy),
      var(--froebel-blue)
    );

  border: none;

  box-shadow:
    0 12px 30px rgba(6, 52, 95, 0.2);
}

.btn-primary-custom:hover {
  color: var(--froebel-white);

  transform: translateY(-3px);

  box-shadow:
    0 18px 40px rgba(6, 52, 95, 0.28);
}

.btn-outline-custom {
  padding: 13px 25px;

  color: var(--froebel-navy);

  background: transparent;

  border: 2px solid rgba(6, 52, 95, 0.16);
}

.btn-outline-custom:hover {
  color: var(--froebel-white);

  background: var(--froebel-navy);

  border-color: var(--froebel-navy);

  transform: translateY(-3px);
}


/* =========================================================
   CAMPUS BUTTON
========================================================= */

.btn-campus {
  padding: 11px 20px !important;

  color: var(--froebel-white) !important;

  background:
    linear-gradient(
      135deg,
      var(--froebel-cyan),
      var(--froebel-cyan-dark)
    );

  border: none;

  box-shadow:
    0 10px 25px rgba(9, 184, 207, 0.25);
}

.btn-campus:hover {
  color: var(--froebel-white) !important;

  transform: translateY(-2px);

  box-shadow:
    0 15px 32px rgba(9, 184, 207, 0.32);
}

.btn-campus-large {
  padding: 16px 28px;

  color: var(--froebel-navy-dark);

  background: var(--froebel-white);

  border: 2px solid transparent;

  font-weight: 800;

  box-shadow:
    0 15px 35px rgba(0, 0, 0, 0.14);
}

.btn-campus-large:hover {
  color: var(--froebel-white);

  background: var(--froebel-gold);

  transform: translateY(-3px);
}


/* =========================================================
   HERO
========================================================= */

.hero-home {
  position: relative;

  min-height: calc(100vh - 88px);

  display: flex;
  align-items: center;

  overflow: hidden;

  background:
    radial-gradient(
      circle at 84% 20%,
      rgba(9, 184, 207, 0.15),
      transparent 30%
    ),
    radial-gradient(
      circle at 12% 80%,
      rgba(212, 163, 61, 0.1),
      transparent 30%
    ),
    linear-gradient(
      135deg,
      #ffffff 0%,
      #f5fbfd 55%,
      #eef8fb 100%
    );
}

.hero-home::before {
  content: "";

  position: absolute;

  width: 550px;
  height: 550px;

  top: -240px;
  right: -170px;

  border-radius: 50%;

  background:
    linear-gradient(
      135deg,
      rgba(9, 184, 207, 0.1),
      rgba(6, 52, 95, 0.05)
    );
}

.hero-home::after {
  content: "";

  position: absolute;

  width: 320px;
  height: 320px;

  left: -140px;
  bottom: -180px;

  border-radius: 50%;

  border: 40px solid rgba(212, 163, 61, 0.08);
}

.min-vh-75 {
  min-height: 75vh;
}

.hero-content {
  position: relative;
  z-index: 3;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;

  padding: 8px 15px;

  margin-bottom: 22px;

  color: var(--froebel-navy);

  background: rgba(9, 184, 207, 0.11);

  border: 1px solid rgba(9, 184, 207, 0.2);
  border-radius: 999px;

  font-size: 0.82rem;
  font-weight: 800;

  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-content h1 {
  max-width: 680px;
  margin-bottom: 22px;
}

.hero-content h1 span {
  display: block;

  background:
    linear-gradient(
      90deg,
      var(--froebel-cyan-dark),
      var(--froebel-cyan),
      var(--froebel-gold)
    );

  -webkit-background-clip: text;
  background-clip: text;

  color: transparent;
}

.hero-text {
  max-width: 620px;
  margin-bottom: 30px;

  font-size: 1.1rem;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.hero-image-wrap {
  position: relative;

  max-width: 640px;

  margin-left: auto;

  padding: 14px;

  border-radius: 32px;

  background:
    linear-gradient(
      145deg,
      rgba(255, 255, 255, 0.95),
      rgba(255, 255, 255, 0.65)
    );

  box-shadow: var(--shadow-lg);
}

.hero-image-wrap::before {
  content: "";

  position: absolute;

  top: -18px;
  right: -18px;

  width: 100px;
  height: 100px;

  border-radius: 25px;

  background:
    linear-gradient(
      135deg,
      var(--froebel-gold),
      #f0c767
    );

  opacity: 0.9;

  z-index: -1;
}

.hero-image-wrap::after {
  content: "";

  position: absolute;

  left: -18px;
  bottom: -18px;

  width: 125px;
  height: 125px;

  border-radius: 50%;

  background:
    linear-gradient(
      135deg,
      var(--froebel-cyan),
      var(--froebel-blue)
    );

  opacity: 0.25;

  z-index: -1;
}

.hero-image-wrap img {
  width: 100%;
  min-height: 500px;

  object-fit: cover;

  border-radius: 24px;
}


/* =========================================================
   ABOUT
========================================================= */

.section-about {
  padding-top: 90px !important;
  padding-bottom: 90px !important;

  background: var(--froebel-white);
}

.section-about h2 {
  margin-bottom: 22px;
}

.section-about p {
  font-size: 1.08rem;
  line-height: 1.9;
}


/* =========================================================
   TEXT LINK
========================================================= */

.text-link {
  display: inline-flex;
  gap: 8px;
  align-items: center;

  margin-top: 10px;

  color: var(--froebel-cyan-dark);

  font-weight: 800;
}

.text-link i {
  transition: transform 0.25s ease;
}

.text-link:hover {
  color: var(--froebel-navy);
}

.text-link:hover i {
  transform: translateX(5px);
}


/* =========================================================
   PILARES
========================================================= */

.section-pillars {
  padding-top: 90px !important;
  padding-bottom: 90px !important;

  background:
    linear-gradient(
      180deg,
      var(--froebel-bg),
      #ffffff
    );
}

.pillar-card {
  position: relative;

  padding: 34px 28px;

  background: var(--froebel-white);

  border: 1px solid rgba(6, 52, 95, 0.08);
  border-radius: var(--radius-md);

  box-shadow: var(--shadow-sm);

  overflow: hidden;

  transition: var(--transition);
}

.pillar-card::before {
  content: "";

  position: absolute;
  left: 0;
  top: 0;

  width: 100%;
  height: 4px;

  background:
    linear-gradient(
      90deg,
      var(--froebel-cyan),
      var(--froebel-gold)
    );
}

.pillar-card:hover {
  transform: translateY(-8px);

  box-shadow: var(--shadow-md);
}

.pillar-icon {
  width: 62px;
  height: 62px;

  display: flex;
  align-items: center;
  justify-content: center;

  margin-bottom: 22px;

  border-radius: 18px;

  color: var(--froebel-white);

  background:
    linear-gradient(
      135deg,
      var(--froebel-navy),
      var(--froebel-cyan)
    );

  font-size: 1.65rem;

  box-shadow:
    0 10px 22px rgba(6, 52, 95, 0.18);
}

.pillar-card h3 {
  margin-bottom: 12px;
}

.pillar-card p {
  margin-bottom: 0;
}


/* =========================================================
   OFERTA EDUCATIVA
========================================================= */

.section-offer {
  padding-top: 95px !important;
  padding-bottom: 95px !important;

  background: var(--froebel-white);
}

.education-card {
  height: 100%;

  background: var(--froebel-white);

  border: 1px solid rgba(6, 52, 95, 0.08);
  border-radius: var(--radius-md);

  overflow: hidden;

  box-shadow: var(--shadow-sm);

  transition: var(--transition);
}

.education-card:hover {
  transform: translateY(-8px);

  box-shadow: var(--shadow-md);
}

.education-card img {
  width: 100%;
  height: 235px;

  object-fit: cover;
}

.education-card-content {
  padding: 26px;
}

.education-card-content h3 {
  margin-bottom: 10px;
}

.education-card-content a {
  display: inline-flex;

  margin-top: 8px;

  color: var(--froebel-cyan-dark);

  font-weight: 800;
}

.education-card-content a:hover {
  color: var(--froebel-navy);
}


/* =========================================================
   MISIÓN / VISIÓN
========================================================= */

.section-purpose {
  padding-top: 95px !important;
  padding-bottom: 95px !important;

  background:
    linear-gradient(
      135deg,
      var(--froebel-navy-dark),
      var(--froebel-navy)
    );
}

.purpose-card {
  position: relative;

  padding: 42px;

  color: var(--froebel-white);

  background:
    rgba(255, 255, 255, 0.08);

  border:
    1px solid rgba(255, 255, 255, 0.14);

  border-radius: var(--radius-lg);

  backdrop-filter: blur(14px);

  overflow: hidden;

  transition: var(--transition);
}

.purpose-card:hover {
  transform: translateY(-5px);

  background:
    rgba(255, 255, 255, 0.11);
}

.purpose-number {
  position: absolute;

  top: 15px;
  right: 25px;

  color:
    rgba(255, 255, 255, 0.08);

  font-size: 5rem;
  font-weight: 900;
  line-height: 1;
}

.purpose-card h2 {
  position: relative;

  color: var(--froebel-white);

  margin-bottom: 20px;
}

.purpose-card h2::after {
  content: "";

  display: block;

  width: 55px;
  height: 4px;

  margin-top: 14px;

  border-radius: 999px;

  background: var(--froebel-gold);
}

.purpose-card p {
  position: relative;

  color: rgba(255, 255, 255, 0.79);

  font-size: 1rem;
}

.section-purpose .text-link {
  color: var(--froebel-gold);
}

.section-purpose .text-link:hover {
  color: var(--froebel-white);
}


/* =========================================================
   CAMPUS BANNER
========================================================= */

.campus-banner {
  padding-top: 80px !important;
  padding-bottom: 80px !important;

  background: var(--froebel-bg);
}

.campus-banner-inner {
  position: relative;

  padding: 55px 60px;

  background:
    radial-gradient(
      circle at 90% 15%,
      rgba(255, 255, 255, 0.2),
      transparent 25%
    ),
    linear-gradient(
      135deg,
      var(--froebel-cyan),
      var(--froebel-blue)
    );

  border-radius: 32px;

  box-shadow:
    0 25px 60px rgba(7, 118, 145, 0.2);

  overflow: hidden;
}

.campus-banner-inner::before {
  content: "";

  position: absolute;

  right: -70px;
  top: -70px;

  width: 240px;
  height: 240px;

  border-radius: 50%;

  border:
    35px solid rgba(255, 255, 255, 0.08);
}

.campus-label {
  display: inline-block;

  margin-bottom: 9px;

  color: var(--froebel-gold-soft);

  font-size: 0.84rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.15em;
}

.campus-banner h2 {
  color: var(--froebel-white);
  margin-bottom: 12px;
}

.campus-banner p {
  max-width: 680px;

  color: rgba(255, 255, 255, 0.87);

  margin-bottom: 0;

  font-size: 1.05rem;
}


/* =========================================================
   ADMISIONES
========================================================= */

.section-admissions {
  padding-top: 95px !important;
  padding-bottom: 95px !important;

  background: var(--froebel-white);
}

.section-admissions h2 {
  margin-bottom: 18px;
}

.section-admissions p {
  max-width: 580px;

  margin-bottom: 26px;

  font-size: 1.05rem;
}

.section-admissions img {
  width: 100%;

  min-height: 410px;

  object-fit: cover;

  box-shadow: var(--shadow-md);
}


/* =========================================================
   COMUNIDAD
========================================================= */

.section-community {
  padding-top: 95px !important;
  padding-bottom: 95px !important;

  background:
    linear-gradient(
      180deg,
      var(--froebel-bg),
      var(--froebel-white)
    );
}

.community-card {
  position: relative;

  padding: 38px;

  background: var(--froebel-white);

  border: 1px solid rgba(6, 52, 95, 0.08);
  border-radius: var(--radius-md);

  box-shadow: var(--shadow-sm);

  transition: var(--transition);
}

.community-card:hover {
  transform: translateY(-7px);

  box-shadow: var(--shadow-md);
}

.community-icon {
  width: 65px;
  height: 65px;

  display: flex;
  align-items: center;
  justify-content: center;

  margin-bottom: 22px;

  color: var(--froebel-white);

  background:
    linear-gradient(
      135deg,
      var(--froebel-cyan),
      var(--froebel-blue)
    );

  border-radius: 20px;

  font-size: 1.7rem;
}

.community-card h3 {
  margin-bottom: 12px;
}

.community-card a {
  display: inline-flex;

  margin-top: 8px;

  color: var(--froebel-cyan-dark);

  font-weight: 800;
}

.community-card a:hover {
  color: var(--froebel-navy);
}


/* =========================================================
   CTA FINAL
========================================================= */

.final-cta {
  padding-top: 100px !important;
  padding-bottom: 100px !important;

  background:
    radial-gradient(
      circle at 50% 0%,
      rgba(9, 184, 207, 0.12),
      transparent 40%
    ),
    #ffffff;
}

.final-cta h2 {
  max-width: 700px;

  margin:
    0 auto 18px;
}

.final-cta p {
  max-width: 610px;

  margin:
    0 auto 28px;

  font-size: 1.08rem;
}


/* =========================================================
   FOOTER
========================================================= */

.site-footer {
  padding:
    70px 0 25px;

  color:
    rgba(255, 255, 255, 0.75);

  background:
    linear-gradient(
      140deg,
      #021e36,
      var(--froebel-navy-dark)
    );
}

.footer-logo {
  width: 225px;

  margin-bottom: 20px;

  background: var(--froebel-white);

  padding: 9px 12px;

  border-radius: 12px;
}

.site-footer p {
  color:
    rgba(255, 255, 255, 0.7);
}

.site-footer h3 {
  margin-bottom: 18px;

  color: var(--froebel-white);

  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.site-footer ul {
  margin: 0;
  padding: 0;

  list-style: none;
}

.site-footer li {
  margin-bottom: 10px;
}

.site-footer a:not(.btn) {
  color:
    rgba(255, 255, 255, 0.72);
}

.site-footer a:not(.btn):hover {
  color: var(--froebel-cyan);
}

.site-footer hr {
  margin:
    45px 0 22px;

  border-color:
    rgba(255, 255, 255, 0.14);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;

  gap: 20px;
}

.footer-bottom p {
  margin: 0;

  font-size: 0.9rem;
}


/* =========================================================
   BACK TO TOP
========================================================= */

.back-to-top {
  position: fixed;

  right: 22px;
  bottom: 22px;

  width: 50px;
  height: 50px;

  display: flex;
  align-items: center;
  justify-content: center;

  color: var(--froebel-white);

  background:
    linear-gradient(
      135deg,
      var(--froebel-navy),
      var(--froebel-cyan)
    );

  border: none;
  border-radius: 50%;

  box-shadow:
    0 12px 28px rgba(6, 52, 95, 0.25);

  opacity: 0;
  visibility: hidden;

  transform:
    translateY(15px);

  transition: var(--transition);

  z-index: 1030;
}

.back-to-top.show {
  opacity: 1;
  visibility: visible;

  transform:
    translateY(0);
}

.back-to-top:hover {
  transform:
    translateY(-4px);

  background:
    linear-gradient(
      135deg,
      var(--froebel-cyan),
      var(--froebel-blue)
    );
}


/* =========================================================
   ANIMACIONES
========================================================= */

@keyframes fadeUp {

  from {
    opacity: 0;
    transform: translateY(25px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }

}

.hero-content {
  animation:
    fadeUp 0.75s ease both;
}

.hero-image-wrap {
  animation:
    fadeUp 0.85s ease 0.1s both;
}


/* =========================================================
   FOCUS / ACCESIBILIDAD
========================================================= */

a:focus-visible,
button:focus-visible {
  outline:
    3px solid rgba(9, 184, 207, 0.45);

  outline-offset: 3px;
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 991.98px) {

  .navbar {
    min-height: 76px;
  }

  .site-logo {
    width: 195px;
  }

  .navbar-collapse {
    margin-top: 15px;

    padding:
      16px 0 20px;

    border-top:
      1px solid var(--froebel-border);
  }

  .navbar-nav {
    gap: 2px;
  }

  .navbar .nav-link {
    padding:
      10px 2px !important;
  }

  .navbar .nav-link::after {
    display: none;
  }

  .navbar .btn-campus {
    display: inline-flex;

    margin-top: 10px;

    padding:
      12px 20px !important;
  }

  .hero-home {
    min-height: auto;

    padding:
      70px 0 85px;
  }

  .min-vh-75 {
    min-height: auto;
  }

  .hero-content {
    margin-bottom: 45px;
  }

  .hero-content h1 {
    max-width: 750px;
  }

  .hero-image-wrap {
    margin:
      0 auto;

    max-width: 720px;
  }

  .hero-image-wrap img {
    min-height: 420px;
  }

  .campus-banner-inner {
    padding: 45px 40px;
  }

}


/* =========================================================
   MÓVIL
========================================================= */

@media (max-width: 767.98px) {

  body {
    font-size: 15px;
  }

  .site-logo {
    width: 175px;
  }

  h1 {
    font-size: clamp(2.35rem, 12vw, 3.6rem);
  }

  h2 {
    font-size: clamp(1.9rem, 8vw, 2.7rem);
  }

  .hero-home {
    padding:
      55px 0 70px;
  }

  .hero-eyebrow {
    font-size: 0.72rem;

    letter-spacing:
      0.05em;
  }

  .hero-text {
    font-size: 1rem;
  }

  .hero-actions {
    flex-direction: column;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .hero-image-wrap {
    padding: 8px;

    border-radius: 22px;
  }

  .hero-image-wrap img {
    min-height: 320px;

    border-radius: 17px;
  }

  .hero-image-wrap::before {
    width: 65px;
    height: 65px;

    top: -10px;
    right: -10px;
  }

  .hero-image-wrap::after {
    width: 80px;
    height: 80px;

    left: -10px;
    bottom: -10px;
  }

  .section-about,
  .section-pillars,
  .section-offer,
  .section-purpose,
  .section-admissions,
  .section-community,
  .final-cta {
    padding-top:
      70px !important;

    padding-bottom:
      70px !important;
  }

  .pillar-card {
    padding:
      28px 24px;
  }

  .purpose-card {
    padding:
      32px 25px;
  }

  .purpose-number {
    font-size: 4rem;
  }

  .campus-banner {
    padding-top:
      55px !important;

    padding-bottom:
      55px !important;
  }

  .campus-banner-inner {
    padding:
      36px 25px;

    border-radius: 24px;
  }

  .btn-campus-large {
    width: 100%;
  }

  .section-admissions img {
    min-height: 300px;
  }

  .community-card {
    padding:
      30px 25px;
  }

  .footer-bottom {
    flex-direction: column;

    align-items: flex-start;
  }

}


/* =========================================================
   MÓVILES PEQUEÑOS
========================================================= */

@media (max-width: 420px) {

  .site-logo {
    width: 155px;
  }

  .hero-content h1 {
    font-size: 2.25rem;
  }

  .hero-image-wrap img {
    min-height: 270px;
  }

  .pillar-card,
  .community-card {
    border-radius: 18px;
  }

}


/* =========================================================
   REDUCIR MOVIMIENTO
========================================================= */

@media (prefers-reduced-motion: reduce) {

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

}

/* =========================================================
   REVEAL ON SCROLL
========================================================= */

.reveal {
  opacity: 0;
  transform: translateY(28px);

  transition:
    opacity 0.7s ease,
    transform 0.7s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* =========================================================
   WHATSAPP FLOTANTE PREMIUM
========================================================= */

.wa-floating-wrap {
  position: fixed;

  right: 24px;
  bottom: 88px;

  z-index: 1080;

  display: flex;
  align-items: center;

  gap: 12px;
}


/* ---------------------------------------------------------
   BURBUJA DE TEXTO
--------------------------------------------------------- */

.wa-message {
  position: relative;

  padding: 12px 16px;

  background: rgba(255, 255, 255, 0.96);

  border:
    1px solid rgba(6, 52, 95, 0.08);

  border-radius: 16px;

  box-shadow:
    0 14px 35px rgba(6, 52, 95, 0.16);

  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);

  opacity: 0;

  visibility: hidden;

  transform:
    translateX(15px)
    scale(0.96);

  transition:
    opacity 0.3s ease,
    transform 0.3s ease,
    visibility 0.3s ease;
}

.wa-message::after {
  content: "";

  position: absolute;

  right: -7px;
  top: 50%;

  width: 14px;
  height: 14px;

  background: rgba(255, 255, 255, 0.96);

  border-top:
    1px solid rgba(6, 52, 95, 0.08);

  border-right:
    1px solid rgba(6, 52, 95, 0.08);

  transform:
    translateY(-50%)
    rotate(45deg);
}

.wa-message span {
  display: block;

  color: #66778a;

  font-size: 0.78rem;
  line-height: 1.15;
}

.wa-message strong {
  display: block;

  margin-top: 3px;

  color: #06345f;

  font-size: 0.92rem;
  line-height: 1.2;
}


/* ---------------------------------------------------------
   BOTÓN
--------------------------------------------------------- */

.wa-floating-btn {
  position: relative;

  min-width: 62px;
  height: 62px;

  display: flex;
  align-items: center;
  justify-content: center;

  padding:
    0 18px;

  color: #ffffff;

  background:
    linear-gradient(
      135deg,
      #25d366,
      #13a94f
    );

  border-radius: 999px;

  box-shadow:
    0 16px 38px rgba(37, 211, 102, 0.35);

  overflow: hidden;

  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.wa-floating-btn::before {
  content: "";

  position: absolute;

  inset: 0;

  background:
    linear-gradient(
      120deg,
      transparent 20%,
      rgba(255, 255, 255, 0.25),
      transparent 75%
    );

  transform:
    translateX(-120%);

  transition:
    transform 0.6s ease;
}

.wa-floating-btn:hover::before {
  transform:
    translateX(120%);
}

.wa-floating-btn:hover {
  color: #ffffff;

  transform:
    translateY(-4px)
    scale(1.03);

  box-shadow:
    0 20px 48px rgba(37, 211, 102, 0.45);
}


/* ---------------------------------------------------------
   ICONO
--------------------------------------------------------- */

.wa-floating-btn i {
  position: relative;
  z-index: 2;

  font-size: 1.75rem;
}


/* ---------------------------------------------------------
   TEXTO DEL BOTÓN
--------------------------------------------------------- */

.wa-label {
  position: relative;
  z-index: 2;

  max-width: 0;

  margin-left: 0;

  opacity: 0;

  overflow: hidden;

  white-space: nowrap;

  font-size: 0.88rem;
  font-weight: 800;

  transition:
    max-width 0.35s ease,
    margin-left 0.35s ease,
    opacity 0.25s ease;
}

.wa-floating-btn:hover .wa-label {
  max-width: 100px;

  margin-left: 9px;

  opacity: 1;
}


/* ---------------------------------------------------------
   PULSO
--------------------------------------------------------- */

.wa-pulse {
  position: absolute;

  inset: 0;

  border-radius: 999px;

  border:
    2px solid rgba(37, 211, 102, 0.55);

  animation:
    whatsappPulse 2.2s infinite;
}

@keyframes whatsappPulse {

  0% {
    transform: scale(1);
    opacity: 0.8;
  }

  70% {
    transform: scale(1.5);
    opacity: 0;
  }

  100% {
    transform: scale(1.5);
    opacity: 0;
  }

}


/* ---------------------------------------------------------
   MOSTRAR BURBUJA AL HOVER
--------------------------------------------------------- */

.wa-floating-wrap:hover .wa-message {
  opacity: 1;

  visibility: visible;

  transform:
    translateX(0)
    scale(1);
}


/* =========================================================
   MÓVIL
========================================================= */

@media (max-width: 767.98px) {

  .wa-floating-wrap {
    right: 16px;
    bottom: 82px;
  }

  .wa-message {
    display: none;
  }

  .wa-floating-btn {
    width: 58px;
    min-width: 58px;
    height: 58px;

    padding: 0;

    border-radius: 50%;
  }

  .wa-floating-btn i {
    font-size: 1.65rem;
  }

  .wa-label {
    display: none;
  }

}

.wa-message.wa-auto-show {
  opacity: 1;
  visibility: visible;

  transform:
    translateX(0)
    scale(1);
}