/*
Theme Name: Grupo Paramos
Theme URI: https://example.com/grupo-paramos
Author: Grupo Paramos
Description: Tema institucional para Grupo Paramos, preparado para administrar contenidos con WordPress y ACF.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 7.4
Text Domain: grupo-paramos
*/

:root {
  --ink: #17251f;
  --muted: #5e6b63;
  --paper: #f7f6f0;
  --white: #ffffff;
  --moss: #526a42;
  --forest: #243f2d;
  --water: #1f6f7d;
  --sky: #d9e9ed;
  --gold: #c79a49;
  --line: rgba(23, 37, 31, 0.14);
  --shadow: 0 18px 50px rgba(23, 37, 31, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
}

a {
  color: inherit;
}

img {
  max-width: 100%;
}

.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.container {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 16px clamp(20px, 5vw, 56px);
  color: var(--white);
  background: linear-gradient(180deg, rgba(12, 24, 18, 0.78), rgba(12, 24, 18, 0));
}

.brand,
.nav {
  display: flex;
  align-items: center;
}

.brand {
  gap: 10px;
  text-decoration: none;
  text-transform: uppercase;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
}

.header-logo {
  display: block;
  width: 104px;
  height: auto;
}

.brand-mark {
  width: 28px;
  height: 28px;
  border: 2px solid currentColor;
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 72%, currentColor 0 12%, transparent 13%),
    linear-gradient(135deg, transparent 45%, currentColor 46% 55%, transparent 56%);
  opacity: 0.95;
}

.nav {
  gap: clamp(10px, 2.4vw, 28px);
  font-size: 0.88rem;
  font-weight: 700;
}

.nav li {
  display: contents;
}

.nav a {
  opacity: 0.9;
  text-decoration: none;
}

.nav a:hover {
  opacity: 1;
}

.hero {
  position: relative;
  min-height: 100vh;
  display: grid;
  align-items: end;
  overflow: hidden;
  color: var(--white);
}

.hero-slides,
.hero-slide,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-slide {
  opacity: 0;
  transition: opacity 1100ms ease;
}

.hero-slide.is-active {
  opacity: 1;
}

.hero-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(8, 17, 14, 0.72), rgba(8, 17, 14, 0.34) 42%, rgba(8, 17, 14, 0.04) 78%),
    linear-gradient(0deg, rgba(8, 17, 14, 0.45), transparent 36%);
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(900px, calc(100% - 40px));
  margin: 0 auto;
  padding: 142px 0 150px;
}

.hero-logo {
  display: block;
  width: min(108px, 32vw);
  height: auto;
  margin: 0 0 26px;
}

.eyebrow,
.section-kicker,
.detail-label {
  color: var(--gold);
  text-transform: uppercase;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0;
}

.hero h1 {
  max-width: 780px;
  margin: 12px 0;
  font-size: clamp(3.6rem, 9vw, 8rem);
  line-height: 0.82;
  letter-spacing: 0;
}

.hero-subtitle {
  max-width: 640px;
  margin: 0;
  font-size: clamp(1.25rem, 2.5vw, 2.05rem);
  line-height: 1.2;
  font-weight: 400;
}

.photo-credits {
  position: relative;
  z-index: 3;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
  padding: 0 0 22px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.73rem;
}

.slide-credit {
  position: absolute;
  z-index: 3;
  right: clamp(16px, 4vw, 44px);
  bottom: 18px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.68rem;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.32);
}

.carousel-dots {
  position: absolute;
  z-index: 5;
  left: 50%;
  bottom: 24px;
  display: flex;
  gap: 10px;
  transform: translateX(-50%);
}

.carousel-dots button {
  width: 38px;
  height: 4px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.42);
  cursor: pointer;
}

.carousel-dots button.is-active {
  background: var(--white);
}

.section-pad {
  padding: clamp(58px, 8vw, 96px) 0;
}

