/* ========================================
   Juan Salvador Eventos — Styles
   ======================================== */

:root {
  --color-black: #000000;
  --color-white: #FFFFFF;
  --color-accent: #CAAE8E;
  --color-accent-dark: #B18859;
  --color-accent-light: rgba(202, 174, 142, 0.15);
  --color-overlay: rgba(177, 136, 89, 0.25);
  --color-text: #333333;
  --color-text-light: #999999;
  --color-bg-light: #F5F5F5;

  --font-heading: 'Playfair Display', Georgia, serif;
  --font-body: 'Open Sans', Helvetica, Arial, sans-serif;

  --container-max: 1200px;
  --radius: 12px;
  --transition: 0.3s ease;
}

/* ========== RESET & BASE ========== */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  color: var(--color-text);
  background: var(--color-white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

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

ul { list-style: none; }

.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
}

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

.accent { color: var(--color-accent); }

.section {
  padding: 100px 0;
  position: relative;
  overflow: hidden;
}

.section-white { background: var(--color-white); }
.section-light { background: var(--color-bg-light); }
.section-dark { background: var(--color-black); color: var(--color-white); }

.section-title {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 12px;
  position: relative;
  display: inline-block;
}

.section-title.light { color: var(--color-white); }

.text-center .section-title,
.section-title.text-center {
  display: block;
}

.section-title::after {
  content: '';
  display: block;
  width: 60px;
  height: 3px;
  background: var(--color-accent);
  margin-top: 16px;
}

.text-center .section-title::after,
.section-title.text-center::after {
  margin-left: auto;
  margin-right: auto;
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--color-text-light);
  margin-bottom: 50px;
  font-weight: 300;
}

.section-subtitle.light { color: rgba(255, 255, 255, 0.7); }

/* ========== BUTTONS ========== */
.btn {
  display: inline-block;
  padding: 14px 40px;
  border-radius: 30px;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  cursor: pointer;
  transition: all var(--transition);
  border: 2px solid transparent;
}

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

.btn-outline:hover {
  background: var(--color-accent);
  border-color: var(--color-accent);
  color: var(--color-white);
}

.btn-accent {
  background: var(--color-accent);
  color: var(--color-white);
  border: 2px solid var(--color-accent);
}

.btn-accent:hover {
  background: var(--color-accent-dark);
  border-color: var(--color-accent-dark);
}

/* ========== NAVIGATION ========== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 20px 0;
  transition: all var(--transition);
}

.navbar.scrolled {
  background: rgba(0, 0, 0, 0.95);
  padding: 10px 0;
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo img {
  height: 70px;
  width: auto;
}

.nav-menu {
  display: flex;
  gap: 18px;
}

.nav-link {
  color: var(--color-white);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  position: relative;
  padding: 4px 0;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--color-accent);
  transition: width var(--transition);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

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

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  z-index: 1001;
}

.nav-toggle span {
  display: block;
  width: 28px;
  height: 2px;
  background: var(--color-white);
  transition: all var(--transition);
}

.nav-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle.active span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ========== HERO ========== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: url('../juansalvadoreventos_fotos/hero-imagen-central.webp') center right / cover no-repeat;
  overflow: hidden;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(0, 0, 0, 0.9) 0%,
    rgba(0, 0, 0, 0.7) 40%,
    rgba(0, 0, 0, 0.4) 70%,
    rgba(0, 0, 0, 0.3) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 0 24px;
  animation: fadeInUp 1s ease forwards;
}

.hero-logo {
  max-width: 350px;
  margin: 0 auto 30px;
}

.hero-slogan {
  font-family: var(--font-heading);
  font-style: italic;
  font-size: 1.6rem;
  font-weight: 400;
  color: var(--color-white);
  margin-bottom: 40px;
  line-height: 1.5;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  text-shadow:
    0 2px 8px rgba(0, 0, 0, 0.7),
    0 0 20px rgba(0, 0, 0, 0.5),
    0 0 40px rgba(0, 0, 0, 0.3);
}

.scroll-indicator {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  color: var(--color-white);
  opacity: 0.6;
  animation: bounce 2s infinite;
  z-index: 1;
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
  40% { transform: translateX(-50%) translateY(-12px); }
  60% { transform: translateX(-50%) translateY(-6px); }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ========== ABOUT ========== */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-image {
  position: relative;
}

