/* ============================================================
   IAT ARGENTINA — HOME FULL-WIDTH LAYOUT OVERRIDE
   Applies only to index.html (class fw-page on body)
   Mimics the iattrichology.com layout scheme:
   - Full-width alternating section bands
   - Centered container (max-width 1140px)
   - Montserrat headings, IAT navy + orange palette
   ============================================================ */

/* ── DESIGN TOKENS ───────────────────────────────────────────── */
:root {
  --iat-navy: #151F6D;
  --iat-navy-dark: #0d1450;
  --iat-orange: #FFBD4A;
  --iat-orange-dk: #e0a030;
  --iat-light-blue: #e6e8f7;
  --iat-grey-text: #4d4d4d;
  --iat-white: #ffffff;
  --iat-bg-light: #f7f7f7;
}

/* ── FONT OVERRIDE FOR fw-page ───────────────────────────────── */
body.fw-page {
  font-family: 'Source Sans 3', 'Outfit', 'Roboto', sans-serif;
  background: var(--iat-white);
  color: var(--iat-grey-text);
}

body.fw-page h1,
body.fw-page h2,
body.fw-page h3,
body.fw-page .section-heading,
body.fw-page .fw-section-heading {
  font-family: 'Montserrat', 'Outfit', sans-serif;
line-height: 28px !important;
}

/* ── HEADER OVERRIDE (NAVY HEADER MATCHING LOGO_IAT_BLUE.PNG) ─── */
body.fw-page #iat-header {
  background: var(--iat-navy);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 4px 16px rgba(13, 20, 80, 0.25);
}

body.fw-page #iat-header-inner {
  max-width: 1140px;
  height: 85px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

body.fw-page #iat-logo-link img {
  height: 80px;
  width: auto;
  filter: none;
  display: block;
}

/* ── HAMBURGER BUTTON ─────────────────────────────────────────── */
.iat-hamburger-btn {
  display: none;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 10px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  z-index: 1001;
  border-radius: 6px;
  margin-left: auto;
  transition: background 0.2s ease;
}

.iat-hamburger-btn:hover {
  background: rgba(255, 255, 255, 0.1);
}

.iat-hamburger-btn span {
  display: block;
  width: 25px;
  height: 2.5px;
  background-color: #ffffff;
  border-radius: 2px;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.2s ease, background-color 0.3s ease;
}

.iat-hamburger-btn.active span:nth-child(1) {
  transform: translateY(7.5px) rotate(45deg);
  background-color: var(--iat-orange, #FFBD4A);
}

.iat-hamburger-btn.active span:nth-child(2) {
  opacity: 0;
}

.iat-hamburger-btn.active span:nth-child(3) {
  transform: translateY(-7.5px) rotate(-45deg);
  background-color: var(--iat-orange, #FFBD4A);
}

body.fw-page #iat-primary-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

body.fw-page #iat-primary-nav li a {
  color: rgba(255, 255, 255, 0.90);
  font-family: 'Montserrat', sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  padding: 8px 14px;
  border-radius: 6px;
  transition: background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

body.fw-page #iat-primary-nav li a:hover {
  background: rgba(255, 255, 255, 0.14);
  color: var(--iat-orange);
}

body.fw-page #iat-primary-nav li a.active {
  background: var(--iat-orange);
  color: var(--iat-navy);
  font-weight: 700;
  box-shadow: 0 2px 10px rgba(255, 189, 74, 0.35);
}

/* ── DROPDOWN NAVIGATION MENU ─────────────────────────────────── */
body.fw-page #iat-primary-nav li.nav-has-dropdown {
  position: relative;
}

body.fw-page .nav-dropdown-toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
}

body.fw-page .nav-arrow {
  font-size: 9px;
  transition: transform 0.25s ease;
  display: inline-block;
  opacity: 0.85;
}

body.fw-page .nav-has-dropdown:hover .nav-arrow,
body.fw-page .nav-has-dropdown:focus-within .nav-arrow {
  transform: rotate(180deg);
}

body.fw-page .nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  background: #0d1450;
  min-width: 220px;
  border-radius: 8px;
  box-shadow: 0 12px 32px rgba(13, 20, 80, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.14);
  padding: 8px;
  display: none;
  flex-direction: column;
  gap: 3px;
  z-index: 1000;
  animation: navDropdownFade 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Invisible bridge so mouse hovering down does not lose hover */
body.fw-page .nav-dropdown-menu::before {
  content: '';
  position: absolute;
  top: -8px;
  left: 0;
  right: 0;
  height: 8px;
}

body.fw-page .nav-has-dropdown:hover .nav-dropdown-menu,
body.fw-page .nav-has-dropdown:focus-within .nav-dropdown-menu,
body.fw-page .nav-has-dropdown.open .nav-dropdown-menu {
  display: flex;
}