.intro {
  min-height: 720px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: linear-gradient(180deg, #1eb7cc, #075566);
  color: var(--white);
}

.intro-grid {
  display: grid;
  grid-template-columns: 0.9fr 1fr;
  gap: clamp(30px, 7vw, 90px);
  align-items: center;
}

.lead {
  align-self: center;
  margin: 0;
  font-size: clamp(0.98rem, 1.35vw, 1.22rem);
  line-height: 1.45;
  font-weight: 400;
}

.intro h2 {
  grid-column: 2;
  grid-row: 1 / span 2;
  margin: 0;
  font-size: clamp(3.2rem, 8vw, 6.8rem);
  line-height: 0.82;
  letter-spacing: 0;
}

.partners {
  overflow: hidden;
  padding: clamp(28px, 5vw, 54px) 0;
  background: #ffffff;
}

.logo-cloud {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: clamp(14px, 2vw, 22px);
}

.logo-card {
  min-height: 92px;
  display: grid;
  place-items: center;
  padding: 18px;
  border: 1px solid rgba(17, 32, 25, 0.08);
  border-radius: 8px;
  background: #ffffff;
  color: rgba(17, 32, 25, 0.72);
  text-align: center;
  font-size: 0.8rem;
  font-weight: 800;
  box-shadow: 0 16px 36px rgba(17, 32, 25, 0.08);
}

.logo-card img {
  width: 100%;
  max-width: 160px;
  max-height: 62px;
  object-fit: contain;
  opacity: 1;
  filter: none !important;
  mix-blend-mode: normal;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 38px;
}

.section-heading.compact {
  margin: 0;
}

.section-heading h2,
.two-column h2,
.event-panel h2,
.registration-band h2 {
  margin: 8px 0 14px;
  font-size: clamp(2rem, 4vw, 4.2rem);
  line-height: 1;
  letter-spacing: 0;
}

.section-heading p,
.text-block p,
.event-panel p,
.registration-band p {
  color: var(--muted);
  font-size: 1.08rem;
}

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

.stats {
  position: relative;
  overflow: hidden;
  min-height: 1020px;
  color: var(--white);
  background:
    linear-gradient(180deg, rgba(69, 128, 229, 0.96) 0 30%, rgba(69, 128, 229, 0.82) 42%, rgba(28, 48, 58, 0.42) 58%, rgba(14, 23, 20, 0.8) 100%),
    var(--stats-bg, none) center 62% / cover no-repeat,
    #477fe1;
}

.section-credit {
  position: absolute;
  right: clamp(18px, 4vw, 52px);
  bottom: 22px;
  color: rgba(255, 255, 255, 0.84);
  font-size: 0.78rem;
  line-height: 1;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.38);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 26px;
  align-items: center;
  margin-top: 72px;
}

.stat-card {
  min-height: 178px;
  grid-column: span 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 28px 24px;
  border: 0;
  border-radius: 42px;
  background: rgba(18, 45, 75, 0.62);
  box-shadow: 0 18px 42px rgba(9, 21, 31, 0.24);
  backdrop-filter: blur(4px);
}

.stat-card.highlight {
  background: rgba(18, 45, 75, 0.62);
  color: var(--white);
}

.stat-card.wide {
  grid-column: span 2;
}

.stat-card.stat-medium {
  grid-column: 2 / span 2;
}

.stat-card.stat-large {
  grid-column: span 2;
}

.stat-card.stat-full {
  grid-column: 2 / span 4;
}

.stat-value {
  display: inline-block;
  margin: 0 8px;
  color: var(--white);
  font-size: clamp(2rem, 4vw, 3.7rem);
  line-height: 0.95;
  font-weight: 900;
}

.stat-prefix,
.stat-suffix,
.stat-card .stat-value,
.stat-card p,
.highlight .stat-value,
.highlight p {
  color: var(--white);
}

.stat-prefix,
.stat-suffix {
  display: inline;
  margin: 0;
  font-size: clamp(1.25rem, 2.3vw, 2rem);
  font-weight: 400;
  line-height: 1.08;
  text-align: center;
}

