/* ===================================================================
   Project: Colegio Madre Emilia Simán
   File: assets/css/styles.css
   Notes: Organized structure + helpers (generated 2025-08-20 23:16)
   =================================================================== */


/* 1) Reset & Base --------------------------------------------------- */
* { box-sizing: border-box; margin: 0; padding: 0; }
html, body { height: 100%; }
body { font-family: Arial, sans-serif; color: #333; background-color: #FAF3E7; line-height: 1.5; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

/* 2) CSS Variables (:root) ------------------------------------------ */
:root {
  --topbar-height: 40px;
  --nav-height: 60px;
  --primary-color: #FE9D11;
  --accent-color: #10337D;
  --nav-bg: #10337D;
  --text-color-dark: #444;
  --border-light: #e0e0e0;
  --container-max: 1200px;
  --radius: 12px;
  --shadow: 0 6px 24px rgba(0,0,0,.08);
}

/* 3) Layout Helpers ------------------------------------------------- */
.container { width: min(100% - 2rem, var(--container-max)); margin-inline: auto; }
.grid { display: grid; gap: 1rem; }
.section { padding: 3rem 0; }
.card { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; }
.hidden { display: none !important; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); border: 0; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; padding: .75rem 1.25rem;
  border-radius: var(--radius); background: var(--accent-color); color: #fff; border: none; cursor: pointer; transition: transform .08s ease, opacity .2s ease; }
.btn:hover { opacity: .9; }
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--primary-color); color: #000; }
.btn--outline { background: transparent; border: 2px solid var(--accent-color); color: var(--accent-color); }

/* 4) Site Structure (headers, nav, sections) ------------------------ */
/* Keep or move your component rules here. Use comments to group
   (e.g., Header, Hero, Features, Footer). */

/* 5) Components ------------------------------------------------------ */
/* Example blocks: .topbar, .navbar, .hero, .values, .gallery, .contact */

/* 6) Utilities ------------------------------------------------------- */
/* Small one-off helpers: .mt-1, .text-center, etc. Add as needed. */
.text-center { text-align: center; }
.mt-1 { margin-top: .25rem; } .mt-2 { margin-top: .5rem; } .mt-3 { margin-top: 1rem; }
.pt-1 { padding-top: .25rem; } .pt-2 { padding-top: .5rem; } .pt-3 { padding-top: 1rem; }