body.fw-page .nav-dropdown-menu li {
  list-style: none;
  margin: 0;
  padding: 0;
  width: 100%;
}

body.fw-page .nav-dropdown-menu li a {
  display: block;
  width: 100%;
  padding: 10px 14px;
  font-family: 'Montserrat', sans-serif;
  font-size: 12px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.92) !important;
  border-radius: 6px;
  transition: all 0.2s ease;
  white-space: nowrap;
  background: transparent;
  box-shadow: none;
}

body.fw-page .nav-dropdown-menu li a:hover {
  background: rgba(255, 255, 255, 0.12);
  color: var(--iat-orange) !important;
  transform: translateX(3px);
}

body.fw-page .nav-dropdown-menu li a.active {
  background: var(--iat-orange);
  color: var(--iat-navy) !important;
  font-weight: 700;
}

@keyframes navDropdownFade {
  from {
    opacity: 0;
    transform: translateY(-6px);
  }

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

/* ── HERO OVERRIDES (BANNER BACKGROUND) ──────────────────────── */
body.fw-page #iat-hero {
  padding: 88px 24px 92px;
  background: linear-gradient(rgba(255, 255, 255, 0.5), rgba(255, 255, 255, 0.7)),
    url('../imagenes/banner.jpeg') center center / cover no-repeat;
  border-bottom: 1px solid #edf0f7;
  position: relative;
}

body.fw-page #iat-hero-inner {
  max-width: 820px;
  margin: 0 auto;
  text-align: center;
}

body.fw-page .fw-eyebrow,
body.fw-page .hero-eyebrow {
  background: var(--iat-light-blue);
  color: var(--iat-navy);
  border: 1px solid rgba(21, 31, 109, 0.15);
  font-weight: 700;
  letter-spacing: 0.12em;
  padding: 6px 16px;
  border-radius: 20px;
  display: inline-block;
  font-size: 11.5px;
  text-transform: uppercase;
  margin-bottom: 18px;
}

body.fw-page #iat-hero h1 {
  font-size: 38px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  color: var(--iat-navy);
  letter-spacing: -0.025em;
  line-height: 1.22;
  margin: 0 0 20px 0;
}

body.fw-page #iat-hero p {
  font-size: 17.5px;
  line-height: 1.75;
  color: #4b5563;
  max-width: 740px;
  margin: 0 auto 32px auto;
}

body.fw-page .fw-cta-group {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

body.fw-page .fw-cta-group .btn-hero-primary {
  background: var(--iat-orange);
  color: var(--iat-navy) !important;
  font-weight: 700;
  padding: 13px 28px;
  border-radius: 6px;
  box-shadow: 0 4px 18px rgba(255, 189, 74, 0.40);
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
}

body.fw-page .fw-cta-group .btn-hero-primary:hover {
  background: var(--iat-orange-dk);
  color: var(--iat-navy) !important;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(255, 189, 74, 0.50);
}

body.fw-page .fw-cta-group .btn-hero-secondary {
  background: #ffffff;
  color: var(--iat-navy) !important;
  border: 2px solid var(--iat-navy);
  font-weight: 700;
  padding: 11px 26px;
  border-radius: 6px;
  box-shadow: 0 2px 8px rgba(21, 31, 109, 0.08);
  transition: background 0.2s, color 0.2s, transform 0.2s, box-shadow 0.2s;
}

body.fw-page .fw-cta-group .btn-hero-secondary:hover {
  background: var(--iat-navy);
  color: #ffffff !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(21, 31, 109, 0.20);
}

/* ── STATS BAND ──────────────────────────────────────────────── */
.fw-stats-band {
  background: var(--iat-navy, #151F6D);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding: 12px 0;
}

.fw-container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 28px;
}

.fw-container-wide {
  width: 92%;
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 24px;
}

.fw-container-narrow {
  max-width: 860px;
  margin: 0 auto;
  padding: 0 28px;
}

.fw-stats-row {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 20px;
}

.fw-stat-item {
  flex: 1;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 16px;
  text-align: left;
}

.fw-stat-icon-badge {
  width: 48px;
  height: 48px;
  background: #ffffff;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.18);
}

.fw-stat-icon-badge svg {
  display: block;
}

.fw-stat-number {
  font-family: 'Montserrat', sans-serif;
  font-size: 32px;
  font-weight: 800;
  color: var(--iat-orange);
  line-height: 1;
  margin-bottom: 5px;
}

.fw-stat-label {
  font-family: 'Montserrat', sans-serif;
  font-size: 14px;
  font-weight: 700;
  color: #ffffff;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  line-height: 1.3;
}

.fw-stat-divider {
  display: none;
}

/* ── PAGE BODY FULL-WIDTH OVERRIDE ───────────────────────────── */
body.fw-page #iat-page-body.fw-page-body {
  max-width: 100%;
  padding: 0;
  display: block;
  grid-template-columns: none;
}

