/* Colegio Piaget de Talca · renovación visual 2026 */
:root {
  --piaget-blue-950: #071a4a;
  --piaget-blue-900: #0a286f;
  --piaget-blue-800: #123c9c;
  --piaget-blue-700: #2045ac;
  --piaget-blue-600: #2d66db;
  --piaget-blue-100: #eaf2ff;
  --piaget-blue-50: #f5f8ff;
  --piaget-white: #ffffff;
  --piaget-yellow: #ffd23f;
  --piaget-red: #e53935;
  --piaget-ink: #10224b;
  --piaget-muted: #5c6b8a;
  --piaget-line: rgba(32, 69, 172, .14);
  --piaget-shadow: 0 22px 55px rgba(7, 26, 74, .13);
  --piaget-shadow-soft: 0 10px 30px rgba(7, 26, 74, .09);
  --piaget-radius: 24px;
}

html { scroll-behavior: smooth; }

body.piaget-page {
  margin: 0;
  color: var(--piaget-ink);
  background:
    radial-gradient(circle at 8% 4%, rgba(45, 102, 219, .10), transparent 24rem),
    linear-gradient(180deg, #fff 0, var(--piaget-blue-50) 52%, #fff 100%);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

body.piaget-page a:focus-visible,
body.piaget-page button:focus-visible,
body.piaget-page input:focus-visible,
body.piaget-page textarea:focus-visible {
  outline: 4px solid rgba(255, 210, 63, .65);
  outline-offset: 3px;
}

/* Navegación común */
body.piaget-page .navbar {
  position: sticky;
  top: 0;
  z-index: 10000;
  min-height: 76px;
  width: 100%;
  padding: 8px clamp(18px, 4vw, 64px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  color: #fff;
  background: linear-gradient(105deg, rgba(7, 26, 74, .98), rgba(18, 60, 156, .96));
  border-bottom: 1px solid rgba(255,255,255,.16);
  box-shadow: 0 12px 34px rgba(7, 26, 74, .22);
  backdrop-filter: blur(18px);
}

body.piaget-page .navbar::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 3px;
  background: linear-gradient(90deg, var(--piaget-yellow) 0 14%, transparent 14% 84%, var(--piaget-red) 84%);
}

body.piaget-page .navbar .logo {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  min-width: 76px;
  min-height: 56px;
  padding: 5px 10px;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 8px 22px rgba(0,0,0,.18);
  transform: rotate(-1deg);
}

body.piaget-page .navbar .logo img,
body.piaget-page .navbar .logo img[style] {
  position: static;
  height: 48px !important;
  width: auto;
  margin: 0;
  object-fit: contain;
}

body.piaget-page .nav-links {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 4px;
  margin: 0;
  padding: 0;
  list-style: none;
}

body.piaget-page .nav-links li { padding: 0; margin: 0; }

body.piaget-page .nav-links > li > a {
  position: relative;
  display: block;
  padding: 11px 10px;
  border-radius: 12px;
  color: rgba(255,255,255,.9);
  font-size: .92rem;
  font-weight: 700;
  letter-spacing: -.01em;
  text-decoration: none;
  transition: color .2s ease, background .2s ease, transform .2s ease;
}

body.piaget-page .nav-links > li > a:hover,
body.piaget-page .nav-links > li > a[aria-current="page"] {
  color: #fff;
  background: rgba(255,255,255,.12);
  transform: translateY(-1px);
}

body.piaget-page .nav-links > li > a[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 5px;
  height: 3px;
  border-radius: 4px;
  background: var(--piaget-yellow);
}

body.piaget-page .nav-links .highlighted-link,
body.piaget-page .navbar .dropbtn {
  padding: 10px 16px !important;
  color: var(--piaget-blue-950) !important;
  background: var(--piaget-yellow) !important;
  border: 0 !important;
  border-radius: 999px !important;
  box-shadow: 0 7px 18px rgba(255, 210, 63, .22);
}

body.piaget-page .navbar .dropdown { position: relative; }

body.piaget-page .navbar .dropdown-content,
body.piaget-page .navbar .dropdown-menu {
  top: calc(100% + 10px);
  right: 0;
  left: auto;
  min-width: 210px;
  padding: 8px;
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 16px;
  color: #fff;
  background: rgba(7, 26, 74, .98);
  box-shadow: 0 20px 45px rgba(7, 26, 74, .3);
}

body.piaget-page .navbar .dropdown-content a,
body.piaget-page .navbar .dropdown-menu a {
  padding: 11px 13px;
  border-radius: 10px;
  color: #fff;
  font-weight: 650;
}

body.piaget-page .navbar .dropdown-content a:hover,
body.piaget-page .navbar .dropdown-menu a:hover { background: rgba(255,255,255,.12); }

body.piaget-page .nav-toggle {
  border: 1px solid rgba(255,255,255,.25);
  border-radius: 12px;
  padding: 4px 11px;
  color: #fff;
  background: rgba(255,255,255,.1);
  line-height: 1.25;
}

/* Portada del inicio */
body.piaget-home .hero-gallery {
  isolation: isolate;
  position: relative;
  width: 100%;
  overflow: hidden;
  min-height: 610px;
  height: min(680px, calc(100svh - 76px));
  background:
    radial-gradient(circle at 86% 15%, rgba(255, 210, 63, .17), transparent 20rem),
    linear-gradient(125deg, var(--piaget-blue-950), var(--piaget-blue-800));
}

body.piaget-home .hero-slides {
  position: absolute;
  z-index: 2;
  top: 42px;
  right: max(24px, calc((100% - 1180px) / 2));
  bottom: 42px;
  width: min(44vw, 560px);
  display: grid;
  grid-template-columns: 1.18fr .82fr;
  grid-template-rows: repeat(2, minmax(0, 1fr));
  gap: 13px;
  padding: 10px;
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 30px;
  background: rgba(255,255,255,.1);
  box-shadow: 0 30px 70px rgba(0,0,0,.28);
  backdrop-filter: blur(12px);
  transform: rotate(1deg);
}

body.piaget-home .hero-slide {
  position: relative;
  inset: auto;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: var(--slide-position, center);
  opacity: 1;
  border-radius: 19px;
  box-shadow: 0 14px 30px rgba(0,0,0,.22);
}

body.piaget-home .hero-slide:first-child { grid-row: 1 / 3; }

.hero-content {
  position: relative;
  z-index: 3;
  width: min(1180px, calc(100% - 40px));
  height: 100%;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding-right: min(49vw, 610px);
  color: #fff;
}

.hero-eyebrow,
.page-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 18px;
  color: var(--piaget-yellow);
  font-size: .8rem;
  font-weight: 850;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.hero-eyebrow::before,
.page-eyebrow::before {
  content: "";
  width: 30px;
  height: 4px;
  border-radius: 9px;
  background: var(--piaget-red);
}

.hero-content h1 {
  max-width: 610px;
  margin: 0;
  color: #fff;
  font-size: clamp(2.8rem, 5.5vw, 5.2rem);
  font-weight: 900;
  letter-spacing: -.065em;
  line-height: .95;
  text-wrap: balance;
  text-shadow: 0 8px 32px rgba(0,0,0,.28);
}

.hero-content h1 span { color: var(--piaget-yellow); }

.hero-content > p:not(.hero-eyebrow) {
  max-width: 580px;
  margin: 26px 0 0;
  color: rgba(255,255,255,.9);
  font-size: clamp(1.05rem, 2vw, 1.3rem);
  line-height: 1.6;
}

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

.hero-button,
body.piaget-page .about-btn,
body.piaget-page .route-btn,
body.piaget-page .btn-download,
body.piaget-page .button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 12px 21px;
  border: 0;
  border-radius: 14px;
  color: #fff;
  background: linear-gradient(135deg, var(--piaget-blue-600), var(--piaget-blue-800));
  box-shadow: 0 12px 25px rgba(18,60,156,.22);
  font-weight: 800;
  text-decoration: none;
  transition: transform .2s ease, box-shadow .2s ease, filter .2s ease;
}

.hero-button { color: var(--piaget-blue-950); background: var(--piaget-yellow); }
.hero-button.secondary { color: #fff; background: rgba(255,255,255,.11); border: 1px solid rgba(255,255,255,.45); backdrop-filter: blur(10px); }

.hero-button:hover,
body.piaget-page .about-btn:hover,
body.piaget-page .route-btn:hover,
body.piaget-page .btn-download:hover,
body.piaget-page .button:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 34px rgba(18,60,156,.28);
  filter: brightness(1.04);
}

.hero-scroll {
  position: absolute;
  left: 0;
  bottom: 32px;
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(255,255,255,.75);
  font-size: .82rem;
  font-weight: 700;
}

.hero-scroll::before { content: "↓"; display: grid; place-items: center; width: 32px; height: 32px; border: 1px solid rgba(255,255,255,.38); border-radius: 50%; }

/* Bloques interiores comunes */
body.piaget-inner .main-content,
body.piaget-inner main {
  width: min(1180px, calc(100% - 36px));
  max-width: 1180px;
  margin: 0 auto;
  padding: clamp(42px, 7vw, 92px) 0;
}

body.piaget-inner .main-content > h1,
body.piaget-inner main > h1,
body.piaget-inner .about-hero h1 {
  margin: 0;
  color: var(--piaget-blue-950);
  font-size: clamp(2.35rem, 5vw, 4.6rem);
  font-weight: 900;
  letter-spacing: -.055em;
  line-height: 1;
}

.page-intro,
body.piaget-inner .intro-text,
body.piaget-inner .about-hero p {
  max-width: 760px;
  margin: 18px 0 38px;
  color: var(--piaget-muted);
  font-size: clamp(1.02rem, 1.5vw, 1.2rem);
  line-height: 1.7;
  text-align: left;
}

body.piaget-inner .main-content > .page-eyebrow,
body.piaget-contact .contact-hero > .page-eyebrow { color: var(--piaget-blue-700); }

body.piaget-inner .about-hero {
  position: relative;
  overflow: hidden;
  padding: clamp(34px, 6vw, 70px);
  border-radius: 32px;
  color: #fff;
  background: linear-gradient(130deg, var(--piaget-blue-950), var(--piaget-blue-700));
  box-shadow: var(--piaget-shadow);
}

body.piaget-inner .about-hero::after {
  content: "P";
  position: absolute;
  right: 2%;
  top: 50%;
  color: rgba(255,255,255,.06);
  font-size: 15rem;
  font-weight: 950;
  line-height: 1;
  transform: translateY(-50%) rotate(8deg);
}

body.piaget-inner .about-hero h1 { color: #fff; }
body.piaget-inner .about-hero p { position: relative; z-index: 1; margin-bottom: 0; color: rgba(255,255,255,.84); }

body.piaget-about .about-kpis {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin: 22px 0;
}

body.piaget-about .kpi,
body.piaget-about .about-card,
body.piaget-documents .card {
  border: 1px solid var(--piaget-line);
  border-radius: var(--piaget-radius);
  background: rgba(255,255,255,.92);
  box-shadow: var(--piaget-shadow-soft);
}

body.piaget-about .kpi { padding: 22px; }
body.piaget-about .kpi-title { color: var(--piaget-muted); font-size: .78rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
body.piaget-about .kpi-value { margin-top: 6px; color: var(--piaget-blue-800); font-size: 1.12rem; font-weight: 850; }

body.piaget-about .about-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
body.piaget-about .about-card { padding: clamp(24px, 4vw, 38px); border-top: 5px solid var(--piaget-blue-600); transition: transform .25s ease, box-shadow .25s ease; }
body.piaget-about .about-card:nth-child(2) { border-top-color: var(--piaget-red); }
body.piaget-about .about-card:nth-child(3) { border-top-color: var(--piaget-yellow); }
body.piaget-about .about-card:hover { transform: translateY(-5px); box-shadow: var(--piaget-shadow); }
body.piaget-about .about-card h2 { margin-top: 0; color: var(--piaget-blue-900); }
body.piaget-about .about-wide { grid-column: 1 / -1; background: linear-gradient(135deg, #fff, var(--piaget-blue-100)); }

/* Documentos */
body.piaget-documents .main-content > h1 { max-width: 850px; }
body.piaget-documents .container { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; width: 100%; max-width: none; }
body.piaget-documents .card { overflow: hidden; margin: 0; padding: 0; border-left: 0; transition: transform .25s ease, box-shadow .25s ease; }
body.piaget-documents .card:hover { transform: translateY(-5px); box-shadow: var(--piaget-shadow); }
body.piaget-documents .card-title-wrap { padding: 24px 26px 18px; background: linear-gradient(135deg, var(--piaget-blue-950), var(--piaget-blue-700)); }
body.piaget-documents .card:nth-child(even) .card-title-wrap { background: linear-gradient(135deg, var(--piaget-blue-800), var(--piaget-blue-600)); }
body.piaget-documents .card-title { margin: 0 0 5px; color: #fff; font-size: 1.25rem; }
body.piaget-documents .card-tag { color: var(--piaget-yellow); font-size: .82rem; font-weight: 750; }
body.piaget-documents .card-body { padding: 24px 26px 27px; }
body.piaget-documents .card-body p { color: var(--piaget-muted); }
body.piaget-documents .card-actions { display: flex; flex-wrap: wrap; gap: 10px; }
body.piaget-documents .btn-view { min-height: 48px; padding: 10px 19px; border: 2px solid var(--piaget-blue-700); border-radius: 14px; color: var(--piaget-blue-800); background: #fff; font-weight: 800; cursor: pointer; }

/* Equipo */
body.piaget-team .main-content > h1 { margin-bottom: 12px; }
body.piaget-team .main-content > h1::after { content: "Personas que acompañan, enseñan e inspiran"; display: block; max-width: 720px; margin-top: 16px; color: var(--piaget-muted); font-size: 1.08rem; font-weight: 450; letter-spacing: 0; line-height: 1.55; }
body.piaget-team .tab { display: flex; justify-content: flex-start; gap: 9px; margin: 28px 0 30px; padding: 8px; overflow-x: auto; border: 1px solid var(--piaget-line); border-radius: 18px; background: #fff; box-shadow: var(--piaget-shadow-soft); }
body.piaget-team .tab button.tablinks { flex: 0 0 auto; width: auto; margin: 0; padding: 12px 17px; border: 0; border-radius: 12px; color: var(--piaget-blue-800); background: var(--piaget-blue-50); box-shadow: none; font-weight: 800; }
body.piaget-team .tab button.tablinks.active { color: #fff; background: linear-gradient(135deg, var(--piaget-blue-700), var(--piaget-blue-900)); box-shadow: 0 8px 18px rgba(18,60,156,.22); }
body.piaget-team .tabcontent { padding: 0; color: var(--piaget-ink); }
body.piaget-team .team-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
body.piaget-team .team-member { overflow: hidden; border: 1px solid var(--piaget-line); border-radius: 22px; background: #fff; box-shadow: var(--piaget-shadow-soft); transition: transform .25s ease, box-shadow .25s ease; }
body.piaget-team .team-member:hover { transform: translateY(-5px); box-shadow: var(--piaget-shadow); }
body.piaget-team .team-member img { display: block; width: 100%; height: 300px; margin: 0; object-fit: cover; }
body.piaget-team .team-member .slide-text { margin: 0; padding: 17px 18px; color: #fff; background: linear-gradient(135deg, var(--piaget-blue-900), var(--piaget-blue-700)); font-size: .95rem; font-weight: 750; }

/* Contacto */
body.piaget-contact main { max-width: 1180px; }
body.piaget-contact .contact-hero h1 { margin: 0; color: var(--piaget-blue-950); font-size: clamp(2.35rem, 5vw, 4.6rem); font-weight: 900; letter-spacing: -.055em; line-height: 1; }
body.piaget-contact .contact-hero > p:last-child { max-width: 720px; margin: 16px 0 0; color: var(--piaget-muted); font-size: 1.1rem; }
body.piaget-contact main .container { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; width: 100%; max-width: none; margin: 28px 0 0; padding: 0; color: var(--piaget-ink); background: transparent; }
body.piaget-contact main section { padding: clamp(25px, 4vw, 38px); border: 1px solid var(--piaget-line); border-radius: var(--piaget-radius); background: #fff; box-shadow: var(--piaget-shadow-soft); }
body.piaget-contact main #ubicacion { grid-column: 1 / -1; }
body.piaget-contact main h2 { margin-top: 0; color: var(--piaget-blue-900); font-size: 1.45rem; }
body.piaget-contact main a { color: var(--piaget-blue-700); font-weight: 750; }
body.piaget-contact .form-group input,
body.piaget-contact .form-group textarea { width: 100%; padding: 13px 14px; border: 1px solid rgba(32,69,172,.2); border-radius: 12px; color: var(--piaget-ink); background: var(--piaget-blue-50); font: inherit; }
body.piaget-contact .form-group textarea { min-height: 150px; resize: vertical; }
body.piaget-contact .button { width: 100%; cursor: pointer; }
body.piaget-contact .social-icons { gap: 10px; }
body.piaget-contact .social-icon { display: grid; place-items: center; width: 46px; height: 46px; margin: 0; border-radius: 50%; color: #fff; background: var(--piaget-blue-700); font-size: 1.25rem; }
body.piaget-contact .map-container { overflow: hidden; border-radius: 18px; }
body.piaget-contact .map-container iframe { display: block; width: 100%; min-height: 430px; }

/* Admisión */
body.piaget-admission .main-content > h1 { text-align: left !important; }
body.piaget-admission .main-content > h1::after { content: "Encuentra aquí las vías de ingreso para jornada regular y Educación de Personas Jóvenes y Adultas."; display: block; max-width: 780px; margin-top: 16px; color: var(--piaget-muted); font-size: 1.08rem; font-weight: 450; letter-spacing: 0; line-height: 1.55; }
body.piaget-admission .container { gap: 20px; }
body.piaget-admission .card { padding: clamp(25px, 4vw, 38px); border: 1px solid var(--piaget-line); border-left: 6px solid var(--piaget-blue-600); border-radius: var(--piaget-radius); background: #fff; box-shadow: var(--piaget-shadow-soft); text-align: left; }
body.piaget-admission .card:nth-child(2) { border-left-color: var(--piaget-red); }
body.piaget-admission .card:nth-child(3) { border-left-color: var(--piaget-yellow); }
body.piaget-admission .card h2 { color: var(--piaget-blue-900); }
body.piaget-admission .card img { box-shadow: 0 14px 30px rgba(7,26,74,.14); }

/* Acceso profesores */
body.piaget-login { min-height: 100svh; padding: 26px; background-image: linear-gradient(120deg, rgba(7,26,74,.94), rgba(18,60,156,.75)), url('imagen-destacada.jpg'); }
body.piaget-login::after { display: none; }
body.piaget-login .container { position: relative; width: min(540px, 100%); padding: clamp(28px, 5vw, 52px); border: 1px solid rgba(255,255,255,.3); border-radius: 30px; background: rgba(255,255,255,.12); box-shadow: 0 26px 65px rgba(0,0,0,.28); backdrop-filter: blur(18px); }
body.piaget-login .container img { width: 150px; padding: 12px; border-radius: 20px; background: #fff; }
body.piaget-login h1 { margin: 8px 0 14px; font-size: clamp(2rem, 5vw, 3.1rem); letter-spacing: -.045em; line-height: 1.05; }
body.piaget-login .description { color: rgba(255,255,255,.82); font-size: 1rem; }
body.piaget-login #signIn { width: 100%; min-height: 52px; border-radius: 14px; background: var(--piaget-yellow); color: var(--piaget-blue-950); font-weight: 850; }
.login-back { position: fixed; z-index: 5; left: 24px; top: 24px; padding: 10px 15px; border: 1px solid rgba(255,255,255,.3); border-radius: 999px; color: #fff; background: rgba(7,26,74,.38); text-decoration: none; backdrop-filter: blur(10px); }

/* Inicio: secciones existentes */
body.piaget-home .news-section,
body.piaget-home .school-summary,
body.piaget-home .anuncios-destacados {
  width: min(1180px, calc(100% - 36px));
  max-width: 1180px;
  margin: clamp(30px, 6vw, 74px) auto !important;
  border: 1px solid var(--piaget-line);
  border-radius: 28px;
  background: rgba(255,255,255,.94);
  box-shadow: var(--piaget-shadow-soft);
}

body.piaget-home .nh-tab { border-radius: 999px; font-weight: 800; }
body.piaget-home .route-card { border: 1px solid var(--piaget-line); border-radius: 22px; background: linear-gradient(145deg, #fff, var(--piaget-blue-50)); box-shadow: var(--piaget-shadow-soft); }

/* Pie de página */
body.piaget-page .footer {
  width: 100%;
  margin: 0;
  padding: 32px max(22px, calc((100% - 1180px) / 2));
  color: rgba(255,255,255,.86);
  background: linear-gradient(110deg, var(--piaget-blue-950), var(--piaget-blue-800));
  border-top: 5px solid var(--piaget-yellow);
  box-shadow: none;
  font-size: .96rem;
  line-height: 1.7;
}
body.piaget-page .footer a { color: var(--piaget-yellow); font-weight: 750; }

@media (max-width: 1040px) {
  body.piaget-page .navbar { min-height: 68px; }
  body.piaget-page .nav-toggle { display: block; cursor: pointer; }
  body.piaget-page .nav-links {
    position: fixed;
    inset: 68px 14px auto;
    width: auto;
    max-height: calc(100svh - 84px);
    padding: 16px;
    flex-direction: column;
    align-items: stretch;
    overflow: auto;
    border: 1px solid rgba(255,255,255,.15);
    border-radius: 20px;
    background: rgba(7,26,74,.98);
    box-shadow: 0 24px 55px rgba(7,26,74,.38);
    transform: translateY(-16px) scale(.98);
    opacity: 0;
    pointer-events: none;
    transition: transform .24s ease, opacity .24s ease;
  }
  body.piaget-page .nav-links.open,
  body.piaget-page .nav-links.active { left: 14px; display: flex; transform: translateY(0) scale(1); opacity: 1; pointer-events: auto; }
  body.piaget-page .nav-links > li > a { padding: 13px 14px; }
  body.piaget-page .navbar .dropdown-content,
  body.piaget-page .navbar .dropdown-menu { position: static; width: 100%; margin-top: 5px; box-shadow: none; }
  body.piaget-page .navbar .dropdown-content { max-height: none; }
  body.piaget-team .team-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 900px) {
  body.piaget-home .hero-gallery { height: auto; min-height: 800px; }
  body.piaget-home .hero-slides {
    top: 26px;
    right: 22px;
    bottom: auto;
    left: 22px;
    width: auto;
    height: 250px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    grid-template-rows: 1fr;
    gap: 9px;
    padding: 8px;
    border-radius: 22px;
    transform: none;
  }
  body.piaget-home .hero-slide,
  body.piaget-home .hero-slide:first-child { grid-row: auto; border-radius: 14px; }
  .hero-content { min-height: 800px; height: auto; justify-content: flex-start; padding: 320px 0 86px; }
  .hero-content h1 { max-width: 720px; }
  .hero-content > p:not(.hero-eyebrow) { max-width: 680px; }
}

@media (max-width: 720px) {
  body.piaget-home .hero-gallery { min-height: 830px; }
  body.piaget-home .hero-slides {
    right: 16px;
    left: 16px;
    height: 230px;
    display: block;
    grid-template-columns: none;
    grid-template-rows: none;
    padding: 8px;
    overflow: hidden;
  }
  body.piaget-home .hero-slide,
  body.piaget-home .hero-slide:first-child {
    position: absolute;
    inset: 8px;
    width: calc(100% - 16px);
    height: calc(100% - 16px);
    aspect-ratio: 16 / 9;
    object-fit: cover;
    object-position: center;
    opacity: 0;
    animation: piaget-mobile-gallery 15s infinite;
  }
  body.piaget-home .hero-slide:nth-child(2) { animation-delay: 5s; }
  body.piaget-home .hero-slide:nth-child(3) { animation-delay: 10s; }
  .hero-content { min-height: 830px; padding-top: 298px; padding-bottom: 86px; }
  .hero-content h1 { font-size: clamp(2.55rem, 12vw, 3.75rem); }
  .hero-content > p:not(.hero-eyebrow) { margin-top: 18px; font-size: 1rem; }
  .hero-actions { width: 100%; margin-top: 22px; }
  .hero-button { flex: 1 1 180px; }
  .hero-scroll { bottom: 28px; }
  body.piaget-about .about-kpis,
  body.piaget-about .about-grid,
  body.piaget-documents .container,
  body.piaget-contact main .container,
  body.piaget-team .team-grid { grid-template-columns: 1fr; }
  body.piaget-about .about-wide,
  body.piaget-contact main #ubicacion { grid-column: auto; }
  body.piaget-inner .about-hero { padding: 34px 25px; border-radius: 24px; }
  body.piaget-team .team-member img { height: auto; max-height: 430px; }
  body.piaget-page .footer { text-align: center; }
  body.piaget-home .floating-icons { display: none !important; }
  .login-back { position: absolute; left: 16px; top: 16px; }
}

@keyframes piaget-mobile-gallery {
  0%, 29% { opacity: 1; transform: scale(1); }
  35%, 100% { opacity: 0; transform: scale(1.025); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  body.piaget-home .hero-slide { opacity: 0; animation: none !important; transform: none; }
  body.piaget-home .hero-slide:first-child { opacity: 1; }
}