.stat-card {
  color: var(--white);
  font-size: clamp(1.25rem, 2.3vw, 2rem);
  line-height: 1.08;
  text-align: center;
}

.country-note {
  max-width: 800px;
  margin: 44px auto 0;
  padding-left: 0;
  border-left: 0;
  color: var(--white);
  font-size: clamp(1.15rem, 2vw, 1.7rem);
  line-height: 1.15;
  text-align: center;
  font-weight: 900;
}

.day {
  color: var(--white);
  background: linear-gradient(180deg, #537735, #162417);
}

.day-title-row,
.event-title-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(22px, 4vw, 54px);
}

.date-lockup {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 0;
  color: var(--white);
  line-height: 0.82;
}

.date-lockup span {
  font-size: clamp(5.5rem, 11vw, 10rem);
  font-weight: 900;
}

.date-lockup small {
  font-size: clamp(2.5rem, 5vw, 5rem);
  font-weight: 300;
  line-height: 0.86;
}

.title-divider {
  width: 2px;
  align-self: stretch;
  min-height: 120px;
  background: rgba(255, 255, 255, 0.88);
}

.day-title-row h2,
.event-title-row h2 {
  max-width: 560px;
  margin: 0;
  color: var(--white);
  font-size: clamp(3rem, 6.2vw, 6.8rem);
  line-height: 0.9;
  font-weight: 900;
}

.two-column {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(28px, 6vw, 76px);
}

.day .text-block {
  max-width: 900px;
  margin: 46px auto 0;
  columns: 2;
  column-gap: 64px;
}

.text-block p:first-child {
  margin-top: 0;
}

.day .section-kicker,
.day h2,
.day .text-block p {
  color: var(--white);
}

.symposium {
  position: relative;
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(12, 22, 14, 0.28), rgba(12, 22, 14, 0.48) 38%, rgba(12, 22, 14, 0.76) 100%),
    var(--event-bg, none) center center / cover no-repeat,
    var(--forest);
}

.symposium-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(420px, 1.05fr);
  gap: clamp(24px, 5vw, 70px);
  align-items: center;
  justify-content: end;
  min-height: 760px;
}

.event-panel {
  grid-column: 2;
  min-width: 0;
  text-align: center;
}

.event-title-row {
  margin-bottom: 64px;
  gap: clamp(18px, 3vw, 36px);
}

.event-title-row .title-divider {
  display: block;
  width: 2px;
  min-height: 122px;
  background: rgba(255, 255, 255, 0.9);
}

.event-title-row .date-lockup span {
  font-size: clamp(4.6rem, 8vw, 8.5rem);
}

.event-title-row .date-lockup small {
  font-size: clamp(2rem, 3.8vw, 4rem);
}

.event-title-row h2 {
  max-width: 310px;
  font-size: clamp(2.1rem, 3.5vw, 3.7rem);
  text-align: left;
}

.event-panel p {
  max-width: 640px;
  margin-right: auto;
  margin-left: auto;
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(1rem, 1.35vw, 1.2rem);
  line-height: 1.32;
  font-weight: 400;
}

.event-panel strong {
  color: var(--white);
  font-weight: 900;
}

.event-meta {
  display: grid;
  gap: 4px;
  margin: 42px auto 14px;
  color: var(--white);
  font-size: clamp(1rem, 1.35vw, 1.2rem);
  line-height: 1.25;
  font-weight: 400;
}

.event-meta strong {
  font-weight: 400;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  margin-top: 28px;
  padding: 0 34px;
  border-radius: 999px;
  color: var(--white);
  background: rgba(0, 166, 188, 0.82);
  text-decoration: none;
  font-weight: 900;
  font-size: clamp(1.1rem, 1.8vw, 1.6rem);
  box-shadow: var(--shadow);
}

.button:hover {
  transform: translateY(-1px);
}

.event-details {
  display: grid;
  gap: 12px;
}

.event-details div {
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.1);
}