body.fw-page #iat-main-col.fw-main {
  min-width: 0;
}

/* ── SECTION WRAPPERS (full bleed bands) ─────────────────────── */
.fw-section-wrapper {
  width: 100%;
}

.fw-band-white {
  background: var(--iat-white);
}

.fw-band-light {
  background: var(--iat-bg-light);
}

.fw-band-blue {
  background: var(--iat-navy);
}

/* ── MEMBERSHIP BAND (VERSION A: CELESTE GLACIAR / ICE BLUE) ── */
.fw-band-membership,
.fw-band-celeste {
  background: linear-gradient(135deg, #ebf3fb 0%, #dbe9f8 100%);
  border-top: 1px solid #cbe0f5;
  border-bottom: 1px solid #cbe0f5;
}

body.fw-page .fw-band-membership h2,
body.fw-page .fw-band-celeste h2 {
  color: #151F6D !important;
	line-height: 28px !important;
}

body.fw-page .fw-band-membership p,
body.fw-page .fw-band-celeste p {
  color: #334155 !important;
}

body.fw-page .fw-band-membership .btn-hero-primary {
  background: #151F6D !important;
  color: #ffffff !important;
  border-color: #151F6D !important;
  font-weight: 600;
  box-shadow: 0 4px 14px rgba(21, 31, 109, 0.22);
}

body.fw-page .fw-band-membership .btn-hero-primary:hover {
  background: #FFBD4A !important;
  color: #151F6D !important;
  border-color: #FFBD4A !important;
}

body.fw-page .fw-band-membership .btn-hero-secondary {
  background: #ffffff !important;
  color: #151F6D !important;
  border: 1.5px solid #151F6D !important;
}

body.fw-page .fw-band-membership .btn-hero-secondary:hover {
  background: #151F6D !important;
  color: #ffffff !important;
}

body.fw-page .fw-band-membership .about-image-card {
  border: 4px solid #ffffff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 12px 32px rgba(21, 31, 109, 0.12) !important;
}

.fw-section-wrapper .fw-container,
.fw-section-wrapper .fw-container-wide,
.fw-section-wrapper .fw-container-narrow {
  padding-top: 52px;
  padding-bottom: 52px;
}

/* Remove card styling from sections inside bands */
body.fw-page .iat-info-section.fw-borderless {
  background: transparent;
  border-radius: 0;
  box-shadow: none;
  padding: 0;
  padding-top: 6px;
  margin-bottom: 0;
}

/* ── TRICOLOGÍA SECTION (Wide 90%+ Layout & Aesthetic Mosaic) ─────── */
.fw-tricologia-band {
  background: var(--iat-white);
  padding: 10px 0 30px 0;
}

.fw-section-header-center {
  text-align: center;
  margin-bottom: 48px;
}

.fw-section-header-center .fw-section-tag {
  margin-bottom: 14px;
}

.fw-section-header-center .section-heading {
  display: inline-block;
  margin-bottom: 0;
}

.tricologia-grid {
  display: flex;
  flex-direction: column;
  gap: 68px;
}

.tricologia-row {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  align-items: center;
  gap: 60px;
}

.tricologia-row.tricologia-row-reverse {
  grid-template-columns: 0.92fr 1.08fr;
}

.tricologia-text-col {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.tricologia-text-col p {
  font-family: 'Source Sans 3', sans-serif;
  font-size: 17px;
  line-height: 1.82;
  color: #3d4655;
  margin: 0 0 20px 0;
  letter-spacing: 0.01em;
}

.tricologia-text-col p:last-child {
  margin-bottom: 0;
}

.tricologia-text-col p.tricologia-lead {
  font-size: 18.5px;
  font-weight: 600;
  line-height: 1.75;
  color: var(--iat-navy);
}

.tricologia-text-col strong {
  color: var(--iat-navy);
  font-weight: 700;
}

.tricologia-image-col {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
}

.tricologia-image-wrapper {
  width: 100%;
  max-width: 580px;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), filter 0.35s ease;
}

.tricologia-image-wrapper:hover {
  transform: translateY(-6px);
}

.tricologia-image-wrapper img {
  width: 100%;
  height: auto;
  max-height: 480px;
  object-fit: contain;
  display: block;
  filter: drop-shadow(0 14px 28px rgba(21, 31, 109, 0.10));
  border-radius: 18px;
  transition: filter 0.35s ease;
}

.tricologia-image-wrapper:hover img {
  filter: drop-shadow(0 22px 38px rgba(21, 31, 109, 0.18));
}

/* Section heading inside fw bands */
body.fw-page .fw-band-white .section-heading,
body.fw-page .fw-band-light .section-heading {
  color: var(--iat-navy);
  font-size: 24px;
	
  /*border-bottom-color: var(--iat-orange);*/
  /*border-bottom-width: 3px;*/
  padding-bottom: 12px;
  margin-bottom: 24px;
}

body.fw-page .fw-band-blue .section-heading {
  color: var(--iat-white);
}

/* Trayectoria banner inside band */
body.fw-page .fw-band-blue .trayectoria-banner {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 10px;
}

body.fw-page .fw-band-blue .trayectoria-banner:hover {
  background: rgba(255, 255, 255, 0.14);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.25);
}

