﻿/* 
   Spiritum Entertainment Landing Page Stylesheet
   Designed to match the PDF design exactly.
*/



:root {
  --primary-purple: #7b0676;
  /* Dominant footer and accent purple */
  --vibrant-purple: #93008e;
  /* Bright brand fuchsia/purple */
  --accent-orange: #ff7a00;
  /* Brand orange accent */
  --text-dark: #333333;
  /* Main text color */
  --text-light: #666666;
  /* Subtitles and gray text */
  --bg-light: #ffffff;
  /* Base white */
  --bg-gray: #f9f9f9;
  /* Very soft background gray */
  --shadow-sm: 0 4px 6px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 10px 20px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 20px 40px rgba(0, 0, 0, 0.12);
  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --font-primary: 'Plus Jakarta Sans', sans-serif;
  --font-secondary: 'Plus Jakarta Sans', sans-serif;
}

/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

body {
  font-family: var(--font-primary);
  color: var(--text-dark);
  background-color: var(--bg-light);
  line-height: 1.6;
  overflow-x: clip;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-secondary);
  font-weight: 700;
  color: var(--primary-purple);
  line-height: 1.2;
}

p {
  font-size: 1.05rem;
  color: var(--text-light);
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition-fast);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

span.highlight {
  color: var(--accent-orange);
}

/* Layout Utilities */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

section {
  padding: 6rem 0;
  position: relative;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 0.8rem 2.2rem;
  border-radius: 50px;
  font-family: var(--font-secondary);
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: all var(--transition-normal);
  text-align: center;
  border: 2px solid transparent;
}

.btn-primary {
  background-color: var(--primary-purple);
  color: var(--bg-light);
  box-shadow: 0 4px 15px rgba(123, 6, 118, 0.3);
}

.btn-primary:hover {
  background-color: var(--vibrant-purple);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(147, 0, 142, 0.4);
}

.btn-outline {
  background-color: transparent;
  border-color: var(--primary-purple);
  color: var(--primary-purple);
}

.btn-outline:hover {
  background-color: var(--primary-purple);
  color: var(--bg-light);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(123, 6, 118, 0.2);
}

/* Header & Navigation */
body>header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background-color: rgba(255, 255, 255, 0.95);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
  backdrop-filter: blur(10px);
}

body>header.shrink {
  padding: 0.5rem 0;
}

body>header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 92px;
  transition: height var(--transition-normal);
}

body>header.shrink .container {
  height: 74px;
}

.logo {
  flex-shrink: 0;
}

.logo img {
  height: 70px;
  width: auto;
  transition: height var(--transition-normal);
}

.logo-wordmark {
  display: flex;
  flex-direction: column;
  justify-content: center;
  line-height: 1;
}

.logo-wordmark__name {
  font-family: var(--font-secondary);
  font-weight: 800;
  font-size: 1.7rem;
  color: var(--primary-purple);
  letter-spacing: -0.03em;
}

.logo-wordmark__tag {
  font-family: var(--font-secondary);
  font-weight: 600;
  font-size: 0.52rem;
  letter-spacing: 0.32em;
  color: var(--primary-purple);
  text-transform: uppercase;
  margin-top: 0.15rem;
}

.nav-menu {
  display: flex;
  align-items: center;
  list-style: none;
  gap: 0.5rem;
}

.nav-link {
  font-family: var(--font-secondary);
  font-weight: 500;
  font-size: 0.95rem;
  padding: 0.6rem 1.2rem;
  border-radius: 30px;
  color: var(--primary-purple);
  transition: all var(--transition-fast);
}

.nav-link:hover {
  color: var(--vibrant-purple);
}

.nav-item.active .nav-link {
  background-color: var(--primary-purple);
  color: var(--bg-light);
  font-weight: 600;
  box-shadow: 0 4px 10px rgba(123, 6, 118, 0.2);
}

.lang-selector {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  margin-left: 1.5rem;
  font-family: var(--font-secondary);
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--primary-purple);
}

.lang-selector svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.lang-btn {
  cursor: pointer;
  transition: color var(--transition-fast);
}

.lang-btn:hover {
  color: var(--accent-orange);
}

.lang-btn.active {
  color: var(--primary-purple);
}

.lang-separator {
  color: var(--text-light);
  font-weight: 300;
}