.about-image::after {
  content: '';
  position: absolute;
  top: 20px;
  left: 20px;
  width: 100%;
  height: 100%;
  border: 3px solid var(--color-accent);
  border-radius: var(--radius);
  z-index: -1;
}

.about-image img {
  border-radius: var(--radius);
  width: 100%;
  object-fit: cover;
}

.about-text .lead {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-style: italic;
  color: var(--color-accent);
  margin-bottom: 20px;
}

.about-text p {
  margin-bottom: 16px;
}

.about-text blockquote {
  font-family: var(--font-heading);
  font-style: italic;
  font-size: 1.15rem;
  color: var(--color-text);
  border-left: 3px solid var(--color-accent);
  padding-left: 20px;
  margin: 24px 0;
}

.about-stats {
  display: flex;
  gap: 40px;
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid #eee;
}

.stat { text-align: center; }

.stat-number {
  display: block;
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 700;
}

.stat-label {
  font-size: 0.85rem;
  color: var(--color-text-light);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* ========== SERVICES ========== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.service-card {
  background: var(--color-white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  transition: all var(--transition);
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

.service-image {
  position: relative;
  overflow: hidden;
  aspect-ratio: 3/2;
}

.service-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.service-card:hover .service-image img {
  transform: scale(1.08);
}

.service-overlay {
  position: absolute;
  inset: 0;
  background: var(--color-overlay);
  opacity: 0;
  transition: opacity var(--transition);
}

.service-card:hover .service-overlay {
  opacity: 1;
}

.service-content {
  padding: 24px;
}

.service-content h3 {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  margin-bottom: 8px;
}

.service-content p {
  font-size: 0.93rem;
  color: var(--color-text-light);
  line-height: 1.6;
}

/* ========== PROCESS ========== */
.process-bg {
  position: absolute;
  inset: 0;
  background: url('../juansalvadoreventos_fotos/primeros-pasos-proceso.webp') center / cover no-repeat;
  opacity: 0.05;
}

.process-timeline {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 0;
  margin-top: 20px;
}

.process-step {
  text-align: center;
  flex: 1;
  max-width: 200px;
}

.step-circle {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  border: 2px solid var(--color-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--color-accent);
  margin: 0 auto 16px;
  transition: all var(--transition);
}

.process-step:hover .step-circle {
  background: var(--color-accent);
  color: var(--color-white);
}

.process-step h4 {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  margin-bottom: 8px;
  color: var(--color-white);
}

.process-step p {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.5;
  padding: 0 8px;
}

.process-line {
  width: 60px;
  height: 2px;
  background: var(--color-accent);
  margin-top: 30px;
  flex-shrink: 0;
  opacity: 0.4;
}

/* ========== GALLERY ========== */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-flow: dense;
  gap: 16px;
}

.gallery-item {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
  aspect-ratio: 4/3;
}

.gallery-item-tall img {
  aspect-ratio: 3/4;
}

.gallery-item-tall {
  grid-row: span 2;
}

.gallery-item-portrait img {
  object-position: top;
}


.gallery-overlay {
  position: absolute;
  inset: 0;
  background: var(--color-overlay);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity var(--transition);
  color: var(--color-white);
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

.gallery-item:hover img {
  transform: scale(1.08);
}

/* ========== LIGHTBOX ========== */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.92);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition);
}

.lightbox.active {
  opacity: 1;
  visibility: visible;
}

.lightbox-content img {
  max-width: 90vw;
  max-height: 85vh;
  border-radius: 4px;
}

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 24px;
  background: none;
  border: none;
  color: var(--color-white);
  font-size: 2.5rem;
  cursor: pointer;
  transition: color var(--transition);
  z-index: 2001;
  line-height: 1;
}

.lightbox-close:hover { color: var(--color-accent); }

.lightbox-prev,
.lightbox-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: var(--color-white);
  cursor: pointer;
  transition: color var(--transition);
  padding: 12px;
}

.lightbox-prev { left: 16px; }
.lightbox-next { right: 16px; }
.lightbox-prev:hover,
.lightbox-next:hover { color: var(--color-accent); }

