/**
 * Barbershop Alameda Custom Styles
 * Consolidated from child theme CSS files
 *
 * @package Astra
 */

/* === DESIGN TOKENS === */

:root {
  --color-accent: #d4af37;
  --color-muted: #8a8a8a;
  --color-contrast: #0b0b0b;
}

/* === BASE STYLES === */

html,
body {
  background-color: transparent;
  width: 100%;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Helvetica Neue', Arial, sans-serif;
  background: transparent !important;
}

/* === FULL-WIDTH LAYOUT FIX === */
/* Override Astra's container to allow full-width layout */
.ast-container {
  max-width: 100%;
  padding-left: 0;
  padding-right: 0;
  margin-left: 0;
  margin-right: 0;
}

.ast-container-fluid {
  max-width: 100%;
  padding-left: 0;
  padding-right: 0;
}

/* === PAGE WRAPPERS === */

.site,
#page,
.site-content,
.content-area,
#main-content {
  background: transparent;
  width: 100%;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

#main-content {
  position: relative;
  z-index: 1;
  display: block;
  background: transparent !important;
}

/* Hide default site title */
.site-title,
.site-branding .site-title,
.ast-site-title {
  display: none;
}

/* Hide header on front page */
body.home .site-header,
body.front-page .site-header,
body.home .site-branding,
body.front-page .site-branding {
  display: none;
  margin: 0;
  padding: 0;
  height: 0;
}

/* === TYPOGRAPHY === */

h1.page-title,
.services-hero .page-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 42px;
  letter-spacing: 1px;
  color: #0b0b0b;
  margin-bottom: 10px;
}

h2 {
  font-size: 28px;
  color: var(--color-contrast);
  margin: 28px 0 12px;
  font-weight: 700;
}

h3 {
  font-size: 18px;
  color: var(--color-contrast);
  margin: 8px 0;
}

/* === ACCESSIBILITY === */

a:focus {
  outline: 3px solid rgba(212, 175, 55, 0.25);
}

/* === ANIMATION DEFINITIONS === */

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-28px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(28px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(28px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Respect user's motion preferences */
@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    transition: none !important;
  }
}

/* === LOGO & BRANDING === */

.custom-logo-link img,
.hec-topnav-left img,
.hec-site-logo {
  display: block;
  max-width: 140px;
  height: auto;
}

/* === FRONT PAGE LAYOUT === */

body.home #content,
body.front-page #content,
body.home .site-content,
body.front-page .site-content {
  width: 100%;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* === RESPONSIVE GRID === */

.container,
.hec-about-inner {
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding: 0 20px;
  box-sizing: border-box;
  width: 100%;
}

@media (max-width: 900px) {
  h1.page-title,
  .services-hero .page-title {
    font-size: 36px;
  }
}

@media (max-width: 600px) {
  h1.page-title,
  .services-hero .page-title {
    font-size: 28px;
  }
}

/* === COVER IMAGE HERO SECTION === */

.hec-hero-cover {
  position: relative;
  width: 100%;
  margin: 0;
  padding: 0;
  background: #fff;
}

.hec-hero-cover-inner {
  position: relative;
  width: 100%;
  min-height: 70vh;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hec-hero-cover-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.25);
  z-index: 1;
}

.hec-hero-cover-content {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}

.hec-booksy-button {
  background: transparent;
  color: transparent;
  font-size: 18px;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  letter-spacing: 0.5px;
  opacity: 0;
  pointer-events: auto;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 160px;
  height: 160px;
  border-radius: 8px;
  z-index: 10;
}

.hec-booksy-button:hover {
  opacity: 0;
}

