@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Playfair+Display:ital,wght@0,500;0,600;1,500;1,600&display=swap');

:root{--purple:#45207f;--deep-purple:#24135b;--teal:#0f6f70;--gold:#b77b00;--cream:#fbf8f2;--ink:#1f2330;--muted:#626777;--line:#e7dcc5;--white:#fff}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;color:var(--ink);background:var(--cream);font-family:"DM Sans",Arial,sans-serif;line-height:1.65}
img{max-width:100%;display:block}
a{text-decoration:none;color:inherit}
.container{width:min(1180px,92%);margin:auto}

.site-header{position:sticky;top:0;z-index:20;background:rgba(251,248,242,.96);backdrop-filter:blur(12px);border-bottom:1px solid rgba(183,123,0,.18)}
.nav{height:78px;display:flex;align-items:center;justify-content:space-between;gap:25px}
.brand{display:flex;align-items:center;gap:10px;color:var(--purple);font-weight:700;letter-spacing:.12em;font-size:.9rem}
.brand img{width:45px;height:45px;object-fit:contain}
nav{display:flex;align-items:center;gap:24px;font-size:.88rem;font-weight:600}
nav a:hover{color:var(--teal)}
.nav-cta{background:var(--purple);color:#fff!important;padding:10px 16px;border-radius:999px}

.hero{position:relative;min-height:720px;display:grid;align-items:center;overflow:hidden}
.hero-bg{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center 45%;filter:saturate(.92)}
.hero-overlay{position:absolute;inset:0;background:linear-gradient(90deg,rgba(25,18,53,.88) 0%,rgba(25,18,53,.66) 42%,rgba(25,18,53,.12) 75%),linear-gradient(0deg,rgba(15,111,112,.16),transparent 35%)}
.hero-content{position:relative;color:#fff;padding:110px 0;max-width:800px;margin-left:max(4%,calc((100% - 1180px)/2))}
.eyebrow{font-size:.77rem;font-weight:700;letter-spacing:.17em;text-transform:uppercase;margin:0 0 15px;color:var(--gold)}
.eyebrow.teal{color:#8ed0c7}
.eyebrow.gold{color:var(--gold)}
.hero h1{font-family:"Playfair Display",Georgia,serif;font-size:clamp(3.3rem,6.5vw,6.1rem);line-height:.98;margin:0 0 24px;font-weight:600;letter-spacing:-.04em}
.hero h1 em{color:#e4c86e}
.hero-copy{font-size:1.18rem;max-width:720px;color:rgba(255,255,255,.92);margin-bottom:30px}
.hero-copy strong{color:#fff}
.hero-actions{display:flex;flex-wrap:wrap;gap:12px}
.button{display:inline-block;border-radius:999px;padding:13px 21px;font-weight:700;text-align:center}
.button.primary{background:#fff;color:var(--purple)}
.button.primary:hover{background:#f3e8c9}
.button.secondary{border:1px solid rgba(255,255,255,.55);color:#fff}
.hero-note{font-size:.84rem;margin-top:20px;color:rgba(255,255,255,.72)}

.section{padding:105px 0}
.intro{padding:85px 0;background:#fff}
.intro-grid{display:grid;grid-template-columns:1.05fr .95fr;gap:80px;align-items:end}
h2{font-family:"Playfair Display",Georgia,serif;font-size:clamp(2.5rem,4.4vw,4.2rem);line-height:1.05;margin:0 0 24px;color:var(--deep-purple);letter-spacing:-.025em}
h2 span{color:var(--teal)}
h2 em{color:var(--purple)}
.intro-grid>p{font-size:1.12rem;color:var(--muted);margin:0}

.services{background:var(--cream)}
.section-heading{text-align:center;max-width:800px;margin:0 auto 48px}
.section-heading>p:last-child{color:var(--muted);font-size:1.05rem}
.care-setting-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}
.care-setting-card{background:#fff;border:1px solid var(--line);padding:38px;border-radius:22px;min-height:250px;box-shadow:0 12px 35px rgba(40,27,65,.05)}
.care-setting-card:nth-child(1){border-top:5px solid var(--purple)}
.care-setting-card:nth-child(2){border-top:5px solid var(--teal)}
.care-setting-card:nth-child(3){border-top:5px solid var(--gold)}
.setting-icon{font-size:.75rem;color:var(--gold);font-weight:800;letter-spacing:.12em;margin-bottom:25px}
.care-setting-card h3{font-family:"Playfair Display",Georgia,serif;color:var(--deep-purple);font-size:1.65rem;line-height:1.15;margin:0 0 15px}
.care-setting-card p{color:var(--muted);margin:0}
.setting-slogan{text-align:center;color:var(--purple);font-family:"Playfair Display",Georgia,serif;font-style:italic;font-size:1.25rem;margin:38px 0 0}

.specialties{background:#fff}
.specialty-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:18px}
.specialty-card{background:var(--cream);border:1px solid var(--line);padding:28px 25px;border-radius:20px;min-height:210px}
.specialty-card:nth-child(3n+1){border-top:4px solid var(--teal)}
.specialty-card:nth-child(3n+2){border-top:4px solid var(--purple)}
.specialty-card:nth-child(3n){border-top:4px solid var(--gold)}
.specialty-card h3{font-family:"Playfair Display",Georgia,serif;color:var(--deep-purple);font-size:1.5rem;line-height:1.15;margin:0 0 12px}
.specialty-card p{color:var(--muted);font-size:.95rem;margin:0}

.about{background:var(--cream)}
.about-grid{display:grid;grid-template-columns:.85fr 1.15fr;gap:85px;align-items:center}
.about-photo{position:relative}
.about-photo img{width:100%;aspect-ratio:4/5;object-fit:cover;object-position:center;border-radius:28px}
.photo-badge{position:absolute;bottom:-20px;right:-20px;background:var(--purple);color:#fff;padding:18px 22px;border-radius:16px;font-weight:800;font-size:.75rem;letter-spacing:.12em;line-height:1.3}
.about-copy p{color:var(--muted)}
blockquote{border-left:4px solid var(--gold);padding:7px 0 7px 22px;margin:28px 0 0;color:var(--purple);font-family:"Playfair Display",Georgia,serif;font-style:italic;font-size:1.35rem}

.values{background:linear-gradient(135deg,#f5f0fa 0%,#fbf8f2 48%,#eef6f4 100%);padding:90px 0}
.values-grid{display:grid;grid-template-columns:1fr 1fr;gap:70px;align-items:center}
.values-grid img{width:100%;height:520px;object-fit:cover;border-radius:28px}
.slogan{font-family:"Playfair Display",Georgia,serif;color:var(--purple)!important;font-size:1.65rem!important;font-style:italic;margin-top:28px}

.personal{background:#fff}
.personal-grid{display:grid;grid-template-columns:1fr 1fr;gap:75px;align-items:center}
.personal-grid img{height:520px;width:100%;object-fit:cover;border-radius:28px}

.contact{padding:90px 0}
.contact-card{background:var(--deep-purple);color:#fff;border-radius:30px;padding:65px 70px;display:grid;grid-template-columns:1.3fr .7fr;gap:50px;align-items:center}
.contact-card h2{color:#fff}
.contact-card h2 em{color:#e4c86e}
.contact-card p:not(.eyebrow){color:rgba(255,255,255,.78)}
.contact-actions{display:flex;flex-direction:column;align-items:flex-start;gap:12px}
.contact-actions .secondary{border-color:rgba(255,255,255,.4)}
.contact-actions p{font-size:.9rem;margin:10px 0 0!important}
.contact-actions p span{color:rgba(255,255,255,.62)}

footer{background:#17122a;color:rgba(255,255,255,.7);padding:32px 0}
.footer-inner{display:grid;grid-template-columns:1fr auto 1fr;align-items:center;gap:20px;font-size:.76rem}
.footer-brand{display:flex;align-items:center;gap:12px;color:#fff}
.footer-brand img{width:45px;height:45px}
.footer-brand strong{letter-spacing:.12em}
.footer-brand span{font-size:.7rem;color:rgba(255,255,255,.55)}
.footer-slogan{text-align:right;color:#d6bf7c;font-family:"Playfair Display",Georgia,serif;font-style:italic}

@media(max-width:1050px){.specialty-grid{grid-template-columns:repeat(2,1fr)}}
@media(max-width:900px){
  nav a:not(.nav-cta){display:none}
  .hero{min-height:650px}
  .hero-content{margin:auto;width:min(1180px,92%)}
  .intro-grid,.about-grid,.values-grid,.personal-grid,.contact-card{grid-template-columns:1fr;gap:40px}
  .care-setting-grid{grid-template-columns:1fr}
  .about-photo{max-width:560px}
  .values-grid img,.personal-grid img{height:400px}
  .contact-card{padding:45px 30px}
  .footer-inner{grid-template-columns:1fr;text-align:center}
  .footer-brand{justify-content:center}
  .footer-slogan{text-align:center}
}
@media(max-width:520px){
  .nav{height:68px}
  .brand span{font-size:.75rem}
  .hero{min-height:620px}
  .hero-overlay{background:linear-gradient(90deg,rgba(25,18,53,.88),rgba(25,18,53,.48))}
  .hero h1{font-size:3.2rem}
  .hero-copy{font-size:1rem}
  .section{padding:75px 0}
  .intro{padding:65px 0}
  .care-setting-card,.specialty-card{padding:28px}
  .specialty-grid{grid-template-columns:1fr}
}

.provider-name{margin:0 0 18px;color:#fff;line-height:1.45}
.provider-name strong{font-size:1.08rem;letter-spacing:.01em}
.provider-name span{font-size:.86rem;color:rgba(255,255,255,.78)}
.hero-hook{margin:8px 0 10px;font-family:"Playfair Display",Georgia,serif;font-size:1.45rem;color:#e4c86e}
.hero-hook strong{font-weight:600}

/* Stronger Latitude 35° brand presence */
.brand{gap:13px}
.brand img{width:62px;height:62px}
.brand-name{font-size:1rem;letter-spacing:.14em}
@media(max-width:520px){
  .brand img{width:54px;height:54px}
  .brand-name{font-size:.78rem}
  .hero-logo-lockup{width:105px;height:105px;margin-bottom:22px}
}

/* Final logo sizing: larger only in the header and footer */
.brand img{
  width:78px;
  height:78px;
}
.brand-name{
  font-size:1.02rem;
  letter-spacing:.14em;
}
.nav{
  min-height:96px;
  height:96px;
}
.footer-brand img{
  width:78px;
  height:78px;
}
.footer-brand{
  gap:16px;
}
@media(max-width:520px){
  .nav{height:78px;min-height:78px}
  .brand img{width:64px;height:64px}
  .brand-name{font-size:.78rem}
  .footer-brand img{width:64px;height:64px}
}

.intro-logo{
  margin-top:28px;
  width:150px;
  height:150px;
}
.intro-logo img{
  width:100%;
  height:100%;
  object-fit:contain;
}
@media(max-width:520px){
  .intro-logo{
    width:120px;
    height:120px;
    margin-top:22px;
  }
}

.intro-logo{
  width:220px;
  height:220px;
  margin-top:18px;
  margin-left:32px;
}
.intro-logo img{
  width:100%;
  height:100%;
  object-fit:contain;
}
@media(max-width:900px){
  .intro-logo{
    width:180px;
    height:180px;
    margin-left:18px;
  }
}
@media(max-width:520px){
  .intro-logo{
    width:145px;
    height:145px;
    margin-top:12px;
    margin-left:8px;
  }
}

.intro-grid{
  position:relative;
}
.intro-logo{
  position:absolute;
  left:50%;
  top:50%;
  transform:translate(-50%,-50%);
  width:145px;
  height:145px;
  margin:0;
  z-index:2;
}
.intro-logo img{
  width:100%;
  height:100%;
  object-fit:contain;
}
@media(max-width:900px){
  .intro-grid{
    position:static;
  }
  .intro-logo{
    position:static;
    transform:none;
    width:145px;
    height:145px;
    margin:20px auto 0;
  }
}

.intro-logo{
  left:calc(50% - 18px);
  top:calc(50% + 34px);
}

.intro-logo{
  left:calc(50% - 52px);
  top:calc(50% + 78px);
}

/* Final intro logo placement: in-flow, below the heading, with no overlap. */
.intro-grid{
  align-items:start;
}
.intro-left{
  min-width:0;
}
.intro-logo{
  position:static !important;
  transform:none !important;
  width:155px !important;
  height:155px !important;
  margin:28px 0 0 18px !important;
}
.intro-logo img{
  width:100%;
  height:100%;
  object-fit:contain;
}
@media(max-width:900px){
  .intro-logo{
    width:145px !important;
    height:145px !important;
    margin:22px auto 0 !important;
  }
}

/* Logo directly under "Expert care tailored to you." */
.intro-logo{
  position:static !important;
  transform:none !important;
  width:150px !important;
  height:150px !important;
  margin:6px 0 0 0 !important;
}
.intro-logo img{
  width:100%;
  height:100%;
  object-fit:contain;
}

/* Logo placement: directly beneath the right side of the heading ("you.") */
.intro-left{
  position:relative;
}
.intro-logo{
  position:static !important;
  transform:none !important;
  width:150px !important;
  height:150px !important;
  margin:8px 0 0 245px !important;
}
.intro-logo img{
  width:100%;
  height:100%;
  object-fit:contain;
}
@media(max-width:900px){
  .intro-logo{
    margin:8px auto 0 !important;
  }
}

/* Intro layout refinement */
.intro-grid{
  align-items:start;
}
.intro-grid > p{
  margin-top:4.2rem;
}
.intro-logo{
  width:180px !important;
  height:180px !important;
  margin-top:10px !important;
}
@media(max-width:900px){
  .intro-grid > p{
    margin-top:0;
  }
  .intro-logo{
    width:165px !important;
    height:165px !important;
    margin:10px auto 0 !important;
  }
}

/* Final intro spacing refinement */
.intro-grid > p{
  margin-top:4.55rem;
}
.intro-logo{
  width:205px !important;
  height:205px !important;
  margin-top:-2px !important;
}
@media(max-width:900px){
  .intro-grid > p{
    margin-top:0;
  }
  .intro-logo{
    width:180px !important;
    height:180px !important;
    margin:4px auto 0 !important;
  }
}
