/* NFIS theme — homepage (front-page.php) styles. Ported from the approved HTML; design is the source of truth. */

/* ===== HERO ===== */
.hero{position:relative;min-height:95vh;display:flex;align-items:center;background:var(--cream);padding-top:80px;overflow:hidden}
.hero__accent{position:absolute;top:0;right:0;width:45%;height:100%;background:var(--sage-wash);border-radius:0 0 0 80px;opacity:.6}
.hero__content{position:relative;z-index:2;max-width:1200px;margin:0 auto;padding:0 1.75rem;width:100%}
.hero__grid{display:grid;grid-template-columns:1fr 1fr;gap:4rem;align-items:center}
.hero__greeting{font-size:1rem;color:var(--sage);font-weight:500;margin-bottom:.75rem;font-style:normal;font-family:var(--font-display)}
.hero__title{font-family:var(--font-display);font-size:clamp(2.5rem,4.5vw,3.75rem);line-height:1.25;margin-bottom:1.5rem;color:var(--charcoal)}
.hero__title em{font-style:normal;color:var(--sage-deep)}
.hero__desc{font-size:1.125rem;color:var(--warm-grey);line-height:1.8;margin-bottom:2.5rem;max-width:480px;font-weight:400}
.hero__actions{display:flex;gap:1rem;flex-wrap:wrap;align-items:center}
.hero__visual{position:relative;display:flex;justify-content:center}
.hero__image-frame{position:relative;width:100%;max-width:440px;aspect-ratio:4/5;border-radius:24px;overflow:hidden;background:var(--sage-pale)}
.hero__image-frame::before{content:'';position:absolute;inset:0;border:2px solid rgba(91,123,94,.15);border-radius:24px;z-index:2}
.hero__float-card{position:absolute;bottom:24px;left:-24px;background:var(--white);border-radius:16px;padding:1.25rem 1.5rem;box-shadow:0 12px 40px rgba(0,0,0,.08);z-index:3;max-width:210px}
.hero__float-card p{font-size:.8125rem;color:var(--warm-grey);line-height:1.6;font-style:normal}
.hero__float-card .author{font-size:.75rem;font-weight:600;color:var(--charcoal);margin-top:.5rem;font-style:normal}

/* ===== LOCAL SECTION ===== */
.local{padding:7rem 0;background:var(--white)}
.local__grid{display:grid;grid-template-columns:1fr 1fr;gap:4rem;align-items:center}
.local__title{font-family:var(--font-display);font-size:clamp(2rem,3.5vw,3rem);line-height:1.2;margin-bottom:1.5rem}
.local__title em{font-style:normal;color:var(--sage-deep)}
.local__text{color:var(--warm-grey);font-size:1.0625rem;line-height:1.8;margin-bottom:2rem}
.local__areas{display:flex;flex-wrap:wrap;gap:.75rem;margin-bottom:2rem}
.local__area{padding:.5rem 1.25rem;background:var(--sage-pale);border-radius:100px;font-size:.8125rem;font-weight:600;color:var(--sage-deep)}
.local__map{position:relative;border-radius:24px;overflow:hidden;aspect-ratio:4/3;background:var(--sage-wash)}

/* ===== SERVICES ===== */
.services{padding:7rem 0;background:var(--cream)}
.services__header{text-align:center;max-width:640px;margin:0 auto 4rem}
.services__title{font-family:var(--font-display);font-size:clamp(2rem,3.5vw,3rem);line-height:1.2;margin-bottom:1rem}
.services__title em{font-style:normal;color:var(--sage-deep)}
.services__desc{color:var(--warm-grey);font-size:1.0625rem;line-height:1.8}
.services__grid{display:grid;grid-template-columns:repeat(3,1fr);gap:1.5rem}
.service-card{background:var(--white);border-radius:20px;padding:2.25rem;transition:transform .4s ease,box-shadow .4s ease,border-color .4s ease;border:1.5px solid transparent}
.service-card:hover{transform:translateY(-4px);box-shadow:0 16px 48px rgba(0,0,0,.06);border-color:var(--sage-pale)}
.service-card__emoji{display:inline-flex;align-items:center;justify-content:center;width:56px;height:56px;border-radius:16px;background:var(--sage-pale);color:var(--sage-deep);margin-bottom:1.25rem}
.service-card__emoji svg{width:26px;height:26px}
.service-card:nth-child(even) .service-card__emoji{background:var(--terracotta-pale);color:var(--terracotta)}
.service-card__title{font-family:var(--font-display);font-size:1.25rem;margin-bottom:.75rem;color:var(--charcoal)}
.service-card__text{font-size:.9375rem;color:var(--warm-grey);line-height:1.7}
.service-card__link{display:inline-flex;align-items:center;gap:.375rem;margin-top:1.25rem;font-size:.875rem;font-weight:600;color:var(--sage);transition:gap .3s}
.service-card:hover .service-card__link{gap:.625rem}