/* ── INFO CARDS (3-col grid) ─────────────────────────────────── */
.fw-info-cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.fw-info-card {
  background: var(--iat-white);
  border-radius: 10px;
  padding: 26px 24px;
  box-shadow: 0 2px 12px rgba(21, 31, 109, 0.08);
  border-top: 3px solid var(--iat-orange);
  transition: transform 0.2s, box-shadow 0.2s;
}

.fw-info-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(21, 31, 109, 0.13);
}

.fw-info-icon {
  font-size: 26px;
  margin-bottom: 12px;
  line-height: 1;
}

.fw-info-card h3 {
  font-family: 'Montserrat', sans-serif;
  font-size: 14px;
  font-weight: 700;
  color: var(--iat-navy);
  margin: 0 0 10px 0;
  line-height: 1.3;
}

.fw-info-card p {
  font-size: 12.5px;
  line-height: 1.7;
  color: #555;
  margin: 0 0 8px 0;
}

.fw-info-card p:last-child {
  margin-bottom: 0;
}

.fw-contact-link {
  display: inline-block;
  margin-top: 6px;
  color: var(--iat-navy) !important;
  font-weight: 600;
  font-size: 12.5px;
}

.fw-info-card a {
  color: var(--iat-navy);
}

/* ── CONTACT CTA BAND ────────────────────────────────────────── */
.fw-contact-heading {
  color: var(--iat-white) !important;
  font-size: 26px !important;
  margin: 0 0 10px 0 !important;
  padding-bottom: 0 !important;
  border-bottom: none !important;
}

.fw-contact-subtext {
  color: rgba(255, 255, 255, 0.72) !important;
  font-size: 15px !important;
  margin: 0 0 28px 0 !important;
}

body.fw-page .fw-band-blue .btn-hero-primary {
  background: var(--iat-orange);
  color: var(--iat-navy) !important;
  box-shadow: 0 4px 18px rgba(255, 189, 74, 0.3);
}

body.fw-page .fw-band-blue .btn-hero-primary:hover {
  background: var(--iat-orange-dk);
  color: var(--iat-navy) !important;
  transform: translateY(-2px);
}

/* ── COURSE ACTION BUTTONS BAND ──────────────────────────────── */
.fw-course-actions-wrapper {
  background: var(--iat-white);
  padding: 42px 0 46px !important;
}

.fw-course-actions {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;
}

.btn-course-action {
  font-family: 'Montserrat', sans-serif;
  font-size: 14.5px;
  font-weight: 700;
  padding: 15px 30px;
  border-radius: 6px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-width: 290px;
  transition: all 0.25s ease;
  letter-spacing: 0.02em;
}

.btn-course-primary {
  background: var(--iat-orange);
  color: var(--iat-navy) !important;
  box-shadow: 0 4px 16px rgba(255, 189, 74, 0.35);
  border: 2px solid var(--iat-orange);
}

.btn-course-primary:hover {
  background: var(--iat-orange-dk);
  border-color: var(--iat-orange-dk);
  color: var(--iat-navy) !important;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(255, 189, 74, 0.45);
}

.btn-course-secondary {
  background: #ffffff;
  color: var(--iat-navy) !important;
  border: 2px solid var(--iat-navy);
  box-shadow: 0 4px 16px rgba(21, 31, 109, 0.08);
}

.btn-course-secondary:hover {
  background: var(--iat-navy);
  color: #ffffff !important;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(21, 31, 109, 0.20);
}

/* ── ABOUT PAGE COVERS & IMAGE STRIPS ────────────────────────── */
.about-hero-cover {
  padding: 88px 24px 92px;
  background: linear-gradient(rgba(255, 255, 255, 0.72), rgba(255, 255, 255, 0.82)),
    url('https://www.iattrichology.com/wp-content/uploads/2023/11/Hand-holding-evidence-of-hair-loss-on-wooden-brush.jpeg') center center / cover no-repeat;
  border-bottom: 1px solid #edf0f7;
  text-align: center;
}

.about-image-card {
  width: 100%;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(21, 31, 109, 0.10);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s ease;
}

.about-image-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px rgba(21, 31, 109, 0.18);
}

.about-image-card img {
  width: 100%;
  height: auto;
  display: block;
}