/* Mobile Menu Button */
.mobile-menu-btn {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 21px;
  background: transparent;
  border: none;
  cursor: pointer;
  z-index: 1100;
}

.mobile-menu-btn span {
  width: 100%;
  height: 3px;
  background-color: var(--primary-purple);
  border-radius: 10px;
  transition: all var(--transition-normal);
}

/* Hero Section */
#inicio {
  padding-top: 10rem;
  padding-bottom: 6rem;
  display: flex;
  align-items: center;
  min-height: calc(100vh - 85px);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.hero-content h1 {
  font-size: 2.8rem;
  margin-bottom: 2rem;
  font-weight: 500;
  line-height: 1.4;
}

.hero-subtitle {
  color: var(--primary-purple);
}

.hero-content p {
  font-size: 1.2rem;
  margin-bottom: 2.5rem;
  max-width: 540px;
  color: var(--text-light);
}

.hero-buttons {
  display: flex;
  gap: 1rem;
}

.hero-image-wrapper {
  position: relative;
}

.hero-image {
  border-radius: 24px;
  box-shadow: var(--shadow-lg);
  transition: transform var(--transition-normal);
}

.hero-image:hover {
  transform: scale(1.01);
}

/* Section Common Headings */
.section-header {
  margin-bottom: 4rem;
}

.section-header h2 {
  font-size: 2.8rem;
  font-weight: 800;
  margin-bottom: 1.5rem;
}

/* QuiÃ©nes Somos Section */
#quienes-somos {
  background-color: #ffffff;
}

.quienes-somos-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 4rem;
  align-items: center;
  margin-bottom: 5rem;
}

.quienes-somos-img-wrapper img {
  border-radius: 20px;
  box-shadow: var(--shadow-md);
  width: 100%;
  height: auto;
  transition: transform var(--transition-normal);
}

.quienes-somos-img-wrapper img:hover {
  transform: scale(1.01);
}

.quienes-somos-content p {
  margin-bottom: 1.8rem;
  font-size: 1.1rem;
}

.mision-vision-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.mision-vision-cards {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.mv-card {
  background-color: var(--primary-purple);
  color: var(--bg-light);
  padding: 2.5rem;
  border-radius: 20px;
  box-shadow: var(--shadow-md);
  transition: transform var(--transition-normal);
}

.mv-card:hover {
  transform: translateY(-5px);
}

.mv-card h3 {
  color: var(--bg-light);
  font-size: 1.6rem;
  margin-bottom: 1rem;
}

.mv-card p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.05rem;
  line-height: 1.6;
}

.mision-vision-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 20px;
  box-shadow: var(--shadow-md);
  transition: transform var(--transition-normal);
}

.mision-vision-img img:hover {
  transform: scale(1.01);
}

/* QuÃ© Hacemos Section */
#que-hacemos {
  background-color: var(--bg-light);
}

.que-hacemos-sub {
  font-size: 1.15rem;
  max-width: 850px;
  margin-bottom: 4rem;
}

.que-hacemos-photos {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-bottom: 5rem;
}

.que-hacemos-photos img {
  border-radius: 16px;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
  height: 250px;
  width: 100%;
  object-fit: cover;
}

.que-hacemos-photos img:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.services-box {
  background: linear-gradient(135deg, var(--primary-purple) 0%, #52004e 100%);
  border-radius: 30px;
  padding: 4.5rem;
  color: var(--bg-light);
  box-shadow: var(--shadow-lg);
  margin-bottom: 5rem;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3.5rem 3rem;
}

.service-item {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  align-items: center;
  text-align: center;
}

.service-icon {
  max-width: 90px;
  max-height: 70px;
  color: var(--accent-orange);
}

.service-icon svg {
  width: 100%;
  height: 100%;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.service-item h3 {
  color: var(--bg-light);
  font-size: 1.25rem;
  font-weight: 700;
}

.service-item p {
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.98rem;
  line-height: 1.55;
}

.quote-banner {
  text-align: center;
  margin-bottom: 5rem;
  padding: 2rem 0;
}

.quote-banner h3 {
  font-size: 2.2rem;
  font-weight: 800;
  line-height: 1.3;
}

.plim-banner-wrapper {
  margin-bottom: 6rem;
}

.plim-banner-img {
  width: 100%;
  border-radius: 24px;
  box-shadow: var(--shadow-md);
}

/* Metrics Section */
.metrics-section {
  text-align: center;
}

.metrics-title {
  font-size: 2.2rem;
  font-weight: 800;
  margin-bottom: 4rem;
}

.metrics-title italic {
  font-style: italic;
}

.metrics-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4rem 3rem;
}

.metric-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1rem;
}