.book-now-card {
  background: var(--color-accent);
  color: #0b0b0b;
  width: 220px;
  height: 70px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 17px;
  font-weight: 900;
  letter-spacing: 1px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
  z-index: 11;
  transition: all 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
  border: 3px solid #0b0b0b;
  cursor: default;
  text-transform: uppercase;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.book-now-card:hover {
  background: linear-gradient(135deg, #d4af37 0%, #c9a227 100%);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5), inset 0 1px 0px rgba(255, 255, 255, 0.4), inset 0 -2px 8px rgba(0, 0, 0, 0.2);
  transform: translate(-50%, -50%) scale(1.2) translateY(-10px);
  letter-spacing: 3px;
  border-color: #000;
  text-shadow: 0 3px 6px rgba(0, 0, 0, 0.2);
}

.book-now-card:active {
  transform: translate(-50%, -50%) scale(0.98) translateY(-4px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.35);
}

/* Booksy button stays invisible but functional - the parent opacity: 0 hides it visually */
.hec-booksy-button {
  pointer-events: auto;
  z-index: 10;
}

/* Allow Booksy widget to function normally but keep it invisible via parent opacity */
.booksy-widget-container,
.booksy-widget-container-dialog,
.booksy-widget-container-default,
.booksy-widget-button,
.booksy-business-link {
  pointer-events: auto !important;
  opacity: inherit;
  visibility: inherit;
}

.book-now-card span {
  text-align: center;
  display: block;
}

@media (max-width: 900px) {
  .team-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .hec-hero-cover-inner {
    min-height: 50vh;
  }
  .hec-booksy-button {
    padding: 16px 40px;
    font-size: 16px;
  }
}

@media (max-width: 600px) {
  .hec-hero-cover-inner {
    min-height: 40vh;
  }
  .hec-booksy-button {
    padding: 14px 32px;
    font-size: 14px;
  }
}

/* === HERO SECTION === */

.services-hero {
  position: relative;
  width: 100%;
  margin: 0;
  padding: 0;
}

.services-hero-inner {
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center center;
  padding: 40px 0;
}

.services-hero .container {
  width: 100%;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

.services-hero .page-title {
  font-size: 42px;
  margin: 0 0 10px;
  letter-spacing: 1px;
}

.services-hero .page-title::after {
  content: '';
  display: block;
  width: 72px;
  height: 4px;
  background: var(--color-accent);
  margin: 12px 0 18px;
  border-radius: 4px;
}

.services-hero .lead {
  color: var(--color-muted);
  max-width: 520px;
}

/* Hero logo overlay */
.hec-hero-logo-wrapper {
  position: absolute;
  top: 24px;
  left: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10000;
  margin: 0;
}

.hec-hero-logo-wrapper img {
  width: 120px;
  height: auto;
  display: block;
  border-radius: 6px;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.18);
  transform: translateY(6px);
}

/* Responsive: Hero */
@media (max-width: 900px) {
  .services-hero-inner {
    min-height: 300px;
    padding: 32px 0;
  }
  .hec-hero-logo-wrapper {
    top: 16px;
    left: 16px;
  }
  .hec-hero-logo-wrapper img {
    width: 90px;
  }
}

@media (max-width: 600px) {
  .services-hero-inner {
    min-height: 180px;
  }
  .hec-hero-logo-wrapper img {
    width: 72px;
  }
  .services-hero .page-title {
    font-size: 28px;
  }
  .services-hero .lead {
    max-width: 100%;
  }
}

/* === NAVIGATION === */

.hec-topnav {
  background: #000000;
  color: #fff;
  border: none;
  box-shadow: 0 12px 48px rgba(0, 0, 0, 0.75);
  padding: 6px 0;
  position: relative;
  z-index: 9999;
  width: 100%;
  max-width: 100%;
  margin: 0;
  left: 0;
  right: 0;
  border-radius: 0;
  box-sizing: border-box;
}

.hec-topnav .container.hec-topnav-grid {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 6px 0;
  max-width: 100%;
  width: 100%;
  margin: 0;
  box-sizing: border-box;
}

.hec-topnav-left {
  display: flex;
  align-items: center;
}

.hec-topnav-left img {
  width: 110px;
  height: auto;
  display: block;
  margin-left: 8px;
}

.hec-topnav-center {
  flex: 1;
  display: flex;
  justify-content: center;
}

.hec-topnav-right {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* Menu */
.hec-nav,
.hec-menu {
  display: flex;
}

.hec-menu {
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 36px;
  align-items: center;
}

.hec-menu li {
  display: list-item;
}

.hec-menu li a {
  color: #ffffff;
  text-decoration: none;
  font-weight: 800;
  padding: 12px 20px;
  font-size: 16px;
  border: 2px solid var(--color-accent);
  border-radius: 8px;
  transition: all 0.16s ease;
  background: transparent;
  display: inline-block;
}

.hec-menu li a:hover {
  color: rgba(255, 255, 255, 0.98);
  background: rgba(255, 255, 255, 0.06);
  border-color: var(--color-accent);
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.25);
}

.hec-menu li.current-menu-item > a,
.hec-menu li.current-menu-ancestor > a {
  background: var(--color-accent);
  color: #0b0b0b;
  border-color: rgba(212, 175, 55, 0.18);
}

/* Social icons */
.hec-social {
  display: flex;
  gap: 10px;
  align-items: center;
}

.hec-social-icon.hec-instagram {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.98);
  color: var(--color-contrast);
  border: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.25);
  transition: transform 0.12s ease, box-shadow 0.12s ease;
}