.event-details strong {
  display: block;
  margin-top: 5px;
  font-size: 1.35rem;
}

.video-section {
  background: var(--paper);
}

.video-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(24px, 5vw, 62px);
  align-items: center;
}

.video-frame {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 8px;
  background: #0f1b16;
  box-shadow: var(--shadow);
}

.video-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.registration {
  background: var(--white);
}

.registration-band {
  position: relative;
  overflow: hidden;
  padding: clamp(34px, 6vw, 64px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    radial-gradient(circle at 92% 14%, rgba(30, 183, 204, 0.18), transparent 28%),
    linear-gradient(135deg, rgba(226, 241, 244, 0.96), rgba(255, 255, 255, 0.96)),
    var(--white);
}

.registration-band p {
  max-width: 980px;
  font-size: clamp(1rem, 1.6vw, 1.28rem);
  line-height: 1.55;
}

.registration-button {
  margin-top: 22px;
}

.site-footer {
  padding: clamp(34px, 6vw, 64px) 0;
  color: rgba(255, 255, 255, 0.78);
  background: #132119;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.75fr 0.75fr;
  gap: 20px;
}

.site-footer p {
  margin: 0;
}

.site-footer p + p,
.site-footer p + a,
.site-footer a + a {
  margin-top: 8px;
}

.site-footer a {
  display: block;
  color: var(--white);
  font-weight: 800;
  text-decoration: none;
}

.footer-brand,
.footer-title {
  color: var(--white);
  font-weight: 900;
}

.footer-brand {
  margin-bottom: 8px;
  text-transform: uppercase;
}

.has-js [data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 780ms ease,
    transform 780ms ease;
}

.has-js [data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

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

}

@media (max-width: 860px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }

  .nav {
    width: 100%;
    overflow-x: auto;
    padding-bottom: 2px;
  }

  .hero {
    min-height: 88vh;
  }

  .hero-content {
    padding: 145px 0 120px;
  }

  .intro-grid,
  .two-column,
  .symposium-grid,
  .video-grid {
    grid-template-columns: 1fr;
  }

  .intro h2,
  .event-panel {
    grid-column: auto;
    grid-row: auto;
  }

  .day-title-row,
  .event-title-row {
    align-items: flex-start;
    justify-content: flex-start;
    flex-wrap: wrap;
  }

  .symposium-grid {
    min-height: auto;
  }

  .event-panel,
  .event-panel p,
  .event-meta {
    width: 100%;
    max-width: 100%;
  }

  .day .text-block {
    columns: 1;
  }

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

  .stat-card,
  .stat-card.stat-medium,
  .stat-card.stat-large,
  .stat-card.stat-full {
    grid-column: auto;
  }

  .logo-cloud {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .container,
  .hero-content,
  .photo-credits {
    width: min(100% - 28px, 1120px);
  }

  .site-header {
    padding: 14px;
  }

  .brand {
    font-size: 0.72rem;
  }

  .nav {
    gap: 14px;
    font-size: 0.82rem;
  }

  .hero-content {
    padding-top: 132px;
  }

  .hero h1 {
    font-size: clamp(2.7rem, 17vw, 5.2rem);
  }

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

  .stat-card,
  .stat-card.wide,
  .stat-card.stat-medium,
  .stat-card.stat-large,
  .stat-card.stat-full {
    grid-column: auto;
    min-height: 150px;
  }

  .day-title-row,
  .event-title-row {
    gap: 14px;
  }

  .event-title-row .title-divider {
    display: none;
  }

  .title-divider {
    min-height: 76px;
  }

  .date-lockup {
    gap: 8px;
  }

  .date-lockup span {
    font-size: 4.6rem;
  }

  .date-lockup small {
    font-size: 2.1rem;
  }

  .day-title-row h2,
  .event-title-row h2 {
    font-size: 2.5rem;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 26px;
  }

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

  .logo-card {
    min-height: 82px;
    padding: 14px;
  }

  .carousel-dots button {
    width: 28px;
  }
}