.metric-icon {
  max-width: 170px;
  max-height: 100px;
  color: var(--primary-purple);
  margin-bottom: 0;
}

.metric-icon svg {
  width: 100%;
  height: 100%;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.metric-number {
  font-size: 2.4rem;
  font-weight: 800;
  font-family: var(--font-secondary);
  color: var(--accent-orange);
  line-height: 1;
}

.metric-text {
  font-size: 1.1rem;
  color: var(--text-dark);
  font-weight: 500;
  max-width: 250px;
}

.metric-text span {
  color: var(--accent-orange);
}

/* Nuestras Marcas Section */
/*#nuestras-marcas {
  background-color: var(--bg-gray);
}*/


section#nuestras-marcas {
  padding-bottom: 0;
}

.brand-block {
  background-color: var(--bg-light);
  border-radius: 30px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  margin-bottom: 5rem;
  transition: transform var(--transition-normal);
}

.brand-block:last-child {
  margin-bottom: 0;
}

.brand-block:hover {
  transform: translateY(-5px);
}

.brand-banner-img {
  width: 100%;
  object-fit: cover;
  object-position: center 45%;
}

.brand-body {
  padding: 4rem;
  text-align: center;
}

.brand-body h3 {
  font-size: 2.4rem;
  font-weight: 800;
  margin-bottom: 1.5rem;
}

.brand-body p {
  font-size: 1.1rem;
  max-width: 850px;
  margin: 0 auto 2.5rem auto;
}

/* Staff Section */
#staff {
  background-color: var(--bg-light);
}

.staff-subtitle {
  font-size: 1.15rem;
  max-width: 850px;
  margin-bottom: 5rem;
}

.staff-grid-container {
  display: flex;
  flex-direction: column;
  gap: 3.5rem;
  align-items: center;
}

.staff-row {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 3rem;
  width: 100%;
}

.staff-card-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.2rem;
}

.staff-card {
  width: 250px;
  background-color: transparent;
  border-radius: 0;
  box-shadow: none;
  overflow: visible;
  border: none;
  display: block;
  transition: transform var(--transition-normal);
}

.staff-card:hover {
  transform: translateY(-5px);
}

.staff-photo-container {
  width: 100%;
  height: auto;
  background-color: transparent;
  display: block;
  overflow: visible;
  position: relative;
}

.staff-photo-container img {
  width: 100%;
  height: auto;
  display: block;
}

/* Name and title over the photo gradient, as in the PDF */
.staff-card-info {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  background: transparent;
  color: var(--bg-light);
  padding: 0 0.9rem 1.35rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 0;
  pointer-events: none;
}

.staff-name {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 0.15rem;
  color: #ffffff;
  font-family: var(--font-secondary);
  line-height: 1.2;
}

.staff-title {
  font-size: 0.78rem;
  color: #ffffff;
  font-weight: 500;
  line-height: 1.25;
}

/* Social icons on the photo */
.staff-card-links {
  position: absolute;
  top: 0.65rem;
  right: 0.65rem;
  z-index: 3;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.staff-card-link {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.95);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.18);
  color: var(--primary-purple);
  transition: transform var(--transition-fast), color var(--transition-fast), background-color var(--transition-fast);
}

.staff-card-link:hover {
  color: #ffffff;
  background-color: var(--primary-purple);
  transform: scale(1.08);
}

.staff-card-link svg {
  width: 20px;
  height: 20px;
}

.footer-nav-link--quiet {
  color: rgba(255, 255, 255, 0.55);
  font-weight: 400;
  font-size: 0.92em;
}

/* Contacto Section */
#contacto {
  background-color: var(--bg-light);
  padding-bottom: 0;
}

.contacto-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
  margin-bottom: 6rem;
}

.contacto-content h2 {
  font-size: 3.2rem;
  font-weight: 800;
  line-height: 1.15;
}