.hec-social-icon.hec-instagram svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.hec-social-icon.hec-instagram:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 22px rgba(0, 0, 0, 0.28);
}

/* WhatsApp button */
.hec-whatsapp-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  background: var(--color-accent);
  color: #0b0b0b;
  font-weight: 800;
  font-size: 15px;
  border-radius: 999px;
  text-decoration: none;
  border: 2px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.18);
  transition: transform 0.12s ease, box-shadow 0.12s ease;
}

.hec-whatsapp-btn svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.hec-whatsapp-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.22);
}

/* Join team link */
.hec-join-link {
  background: var(--color-accent);
  color: #0b0b0b;
  padding: 10px 18px;
  border-radius: 999px;
  font-weight: 800;
  display: inline-block;
  border: none;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.12);
  transition: transform 0.12s ease, box-shadow 0.12s ease;
}

.hec-join-link:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.18);
}

/* Responsive: Navigation */
@media (max-width: 900px) {
  .hec-topnav .container {
    padding: 8px 12px;
  }
  .hec-topnav .container.hec-topnav-grid {
    flex-direction: column;
    align-items: center;
    gap: 12px;
    padding: 10px 12px;
  }
  .hec-topnav-left {
    margin-bottom: 6px;
  }
  .hec-topnav-left img {
    width: 90px;
  }
  .hec-topnav-center {
    order: 2;
    width: 100%;
    justify-content: center;
  }
  .hec-menu {
    gap: 12px;
    flex-wrap: wrap;
    justify-content: center;
  }
  .hec-menu li a {
    padding: 9px 12px;
    font-size: 15px;
  }
  .hec-topnav-right {
    order: 3;
  }
  .hec-social-icon.hec-instagram {
    width: 36px;
    height: 36px;
  }
  .hec-whatsapp-btn {
    padding: 8px 10px;
    font-size: 13px;
  }
}

@media (max-width: 600px) {
  .hec-topnav .container.hec-topnav-grid {
    padding: 8px;
    gap: 8px;
  }
  .hec-topnav-left img {
    width: 72px;
  }
  .hec-menu {
    gap: 8px;
  }
  .hec-menu li a {
    padding: 7px 10px;
    font-size: 14px;
  }
  .hec-social-icon.hec-instagram {
    width: 32px;
    height: 32px;
  }
  .hec-whatsapp-btn {
    padding: 6px 10px;
    font-size: 13px;
  }
}

/* === SERVICES SECTION & CARDS === */

.services-list-wrap {
  width: 100%;
  margin: 30px 0;
  padding: 0 0 60px;
  box-sizing: border-box;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.3) 0%, rgba(255, 255, 255, 0.1) 50%, rgba(255, 255, 255, 0.05) 100%);
}

.services-section {
  position: relative;
  padding: 40px 0;
  overflow: visible;
  scroll-margin-top: 110px;
}

.services-section .services-panel {
  width: 100%;
  margin: 0;
  background: rgba(255, 255, 255, 0.82);
  padding: 28px 36px;
  border-radius: 0;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.06);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  box-sizing: border-box;
}

.services-section .services-panel h2,
.services-section .services-panel h3 {
  margin-top: 0;
}

.services-section.alt .services-panel {
  background: rgba(0, 0, 0, 0.22);
  color: #fafafa;
}

.services-intro {
  margin-bottom: 18px;
}

.services-header {
  text-align: center;
  margin: 42px 0 12px;
  position: relative;
}

.services-header::after {
  content: '';
  display: block;
  width: 72px;
  height: 4px;
  background: var(--color-accent);
  margin: 18px auto 0;
  border-radius: 4px;
}

.services-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 34px;
  color: var(--color-contrast);
  margin: 0 0 6px;
  letter-spacing: 1px;
}

.services-subtitle {
  color: var(--color-muted);
  margin: 0;
  font-size: 16px;
  text-align: center;
}

/* Service cards (shortcode output) */
.hec-service-cards {
  display: grid;
  grid-template-columns: repeat(3, 340px);
  gap: 28px;
  margin: 28px 0;
  width: 100%;
  justify-content: center;
  position: relative;
  z-index: 3;
  padding: 0;
  box-sizing: border-box;
}