/* ========== CONTACT ========== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 60px;
  align-items: start;
  min-width: 0;
  overflow: hidden;
}

.contact-info { padding-top: 10px; }

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 20px;
  color: rgba(255, 255, 255, 0.85);
}

.contact-item svg {
  flex-shrink: 0;
  color: var(--color-accent);
  margin-top: 2px;
}

.contact-item a:hover { color: var(--color-accent); }

.email-image-link {
  display: inline-flex;
  align-items: center;
}

.email-image-link img {
  height: 22px;
  width: auto;
  opacity: 0.85;
  transition: opacity var(--transition);
}

.email-image-link:hover img {
  opacity: 1;
}

.social-links {
  display: flex;
  gap: 16px;
  margin-top: 24px;
}

.social-links a {
  color: var(--color-white);
  transition: color var(--transition);
  display: flex;
}

.social-links a:hover { color: var(--color-accent); }

/* ========== CONTACT FORM ========== */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 100%;
  min-width: 0;
}

.form-row {
  display: flex;
  gap: 16px;
  width: 100%;
}

.form-group {
  flex: 1;
  min-width: 0;
}

.form-group.full-width {
  width: 100%;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  padding: 14px 0;
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.25);
  color: var(--color-white);
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: border-color var(--transition);
  outline: none;
}

.contact-form input::placeholder,
.contact-form select,
.contact-form textarea::placeholder {
  color: rgba(255, 255, 255, 0.45);
}

.contact-form select option {
  background: var(--color-black);
  color: var(--color-white);
}

/* Date field label & input */
.contact-form .date-label {
  display: block;
  color: rgba(255, 255, 255, 0.45);
  font-family: var(--font-body);
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  padding-top: 4px;
  margin-bottom: 0;
  pointer-events: none;
  transition: color var(--transition);
}

.contact-form input[type="date"] {
  color: rgba(255, 255, 255, 0.35);
  padding-top: 8px;
}

.contact-form input[type="date"]::-webkit-calendar-picker-indicator {
  filter: invert(1) brightness(0.6);
  cursor: pointer;
}

.contact-form input[type="date"]:focus {
  color: var(--color-white);
}

.contact-form .form-group--date:focus-within .date-label {
  color: var(--color-accent);
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-bottom-color: var(--color-accent);
}

.contact-form textarea {
  resize: vertical;
  min-height: 100px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 8px;
  padding: 14px;
  margin-top: 8px;
}

.contact-form textarea:focus {
  border-color: var(--color-accent);
}

.contact-form .btn-accent {
  margin-top: 8px;
  align-self: flex-start;
}

/* ========== FOOTER ========== */
.footer {
  background: var(--color-black);
  color: rgba(255, 255, 255, 0.7);
  padding: 60px 0 0;
  border-top: 2px solid var(--color-accent);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
}

.footer-brand img {
  height: 100px;
  width: auto;
  margin-bottom: 16px;
}

.footer-brand p {
  font-family: var(--font-heading);
  font-style: italic;
  font-size: 0.95rem;
  line-height: 1.6;
}

.footer h4 {
  color: var(--color-white);
  font-family: var(--font-heading);
  font-size: 1.1rem;
  margin-bottom: 16px;
}

.footer-links ul {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-links a {
  font-size: 0.9rem;
  transition: color var(--transition);
}

.footer-links a:hover { color: var(--color-accent); }

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 20px 0;
  text-align: center;
  font-size: 0.85rem;
}

.footer-credit {
  margin-top: 8px;
  font-size: 0.75rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.3);
}

.footer-credit a {
  color: rgba(255, 255, 255, 0.45);
  transition: color var(--transition);
}

.footer-credit a:hover {
  color: var(--color-accent);
}