.contact-card {
  background: linear-gradient(135deg, var(--primary-purple) 0%, #5d035a 100%);
  border-radius: 28px;
  padding: 4rem;
  box-shadow: var(--shadow-lg);
  color: var(--bg-light);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.8rem;
}

.form-group {
  position: relative;
  width: 100%;
}

.form-input {
  width: 100%;
  padding: 0.8rem 0;
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.4);
  font-family: var(--font-primary);
  font-size: 1.05rem;
  color: var(--bg-light);
  outline: none;
  transition: border-color var(--transition-fast);
}

.form-input::placeholder {
  color: rgba(255, 255, 255, 0.6);
  transition: opacity var(--transition-fast);
}

.form-input:focus {
  border-color: var(--bg-light);
}

.form-input:focus::placeholder {
  opacity: 0.3;
}

textarea.form-input {
  min-height: 120px;
  resize: vertical;
}

.form-checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 0.8rem;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.85);
  cursor: pointer;
  line-height: 1.4;
}

.form-checkbox-label span.highlight {
  color: var(--accent-orange);
  font-weight: 500;
}

.form-checkbox {
  appearance: none;
  -webkit-appearance: none;
  width: 18px;
  height: 18px;
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: 4px;
  outline: none;
  background-color: transparent;
  cursor: pointer;
  display: grid;
  place-content: center;
  transition: all var(--transition-fast);
  margin-top: 2px;
  flex-shrink: 0;
}

.form-checkbox:checked {
  background-color: var(--accent-orange);
  border-color: var(--accent-orange);
}

.form-checkbox::before {
  content: "";
  width: 10px;
  height: 10px;
  transform: scale(0);
  transition: 120ms transform ease-in-out;
  background-color: var(--bg-light);
  clip-path: polygon(14% 44%, 0 65%, 50% 100%, 100% 16%, 80% 0%, 43% 62%);
}

.form-checkbox:checked::before {
  transform: scale(1);
}

.contact-form .btn-submit {
  background-color: var(--primary-purple);
  color: var(--bg-light);
  font-weight: 700;
  width: 100%;
  margin-top: 1rem;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.contact-form .btn-submit:hover {
  background-color: var(--accent-orange);
  color: var(--bg-light);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 122, 0, 0.3);
}

/* Footer */
footer {
  background-color: var(--primary-purple);
  color: var(--bg-light);
  padding: 2.5rem 0;
  font-size: 0.95rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr 1fr;
  gap: 4rem;
  align-items: flex-start;
}

.footer-contacts {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.8rem;
  color: rgba(255, 255, 255, 0.9);
}

.footer-contact-item svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  flex-shrink: 0;
  margin-top: 3px;
}

.footer-contact-item p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.95rem;
  line-height: 1.4;
}

.footer-nav {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 0.85rem 1.2rem;
  list-style: none;
}

.footer-nav-link {
  font-weight: 500;
  color: rgba(255, 255, 255, 0.9);
  transition: color var(--transition-fast);
}

.footer-nav-link:hover {
  color: var(--accent-orange);
}

.footer-socials {
  display: flex;
  justify-content: flex-end;
  gap: 1.2rem;
}

.social-link {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 40px;
  color: var(--bg-light);
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  transition: all var(--transition-normal);
}

.social-link:hover {
  color: var(--primary-purple);
  background-color: var(--bg-light);
  transform: translateY(-3px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

.social-link svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

/* Response Success Modal/Alert State */
.form-success-message {
  display: none;
  background-color: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.3);
  padding: 1.5rem;
  border-radius: 12px;
  text-align: center;
  font-weight: 600;
  animation: fadeIn 0.4s ease;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */

/* Large Tablets (Landscape and smaller desktops) */
@media (max-width: 1024px) {
  section {
    padding: 5rem 0;
  }

  .hero-grid {
    gap: 2rem;
  }

  .hero-content h1 {
    font-size: 2.4rem;
  }

  .hero-subtitle {
    color: var(--primary-purple);
  }

  .quienes-somos-grid,
  .mision-vision-row,
  .contacto-grid {
    gap: 3rem;
  }

  .services-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem 2rem;
  }

  .metrics-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem 2rem;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
  }

  .footer-socials {
    grid-column: span 2;
    justify-content: center;
    margin-top: 1rem;
  }
}

