/*
Theme Name: Azara Dentistry
Theme URI: https://www.azaradentistry.com
Author: Azara Dentistry
Description: A custom one-page WordPress theme for Azara Dentistry, a dental practice in Mission Bay, San Diego. Built around a calm beige and arugula-green palette with Fraunces and Jost typography.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: azara-dentistry
*/

:root{
    --beige:        #EFE6D3;
    --beige-deep:   #E2D5B8;
    --cream:        #FBF7ED;
    --green:        #55693D;
    --green-deep:   #3E4E2C;
    --sage:         #9AA97C;
    --ink:          #2C2A20;
    --ink-soft:     #52503F;
    --line:         rgba(44,42,32,0.15);
    --shadow:       rgba(35,32,20,0.16);
  }

  *{ box-sizing:border-box; margin:0; padding:0; }
  html{ scroll-behavior:smooth; }

  body{
    font-family:'Jost', sans-serif;
    color:var(--ink);
    background:var(--beige);
    font-weight:300;
    line-height:1.5;
    overflow-x:hidden;
  }

  img{ max-width:100%; display:block; }

  a{ color:inherit; text-decoration:none; }

  .wrap{
    max-width:1180px;
    margin:0 auto;
    padding:0 32px;
  }

  .eyebrow{
    font-size:11.5px;
    letter-spacing:0.30em;
    text-transform:uppercase;
    color:var(--green-deep);
    font-weight:500;
  }

  h1,h2,h3{
    font-family:'Fraunces', serif;
    font-weight:400;
    color:var(--ink);
  }

  h1 em, h2 em{
    font-style:italic;
    color:var(--green-deep);
    font-weight:400;
  }

  .btn{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    gap:8px;
    padding:15px 30px;
    border-radius:999px;
    font-size:14px;
    letter-spacing:0.02em;
    font-weight:500;
    cursor:pointer;
    border:1px solid transparent;
    transition:transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
  }

  .btn-primary{
    background:var(--green-deep);
    color:var(--cream);
    box-shadow:0 10px 24px rgba(62,78,44,0.30);
  }
  .btn-primary:hover{ transform:translateY(-2px); box-shadow:0 14px 28px rgba(62,78,44,0.38); }

  .btn-ghost{
    background:transparent;
    color:var(--green-deep);
    border-color:var(--green-deep);
  }
  .btn-ghost:hover{ background:var(--green-deep); color:var(--cream); }

  .btn svg{ flex-shrink:0; }

  .btn-textlink{
    display:block;
    text-align:center;
    font-size:12.5px;
    color:var(--ink-soft);
    margin-top:14px;
    text-decoration:underline;
    text-underline-offset:3px;
  }
  .btn-textlink:hover{ color:var(--green-deep); }

  /* ---------- NAV ---------- */
  header{
    position:sticky;
    top:0;
    z-index:50;
    background:rgba(239,230,211,0.92);
    backdrop-filter:blur(10px);
    border-bottom:1px solid var(--line);
  }

  nav{
    display:flex;
    align-items:center;
    justify-content:space-between;
    padding:16px 32px;
    max-width:1180px;
    margin:0 auto;
  }

  .nav-logo img{ height:0.62in; width:auto; }

  .nav-links{
    display:flex;
    align-items:center;
    gap:34px;
    font-size:13.5px;
    letter-spacing:0.02em;
  }

  .nav-links a{ color:var(--ink-soft); transition:color 0.2s ease; }
  .nav-links a:hover{ color:var(--green-deep); }

  .nav-right{ display:flex; align-items:center; gap:22px; }
  .nav-phone{ font-size:13.5px; color:var(--ink); font-weight:500; white-space:nowrap; }

  .nav-toggle{
    display:none;
    flex-direction:column;
    gap:5px;
    background:none;
    border:none;
    cursor:pointer;
    padding:6px;
  }
  .nav-toggle span{ width:22px; height:2px; background:var(--ink); border-radius:2px; }

  /* ---------- HERO ---------- */
  .hero{
    position:relative;
    padding:96px 0 90px;
    overflow:hidden;
  }

  .hero-icon-bg{
    position:absolute;
    right:-6%;
    top:-8%;
    width:46%;
    opacity:0.07;
    pointer-events:none;
  }

  .hero-swoop{
    position:absolute;
    left:-8%;
    bottom:-18%;
    width:55%;
    opacity:0.5;
    pointer-events:none;
  }

  .hero-grid{
    position:relative;
    z-index:2;
    display:grid;
    grid-template-columns:1.15fr 0.85fr;
    gap:60px;
    align-items:center;
  }

  .hero h1{
    font-size:clamp(38px,5.2vw,64px);
    line-height:1.06;
    max-width:9.5in;
    margin-top:16px;
  }

  .hero-flourish{
    width:130px;
    margin:20px 0 18px 2px;
  }

  .hero p.lead{
    font-size:16.5px;
    color:var(--ink-soft);
    max-width:5in;
    margin-bottom:34px;
  }

  .hero-ctas{ display:flex; gap:16px; flex-wrap:wrap; }

  .hero-card{
    position:relative;
    background:var(--cream);
    border-radius:22px;
    padding:38px 34px;
    box-shadow:0 24px 50px var(--shadow);
  }

  .badge-circle{
    width:1.7in;
    height:1.7in;
    background:var(--green-deep);
    border-radius:50%;
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;
    color:var(--cream);
    text-align:center;
    box-shadow:0 12px 26px rgba(62,78,44,0.32);
    flex-shrink:0;
  }

  .hero-card .badge-circle{ margin:0 auto 22px; }

  .badge-circle .tag{
    font-size:9px;
    letter-spacing:0.20em;
    text-transform:uppercase;
    color:var(--sage);
    margin-bottom:5px;
  }

  .badge-circle .price{
    font-family:'Fraunces', serif;
    font-size:42px;
    line-height:1;
    font-weight:500;
  }
  .badge-circle .price sup{ font-size:18px; top:-1em; margin-right:1px; }

  .badge-circle .desc{
    font-size:9.5px;
    margin-top:5px;
    color:var(--cream);
    opacity:0.9;
  }

  .hero-card h3{
    font-size:19px;
    text-align:center;
    margin-bottom:8px;
  }

  .hero-card p{
    font-size:13px;
    color:var(--ink-soft);
    text-align:center;
    margin-bottom:20px;
  }

  .hero-card .btn{ width:100%; }

  /* ---------- OFFER STRIP ---------- */
  .offer-strip{
    background:var(--green-deep);
    color:var(--cream);
    padding:26px 0;
  }
  .offer-strip .wrap{
    display:flex;
    align-items:center;
    justify-content:center;
    gap:14px;
    flex-wrap:wrap;
    text-align:center;
    font-size:14.5px;
    letter-spacing:0.01em;
  }
  .offer-strip strong{ font-family:'Fraunces', serif; font-size:19px; font-weight:500; }
  .offer-strip .dot{ color:var(--sage); }

  /* ---------- SECTION SHARED ---------- */
  section{ padding:96px 0; }
  .section-head{ max-width:7in; margin-bottom:56px; }
  .section-head h2{ font-size:clamp(30px,3.6vw,42px); margin-top:12px; }
  .section-head p{ margin-top:16px; color:var(--ink-soft); font-size:15.5px; max-width:6in; }

  .center{ text-align:center; margin-left:auto; margin-right:auto; }

  /* ---------- WHY GRID ---------- */
  .why-grid{
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:28px;
  }

  .why-card{
    background:var(--cream);
    border-radius:18px;
    padding:34px 26px;
    box-shadow:0 10px 26px rgba(35,32,20,0.06);
  }

  .why-card svg{ width:40px; height:40px; margin-bottom:18px; }
  .why-card h3{ font-size:18px; margin-bottom:10px; font-weight:500; }
  .why-card p{ font-size:13.5px; color:var(--ink-soft); }

  /* ---------- SERVICES ---------- */
  .services-band{ background:var(--beige-deep); }

  .services-grid{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:1px;
    background:var(--line);
    border:1px solid var(--line);
    border-radius:18px;
    overflow:hidden;
  }

  .service-item{
    background:var(--cream);
    padding:34px 30px;
  }

  .service-item .num{
    font-family:'Fraunces', serif;
    font-style:italic;
    font-size:14px;
    color:var(--sage);
    margin-bottom:10px;
    display:block;
  }

  .service-item h3{ font-size:17.5px; margin-bottom:8px; font-weight:500; }
  .service-item p{ font-size:13px; color:var(--ink-soft); }

  /* ---------- EMERGENCY ---------- */
  .emergency-band{
    background:var(--green-deep);
  }

  .emergency-grid{
    display:grid;
    grid-template-columns:auto 1fr;
    gap:56px;
    align-items:center;
  }

  .emergency-band .eyebrow{ color:var(--sage); }
  .emergency-band h2{ color:var(--cream); font-size:clamp(28px,3.4vw,38px); margin-top:10px; }
  .emergency-band h2 em{ color:var(--sage); }
  .emergency-band p{ color:rgba(251,247,237,0.82); font-size:15.5px; max-width:5.5in; margin-top:14px; margin-bottom:28px; }

  .badge-circle-light{
    background:var(--cream);
    box-shadow:0 14px 30px rgba(20,20,10,0.28);
  }
  .badge-circle-light .tag{ color:var(--green); }
  .badge-circle-light .desc{ color:var(--ink-soft); opacity:1; }
  .emergency-price{ font-size:36px !important; color:var(--green-deep); }

  .btn-cream{
    background:var(--cream);
    color:var(--green-deep);
    box-shadow:0 10px 24px rgba(20,20,10,0.25);
  }
  .btn-cream:hover{ transform:translateY(-2px); box-shadow:0 14px 28px rgba(20,20,10,0.32); }

  .btn-outline-cream{
    background:transparent;
    color:var(--cream);
    border-color:rgba(251,247,237,0.55);
  }
  .btn-outline-cream:hover{ background:var(--cream); color:var(--green-deep); border-color:var(--cream); }

  /* ---------- MEMBERSHIP ---------- */
  .plans-grid{
    display:grid;
    grid-template-columns:repeat(3, 1fr);
    gap:26px;
    align-items:stretch;
  }

  .plan-card{
    background:var(--cream);
    border-radius:20px;
    padding:38px 32px 32px;
    display:flex;
    flex-direction:column;
    box-shadow:0 10px 26px rgba(35,32,20,0.06);
    border:1px solid var(--line);
  }

  .plan-card.featured{
    background:var(--green-deep);
    color:var(--cream);
    box-shadow:0 24px 46px rgba(62,78,44,0.30);
    transform:translateY(-10px);
    border:none;
    position:relative;
  }

  .plan-tag{
    position:absolute;
    top:-13px;
    left:50%;
    transform:translateX(-50%);
    background:var(--sage);
    color:var(--green-deep);
    font-size:10px;
    letter-spacing:0.14em;
    text-transform:uppercase;
    font-weight:600;
    padding:6px 16px;
    border-radius:999px;
  }

  .plan-name{
    font-size:12px;
    letter-spacing:0.10em;
    text-transform:uppercase;
    font-weight:500;
    color:var(--green-deep);
    margin-bottom:10px;
  }
  .plan-card.featured .plan-name{ color:var(--sage); }

  .plan-price{
    font-family:'Fraunces', serif;
    font-size:44px;
    font-weight:500;
    color:var(--ink);
    margin-bottom:22px;
    line-height:1;
  }
  .plan-card.featured .plan-price{ color:var(--cream); }

  .plan-price sup{ font-size:19px; top:-1.1em; margin-right:1px; }
  .plan-price span{ font-family:'Jost', sans-serif; font-size:13px; font-weight:300; color:var(--ink-soft); margin-left:2px; }
  .plan-card.featured .plan-price span{ color:rgba(251,247,237,0.75); }

  .plan-list{
    list-style:none;
    display:flex;
    flex-direction:column;
    gap:12px;
    margin-bottom:30px;
    flex:1;
  }

  .plan-list li{
    font-size:13.5px;
    line-height:1.4;
    padding-left:20px;
    position:relative;
    font-weight:300;
    color:var(--ink-soft);
  }
  .plan-card.featured .plan-list li{ color:rgba(251,247,237,0.9); }

  .plan-list li::before{
    content:"";
    position:absolute;
    left:0; top:6px;
    width:7px; height:7px;
    border-radius:2px 8px 2px 8px;
    background:var(--green);
    transform:rotate(45deg);
  }
  .plan-card.featured .plan-list li::before{ background:var(--sage); }

  .plan-card .btn{ width:100%; }
  .plan-card.featured .btn-primary{ background:var(--cream); color:var(--green-deep); }
  .plan-card.featured .btn-primary:hover{ background:var(--sage); }

  /* ---------- ABOUT ---------- */
  .about{
    display:grid;
    grid-template-columns:0.62fr 1.38fr;
    gap:64px;
    align-items:start;
  }

  .about-side{
    position:sticky;
    top:110px;
  }

  .about-monogram{
    width:200px;
    aspect-ratio:1;
    border-radius:50%;
    background:linear-gradient(160deg, var(--beige-deep), var(--sage));
    display:flex;
    align-items:center;
    justify-content:center;
    margin-bottom:22px;
    overflow:hidden;
    box-shadow:0 14px 30px rgba(35,32,20,0.16);
    padding:0;
  }

  .about-monogram img{ width:100%; height:100%; object-fit:cover; filter:none; }

  .about-side h2{ font-size:26px; margin-bottom:8px; }
  .about-side .cred{ font-size:12px; letter-spacing:0.05em; color:var(--green-deep); text-transform:uppercase; font-weight:500; }

  .about-text p{ color:var(--ink-soft); font-size:15.5px; margin-bottom:18px; max-width:6.6in; }
  .about-text p:last-child{ margin-bottom:0; }

  /* ---------- AFFILIATIONS ---------- */
  .affiliations-row{
    display:flex;
    flex-wrap:wrap;
    justify-content:center;
    align-items:center;
    gap:22px;
  }

  .affiliation-card{
    background:var(--cream);
    border-radius:16px;
    padding:20px 26px;
    display:flex;
    align-items:center;
    justify-content:center;
    height:90px;
    box-shadow:0 8px 20px rgba(35,32,20,0.07);
    border:1px solid var(--line);
  }

  .affiliation-card img{
    height:100%;
    max-height:48px;
    width:auto;
    max-width:170px;
    object-fit:contain;
  }

  /* ---------- CONTACT ---------- */
  .contact-band{ background:var(--beige-deep); }

  .contact-grid{
    display:grid;
    grid-template-columns:0.85fr 1.15fr;
    gap:50px;
  }

  .contact-info h2{ margin-bottom:20px; }

  .contact-row{
    display:flex;
    gap:16px;
    padding:16px 0;
    border-bottom:1px solid var(--line);
  }
  .contact-row:last-of-type{ border-bottom:none; }

  .contact-row svg{ width:22px; height:22px; flex-shrink:0; margin-top:2px; }
  .contact-row .label{ font-size:10.5px; letter-spacing:0.16em; text-transform:uppercase; color:var(--sage); margin-bottom:4px; font-weight:500; }
  .contact-row .val{ font-size:15px; color:var(--ink); }
  .contact-row .val.muted{ color:var(--ink-soft); font-size:13.5px; }

  .hours-list{ display:flex; flex-direction:column; gap:4px; }
  .hours-list div{ display:flex; gap:18px; justify-content:space-between; max-width:340px; }
  .hours-list span:first-child{ color:var(--ink-soft); font-size:13.5px; }
  .hours-list span:last-child{ font-size:13.5px; font-weight:500; }

  .map-frame{
    border-radius:18px;
    overflow:hidden;
    box-shadow:0 16px 36px rgba(35,32,20,0.14);
    border:1px solid var(--line);
  }
  .map-frame iframe{ width:100%; height:100%; min-height:380px; border:0; display:block; }

  /* ---------- FOOTER CTA ---------- */
  .final-cta{
    text-align:center;
    padding:100px 0 110px;
  }
  .final-cta .hero-flourish{ margin-left:auto; margin-right:auto; }
  .final-cta h2{ font-size:clamp(30px,4.4vw,46px); max-width:8in; margin:14px auto 30px; }
  .final-cta .hero-ctas{ justify-content:center; }

  /* ---------- FOOTER ---------- */
  footer{
    background:var(--green-deep);
    color:var(--cream);
    padding:60px 0 30px;
  }

  .footer-grid{
    display:grid;
    grid-template-columns:1.3fr 1fr 1fr;
    gap:40px;
    padding-bottom:40px;
    border-bottom:1px solid rgba(251,247,237,0.15);
  }

  footer img.footer-logo{ height:0.55in; margin-bottom:14px; filter:brightness(0) invert(1); }
  footer .foot-desc{ font-size:13px; color:rgba(251,247,237,0.75); max-width:3.4in; }

  footer h4{
    font-size:11px;
    letter-spacing:0.18em;
    text-transform:uppercase;
    color:var(--sage);
    margin-bottom:16px;
    font-weight:500;
  }

  footer ul{ list-style:none; display:flex; flex-direction:column; gap:10px; }
  footer ul a{ font-size:13.5px; color:rgba(251,247,237,0.85); }
  footer ul a:hover{ color:var(--cream); }

  .footer-bottom{
    padding-top:26px;
    display:flex;
    justify-content:space-between;
    flex-wrap:wrap;
    gap:10px;
    font-size:11.5px;
    color:rgba(251,247,237,0.55);
  }

  /* ---------- FLOATING BOOKING WIDGET ---------- */
  .float-book{
    position:fixed;
    right:26px;
    bottom:26px;
    z-index:60;
    display:flex;
    align-items:center;
    gap:10px;
    background:var(--green-deep);
    color:var(--cream);
    padding:14px 22px 14px 18px;
    border-radius:999px;
    box-shadow:0 14px 32px rgba(35,32,20,0.30);
    font-size:13.5px;
    font-weight:500;
    letter-spacing:0.01em;
    opacity:0;
    transform:translateY(14px);
    pointer-events:none;
    transition:opacity 0.35s ease, transform 0.35s ease, background 0.2s ease;
  }
  .float-book.show{ opacity:1; transform:translateY(0); pointer-events:auto; }
  .float-book:hover{ background:#465a30; }
  .float-book svg{ flex-shrink:0; }
  .float-book .fb-sub{ display:none; }

  @media (max-width:520px){
    .float-book{ right:16px; bottom:16px; padding:13px 18px; font-size:12.5px; }
  }

  /* ---------- RESPONSIVE ---------- */
  @media (max-width: 980px){
    .hero-grid{ grid-template-columns:1fr; }
    .hero-card{ max-width:420px; margin:0 auto; }
    .why-grid{ grid-template-columns:repeat(2,1fr); }
    .services-grid{ grid-template-columns:repeat(2,1fr); }
    .plans-grid{ grid-template-columns:1fr; max-width:420px; margin:0 auto; }
    .plan-card.featured{ transform:none; }
    .membership{ grid-template-columns:1fr; }
    .emergency-grid{ grid-template-columns:1fr; text-align:center; justify-items:center; }
    .emergency-band p{ margin-left:auto; margin-right:auto; }
    .emergency-band .hero-ctas{ justify-content:center; }
    .about{ grid-template-columns:1fr; }
    .about-side{ position:static; display:flex; flex-direction:column; align-items:center; text-align:center; margin-bottom:8px; }
    .contact-grid{ grid-template-columns:1fr; }
    .footer-grid{ grid-template-columns:1fr 1fr; }
  }

  @media (max-width: 720px){
    .nav-links, .nav-phone{ display:none; }
    .nav-toggle{ display:flex; }
    .why-grid{ grid-template-columns:1fr; }
    .services-grid{ grid-template-columns:1fr; }
    .footer-grid{ grid-template-columns:1fr; }
    .affiliations-row{ gap:16px; }
    .affiliation-card{ height:74px; padding:14px 18px; }
    .affiliation-card img{ max-height:38px; max-width:130px; }
  }