.image-strip-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin: 36px 0;
}

.image-strip-item {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(21, 31, 109, 0.10);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.image-strip-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 36px rgba(21, 31, 109, 0.18);
}

.image-strip-item img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  display: block;
}

/* ── TRICHOLOGIST DIRECTORY (Localiza un Tricólogo) ─────────── */

.directory-search-wrapper {
  max-width: 680px;
  margin: 0 auto 36px auto;
  position: relative;
}

.directory-search-input {
  width: 100%;
  padding: 16px 20px 16px 52px;
  font-family: 'Source Sans 3', sans-serif;
  font-size: 16px;
  border: 2px solid #dde2f0;
  border-radius: 10px;
  outline: none;
  background: #ffffff;
  color: #151f6d;
  box-shadow: 0 6px 20px rgba(21, 31, 109, 0.08);
  transition: border-color 0.25s, box-shadow 0.25s;
}

.directory-search-input:focus {
  border-color: var(--iat-navy);
  box-shadow: 0 8px 28px rgba(21, 31, 109, 0.16);
}

.directory-search-icon {
  position: absolute;
  left: 18px;
  top: 50%;
  transform: translateY(-50%);
  color: #8c97b8;
  pointer-events: none;
  display: flex;
  align-items: center;
}

.directory-accordion-grid {
  display: flex;
  flex-direction: column;
  gap: 14px;
  max-width: 960px;
  margin: 0 auto;
}

.directory-accordion-item {
  background: #ffffff;
  border: 1px solid #e2e7f3;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 3px 12px rgba(21, 31, 109, 0.05);
  transition: box-shadow 0.25s, border-color 0.25s;
}

.directory-accordion-item[open] {
  border-color: var(--iat-navy);
  box-shadow: 0 8px 24px rgba(21, 31, 109, 0.12);
}

.directory-accordion-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 24px;
  font-family: 'Montserrat', sans-serif;
  font-size: 16.5px;
  font-weight: 700;
  color: var(--iat-navy);
  cursor: pointer;
  background: #ffffff;
  list-style: none;
  user-select: none;
  transition: background 0.2s;
}

.directory-accordion-header::-webkit-details-marker {
  display: none;
}

.directory-accordion-header:hover {
  background: #f7f8fe;
}

.directory-accordion-arrow {
  width: 20px;
  height: 20px;
  color: var(--iat-navy);
  transition: transform 0.25s ease;
  flex-shrink: 0;
}

.directory-accordion-item[open] .directory-accordion-arrow {
  transform: rotate(180deg);
}

.directory-accordion-body {
  padding: 20px 28px 28px 28px;
  border-top: 1px solid #edf0f8;
  background: #fafbfe;
  font-size: 15px;
  line-height: 1.8;
  color: #3d4655;
}

.directory-accordion-body p {
  margin: 0 0 16px 0;
}

.directory-accordion-body p:last-child {
  margin-bottom: 0;
}

.directory-accordion-body a {
  color: var(--iat-navy);
  font-weight: 600;
  text-decoration: underline;
}

.directory-accordion-body a:hover {
  color: var(--iat-orange-dk);
}

/* ── HAVE A QUESTION BANNER ───────────────────────────────────── */
.fw-question-band {
  width: 100%;
  background: linear-gradient(rgba(21, 31, 109, 0.82), rgba(21, 31, 109, 0.88)),
    url('../imagenes/banner.jpeg') center center / cover no-repeat;
  position: relative;
  overflow: hidden;
}

.fw-question-overlay {
  padding: 68px 0 72px;
  text-align: center;
}

.fw-question-content h2 {
  font-family: 'Montserrat', sans-serif;
  font-size: 28px;
  font-weight: 700;
  color: #ffffff;
  margin: 0 0 24px 0;
  line-height: 28px;
  letter-spacing: -0.01em;
}

.btn-question-contact {
  display: inline-block;
  background: var(--iat-orange);
  color: var(--iat-navy) !important;
  font-family: 'Montserrat', sans-serif;
  font-size: 14px;
  font-weight: 700;
  padding: 12px 34px;
  border-radius: 6px;
  text-decoration: none;
  box-shadow: 0 4px 18px rgba(255, 189, 74, 0.40);
  transition: all 0.25s ease;
}

.btn-question-contact:hover {
  background: var(--iat-orange-dk);
  transform: translateY(-2px);
  box-shadow: 0 8px 26px rgba(255, 189, 74, 0.55);
}

/* ── FOOTER OVERRIDE ─────────────────────────────────────────── */
body.fw-page #iat-footer.fw-footer {
  background: #0b1142;
  color: rgba(255, 255, 255, 0.80);
  padding: 40px 0 26px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.fw-footer-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
  padding-bottom: 26px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  margin-bottom: 22px;
}

.fw-footer-nav {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 24px;
}