.hec-service-cards .hec-card {
  opacity: 0;
}

.hec-service-cards.cards-animate .hec-card:nth-child(1) {
  animation: slideInLeft 1s cubic-bezier(0.2, 0.9, 0.2, 1) 0.14s both;
}

.hec-service-cards.cards-animate .hec-card:nth-child(2) {
  animation: slideUp 1s cubic-bezier(0.2, 0.9, 0.2, 1) 0.22s both;
}

.hec-service-cards.cards-animate .hec-card:nth-child(3) {
  animation: slideInRight 1s cubic-bezier(0.2, 0.9, 0.2, 1) 0.30s both;
}

.hec-card {
  background: #3b3b3b;
  border-radius: 10px;
  padding: 30px 22px;
  width: 340px;
  text-align: center;
  box-shadow: 0 12px 30px rgba(10, 10, 10, 0.06);
  text-decoration: none;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.04);
  transition: transform 0.28s cubic-bezier(0.2, 0.9, 0.2, 1),
    box-shadow 0.28s cubic-bezier(0.2, 0.9, 0.2, 1);
  transform-origin: center center;
}

.hec-card:hover {
  transform: translateY(-8px) scale(1.04);
  box-shadow: 0 30px 60px rgba(11, 11, 11, 0.18);
}

.hec-card-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.06);
  color: #ffffff;
  font-size: 26px;
  margin-bottom: 12px;
}

.hec-card h3 {
  margin: 6px 0;
  font-size: 20px;
  color: #ffffff;
  font-weight: 700;
}

.hec-card-sub {
  color: rgba(255, 255, 255, 0.86);
  margin: 0 0 12px;
}

.hec-card-cta {
  margin-top: 10px;
  font-weight: 700;
  color: #ffffff;
}

/* Booksy button */
.hec-booking {
  margin-top: 18px;
  text-align: center;
}

.hec-booksy-btn {
  background: var(--color-accent);
  color: #111;
  padding: 12px 18px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 800;
  display: inline-block;
}

.hec-booksy-btn:hover {
  background: #b58f2a;
}

.boton-booksy {
  text-align: center;
  margin-top: 18px;
}

.boton-booksy #mi-boton-booksy {
  background: var(--color-accent);
  color: #0b0b0b;
  font-weight: 800;
  border: 2px solid #0b0b0b;
  padding: 12px 20px;
  border-radius: 10px;
  cursor: pointer;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.18);
  transition: transform 0.12s ease, box-shadow 0.12s ease;
}

.boton-booksy #mi-boton-booksy:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.22);
}

/* Responsive: Services */
@media (max-width: 1200px) {
  .hec-service-cards {
    grid-template-columns: repeat(3, 300px);
  }
  .hec-card {
    width: 300px;
  }
}

@media (max-width: 900px) {
  .hec-service-cards {
    grid-template-columns: 1fr;
    justify-items: center;
    gap: 18px;
  }
  .hec-card {
    width: 100%;
    max-width: 520px;
  }
  .services-section .services-panel {
    padding: 20px;
    margin: 0 12px;
  }
  .services-section {
    padding: 24px 0;
  }
  .hec-service-cards.cards-animate .hec-card:nth-child(1),
  .hec-service-cards.cards-animate .hec-card:nth-child(2),
  .hec-service-cards.cards-animate .hec-card:nth-child(3) {
    animation: slideUp 0.6s cubic-bezier(0.2, 0.9, 0.2, 1) 0.08s both;
  }
}

/* === TEAM SECTION === */

.hec-team {
  padding: 64px 0;
  background: #efefef;
}

.hec-team-title {
  text-align: center;
  font-size: 32px;
  margin-bottom: 18px;
  font-weight: 700;
  letter-spacing: 1px;
  font-family: 'Playfair Display', Georgia, serif;
  color: var(--color-contrast);
}

.hec-team-title::after {
  content: '';
  display: block;
  width: 72px;
  height: 4px;
  background: var(--color-accent);
  margin: 12px auto 0;
  border-radius: 4px;
}

.hec-team-grid {
  display: grid;
  gap: 28px;
  align-items: start;
}

.hec-team-card {
  text-align: center;
}

.hec-team-photo {
  overflow: hidden;
  border-radius: 4px;
}

.hec-team-photo img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  display: block;
  transition: transform 0.32s ease, filter 0.32s ease;
}

.hec-team-card:hover .hec-team-photo img {
  transform: scale(1.06);
}