/* 7) Legacy Styles (kept intact) --------------------------------- */
/* Reset */
    * { margin: 0; padding: 0; box-sizing: border-box; }
    body { font-family: Arial, sans-serif; color: #333; background-color: #FAF3E7; }

    /* Variables */
    :root {
      --topbar-height: 40px;
      --nav-height: 60px;
      --primary-color: #FE9D11;
      --accent-color: #10337D;
      --nav-bg: #10337D;
      --text-color-dark: #444;
      --border-light: #e0e0e0;
    }

    /* Top Bar */
    .topbar {
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: var(--topbar-height);
      background: #FAF3E7;
      display: flex;
      align-items: center;
      justify-content: space-between;
      padding: 0 2rem;
      font-size: 0.9rem;
      color: var(--text-color-dark);
      border-bottom: 1px solid var(--border-light);
      z-index: 100;
    }
    .topbar .contact-info,
    .topbar .social-icons {
      display: flex;
      align-items: center;
      gap: 1rem;
    }
    .topbar a { color: var(--text-color-dark); text-decoration: none; }
    .topbar a:hover { color: var(--primary-color); }

    /* Navigation */
    .navbar {
      position: fixed;
      top: var(--topbar-height);
      left: 0;
      width: 100%;
      height: 100px;
      background: var(--nav-bg);
      display: flex;
      align-items: center;
      justify-content: space-between;
      padding: 0 1.5rem;
      z-index: 100;
    }
    .navbar .nav-menu {
      list-style: none;
      display: flex;
      gap: 2rem;
    }
    .navbar .nav-menu li a {
      color: #FAF3E7;
      text-decoration: none;
      font-weight: 600;
      font-size: 1.2rem;
    }
    .navbar .nav-menu li a:hover {
      color: var(--primary-color);
    }
    .navbar .logo {
      position: absolute;
      top: 50%;
      left: 50%;
      transform: translate(-50%, -50%);
      z-index: 102;
    }

    /* Hero Section */
    .hero {
      position: relative;
      margin-top: calc(var(--topbar-height) + var(--nav-height));
      height: calc(100vh - var(--topbar-height) - var(--nav-height));
      background: url('../img/header-img.jpg') center/cover no-repeat;
      display: flex;
      align-items: center;
      justify-content: center;
      color: #FAF3E7;
      text-align: center;
    }
    .hero::before {
      content: '';
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background: rgba(0,0,0,0.5);
      z-index: 1;
    }
    .hero-content {
      position: relative;
      z-index: 2;
      max-width: 800px;
      padding: 0 1rem;
    }
    .hero-content h1 {
      font-size: 2.5rem;
      margin-bottom: 1rem;
    }
    .hero-content p {
      margin-bottom: 2rem;
    }
    .btn-primary {
      display: inline-block;
      background: var(--primary-color);
      color: #FAF3E7;
      padding: 0.75rem 1.5rem;
      border-radius: 30px;
      text-decoration: none;
      font-weight: 500;
      transition: background 0.3s;
    }
    .btn-primary:hover {
      background: #e65c00;
    }

    /* Slider Arrows (dummy) */
    .arrow {
      position: absolute;
      top: 50%;
      transform: translateY(-50%);
      background: rgba(0,0,0,0.4);
      padding: 0.5rem;
      border-radius: 50%;
      cursor: pointer;
      color: #FAF3E7;
      font-size: 1.25rem;
      z-index: 2;
    }
    .arrow.prev { left: 2%; }
    .arrow.next { right: 2%; }

    /* Contact Form at Bottom */
    .form-container {
      position: absolute;
      bottom: -40px;
      left: 50%;
      transform: translateX(-50%);
      background: #FAF3E7;
      width: 90%;
      max-width: 1000px;
      border-radius: 50px;
      box-shadow: 0 10px 20px rgba(0,0,0,0.1);
      display: flex;
      gap: 0.5rem;
      padding: 1rem;
      align-items: center;
      z-index: 2;
    }
    .form-container input,
    .form-container select {
      flex: 1;
      padding: 0.75rem 1rem;
      border: 1px solid #000000;
      border-radius: 30px;
      font-size: 0.9rem;
      background-color: #FAF3E7;
    }
    .form-container button {
      background: var(--accent-color);
      color: #FAF3E7;
      padding: 0.75rem 1.5rem;
      border: none;
      border-radius: 30px;
      font-size: 1rem;
      cursor: pointer;
    }
    .form-container button:hover {
      opacity: 0.9;
    }

    /* Responsive */
    @media(max-width: 768px) {
      .hero-content h1 { font-size: 2rem; }
      .form-container { flex-direction: column; gap: 0.5rem; }
      .form-container input,
      .form-container select,
      .form-container button { width: 100%; }
      .navbar { padding: 0 1rem; }
      .topbar { padding: 0 1rem; }
    }

    /* About Section */
    .about {
      padding: 9rem 2rem 6rem 2rem; display: flex; align-items: center;
      justify-content: center; gap: 4rem; background: #FAF3E7;
    }
    .about .about-content { flex: 1; max-width: 500px; }
    .about .about-content small {
      color: var(--nav-bg); text-transform: uppercase; font-weight: 600;
    }
    .about .about-content h2 {
      font-size: 3rem; color: var(--nav-bg); margin: 0.5rem 0;
    }
    .about .underline {
      width: 15%; height: 10px; background: var(--primary-color);
      margin-bottom: 1.5rem;
    }
    .about .about-content p {
      margin-bottom: 1rem; color: var(--nav-bg); line-height: 1.6; font-size: 1.8rem; text-align: justify;
    }
    .about .about-image { flex: 1; }
    .about .about-image img {
      width: 100%; border-radius: 13px; border: 25px solid var(--primary-color);
    }

    /* Responsive */
    @media(max-width: 992px) {
      .about { flex-direction: column; text-align: center; }
      .about .about-content, .about .about-image { max-width: 100%; }
      .about .about-image { margin-top: 2rem; }
    }
    @media(max-width: 768px) {
      .hero-content h1 { font-size: 2rem; }
      .form-container { flex-direction: column; gap: 0.5rem; }
      .form-container input,
      .form-container select,
      .form-container button { width: 100%; }
      .navbar { padding: 0 1rem; }
      .topbar { padding: 0 1rem; }
    }

    /* History & Mission Sections */
    .history,
    .mission {
      padding: 1rem 2rem; display: flex; align-items: center;
      justify-content: center; gap: 4rem; background: #FAF3E7;
      flex-direction: row-reverse;
    }
    .history .history-image,
    .mission .mission-image,
    .history .history-content,
    .mission .mission-content {
      flex: 1; max-width: 500px;
    }
    .history-content small,
    .mission-content small {
      color: var(--nav-bg); text-transform: uppercase; font-weight: 600;
    }
    .history-content h2,
    .mission-content h2 {
      font-size: 3rem; color: var(--nav-bg); margin: 0.5rem 0; text-align: center;
    }
    .history-content p,
    .mission-content p {
      margin-bottom: 1rem; color: var(--accent-color); line-height: 1.6; font-size: 1.6rem; text-align: center;
    }
    .history-image img,
    .mission-image img {
      width: 100%; border-radius: 13px; border: 25px solid var(--primary-color);
    }

    #mission {
      margin-bottom: 4rem;
    }

    /* Reverse order for mission */
    .mission { flex-direction: row-reverse; }

    /* Responsive */
    @media(max-width: 992px) {
      .about,
      .history,
      .mission {
        flex-direction: column; text-align: center;
      }
      .about .about-image,
      .history .history-image,
      .mission .mission-image,
      .about .about-content,
      .history .history-content,
      .mission .mission-content {
        max-width: 100%;
        margin: 0 auto;
      }
      .form-container {
        flex-direction: column; gap: 0.5rem;
      }
      .form-container input,
      .form-container select,
      .form-container button {
        width: 100%;
      }
    }

    /* Courses Section */
    .courses .section-header { text-align: center; width: 100%; margin: 2rem 0 4rem 0; }
    .courses .section-header small { display: block; margin-bottom: 0.5rem; }
    .courses .section-header .underline { width: 100%; height: 10px; background: var(--primary-color); margin: 1rem auto; }
    .course-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
      gap: 2rem;
      width: 100%;
      margin: 0;
    }
    .course-card {
      background: #FAF3E7;
      border-radius: 10px;
      box-shadow: 0 4px 10px rgba(0,0,0,0.05);
      overflow: hidden;
      display: flex;
      flex-direction: column;
    }
    .course-card img { width: 100%; height: 150px; object-fit: cover; }
    .course-card .card-content { padding: 1rem; flex: 1; display: flex; flex-direction: column; }
    .course-card small { margin-bottom: 0.5rem; }
    .course-card h3 { font-size: 2rem; color: var(--nav-bg); margin-bottom: 0.5rem; text-align: center;}
    .course-card .description { flex: 1; font-size: 1.4rem; color: var(--accent-color); margin-bottom: 1rem; text-align: center; }
    .course-card .footer { display: flex; justify-content: space-between; align-items: center; font-size: 0.9rem; }
    .course-card .price { color: var(--primary-color); font-weight: bold; }

    section.courses {
        padding: 2rem 2rem 4rem 2rem;
    }

    /* Responsive */
    @media(max-width: 992px) {
      .courses { flex-direction: column; text-align: center; }
    }

    /* Load More Button */
    .load-more { text-align: center; margin: 2rem 0; }
    .btn-load-more {
      text-decoration: none;
      display: inline-block;
        width: 95%;
        border: 2px solid var(--accent-color);
      background: var(--accent-color);
      color: #FAF3E7;
        padding: 2rem 1.5rem;
        font-size: 1.6rem;
        border-radius: 50px;
        cursor: pointer;
        transition: background 0.3s, color 0.3s;
    }
    .btn-load-more:hover {
        background: transparent;
        color: var(--accent-color);
    }

    .section-header p {
      margin-top: 15px;
      color: var(--nav-bg);
      font-size: 1.8rem;
      text-align: justify;
      line-height: 1.6;
      padding: 0 2rem !important;
    }

    section.fb-gallery.reveal.is-visible {
    margin-bottom: 4rem;
}

    /* Valores Espirituales Section */
    .values { padding: 4rem 0; background: #FAF3E7; }
    .values .section-header .underline { width: 50px; height: 10px; background: var(--primary-color); margin: 1rem auto; }
    .values .section-header h2 { color: var(--accent-color); font-size: 3rem; text-transform: uppercase; text-align: center; }
    .values-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 3rem; width: 100%; margin: 2rem auto; }
    .value-card { background: #FAF3E7; border-radius: 8px; box-shadow: 0 4px 8px rgba(0,0,0,0.05); padding: 2rem 1rem; text-align: center; }
    .value-card i { font-size: 5rem; color: var(--primary-color); margin-bottom: 1rem; }
    .value-card p { font-size: 1.8rem; color: var(--accent-color); font-weight: 600; text-transform: uppercase; }

    /* Responsive */
    @media(max-width: 992px) { .course-grid, .values-grid { grid-template-columns: 1fr; } .topbar .contact-info, .topbar .social-icons { font-size: 0.7rem;} }

    .map-holder iframe {
        width: 100%;
        display: block;
    }

    /* Footer Styles */
    .site-footer { background: var(--nav-bg); color: #FAF3E7; }
    .site-footer .footer-top { display: flex; flex-wrap: wrap; justify-content: space-between; padding: 4rem 2rem; max-width: 1200px; margin: 0 auto; align-items: center; }
    .site-footer .about-footer p { max-width: 500px; line-height: 1.6; margin: 20px 0; font-size: 1.4rem; }
    .site-footer .contacts-footer h3 { margin-bottom: 1rem; font-size: 2.5rem; }
    .site-footer .contacts-footer ul { list-style: none; padding: 0; }
    .site-footer .contacts-footer ul li { margin-bottom: 0.75rem; display: flex; align-items: center; font-size: 1.2rem; }
    .site-footer .contacts-footer ul li i { margin-right: 0.5rem; }
    .site-footer .footer-bottom { background: #04112b; text-align: center; padding: 1rem 0; font-size: 0.9rem; }

    .footer-bottom p {
      font-size: 1.2rem;
    }

    .about-footer {
      width: 50%;
      display: flex;
      flex-direction: column;
      align-items: center;
    }

    /* Responsive */
    @media(max-width: 992px) { .course-grid, .values-grid { grid-template-columns: 1fr; } .site-footer .footer-top { flex-direction: column; text-align: center; } }
  


  /* Hamburguer Styles */
  .hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    width: 35px;
    height: 35px;
    cursor: pointer;
    z-index: 110;
  }
  .hamburger span {
    height: 4px;
    background: #FAF3E7;
    margin: 5px 0;
    border-radius: 2px;
    transition: .4s;
    width: 100%;
    display: block;
  }
  .navbar.open .nav-menu {
    right: 0;
    opacity: 1;
    pointer-events: all;
  }

  @media(max-width: 1030px) {
    #nav-menu-1, #nav-menu-2 {
        display: none;
    }
    .navbar {
      position: fixed;
      flex-direction: row;
      height: var(--nav-height);
      z-index: 200;
    }
    
    .navbar .logo {
      left: 50%;
      position: absolute;
      transform: translate(-50%, -50%);
      z-index: 120;
      display: none;
    }
    #nav-menu-3 {
      position: fixed;
      top: var(--topbar-height);
      right: -100vw;
      width: 70vw;
      max-width: 300px;
      height: 100vh;
      background: var(--nav-bg);
      flex-direction: column;
      align-items: flex-start;
      padding: 3.5rem 2rem 2rem 2rem;
      gap: 1.8rem;
      opacity: 0;
      pointer-events: none;
      transition: right 0.3s, opacity 0.3s;
      z-index: 110;
    }
    .navbar.open #nav-menu-3 {
      right: 0;
      opacity: 1;
      pointer-events: all;
    }
    .hamburger { display: flex; }
  }
  /* Bloquea el scroll cuando está abierto el menú */
  body.menu-open {
    overflow: hidden;
  }

    #nav-menu-3 {
        display: flex;
        flex-direction: column;
        position: fixed;
        top: var(--topbar-height);
        right: -100vw;
        width: 70vw;
        max-width: 300px;
        height: 100vh;
        background: var(--nav-bg);
        align-items: flex-start;
        padding: 3.5rem 2rem 2rem 2rem;
        gap: 1.8rem;
        opacity: 0;
        pointer-events: none;
        transition: right 0.3s, opacity 0.3s;
        z-index: 110;
    }

    :root{
    /* Colores de Facebook */
    --fb-blue-1:#1877F2;  /* principal */
    --fb-blue-2:#0e5aab;  /* más oscuro para el degradado */
    --size: clamp(180px, 22vw, 300px); /* diámetro de cada círculo */
  }

  .fb-gallery{
    display:grid;
    grid-template-columns: repeat(4, minmax(0,1fr));
    gap:clamp(16px,3vw,36px);
    place-items:center;
  }

  .fb-card{
    position:relative;
    width:var(--size);
    aspect-ratio:1/1;
    border-radius:50%;
    overflow:hidden;
    display:block;
    text-decoration:none;
    box-shadow:0 8px 22px rgba(0,0,0,.12);
    transition:transform .2s ease, box-shadow .2s ease;
  }
  .fb-card:focus-visible{outline:3px solid var(--fb-blue-1); outline-offset:6px;}
  .fb-card:hover{ transform:translateY(-2px); box-shadow:0 12px 28px rgba(0,0,0,.18); }

  .fb-card img{
    width:100%; height:100%; object-fit:cover; display:block;
    filter:saturate(1.05);
  }

  /* Borde en degradado FB al hover */
  .fb-card::after{
    content:"";
    position:absolute; inset:0;
    border-radius:50%;
    padding:3px; /* grosor del aro */
    background:linear-gradient(135deg, var(--fb-blue-1), var(--fb-blue-2));
    -webkit-mask: 
      linear-gradient(#000 0 0) content-box, 
      linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
            mask-composite: exclude;
    opacity:0; transition:opacity .25s ease;
  }
  .fb-card:hover::after{ opacity:1; }

  /* Overlay con colores FB */
  .fb-card .overlay{
    position:absolute; inset:0; display:grid; place-items:center;
    background:
      linear-gradient(180deg, rgba(0,0,0,.0) 0%, rgba(0,0,0,.12) 30%, rgba(0,0,0,.28) 60%),
      linear-gradient(135deg, rgba(24,119,242,.85), rgba(14,90,171,.92));
    color:#FAF3E7;
    opacity:0; transition:opacity .25s ease;
    text-align:center;
  }
  .fb-card:hover .overlay{ opacity:1; }

  .fb-badge{
    display:flex; flex-direction:column; align-items:center; gap:8px;
    transform:translateY(4px);
  }
  .fb-icon{ width:56px; height:56px; }

  .fb-label{
    font-weight:700; font-size:0.95rem; letter-spacing:.2px;
    padding:.35rem .75rem; border-radius:999px;
    background:rgba(255,255,255,.18);
    backdrop-filter: blur(2px);
  }

  @media (max-width: 980px){
    .fb-gallery{ grid-template-columns: repeat(2, minmax(0,1fr)); }
  }
  @media (max-width: 520px){
    .fb-gallery{ grid-template-columns: 1fr; }
  }

  /* Respeta usuarios con menos movimiento */
  @media (prefers-reduced-motion: reduce){
    .fb-card, .fb-card .overlay, .fb-card::after{ transition:none; }
  }

  /* ==== Scroll Reveal / Micro-interacciones ==== */
:root { --reveal-distance: 18px; }

.reveal{
  opacity: 0;
  transform: translateY(var(--reveal-distance));
  filter: blur(2px);
  transition:
    opacity .6s ease,
    transform .6s ease,
    filter .6s ease;
  transition-delay: var(--delay, 0s);
  will-change: opacity, transform, filter;
}
.reveal[data-anim="left"]  { transform: translateX(calc(var(--reveal-distance) * -1)); }
.reveal[data-anim="right"] { transform: translateX(var(--reveal-distance)); }
.reveal[data-anim="scale"] { transform: scale(.96); }
.reveal[data-anim="blur"]  { filter: blur(10px); }

.reveal.is-visible{
  opacity: 1;
  transform: none;
  filter: none;
}

/* Micro-interacciones de tarjetas e imágenes */
.course-card{
  transition: transform .25s ease, box-shadow .25s ease;
}
.course-card:hover{
  transform: translateY(-6px);
  box-shadow: 0 14px 28px rgba(0,0,0,.12);
}
.course-card img{
  transition: transform .45s ease;
}
.course-card:hover img{ transform: scale(1.05); }

.value-card{
  transition: transform .25s ease, box-shadow .25s ease;
}
.value-card:hover{
  transform: translateY(-4px);
  box-shadow: 0 10px 22px rgba(0,0,0,.10);
}

/* Respeta usuarios con menos movimiento */
@media (prefers-reduced-motion: reduce){
  .reveal{ transition: none; opacity: 1; transform: none; filter: none; }
  .course-card:hover img{ transform: none; }
}

/* ==== Botón con PULSE + RIPPLE ==== */
.btn-load-more{
  position: relative;           /* necesario para ripple */
  overflow: hidden;             /* necesario para ripple */
  outline: none;
}
.btn-load-more:focus-visible{
  outline: 3px solid var(--accent-color);
  outline-offset: 3px;
}

/* Latido suave al hover */
@keyframes pulse {
  0%   { transform: scale(1);   box-shadow: 0 0 0 0 rgba(76,110,245,.45); }
  70%  { transform: scale(1.02);box-shadow: 0 0 0 12px rgba(76,110,245,0); }
  100% { transform: scale(1);   box-shadow: 0 0 0 0 rgba(76,110,245,0); }
}
.btn-load-more:hover { animation: pulse 1.2s ease; }

/* Ondita ripple (se inyecta por JS) */
.btn-load-more .ripple{
  position: absolute;
  border-radius: 999px;
  transform: scale(0);
  opacity: .35;
  pointer-events: none;
  aspect-ratio: 1/1;
  background: currentColor;     /* usa el color del texto del botón */
  animation: ripple .6s ease-out forwards;
}
@keyframes ripple { to { transform: scale(12); opacity: 0; } }

/* Parallax: no requiere estilos extra, pero por claridad fijamos el fondo centrado */
.hero{ background-position: center; }

/* Accesibilidad: si el usuario prefiere menos movimiento, desactiva animaciones */
@media (prefers-reduced-motion: reduce){
  .btn-load-more:hover { animation: none; }
}

.section-header h2 {
  color: var(--accent-color);
  font-size: 3rem;
  margin-bottom: 10px;
}

/* === Sticky Actions (FABs) === */
:root{
  --fab-size: 56px;
  --fab-gap: 12px;
  --wa:#25D366;     /* WhatsApp */
  --fb:#1877F2;     /* Facebook */
}

.sticky-actions{
  position: fixed;
  right: clamp(12px, 2vw, 24px);
  bottom: calc(env(safe-area-inset-bottom, 0px) + 14px);
  display: flex;
  flex-direction: column;
  gap: var(--fab-gap);
  z-index: 9999;
}

.sticky-actions .fab{
  width: var(--fab-size);
  height: var(--fab-size);
  border-radius: 999px;
  display: grid;
  place-items: center;
  color: #fff;
  text-decoration: none;
  box-shadow: 0 12px 24px rgba(0,0,0,.18);
  transition: transform .18s ease, box-shadow .18s ease, opacity .18s ease;
}

.sticky-actions .fab:hover{
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 16px 28px rgba(0,0,0,.22);
}

.fab--wa{ background: var(--wa); }
.fab--fb{ background: var(--fb); }
/* Tercera plataforma: usa tu color de fondo preferido */
.fab--custom{ background: #FFFFFF; }

.sticky-actions .fab i{
  font-size: 1.6rem;
  line-height: 1;
}

/* Si usas una imagen para la 3ª plataforma */
.sticky-actions .fab--custom img{
  width: 28px;
  height: 28px;
  object-fit: contain;
  display: block;
  filter: none; /* quítalo si quieres invertir colores: filter: invert(1); */
}

/* Accesibilidad / reduce motion */
@media (prefers-reduced-motion: reduce){
  .sticky-actions .fab{ transition: none; }
}

/* Cuando el menú móvil está abierto, ocultamos los FABs para no estorbar */
body.menu-open .sticky-actions{ display: none; }

/* Evita que tapen el footer en pantallas muy pequeñas: opción para moverlos al centro */
@media (max-width: 380px){
  .sticky-actions{
    right: 10px;
    bottom: calc(env(safe-area-inset-bottom, 0px) + 10px);
  }
}

.about-footer img {
    width: 35%;
}



  html { scroll-behavior: smooth; }