.fw-footer-nav a {
  font-family: 'Montserrat', sans-serif;
  font-size: 13.5px;
  font-weight: 600;
  color: #ffffff !important;
  text-decoration: none;
  transition: color 0.2s ease;
}

.fw-footer-nav a:hover {
  color: var(--iat-orange) !important;
}

.fw-footer-social {
  display: flex;
  align-items: center;
  gap: 12px;
}

.social-icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  background: #ffffff;
  color: #0b1142 !important;
  border-radius: 50%;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.social-icon-btn svg {
  display: block;
}

.social-icon-btn:hover {
  transform: translateY(-2px);
  background: var(--iat-orange);
  color: #0b1142 !important;
}

.fw-footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.65);
}

.fw-footer-info {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.fw-footer-info a {
  color: var(--iat-orange) !important;
}

.fw-footer-info a:hover {
  text-decoration: underline;
}

/* ── TRAYECTORIA BANNER overrides for band wrapper ───────────── */
.fw-section-wrapper .trayectoria-banner {
  margin-bottom: 0;
}

/* ── SECTION TAGS (small eyebrow above heading) ──────────────── */
.fw-section-tag {
  display: inline-block;
  font-family: 'Montserrat', sans-serif;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--iat-navy);
  background: var(--iat-light-blue);
  padding: 3px 10px;
  border-radius: 20px;
  margin-bottom: 12px;
}

/* ── WHAT DOES A TRICHOLOGIST DO SECTION ─────────────────────── */
.what-does-section {
  padding: 30px 0 20px 0;
}

.what-does-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  margin-bottom: 50px;
}

.what-does-col p {
  font-family: 'Source Sans 3', sans-serif;
  font-size: 16.5px;
  line-height: 1.8;
  color: #3d4655;
  margin: 0 0 18px 0;
}

.what-does-col p:last-child {
  margin-bottom: 0;
}

.what-does-video-wrapper {
  max-width: 780px;
  margin: 0 auto;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 14px 38px rgba(21, 31, 109, 0.14);
  background: #000;
  position: relative;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.what-does-video-wrapper:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 48px rgba(21, 31, 109, 0.22);
}

.video-responsive {
  position: relative;
  padding-bottom: 56.25%;
  /* 16:9 Aspect Ratio */
  height: 0;
  overflow: hidden;
}

.video-responsive iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* ── CODE OF ETHICS PAGE ─────────────────────────────────────── */
.ethics-hero-cover {
  background: linear-gradient(135deg, rgba(13, 20, 80, 0.94) 0%, rgba(21, 31, 109, 0.88) 100%),
    url('../imagenes/banner.jpeg') center center / cover no-repeat;
}

.ethics-container {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 20px;
}