/* ===== STORY / PROCESS ===== */
.story{padding:7rem 0;background:var(--sage-wash)}
.story__header{text-align:center;max-width:600px;margin:0 auto 4rem}
.story__title{font-family:var(--font-display);font-size:clamp(2rem,3.5vw,3rem);line-height:1.2;margin-bottom:1rem}
.story__title em{font-style:normal;color:var(--sage-deep)}
.story__steps{display:grid;grid-template-columns:repeat(2,1fr);gap:1.5rem;max-width:900px;margin:0 auto}
.story__step{background:var(--white);border-radius:20px;padding:2.25rem;display:flex;gap:1.5rem;align-items:flex-start;transition:all .3s}
.story__step:hover{box-shadow:0 12px 40px rgba(0,0,0,.05)}
.story__step-num{width:48px;height:48px;border-radius:16px;background:var(--sage-pale);display:flex;align-items:center;justify-content:center;font-family:var(--font-display);font-size:1.25rem;color:var(--sage-deep);flex-shrink:0}
.story__step-title{font-family:var(--font-display);font-size:1.125rem;margin-bottom:.375rem}
.story__step-text{font-size:.9375rem;color:var(--warm-grey);line-height:1.7}

/* ===== HUMAN SECTION ===== */
.human{padding:7rem 0;background:var(--white)}
.human__grid{display:grid;grid-template-columns:1fr 1fr;gap:4rem;align-items:center}
.human__image{position:relative;border-radius:24px;overflow:hidden;aspect-ratio:1;background:var(--terracotta-pale)}
.human__title{font-family:var(--font-display);font-size:clamp(2rem,3.5vw,3rem);line-height:1.2;margin-bottom:1.5rem}
.human__title em{font-style:normal;color:var(--terracotta)}
.human__text{color:var(--warm-grey);font-size:1.0625rem;line-height:1.8;margin-bottom:1.5rem}
.human__list{list-style:none;display:flex;flex-direction:column;gap:1rem}
.human__list li{display:flex;align-items:flex-start;gap:.75rem;font-size:.9375rem;color:var(--charcoal);line-height:1.6}
.human__list li::before{content:'✓';color:var(--sage);font-weight:700;font-size:1rem;flex-shrink:0;margin-top:2px}

/* ===== TESTIMONIAL ===== */
.testimonial{padding:7rem 0;background:var(--sage-deep);color:var(--white);position:relative;overflow:hidden}
.testimonial::before{content:'';position:absolute;top:-100px;right:-100px;width:400px;height:400px;border-radius:50%;background:rgba(255,255,255,.03)}
.testimonial__inner{max-width:800px;margin:0 auto;text-align:center}
.testimonial__quote{font-family:var(--font-display);font-size:clamp(1.5rem,3vw,2.25rem);line-height:1.5;font-style:normal;margin-bottom:2rem;opacity:.95}
.testimonial__quote::before{content:'\201C';display:block;font-size:4rem;line-height:1;margin-bottom:.5rem;opacity:.3;color:var(--sage-light)}
.testimonial__author{font-size:1rem;font-weight:600;margin-bottom:.25rem}
.testimonial__location{font-size:.875rem;opacity:.85}