/* Tablets (Portrait) */
@media (max-width: 768px) {
  body>header .container {
    height: 84px;
  }

  body>header.shrink .container {
    height: 84px;
  }

  .mobile-menu-btn {
    display: flex;
  }

  /* Menu navigation transitions to fullscreen overlay on mobile */
  .nav-menu {
    position: fixed;
    top: 84px;
    left: 0;
    width: 100%;
    height: calc(100vh - 84px);
    background-color: var(--bg-light);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    padding-bottom: 4rem;
    transform: translateX(100%);
    transition: transform var(--transition-normal);
    box-shadow: inset 0 10px 15px -10px rgba(0, 0, 0, 0.05);
  }

  .nav-menu.open {
    transform: translateX(0);
  }

  .nav-link {
    font-size: 1.3rem;
  }

  .lang-selector {
    margin-left: 0;
    margin-top: 1rem;
    font-size: 1.1rem;
  }

  /* Reset grid layouts to single column */
  .hero-grid,
  .quienes-somos-grid,
  .mision-vision-row,
  .contacto-grid {
    grid-template-columns: 1fr;
    gap: 3.5rem;
  }

  .hero-content {
    text-align: center;
  }

  .hero-content h1 {
    font-size: 2.0rem;
  }

  .hero-subtitle {
    color: var(--primary-purple);
  }

  .hero-content p {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-buttons {
    justify-content: center;
  }

  .quienes-somos-img-wrapper,
  .mision-vision-img {
    order: -1;
  }

  .mision-vision-img img {
    height: 300px;
  }

  .que-hacemos-photos {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .que-hacemos-photos img {
    height: 200px;
  }

  .services-box {
    padding: 2.5rem;
  }

  .services-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .brand-body {
    padding: 2.5rem;
  }

  .brand-banner-img,
  .sp-brand-figure img {
    height: 220px;
  }

  .logo img,

  .brand-body h3 {
    font-size: 2rem;
  }

  .metrics-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .contacto-content {
    text-align: center;
  }

  .contacto-content h2 {
    font-size: 2.4rem;
  }

  .contact-card {
    padding: 2.5rem;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
    text-align: center;
  }

  .footer-contacts {
    align-items: center;
  }

  .footer-nav {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .footer-socials {
    grid-column: span 1;
  }
}

/* Mobile active toggle effects */
.mobile-menu-btn.open span:nth-child(1) {
  transform: translateY(9px) rotate(45deg);
}

.mobile-menu-btn.open span:nth-child(2) {
  opacity: 0;
}

.mobile-menu-btn.open span:nth-child(3) {
  transform: translateY(-9px) rotate(-45deg);
}

/* FAQ (GEO â€” entre Staff y Contacto) */
#faq {
  padding: 5rem 0;
  background-color: var(--bg-gray);
}

#faq .section-header {
  text-align: center;
  margin-bottom: 2.5rem;
}

#faq .section-header h2 {
  font-size: 2.25rem;
}

.faq-list {
  max-width: 800px;
  margin: 0 auto 2rem;
}

.faq-item {
  background: var(--bg-light);
  border-radius: 12px;
  margin-bottom: 1rem;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}

.faq-item summary {
  padding: 1.25rem 1.5rem;
  font-family: var(--font-secondary);
  font-weight: 600;
  color: var(--primary-purple);
  cursor: pointer;
  list-style: none;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: '+';
  float: right;
  color: var(--accent-orange);
  font-size: 1.25rem;
}

.faq-item[open] summary::after {
  content: 'âˆ’';
}

.faq-answer {
  padding: 0 1.5rem 1.25rem;
  color: var(--text-light);
}

.faq-cta {
  text-align: center;
  max-width: 640px;
  margin: 0 auto;
}

.faq-cta p {
  margin-bottom: 1.25rem;
}

.spiritum-form-error {
  color: #c0392b;
  margin-top: 0.75rem;
  font-size: 0.95rem;
}

.spiritum-is-hidden {
  display: none !important;
}

.lang-selector {
  display: none;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -100%;
  z-index: 2000;
  padding: 0.75rem 1.25rem;
  background: var(--primary-purple);
  color: #fff;
  border-radius: 0 0 8px 8px;
  font-weight: 600;
}