/* ========== SCROLL ANIMATIONS ========== */
[data-animate] {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

[data-animate].visible {
  opacity: 1;
  transform: translateY(0);
}

/* ========== RESPONSIVE ========== */
@media (max-width: 1023px) {
  .section { padding: 80px 0; }
  .section-title { font-size: 2rem; }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .about-image::after { display: none; }

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

  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .gallery-item-tall { grid-row: span 1; }
  .gallery-item-tall img { aspect-ratio: 4/3; }

  .process-timeline {
    flex-direction: column;
    align-items: center;
    gap: 8px;
  }

  .process-line {
    width: 2px;
    height: 30px;
    margin-top: 0;
  }

  .process-step { max-width: 300px; }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

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

@media (max-width: 767px) {
  .section { padding: 60px 0; }
  .section-title { font-size: 1.75rem; }
  .section-subtitle { margin-bottom: 32px; }

  .nav-toggle { display: flex; }

  .nav-menu {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.95);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 28px;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition);
  }

  .nav-menu.open {
    opacity: 1;
    visibility: visible;
  }

  .nav-menu .nav-link {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    letter-spacing: 2px;
  }

  .hero-logo { max-width: 250px; }
  .hero-slogan { font-size: 1.2rem; }

  .hero-overlay {
    background: linear-gradient(
      to bottom,
      rgba(0, 0, 0, 0.5) 0%,
      rgba(0, 0, 0, 0.6) 40%,
      rgba(0, 0, 0, 0.7) 60%,
      rgba(0, 0, 0, 0.5) 100%
    );
  }

  .about-stats {
    gap: 20px;
  }

  .stat-number { font-size: 1.8rem; }

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

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

  .gallery-hide-mobile {
    display: none;
  }

  .form-row {
    flex-direction: column;
  }

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

  .footer-brand img { margin: 0 auto 16px; }
  .footer .social-links { justify-content: center; }

  .lightbox-prev { left: 4px; }
  .lightbox-next { right: 4px; }

  .team-member,
  .team-member--reverse {
    grid-template-columns: 1fr !important;
    gap: 24px;
  }

  .team-member--reverse .team-member-info {
    order: 0;
  }

  .team-member--reverse .team-member-image {
    order: 0;
  }

  .philosophy-grid,
  .philosophy-grid--reverse {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .philosophy-grid--reverse > :first-child {
    order: 0;
  }

  .team-logos img {
    height: 80px;
    width: 80px;
  }

  .team-logos img.logo-wide {
    height: 55px;
  }

  .team-logos img[style] {
    height: 76px !important;
    width: 76px !important;
  }

  .team-logos-title {
    margin-top: 16px;
    font-size: 0.85rem;
  }

  .team-logos {
    gap: 10px;
  }
}

/* ========== PAGE HERO (Inner Pages) ========== */
.page-hero {
  background: var(--color-black);
  padding: 140px 0 60px;
  text-align: center;
}

.page-hero-title {
  font-family: var(--font-heading);
  font-size: 3rem;
  font-weight: 700;
  color: var(--color-white);
  margin-bottom: 12px;
}

.page-hero-subtitle {
  font-family: var(--font-heading);
  font-style: italic;
  font-size: 1.15rem;
  color: rgba(255, 255, 255, 0.6);
  max-width: 500px;
  margin: 0 auto;
}

/* ========== TEAM MEMBER ========== */
.team-member {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 60px;
  align-items: start;
}

.team-member--reverse {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 60px;
  align-items: start;
}

.team-member--reverse .team-member-image {
  order: 1;
}

.team-member--reverse .team-member-info {
  order: 0;
}

.team-member-image img {
  border-radius: var(--radius);
  width: 100%;
  object-fit: cover;
}

.team-member-header-mobile {
  display: none;
}

.team-role {
  font-family: var(--font-heading);
  font-style: italic;
  font-size: 1.15rem;
  color: var(--color-accent);
  margin-bottom: 20px;
}

.team-member-info p {
  margin-bottom: 14px;
  line-height: 1.7;
}

.team-badges {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 24px 0;
  padding: 20px;
  background: var(--color-accent-light);
  border-radius: var(--radius);
}

.team-badge {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--color-accent-dark);
}

.team-badge svg {
  flex-shrink: 0;
  color: var(--color-accent);
  stroke: var(--color-accent);
}

.team-certs {
  margin-top: 24px;
}

.team-certs-title {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  margin-bottom: 16px;
  margin-top: 28px;
  color: var(--color-text);
}

.team-logos {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
  margin-bottom: 28px;
}

.team-logos-title {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--color-text-light);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-top: 20px;
  margin-bottom: 10px;
}

.team-logos img {
  height: 150px;
  width: 150px;
  object-fit: contain;
  filter: grayscale(20%);
  transition: filter var(--transition), transform var(--transition);
}

