/*
 Theme Name:   Enfold Child
 Theme URI:    http://example.com/enfold-child
 Description:  Enfold Child Theme
 Author:       Your Name
 Author URI:   http://example.com
 Template:     enfold
 Version:      1.0.0
 */
  *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
  :root {
    --black:  #0E0E14;
    --dark:   #14141E;
    --card:   #1A1A28;
    --border: #2A2A3A;
    --gold:   #C9A84C;
    --goldlt: #E2C97E;
    --teal:   #11AABA;
    --white:  #F4F2EE;
    --muted:  #8A8A9A;
  }
  html { scroll-behavior: smooth; }
  body {
    background: var(--black);
    color: var(--white);
    font-family: 'Montserrat', sans-serif;
    font-weight: 300;
    line-height: 1.7;
    overflow-x: hidden;
  }

  /* ── LANGUAGE BAR ── */
  .lang-bar {
    position: fixed; top: 0; left: 0; right: 0; z-index: 200;
    background: var(--dark);
    border-bottom: 1px solid var(--border);
    padding: 7px 60px;
    display: flex;
    justify-content: flex-end;
    gap: 6px;
  }
  .lang-btn {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.58rem;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--muted);
    background: none;
    border: 1px solid transparent;
    padding: 4px 12px;
    cursor: pointer;
    transition: all 0.25s;
  }
  .lang-btn:hover, .lang-btn.active {
    color: var(--gold);
    border-color: rgba(201,168,76,0.4);
  }

  /* ── NAV ── */
  nav {
    position: fixed; top: 32px; left: 0; right: 0; z-index: 100;
    display: flex; align-items: center; justify-content: space-between;
    padding: 20px 60px;
    background: rgba(14,14,20,0.93);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(201,168,76,0.1);
  }
  .nav-logo { display: flex; align-items: center; gap: 14px; text-decoration: none; }
  .nav-wordmark {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.1rem; font-weight: 400;
    letter-spacing: 0.1em; color: var(--white);
  }
  .nav-wordmark span { color: var(--gold); }
  .nav-cta {
    font-size: 0.62rem; font-weight: 500;
    letter-spacing: 0.18em; text-transform: uppercase;
    color: var(--gold); text-decoration: none;
    border: 1px solid rgba(201,168,76,0.4);
    padding: 10px 22px;
    transition: all 0.3s;
  }
  .nav-cta:hover { background: var(--gold); color: var(--black); }

  /* ── SECTIONS ── */
  /* ///section { padding: 110px 60px; } */
  section { padding: 0; }
  .eyebrow {
    font-size: 0.62rem; font-weight: 500;
    letter-spacing: 0.28em; text-transform: uppercase;
    color: var(--teal); margin-bottom: 22px;
  }
  h1, h2, h3 { font-family: 'Cormorant Garamond', serif; font-weight: 300; line-height: 1.2; }
  .rule { width: 44px; height: 1px; background: var(--gold); margin-bottom: 30px; }

  /* ── HERO ── */
  #hero {
    min-height: 100vh;
    display: flex; flex-direction: column;
    justify-content: center; align-items: flex-start;
    padding: 160px 60px 100px;
    position: relative; overflow: hidden;
  }
  #hero::before {
    content: '';
    position: absolute; inset: 0;
    background:
      radial-gradient(ellipse 55% 65% at 82% 50%, rgba(17,170,186,0.055) 0%, transparent 70%),
      radial-gradient(ellipse 40% 70% at 8% 85%, rgba(201,168,76,0.045) 0%, transparent 60%);
  }
  .hero-pre {
    font-size: 0.6rem; font-weight: 500;
    letter-spacing: 0.3em; text-transform: uppercase;
    color: var(--gold); margin-bottom: 34px;
    display: flex; align-items: center; gap: 16px;
  }
  .hero-pre::before { content: ''; display: block; width: 30px; height: 1px; background: var(--gold); }
  #hero h1 {
    font-size: clamp(2.8rem, 5.5vw, 5.2rem);
    color: var(--white); max-width: 740px;
    margin-bottom: 28px; position: relative;
  }
  #hero h1 em { font-style: italic; color: var(--goldlt); }
  .hero-sub {
    font-size: 0.97rem; color: var(--muted);
    max-width: 500px; line-height: 1.85; margin-bottom: 50px;
  }
  .btn-primary {
    display: inline-flex; align-items: center; gap: 12px;
    font-size: 0.68rem; font-weight: 500;
    letter-spacing: 0.2em; text-transform: uppercase;
    color: var(--black); background: var(--gold);
    padding: 16px 34px; text-decoration: none;
    transition: all 0.3s;
  }
  .btn-primary:hover { background: var(--goldlt); }
  .btn-primary::after { content: '→'; font-size: 0.9rem; }

  /* ── ABOUT ── */
  #about { background: var(--dark); border-top: 1px solid var(--border); }
  .about-grid {
    display: grid; grid-template-columns: 1fr 1fr;
    gap: 80px; max-width: 1100px; margin: 0 auto;
  }
  #about h2 { font-size: clamp(2rem, 3.2vw, 3rem); margin-bottom: 32px; }
  #about h2 em { color: var(--gold); font-style: italic; }
  .about-body p { font-size: 0.9rem; color: var(--muted); margin-bottom: 18px; line-height: 1.85; }
  .about-body p strong { color: var(--white); font-weight: 400; }
  .about-aside { border-left: 1px solid var(--border); padding-left: 56px; display: flex; flex-direction: column; justify-content: center; }
  .access-badge { border: 1px solid rgba(201,168,76,0.28); padding: 30px; margin-bottom: 28px; }
  .access-badge p { font-family: 'Cormorant Garamond', serif; font-size: 1.05rem; font-style: italic; color: var(--white); line-height: 1.6; }
  .access-note { font-size: 0.65rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--teal); }

  /* ── WHO WE SERVE ── */
  #who { max-width: 1200px; margin: 0 auto; padding: 110px 60px; }
  #who h2 { font-size: clamp(1.9rem, 3vw, 2.9rem); margin-bottom: 56px; }
  #who h2 em { color: var(--gold); font-style: italic; }
  .profiles-grid {
    display: grid; grid-template-columns: repeat(3, 1fr);
    gap: 2px;
  }
  .profile-card {
    background: var(--card);
    padding: 36px 28px 32px;
    position: relative; overflow: hidden;
    transition: background 0.3s;
  }
  .profile-card:hover { background: #1f1f30; }
  .profile-card::before {
    content: ''; position: absolute; top: 0; left: 0; right: 0;
    height: 2px; background: var(--gold);
    transform: scaleX(0); transform-origin: left;
    transition: transform 0.35s ease;
  }
  .profile-card:hover::before { transform: scaleX(1); }
  .profile-icon {
    font-family: 'Cormorant Garamond', serif;
    font-size: 2.4rem; font-weight: 300;
    color: rgba(201,168,76,0.18); line-height: 1;
    margin-bottom: 20px;
  }
  .profile-card h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.62rem; font-weight: 600;
    letter-spacing: 0.2em; text-transform: uppercase;
    color: var(--gold); margin-bottom: 16px;
  }
  .profile-card p { font-size: 0.82rem; color: var(--muted); line-height: 1.8; }

  /* ── SERVICES ── */
  #services { background: var(--dark); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
  .services-inner { max-width: 1160px; margin: 0 auto; }
  .services-header { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; margin-bottom: 64px; align-items: end; }
  #services h2 { font-size: clamp(1.9rem, 2.8vw, 2.9rem); }
  #services h2 em { color: var(--gold); font-style: italic; }
  .services-intro { font-size: 0.88rem; color: var(--muted); line-height: 1.85; }
  .services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; }
  .service-card {
    background: var(--card); padding: 46px 38px;
    position: relative; overflow: hidden;
  }
  .service-card::before {
    content: ''; position: absolute; top: 0; left: 0; right: 0;
    height: 2px; background: var(--gold);
    transform: scaleX(0); transform-origin: left;
    transition: transform 0.4s ease;
  }
  .service-card:hover::before { transform: scaleX(1); }
  .service-num {
    font-family: 'Cormorant Garamond', serif;
    font-size: 3.2rem; font-weight: 300;
    color: rgba(201,168,76,0.1); line-height: 1; margin-bottom: 22px; display: block;
  }
  .service-card h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.65rem; font-weight: 600;
    letter-spacing: 0.22em; text-transform: uppercase;
    color: var(--gold); margin-bottom: 18px;
  }
  .service-card p { font-size: 0.86rem; color: var(--muted); line-height: 1.85; margin-bottom: 14px; }
  .service-tag {
    font-size: 0.63rem; letter-spacing: 0.14em; text-transform: uppercase;
    color: var(--teal); border-top: 1px solid var(--border);
    padding-top: 18px; margin-top: 10px;
  }

  /* ── PRINCIPLES ── */
  #principles { }
  .principles-inner { max-width: 940px; margin: 0 auto; }
  #principles h2 { font-size: clamp(1.7rem, 2.6vw, 2.5rem); margin-bottom: 60px; max-width: 580px; }
  #principles h2 em { color: var(--gold); font-style: italic; }
  .principle-item {
    display: grid; grid-template-columns: 60px 1fr; gap: 36px;
    padding: 36px 0; border-bottom: 1px solid var(--border); align-items: start;
  }
  .principle-item:first-of-type { border-top: 1px solid var(--border); }
  .principle-mark {
    font-family: 'Cormorant Garamond', serif;
    font-size: 2.5rem; font-weight: 300;
    color: rgba(201,168,76,0.18); line-height: 1; padding-top: 4px;
  }
  .principle-text {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.4rem; font-weight: 300; font-style: italic;
    color: var(--white); line-height: 1.55;
  }

  /* ── ECOSYSTEM ── */
  #ecosystem {
    background: var(--dark); border-top: 1px solid var(--border);
    display: grid; grid-template-columns: 1fr 1fr;
    gap: 90px; max-width: 1100px; margin: 0 auto;
  }
  #ecosystem h2 { font-size: clamp(1.7rem, 2.5vw, 2.7rem); margin-bottom: 28px; }
  #ecosystem h2 em { color: var(--gold); font-style: italic; }
  #ecosystem p { font-size: 0.88rem; color: var(--muted); line-height: 1.85; margin-bottom: 16px; }
  #ecosystem p strong { color: var(--white); font-weight: 400; }
  .iirhd-link {
    display: inline-flex; align-items: center; gap: 10px;
    font-size: 0.65rem; font-weight: 500;
    letter-spacing: 0.18em; text-transform: uppercase;
    color: var(--teal); text-decoration: none; margin-top: 6px;
    transition: color 0.3s;
  }
  .iirhd-link:hover { color: var(--gold); }
  .eco-cards { display: flex; flex-direction: column; gap: 2px; }
  .eco-card {
    background: var(--card); padding: 26px 30px;
    display: flex; align-items: center; gap: 18px;
    border-left: 2px solid transparent; transition: border-color 0.3s;
  }
  .eco-card:hover { border-left-color: var(--gold); }
  .eco-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--gold); flex-shrink: 0; }
  .eco-dot.teal { background: var(--teal); }
  .eco-card-text { font-size: 0.8rem; color: var(--muted); line-height: 1.5; }
  .eco-card-text strong { color: var(--white); font-weight: 500; display: block; font-size: 0.83rem; margin-bottom: 2px; }

  /* ── CONTACT ── */
  #contact { text-align: center; }
  #contact h2 {
    font-size: clamp(1.9rem, 3.2vw, 3.3rem);
    max-width: 660px; margin: 0 auto 22px; line-height: 1.25;
  }
  #contact h2 em { color: var(--gold); font-style: italic; }
  #contact .sub { font-size: 0.88rem; color: var(--muted); max-width: 460px; margin: 0 auto 52px; line-height: 1.8; }
  .contact-form { max-width: 540px; margin: 0 auto; display: flex; flex-direction: column; gap: 2px; }
  .form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; }
  .contact-form input,
  .contact-form select,
  .contact-form textarea {
    background: var(--card); border: none;
    border-bottom: 1px solid var(--border);
    padding: 17px 20px;
    font-family: 'Montserrat', sans-serif; font-size: 0.8rem; font-weight: 300;
    color: var(--white); width: 100%; outline: none;
    transition: border-color 0.3s; appearance: none;
  }
  .contact-form select { color: var(--muted); cursor: pointer; }
  .contact-form select option { background: var(--card); color: var(--white); }
  .contact-form input::placeholder, .contact-form textarea::placeholder { color: var(--muted); }
  .contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus { border-bottom-color: var(--gold); }
  .contact-form textarea { resize: none; height: 110px; }
  .btn-submit {
    background: transparent; border: 1px solid var(--gold);
    color: var(--gold); font-family: 'Montserrat', sans-serif;
    font-size: 0.65rem; font-weight: 500;
    letter-spacing: 0.22em; text-transform: uppercase;
    padding: 17px 38px; cursor: pointer;
    transition: all 0.3s; align-self: flex-start; margin-top: 6px;
  }
  .btn-submit:hover { background: var(--gold); color: var(--black); }
  .contact-alt { font-size: 0.7rem; color: var(--muted); letter-spacing: 0.1em; margin-top: 32px; }
  .contact-alt a { color: var(--teal); text-decoration: none; }
  .contact-alt a:hover { color: var(--gold); }

  /* ── FOOTER ── */
  footer {
    padding: 32px 60px;
    display: flex; align-items: center; justify-content: space-between;
    border-top: 1px solid var(--border);
  }
  .footer-logo { display: flex; align-items: center; gap: 12px; font-family: 'Cormorant Garamond', serif; font-size: 0.88rem; color: var(--muted); letter-spacing: 0.06em; }
  .footer-links { display: flex; gap: 28px; }
  .footer-links a { font-size: 0.62rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); text-decoration: none; transition: color 0.3s; }
  .footer-links a:hover { color: var(--gold); }
  .footer-copy { font-size: 0.62rem; color: rgba(138,138,154,0.45); letter-spacing: 0.08em; }

  /* ── LANGUAGE CONTENT SWITCHING ── */
  [data-lang] { display: none; }
  [data-lang="en"] { display: block; }
  .lang-inline { display: none; }
  .lang-inline.active { display: inline; }

  /* ── RESPONSIVE ── */
  @media (max-width: 960px) {
    nav, .lang-bar { padding: 12px 24px; }
    section, #services .services-inner, #who, #ecosystem { padding: 72px 24px; }
    #hero { padding: 130px 24px 72px; }
    .about-grid, .services-header, #ecosystem, .form-row, .profiles-grid { grid-template-columns: 1fr; gap: 32px; }
    .profiles-grid { grid-template-columns: 1fr 1fr; }
    .services-grid { grid-template-columns: 1fr; }
    .about-aside { border-left: none; border-top: 1px solid var(--border); padding-left: 0; padding-top: 36px; }
    footer { flex-direction: column; gap: 18px; text-align: center; }
    .footer-links { justify-content: center; flex-wrap: wrap; }
  }