.skip-link:focus,
.skip-link:focus-visible {
  top: 0;
  color: #fff;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
summary:focus-visible,
.nav-link:focus-visible,
.btn:focus-visible {
  outline: 3px solid var(--accent-orange);
  outline-offset: 3px;
}

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

body>header nav[aria-label="Principal"] {
  display: contents;
}

.faq-cta .btn {
  margin: 0 0.5rem 0.75rem;
}

.sp-page-main {
  padding-top: 8rem;
}

.sp-breadcrumbs {
  margin: 0 auto 2rem;
  max-width: 1200px;
  padding: 0 2rem;
}

.sp-breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 0.95rem;
}

.sp-breadcrumbs li+li::before {
  content: "/";
  margin-right: 0.5rem;
  color: var(--text-light);
}

.sp-breadcrumbs a {
  color: var(--primary-purple);
  text-decoration: underline;
}

.sp-brand-page,
.sp-faq-page {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem 4rem;
}

.sp-brand-hero h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.sp-brand-kicker {
  font-weight: 600;
  color: var(--primary-purple);
  margin-bottom: 0.75rem;
}

.sp-brand-kicker a {
  text-decoration: underline;
}

.sp-geo-def {
  max-width: 46rem;
  font-size: 1.15rem;
  line-height: 1.7;
  color: var(--text-dark);
  margin-bottom: 2rem;
}

.sp-brand-figure {
  margin: 0 0 2.5rem;
  background-color: var(--bg-light);
  border-radius: 30px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.sp-brand-figure img {
  width: 100%;
  object-fit: cover;
  object-position: center 45%;
  border-radius: 0;
  display: block;
}

.sp-brand-section {
  margin-bottom: 2rem;
  padding: 3rem 0;
}

.sp-brand-section h2 {
  margin-bottom: 0.75rem;
}

.sp-brand-cta {
  margin-top: 2.5rem;
}

/* SU-673: reveal / count-up â€” opacity+transform only */
@keyframes spiritum-reveal {
  from {
    opacity: 0;
    transform: translate3d(0, 1.15rem, 0);
  }

  to {
    opacity: 1;
    transform: none;
  }
}

.js-reveal-load {
  animation: spiritum-reveal 0.8s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.hero-content h1.js-reveal-load {
  animation-duration: 0.9s;
}

.hero-buttons.js-reveal-load {
  animation-delay: 0.12s;
}

.js-reveal,
.sp-reveal {
  opacity: 0;
  transform: translate3d(0, 1.15rem, 0);
  transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1), transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.js-reveal.is-inview,
.sp-reveal.is-inview {
  opacity: 1;
  transform: none;
}

.services-grid .js-reveal:nth-child(2),
.metrics-grid .js-reveal:nth-child(2),
.staff-row .js-reveal:nth-child(2),
.mision-vision-cards .js-reveal:nth-child(2) {
  transition-delay: 0.08s;
}

.services-grid .js-reveal:nth-child(3),
.metrics-grid .js-reveal:nth-child(3),
.staff-row .js-reveal:nth-child(3) {
  transition-delay: 0.16s;
}

.services-grid .js-reveal:nth-child(4),
.metrics-grid .js-reveal:nth-child(4),
.staff-row .js-reveal:nth-child(4) {
  transition-delay: 0.24s;
}

/* SU-673 cache-bust 20260818-1215 */






.hero-subtitle {
  color: var(--primary-purple);
}



/* Quienes Somos - title above grid, subtitle violet, mv-card h3 bigger */
#quienes-somos .quienes-somos-header {
  margin-bottom: 2.5rem;
}

#quienes-somos .quienes-somos-header h2 {
  font-size: 3rem;
  font-weight: 500;
}

#quienes-somos .quienes-somos-content p {
  color: var(--primary-purple);
}

#quienes-somos .quienes-somos-content p .highlight {
  color: var(--accent-orange);
}

#quienes-somos .mv-card h3 {
  font-size: 1.85rem;
}


/* --- Inicio: title smaller, subtitle violet --- */
#inicio .hero-content h1 {
  font-size: 2.5rem;
  line-height: 1.25;
}

#inicio .hero-content p {
  color: var(--primary-purple);
}

#inicio .hero-content p .highlight {
  color: var(--accent-orange);
}

/* --- Quienes Somos: title centered and larger --- */
#quienes-somos .quienes-somos-header {
  text-align: center;
}

#quienes-somos .quienes-somos-header h2 {
  font-size: 3.8rem;
  font-weight: 500;
}