/* ===== TEAM ===== */
.team{padding:7rem 0;background:var(--cream)}
.team__header{text-align:center;max-width:600px;margin:0 auto 3rem}
.team__title{font-family:var(--font-display);font-size:clamp(2rem,3.5vw,3rem);line-height:1.2;margin-bottom:1rem}
.team__title em{font-style:normal;color:var(--sage-deep)}
.team__card{max-width:500px;margin:0 auto;background:var(--white);border-radius:24px;overflow:hidden;box-shadow:0 8px 40px rgba(0,0,0,.04)}
.team__photo{aspect-ratio:3/2;background:var(--sage-pale);display:flex;align-items:center;justify-content:center;color:var(--sage-light);font-size:.8rem;text-align:center}
.team__info{padding:2rem;text-align:center}
.team__name{font-family:var(--font-display);font-size:1.5rem;margin-bottom:.25rem}
.team__role{font-size:.8125rem;font-weight:600;color:var(--sage);letter-spacing:.08em;text-transform:uppercase;margin-bottom:1rem}
.team__bio{font-size:.9375rem;color:var(--warm-grey);line-height:1.7;margin-bottom:1.5rem}
.team__contact{display:flex;justify-content:center;gap:1rem;flex-wrap:wrap}
.team__contact a{padding:.625rem 1.5rem;border-radius:100px;font-size:.875rem;font-weight:600;transition:all .3s}
.team__contact .btn--primary{background:var(--sage);color:var(--white)}
.team__contact .btn--outline{background:transparent;color:var(--sage-deep);border:1.5px solid var(--sage-light)}

/* ===== FAQ ===== */
.faq{padding:7rem 0;background:var(--white)}
.faq__header{text-align:center;max-width:600px;margin:0 auto 3rem}
.faq__title{font-family:var(--font-display);font-size:clamp(2rem,3.5vw,3rem);line-height:1.2;margin-bottom:1rem}
.faq__title em{font-style:normal;color:var(--sage-deep)}
.faq__list{max-width:720px;margin:0 auto;display:flex;flex-direction:column;gap:1rem}
.faq__item{background:var(--cream);border-radius:16px;padding:1.75rem;cursor:pointer;transition:all .3s}
.faq__item:hover{box-shadow:0 4px 20px rgba(0,0,0,.04)}
.faq__question{font-family:var(--font-display);font-size:1.125rem;margin-bottom:.5rem;display:flex;justify-content:space-between;align-items:center;gap:1rem}
.faq__question::after{content:'+';font-family:var(--font-body);font-size:1.5rem;font-weight:300;color:var(--sage);transition:transform .3s;flex-shrink:0}
.faq__item.open .faq__question::after{transform:rotate(45deg)}
.faq__answer{font-size:.9375rem;color:var(--warm-grey);line-height:1.7;max-height:0;overflow:hidden;transition:max-height .4s ease}
.faq__item.open .faq__answer{max-height:500px;margin-top:.75rem}

/* ===== CTA ===== */
.cta{padding:7rem 0;background:var(--sage-wash);text-align:center}
.cta__inner{max-width:640px;margin:0 auto}
.cta__title{font-family:var(--font-display);font-size:clamp(2rem,3.5vw,3rem);line-height:1.2;margin-bottom:1rem}
.cta__title em{font-style:normal;color:var(--sage-deep)}
.cta__text{font-size:1.0625rem;color:var(--warm-grey);line-height:1.8;margin-bottom:2.5rem}
.cta__actions{display:flex;justify-content:center;gap:1rem;flex-wrap:wrap}
.cta__phone{margin-top:1.5rem;font-size:.9375rem;color:var(--warm-grey)}
.cta__phone a{color:var(--sage-deep);font-weight:600}

/* ===== PHOTOS ===== */
.hero__image-frame img{width:100%;height:100%;object-fit:cover;object-position:center 20%}
.local__map img{width:100%;height:100%;object-fit:cover}
.human__image img{width:100%;height:100%;object-fit:cover;object-position:center}
.team__photo img{width:100%;height:100%;object-fit:cover;object-position:center 22%}

/* ===== Responsive homepage ===== */
@media(max-width:1024px){
  .hero__grid,.local__grid,.human__grid{grid-template-columns:1fr;gap:3rem}
  .hero__accent{width:100%;opacity:.3;border-radius:0 0 0 40px}
  .hero__visual{order:-1}
  .hero__image-frame{max-width:360px;margin:0 auto}
  .hero__float-card{left:50%;transform:translateX(-50%);bottom:16px}
  .services__grid{grid-template-columns:repeat(2,1fr)}
  .story__steps{grid-template-columns:1fr}
}
@media(max-width:768px){
  .hero{min-height:auto;padding:100px 0 4rem}
  .hero__title{font-size:2.25rem}
  .hero__image-frame{max-width:100%}
  .hero__float-card{position:relative;left:auto;transform:none;bottom:auto;margin-top:1rem;max-width:100%;box-shadow:none;border:1px solid var(--sage-pale)}
  .services__grid{grid-template-columns:1fr}
  .local__map{aspect-ratio:16/9}
}