.team-logos img.logo-wide {
  width: auto;
  height: 100px;
}

.team-logos img:hover {
  filter: grayscale(0%);
  transform: scale(1.08);
}

.team-certs h3 {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  margin-bottom: 12px;
  color: var(--color-text);
}

.team-certs ul {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr;
  gap: 6px;
}

.team-certs li {
  font-size: 0.88rem;
  color: var(--color-text-light);
  padding-left: 16px;
  position: relative;
  line-height: 1.5;
}

.team-certs li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-accent);
}

/* ========== PHILOSOPHY ========== */
.philosophy-hero {
  text-align: center;
  margin-bottom: 40px;
}

.philosophy-hero img {
  border-radius: var(--radius);
  max-width: 700px;
  width: 100%;
  object-fit: cover;
  margin: 0 auto;
}

.philosophy-text {
  max-width: 700px;
  margin: 0 auto 40px;
  text-align: center;
}

.philosophy-text p {
  font-size: 1.05rem;
  line-height: 1.9;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 18px;
}

.philosophy-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  margin-bottom: 50px;
}

.philosophy-grid--reverse {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  margin-bottom: 50px;
}

.philosophy-grid--reverse > :first-child {
  order: 1;
}

.philosophy-grid--reverse > :last-child {
  order: 0;
}

.philosophy-block img {
  border-radius: var(--radius);
  width: 100%;
  object-fit: cover;
}

.philosophy-block p {
  font-size: 1rem;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 14px;
}

.philosophy-quote {
  text-align: center;
  margin-top: 20px;
  padding-top: 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.philosophy-quote blockquote {
  font-family: var(--font-heading);
  font-style: italic;
  font-size: 1.4rem;
  color: var(--color-accent);
  max-width: 600px;
  margin: 0 auto;
}

/* ========== BLOG EMPTY STATE ========== */
.blog-empty {
  padding: 60px 0;
}

.blog-empty-icon {
  color: var(--color-accent);
  margin-bottom: 24px;
}

.blog-empty-text {
  font-size: 1.1rem;
  color: var(--color-text-light);
  max-width: 480px;
  margin: 0 auto 32px;
  line-height: 1.7;
}

/* ========== BLOG CARDS (future use) ========== */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}

.blog-card {
  background: var(--color-white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
  transition: all var(--transition);
}

.blog-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
}

.blog-card-image {
  aspect-ratio: 16/9;
  overflow: hidden;
}

.blog-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.blog-card:hover .blog-card-image img {
  transform: scale(1.05);
}

.blog-card-content {
  padding: 24px;
}

.blog-card-date {
  font-size: 0.8rem;
  color: var(--color-text-light);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 8px;
}

.blog-card-title {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 10px;
  line-height: 1.4;
}

.blog-card-title a {
  color: var(--color-text);
  transition: color var(--transition);
}

.blog-card-title a:hover {
  color: var(--color-accent);
}

.blog-card-excerpt {
  font-size: 0.93rem;
  color: var(--color-text-light);
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Blog featured post */
.blog-featured {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 40px;
  margin-bottom: 50px;
  align-items: center;
}

.blog-featured .blog-card-image {
  border-radius: var(--radius);
}

@media (max-width: 767px) {
  .page-hero { padding: 120px 0 40px; }
  .page-hero-title { font-size: 2.2rem; }

  .team-member,
  .team-member--reverse {
    grid-template-columns: 1fr !important;
    gap: 24px;
  }

  .team-member-header-mobile {
    display: block;
    margin-bottom: 16px;
  }

  .team-member-info > .section-title,
  .team-member-info > .team-role {
    display: none;
  }

  .team-member .team-member-image,
  .team-member--reverse .team-member-image {
    order: -1;
  }

  .team-member .team-member-info,
  .team-member--reverse .team-member-info {
    order: 0;
  }

  .team-member-image { text-align: center; }

  .team-logos img {
    height: 80px;
    width: 80px;
  }

  .team-logos img.logo-wide {
    height: 55px;
  }

  .team-logos-title {
    margin-top: 16px;
    font-size: 0.85rem;
  }

  .team-logos { gap: 10px; }

  .blog-grid { grid-template-columns: 1fr; }
  .blog-featured { grid-template-columns: 1fr; }
}