/* --- Que Hacemos: title + subtitle centered, violet subtitle --- */
#que-hacemos .section-header {
  text-align: center;
}

#que-hacemos .section-header h2 {
  font-size: 3.8rem;
  font-weight: 500;
}

#que-hacemos .que-hacemos-sub {
  color: var(--primary-purple);
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

#que-hacemos .que-hacemos-sub .highlight {
  color: var(--accent-orange);
}


/* --- Adjustments for Que Hacemos --- */
#que-hacemos .quote-banner h3 {
  font-size: 2.8rem;
  font-weight: 500;
}

#que-hacemos .metrics-title {
  font-size: 2.8rem;
  font-weight: 500;
}

#que-hacemos .plim-banner-img {
  width: 100%;
  height: auto;
  border-radius: 0;
  box-shadow: none;
  padding: 0;
  border: none;
  display: block;
}

/* --- Adjustments for Nuestras Marcas --- */
#nuestras-marcas .brand-block {
  background-color: transparent;
  border-radius: 0;
  box-shadow: none;
  margin-bottom: 5rem;
}

#nuestras-marcas .brand-block:hover {
  transform: none;
}

#nuestras-marcas .brand-banner-img {
  width: 100%;
  border-radius: 0;
  display: block;
}

#nuestras-marcas .brand-body p {
  color: var(--primary-purple);
}

#nuestras-marcas .brand-body p .highlight {
  color: var(--accent-orange);
}

/* --- Metrics Section Overrides --- */
#que-hacemos .metric-number {
  color: var(--primary-purple);
  line-height: 0.9;
}

#que-hacemos .metric-text {
  color: var(--primary-purple);
  line-height: 1.2;
}

#que-hacemos .metric-text span {
  color: var(--primary-purple);
}

/* --- Staff Section Overrides --- */
#staff .section-header {
  text-align: center;
}

#staff .section-header h2 {
  font-size: 3.8rem;
  font-weight: 500;
}

#staff .staff-subtitle {
  color: var(--primary-purple);
  text-align: center;
  margin: 0 auto;
  max-width: 850px;
}

#staff .staff-subtitle .highlight {
  color: var(--accent-orange);
}

#staff .staff-name {
  font-size: 1.25rem;
}

#staff .staff-title {
  font-size: 0.9rem;
}

/* --- Mobile Overrides for Inicio --- */
@media (max-width: 768px) {
  #inicio {
    padding-top: 5rem;
  }

  #inicio .hero-content h1 {
    font-size: 2rem;
  }

  #inicio .hero-content p {
    font-size: 1rem;
    line-height: 1.3;
    margin-bottom: 2rem;
  }

  #inicio .hero-buttons {
    flex-direction: column;
    align-items: stretch;
    gap: 1rem;
  }

  #inicio .hero-buttons .btn {
    width: 100%;
  }
}
/* --- Comprehensive Mobile Overrides --- */
@media (max-width: 768px) {
  /* Quienes Somos */
  #quienes-somos .quienes-somos-header h2 {
    font-size: 2.2rem;
  }
  .quienes-somos-grid {
    gap: 2rem !important;
  }

  /* Que Hacemos */
  #que-hacemos .section-header h2 {
    font-size: 2.2rem;
  }
  #que-hacemos .que-hacemos-sub {
    line-height: 1.4;
  }
  .services-box {
    padding: 1.8rem !important;
  }
  .service-item {
    gap: 0.8rem;
  }
  .services-grid {
    gap: 2rem !important;
  }
  #que-hacemos .quote-banner h3,
  #que-hacemos .metrics-title {
    font-size: 2rem;
  }

  /* Nuestras Marcas */
  #nuestras-marcas .brand-body {
    padding: 2rem 0 !important;
  }

  /* Staff */
  #staff .section-header h2 {
    font-size: 2.2rem;
  }
  #staff .staff-subtitle {
    line-height: 1.4;
  }

  /* Contacto */
  .contacto-content h2 {
    font-size: 2.2rem !important;
  }
}


/* --- Additional Mobile Overrides requested by user --- */
@media (max-width: 768px) {
  section.sp-brand-section {
    margin-bottom: 0;
    padding-bottom: 1em;
  }
  
  section {
    padding: 5rem 0;
    padding-bottom: 1em !important;
  }
}