.hec-team-name {
  margin-top: 12px;
  font-weight: 600;
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 20px;
  color: var(--color-contrast);
  letter-spacing: 0.5px;
  padding-bottom: 12px;
  position: relative;
}

.hec-team-name::after {
  content: '';
  display: block;
  width: 48px;
  height: 3px;
  background: var(--color-accent);
  margin: 12px auto 0;
  border-radius: 2px;
}

/* Responsive: Team */
@media (max-width: 900px) {
  .hec-team-photo img {
    height: 300px;
  }
}

@media (max-width: 600px) {
  .hec-team {
    padding: 36px 0;
  }
  .hec-team-title {
    font-size: 26px;
  }
  .hec-team-photo img {
    height: 200px;
  }
  .hec-team-grid {
    gap: 16px;
  }
}

/* === HOME SERVICES SECTION === */

.home-service-cards {
  position: relative;
  width: 100%;
  background: #efefef;
  padding: 0;
  margin: 0;
  overflow: hidden;
}

.services-cards-wrap {
  position: relative;
  width: 100%;
  padding: 60px 0;
  background: #efefef;
  z-index: 2;
}

.services-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  z-index: 1;
  opacity: 0.15;
  filter: brightness(0.8);
}

.services-cards-wrap .container {
  position: relative;
  z-index: 3;
}

/* === ABOUT US SECTION === */

.hec-about-section {
  background: #efefef;
  padding: 0;
  margin: 0;
  position: relative;
  overflow: hidden;
}

.about-wrap {
  position: relative;
  width: 100%;
  background: #efefef;
}

.about-bg {
  display: none;
}

.hec-about-inner {
  display: block;
  position: relative;
  z-index: 3;
  padding: 80px 0 40px;
  margin: 60px auto 40px;
  width: 100%;
  max-width: 1200px;
  box-sizing: border-box;
  padding-left: 20px;
  padding-right: 20px;
}

.hec-about-title-wrapper {
  text-align: center;
  width: 100%;
  margin: 0 0 60px;
  padding: 0 20px;
}

.hec-about-title-wrapper h2 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 42px;
  color: var(--color-contrast);
  margin: 0;
  line-height: 1.2;
  letter-spacing: -0.5px;
}

.hec-about-title-wrapper h2::before {
  display: none;
}

.hec-about-title-wrapper::after {
  content: '';
  display: block;
  width: 72px;
  height: 4px;
  background: var(--color-accent);
  margin: 18px auto 0;
  border-radius: 4px;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding: 0 20px;
  box-sizing: border-box;
  width: 100%;
}

.team-member {
  text-align: center;
}

.team-member-image {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  margin-bottom: 20px;
}

.team-member-image img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  min-height: 300px;
}

.team-member-name {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 24px;
  color: var(--color-contrast);
  margin: 0 0 12px;
  letter-spacing: 0.5px;
  position: relative;
  padding-bottom: 18px;
}

.team-member-name::after {
  content: '';
  display: block;
  width: 48px;
  height: 3px;
  background: var(--color-accent);
  margin: 12px auto 0;
  border-radius: 2px;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding: 0 20px;
  box-sizing: border-box;
  width: 100%;
}

.hec-about-image {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.12);
}

.hec-about-image img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  min-height: 400px;
}

.hec-about-image::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.1) 0%, rgba(0, 0, 0, 0.05) 100%);
  pointer-events: none;
}

.hec-about-content h2 {
  display: none;
}

.hec-about-content h2::before {
  display: none;
}

.hec-about-content p {
  font-size: 16px;
  line-height: 1.8;
  color: var(--color-muted);
  margin: 0 0 16px;
}

.hec-about-content p:last-child {
  margin-bottom: 0;
}

.hec-about-content ul {
  list-style: none;
  padding: 0;
  margin: 24px 0;
}

.hec-about-content li {
  padding: 12px 0 12px 28px;
  position: relative;
  color: var(--color-contrast);
  font-weight: 500;
}

.hec-about-content li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--color-accent);
  font-weight: bold;
}

/* Responsive: About */
@media (max-width: 768px) {
  .hec-about-section {
    padding: 60px 20px;
    margin: 40px 0 30px;
  }

  .hec-about-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .hec-about-content h2 {
    font-size: 32px;
  }

  .hec-about-image img {
    min-height: 300px;
  }
}

/* === FOOTER === */
/* OLD FOOTER STYLES REMOVED - Using new .al-footer implementation in footer.php */