.ethics-intro-card {
  background: linear-gradient(135deg, #f0f5fc 0%, #e6effa 100%);
  border: 1px solid #cbe0f5;
  border-left: 5px solid var(--iat-orange, #FFBD4A);
  border-radius: 12px;
  padding: 28px 32px;
  margin-bottom: 36px;
  box-shadow: 0 4px 20px rgba(21, 31, 109, 0.05);
}

.ethics-intro-card h2 {
  font-family: 'Montserrat', sans-serif;
  font-size: 22px;
  font-weight: 700;
  color: var(--iat-navy, #151F6D);
  margin: 0 0 12px 0;
  line-height: 28px;
}

.ethics-intro-card p {
  font-size: 15.5px;
  line-height: 1.75;
  color: #2c384e;
  margin: 0 0 10px 0;
}

.ethics-intro-card p:last-child {
  margin-bottom: 0;
}

.ethics-nav-toc {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 22px 26px;
  margin-bottom: 36px;
  box-shadow: 0 4px 18px rgba(21, 31, 109, 0.04);
}

.ethics-toc-title {
  font-family: 'Montserrat', sans-serif;
  font-size: 15px;
  font-weight: 700;
  color: var(--iat-navy, #151F6D);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.ethics-toc-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.ethics-toc-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #f1f5f9;
  color: #1e293b;
  padding: 7px 14px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s ease;
  border: 1px solid #e2e8f0;
}

.ethics-toc-link:hover {
  background: var(--iat-navy, #151F6D);
  color: #ffffff;
  border-color: var(--iat-navy, #151F6D);
  transform: translateY(-1px);
}

.ethics-section-card {
  background: #ffffff;
  border: 1px solid #e8eef5;
  border-radius: 14px;
  padding: 32px 36px;
  margin-bottom: 30px;
  box-shadow: 0 4px 24px rgba(21, 31, 109, 0.05);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.ethics-section-card:hover {
  box-shadow: 0 8px 30px rgba(21, 31, 109, 0.08);
}

.ethics-section-header {
  border-bottom: 2px solid #edf2f7;
  padding-bottom: 14px;
  margin-bottom: 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}

.ethics-section-title {
  font-family: 'Montserrat', sans-serif;
  font-size: 20px;
  font-weight: 700;
  color: var(--iat-navy, #151F6D);
  margin: 0;
  display: flex;
  align-items: center;
  gap: 10px;
}

.ethics-section-badge {
  background: #eff6ff;
  color: #1d4ed8;
  font-size: 12px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 12px;
  border: 1px solid #dbeafe;
}

.ethics-clause-item {
  margin-bottom: 22px;
  padding-bottom: 22px;
  border-bottom: 1px dashed #e5e9f0;
}

.ethics-clause-item:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

.clause-badge {
  display: inline-block;
  font-family: 'Montserrat', sans-serif;
  font-size: 12.5px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--iat-navy, #151F6D);
  background: #f8fafc;
  border: 1px solid #cbd5e1;
  padding: 3px 9px;
  border-radius: 5px;
  margin-bottom: 8px;
}

.clause-text {
  font-size: 15.5px;
  line-height: 1.75;
  color: #334155;
  margin: 0;
}

.ethics-sublist {
  list-style: none;
  padding-left: 0;
  margin-top: 12px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.ethics-subitem {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 15px;
  line-height: 1.7;
  color: #334155;
  background: #f8fafc;
  padding: 12px 16px;
  border-radius: 8px;
  border-left: 3px solid var(--iat-navy, #151F6D);
}

.subitem-marker {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  color: var(--iat-navy, #151F6D);
  flex-shrink: 0;
}

.ethics-sample-box {
  background: #fafaf9;
  border: 1px solid #e7e5e4;
  border-left: 4px solid #f59e0b;
  border-radius: 8px;
  padding: 16px 20px;
  margin: 14px 0;
  font-style: italic;
  color: #44403c;
  font-size: 14.5px;
  line-height: 1.7;
}

.ethics-complaint-box {
  background: #fffbeb;
  border: 1px solid #fef3c7;
  border-left: 4px solid #f59e0b;
  border-radius: 10px;
  padding: 18px 22px;
  margin-top: 18px;
  color: #92400e;
  font-size: 15px;
  line-height: 1.7;
}

/* ── BOARD OF DIRECTORS PAGE (CONSEJO DIRECTIVO) ─────────────── */
.board-hero-cover {
  background: linear-gradient(135deg, rgba(11, 17, 66, 0.95) 0%, rgba(21, 31, 109, 0.88) 100%),
    url('../imagenes/banner.jpeg') center center / cover no-repeat;
}

.board-container {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 20px;
}

.board-intro-card {
  background: linear-gradient(135deg, #f0f5fc 0%, #e6effa 100%);
  border: 1px solid #cbe0f5;
  border-left: 5px solid var(--iat-orange, #FFBD4A);
  border-radius: 12px;
  padding: 26px 30px;
  margin-bottom: 40px;
  box-shadow: 0 4px 20px rgba(21, 31, 109, 0.05);
}

.board-intro-card h2 {
  font-family: 'Montserrat', sans-serif;
  font-size: 22px;
  font-weight: 700;
  color: var(--iat-navy, #151F6D);
  margin: 0 0 10px 0;
  line-height: 28px;
}

.board-intro-card p {
  font-size: 15.5px;
  line-height: 1.75;
  color: #2c384e;
  margin: 0;
}

.board-section-title {
  font-family: 'Montserrat', sans-serif;
  font-size: 22px;
  font-weight: 700;
  color: var(--iat-navy, #151F6D);
  margin: 0 0 20px 0;
  display: flex;
  align-items: center;
  gap: 12px;
  padding-bottom: 10px;
  border-bottom: 2px solid #edf2f7;
}

.board-section-title::after {
  content: '';
  flex: 1;
  height: 1px;
  background: #e2e8f0;
}

.board-leadership-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
  margin-bottom: 48px;
}

.board-officer-card {
  background: #ffffff;
  border: 1.5px solid #dbeafe;
  border-radius: 14px;
  padding: 28px;
  box-shadow: 0 6px 24px rgba(21, 31, 109, 0.07);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.board-officer-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--iat-orange, #FFBD4A), var(--iat-navy, #151F6D));
}

.board-officer-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(21, 31, 109, 0.12);
}

.board-card-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 16px;
}

.board-avatar {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: linear-gradient(135deg, #151F6D 0%, #0d1450 100%);
  color: var(--iat-orange, #FFBD4A);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Montserrat', sans-serif;
  font-size: 18px;
  font-weight: 800;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(21, 31, 109, 0.25);
}

.board-officer-info h3 {
  font-family: 'Montserrat', sans-serif;
  font-size: 19px;
  font-weight: 700;
  color: var(--iat-navy, #151F6D);
  margin: 0 0 4px 0;
}

.board-role-badge {
  display: inline-block;
  font-family: 'Montserrat', sans-serif;
  font-size: 11.5px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 3px 10px;
  border-radius: 6px;
}

.role-president {
  background: #fef3c7;
  color: #92400e;
  border: 1px solid #fde68a;
}

.role-chairperson {
  background: #eff6ff;
  color: #1e40af;
  border: 1px solid #dbeafe;
}

.role-director {
  background: #f1f5f9;
  color: #334155;
  border: 1px solid #e2e8f0;
}

.board-card-body {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-top: 12px;
  border-top: 1px solid #f1f5f9;
}

.board-spec-row {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14.5px;
  color: #475569;
}

.board-country-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13.5px;
  font-weight: 600;
  color: #1e293b;
  background: #f8fafc;
  padding: 4px 10px;
  border-radius: 6px;
  border: 1px solid #e2e8f0;
  align-self: flex-start;
  margin-top: 4px;
}

.board-directors-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
  gap: 22px;
  margin-bottom: 32px;
}

.board-member-card {
  background: #ffffff;
  border: 1px solid #e8edf5;
  border-radius: 12px;
  padding: 22px;
  box-shadow: 0 4px 18px rgba(21, 31, 109, 0.04);
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.board-member-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(21, 31, 109, 0.08);
  border-color: #cbd5e1;
}

.board-member-card .board-avatar {
  width: 44px;
  height: 44px;
  font-size: 16px;
  background: #f1f5f9;
  color: var(--iat-navy, #151F6D);
  box-shadow: none;
  border: 1px solid #e2e8f0;
}

.board-member-card h3 {
  font-family: 'Montserrat', sans-serif;
  font-size: 16.5px;
  font-weight: 700;
  color: var(--iat-navy, #151F6D);
  margin: 0 0 2px 0;
}

/* ── RESPONSIVE ──────────────────────────────────────────────── */
@media (max-width: 960px) {
  body.fw-page #iat-header-inner {
    height: 72px;
    padding: 0 16px;
  }

  body.fw-page #iat-logo-link img {
    height: 56px;
  }

  .iat-hamburger-btn {
    display: flex;
  }

  body.fw-page #iat-primary-nav {
    display: none !important;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    width: 100%;
    background: #0d1450;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    border-bottom: 2px solid var(--iat-orange, #FFBD4A);
    box-shadow: 0 16px 36px rgba(10, 16, 60, 0.65);
    padding: 14px 18px 18px;
    flex-direction: column;
    align-items: stretch;
    gap: 6px;
    z-index: 9999;
    animation: mobileNavFadeIn 0.22s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  }

  body.fw-page #iat-primary-nav.mobile-open {
    display: flex !important;
  }

  body.fw-page #iat-primary-nav li {
    width: 100%;
    list-style: none;
  }

  body.fw-page #iat-primary-nav li a {
    display: block;
    width: 100%;
    padding: 12px 16px;
    font-size: 13.5px;
    font-weight: 700;
    color: #ffffff;
    background: rgba(255, 255, 255, 0.04);
    border-radius: 8px;
    text-align: left;
    transition: all 0.18s ease;
  }

  body.fw-page #iat-primary-nav li a:hover,
  body.fw-page #iat-primary-nav li a.active {
    background: var(--iat-orange, #FFBD4A);
    color: #151F6D !important;
    box-shadow: 0 4px 14px rgba(255, 189, 74, 0.35);
  }

  .fw-container-wide {
    width: 95%;
    padding: 0 16px;
  }

  .tricologia-row,
  .tricologia-row.tricologia-row-reverse {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .tricologia-row.tricologia-row-reverse .tricologia-image-col {
    order: 2;
  }

  .tricologia-grid {
    gap: 48px;
  }

  .what-does-grid {
    grid-template-columns: 1fr;
    gap: 24px;
    margin-bottom: 36px;
  }

  .fw-info-cols {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 680px) {
  body.fw-page #iat-hero h1 {
    font-size: 24px;
  }

  .tricologia-text-col p,
  .what-does-col p {
    font-size: 15.5px;
    line-height: 1.75;
  }

  .tricologia-text-col p.tricologia-lead {
    font-size: 17px;
  }

  .fw-stats-row {
    flex-direction: column;
    padding: 8px 0;
  }

  .fw-stat-divider {
    width: 60px;
    height: 1px;
  }

  .fw-stat-item {
    padding: 16px 20px;
  }

  .fw-stat-number {
    font-size: 26px;
  }

  .fw-info-cols {
    grid-template-columns: 1fr;
  }

  .fw-question-content h2 {
    font-size: 24px;
    line-height: 28px;
  }

  .fw-footer-inner {
    flex-direction: column;
    text-align: center;
  }
}

h2 {
	line-height: 28px !important;
}