/*
 * surgery.css — Breadcrumb, hero, sections, cards, CTA, footer
 * Shared by all surgery/condition pages
 * Dr Samir Contractor Website
 */

/* BREADCRUMB */
.breadcrumb{padding:.85rem 0;border-bottom:1px solid var(--rule);background:var(--bg-soft);}
.breadcrumb nav{display:flex;align-items:center;gap:.4rem;flex-wrap:wrap;}
.breadcrumb a{font-size:.82rem;color:var(--brand-blue);transition:color .18s;}
.breadcrumb a:hover{color:var(--brand-blue-deep);}
.breadcrumb .sep{font-size:.82rem;color:var(--muted);}
.breadcrumb .current{font-size:.82rem;color:var(--ink-3);font-weight:500;}

/* SECTION SHELL */
.section{padding:clamp(3.5rem,6vw,5.5rem) 0;}
.section-alt{background:var(--bg-soft);}
.section-head{max-width:760px;margin-bottom:clamp(2rem,4vw,3rem);}
.section-head .eyebrow{display:inline-block;margin-bottom:.85rem;}
.section-head h2{margin-bottom:.85rem;}
.section-head p{font-size:1.05rem;max-width:56ch;}

/* HERO */
.hero{padding:clamp(2.5rem,6vw,5rem) 0 clamp(2rem,4vw,3.5rem);background:var(--bg);}
.hero-inner{display:grid;grid-template-columns:1.2fr .8fr;gap:clamp(2rem,5vw,5rem);align-items:center;}
.hero-text .eyebrow{margin-bottom:1rem;display:inline-block;}
.hero-text h1{margin-bottom:1.2rem;}
.hero-lead{font-size:clamp(1rem,1.5vw,1.15rem);color:var(--ink-2);max-width:38rem;margin-bottom:1.75rem;line-height:1.55;}
.cta-row{display:flex;flex-wrap:wrap;gap:.85rem;align-items:center;margin-bottom:1.2rem;}
.cta-proof{font-size:.84rem;color:var(--ink-3);display:flex;flex-wrap:wrap;gap:.4rem 1rem;align-items:center;}
.cta-proof span{display:inline-flex;align-items:center;gap:.35rem;}
.cta-proof .dot{width:4px;height:4px;background:var(--brand-green);border-radius:50%;display:inline-block;}

/* HERO IMAGE PANEL */
.hero-panel{position:relative;padding:.75rem;}
.hero-img{width:100%;aspect-ratio:4/5;border-radius:8px;background:linear-gradient(135deg,var(--brand-blue-soft),#C5DEF0);position:relative;overflow:hidden;box-shadow:0 20px 50px -20px rgba(6,114,186,.2);}
.hero-img::before{content:'';position:absolute;inset:10px;border:1px solid rgba(6,114,186,.18);border-radius:4px;pointer-events:none;z-index:1;}
.hero-img img{width:100%;height:100%;object-fit:cover;}
.hero-img .img-placeholder{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;text-align:center;color:rgba(6,114,186,.5);font-family:var(--body);font-size:.72rem;letter-spacing:.1em;text-transform:uppercase;font-weight:500;line-height:1.8;}

/* Quick stats in hero panel */
.hero-stats{display:grid;grid-template-columns:repeat(3,1fr);gap:.75rem;margin-top:1rem;}
.hero-stat{background:var(--brand-blue);border-radius:8px;padding:.85rem 1rem;text-align:center;}
.hero-stat .hs-num{font-family:var(--display);font-size:1.4rem;font-weight:700;color:#fff;line-height:1;}
.hero-stat .hs-label{font-size:.72rem;color:rgba(255,255,255,.8);text-transform:uppercase;letter-spacing:.1em;margin-top:.25rem;font-weight:500;}

/* OVERVIEW GRID */
.overview-grid{display:grid;grid-template-columns:1fr 1fr;gap:clamp(2rem,5vw,4rem);align-items:start;}
.overview-content h2{margin-bottom:1.2rem;}
.overview-content p{margin-bottom:1rem;font-size:1rem;line-height:1.65;}
.overview-content p:last-child{margin-bottom:0;}
.overview-sidebar{display:flex;flex-direction:column;gap:1rem;}

/* STAT CARDS */
.stat-card{background:var(--paper);border:1px solid var(--rule);border-left:4px solid var(--brand-green);border-radius:6px;padding:1.1rem 1.25rem;}
.stat-card .sc-num{font-family:var(--display);font-size:1.75rem;font-weight:700;color:var(--brand-blue);line-height:1;}
.stat-card .sc-label{font-size:.82rem;color:var(--ink-3);margin-top:.25rem;}
.stat-card .sc-desc{font-size:.88rem;color:var(--ink-2);margin-top:.4rem;line-height:1.45;}

/* WHO NEEDS IT */
.candidacy-grid{display:grid;grid-template-columns:1fr 1fr;gap:1.5rem;}
.candidacy-card{background:var(--paper);border:1px solid var(--rule);border-radius:8px;padding:1.5rem;}
.candidacy-card.yes{border-top:3px solid var(--brand-green);}
.candidacy-card.no{border-top:3px solid #E53E3E;}
.candidacy-card h4{margin-bottom:.85rem;display:flex;align-items:center;gap:.5rem;}
.candidacy-card h4 .tag-yes{background:var(--brand-green);color:#fff;font-size:.68rem;padding:.2rem .55rem;border-radius:999px;font-weight:700;letter-spacing:.05em;}
.candidacy-card h4 .tag-no{background:#E53E3E;color:#fff;font-size:.68rem;padding:.2rem .55rem;border-radius:999px;font-weight:700;letter-spacing:.05em;}
.candidacy-card ul{list-style:none;}
.candidacy-card li{font-size:.92rem;color:var(--ink-3);padding:.4rem 0;border-bottom:1px solid var(--rule);display:flex;align-items:flex-start;gap:.6rem;line-height:1.45;}
.candidacy-card li:last-child{border-bottom:0;}
.candidacy-card li .icon{flex-shrink:0;margin-top:2px;}

/* PROCEDURE STEPS */
.steps{display:flex;flex-direction:column;gap:0;}
.step{display:grid;grid-template-columns:auto 1fr;gap:1.25rem;padding:1.5rem 0;border-bottom:1px solid var(--rule);}
.step:last-child{border-bottom:0;}
.step-num{width:44px;height:44px;background:var(--brand-blue);color:#fff;border-radius:50%;display:flex;align-items:center;justify-content:center;font-family:var(--display);font-size:1rem;font-weight:700;flex-shrink:0;}
.step-body h4{margin-bottom:.4rem;font-size:1rem;}
.step-body p{font-size:.92rem;color:var(--ink-3);line-height:1.55;}

/* BENEFITS GRID */
.benefits-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:1.25rem;}
.benefit-card{background:var(--paper);border:1px solid var(--rule);border-radius:8px;padding:1.5rem;transition:transform .25s,box-shadow .25s,border-color .25s;}
.benefit-card:hover{transform:translateY(-3px);box-shadow:0 16px 32px -12px rgba(6,114,186,.14);border-color:var(--brand-blue-soft);}
.benefit-card .bc-icon{width:44px;height:44px;background:var(--brand-blue-soft);border-radius:8px;display:flex;align-items:center;justify-content:center;color:var(--brand-blue);margin-bottom:1rem;}
.benefit-card .bc-icon svg{width:22px;height:22px;stroke-width:1.75;}
.benefit-card h4{margin-bottom:.5rem;}
.benefit-card p{font-size:.9rem;line-height:1.55;}

/* RECOVERY TIMELINE */
.timeline{display:flex;flex-direction:column;gap:0;position:relative;}
.timeline::before{content:'';position:absolute;left:21px;top:0;bottom:0;width:2px;background:var(--brand-blue-soft);}
.tl-item{display:grid;grid-template-columns:44px 1fr;gap:1.25rem;padding-bottom:2rem;position:relative;}
.tl-item:last-child{padding-bottom:0;}
.tl-dot{width:44px;height:44px;border-radius:50%;background:#fff;border:3px solid var(--brand-blue);display:flex;align-items:center;justify-content:center;color:var(--brand-blue);font-weight:700;font-size:.78rem;position:relative;z-index:1;flex-shrink:0;}
.tl-dot.green{border-color:var(--brand-green);color:var(--brand-green);}
.tl-content{padding-top:.5rem;}
.tl-content h4{font-size:.95rem;margin-bottom:.3rem;color:var(--ink);}
.tl-content p{font-size:.88rem;color:var(--ink-3);line-height:1.5;}

/* COST SECTION */
.cost-block{background:var(--brand-blue);color:#fff;border-radius:10px;padding:2rem 2.5rem;display:flex;align-items:center;justify-content:space-between;gap:2rem;flex-wrap:wrap;}
.cost-block h3{color:#fff;margin-bottom:.5rem;}
.cost-block p{color:rgba(255,255,255,.85);font-size:.95rem;max-width:38rem;line-height:1.55;}
.cost-range{text-align:right;flex-shrink:0;}
.cost-range .cr-label{font-size:.75rem;text-transform:uppercase;letter-spacing:.14em;color:rgba(255,255,255,.75);font-weight:600;margin-bottom:.25rem;}
.cost-range .cr-value{font-family:var(--display);font-size:2rem;font-weight:700;color:#fff;line-height:1;}
.cost-range .cr-note{font-size:.78rem;color:rgba(255,255,255,.7);margin-top:.25rem;}

/* FAQ */
.faq-wrap{max-width:880px;}
.faq-item{border-bottom:1px solid var(--rule);padding:1.25rem 0;}
.faq-item summary{cursor:pointer;list-style:none;font-family:var(--body);font-size:1.05rem;font-weight:700;color:var(--ink);display:flex;justify-content:space-between;align-items:center;gap:1rem;padding-right:.5rem;transition:color .18s;}
.faq-item summary:hover{color:var(--brand-blue);}
.faq-item summary::-webkit-details-marker{display:none;}
.faq-item summary::after{content:'+';font-size:1.5rem;font-weight:300;color:var(--brand-green);transition:transform .25s;width:24px;height:24px;display:flex;align-items:center;justify-content:center;flex-shrink:0;}
.faq-item[open] summary::after{transform:rotate(45deg);}
.faq-item .faq-body{padding-top:1rem;color:var(--ink-3);font-size:.98rem;line-height:1.65;max-width:70ch;}

/* RELATED PROCEDURES */
.related-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:1rem;}
.related-card{background:var(--paper);border:1px solid var(--rule);border-radius:8px;padding:1.25rem;display:flex;flex-direction:column;gap:.6rem;transition:all .25s;text-decoration:none;}
.related-card:hover{transform:translateY(-3px);border-color:var(--brand-blue-soft);box-shadow:0 14px 28px -10px rgba(6,114,186,.12);}
.related-card .rc-icon{width:38px;height:38px;background:var(--brand-blue-soft);border-radius:8px;display:flex;align-items:center;justify-content:center;color:var(--brand-blue);}
.related-card .rc-icon svg{width:18px;height:18px;stroke-width:1.75;}
.related-card h4{font-size:.95rem;color:var(--ink);}
.related-card p{font-size:.82rem;color:var(--ink-3);line-height:1.45;flex:1;}
.related-card .rc-link{font-size:.82rem;font-weight:700;color:var(--brand-green-deep);display:inline-flex;align-items:center;gap:.3rem;margin-top:.25rem;}
.related-card .rc-link svg{transition:transform .2s;}
.related-card:hover .rc-link svg{transform:translateX(3px);}

/* CTA / CONTACT SECTION */
.cta-section{background:var(--bg-soft);}
.cta-grid{display:grid;grid-template-columns:1fr 1fr;gap:clamp(2rem,5vw,4rem);align-items:start;}
.contact-info h2{margin-bottom:.75rem;}
.contact-info>p{font-size:1rem;margin-bottom:1.75rem;color:var(--ink-3);}
.doctor-identity{display:flex;align-items:center;gap:1.25rem;padding:1.25rem 1.5rem;background:var(--brand-blue);border-radius:8px;margin-bottom:1.75rem;}
.doc-id-avatar{width:68px;height:68px;border-radius:50%;background:rgba(255,255,255,.15);border:2px solid rgba(255,255,255,.3);display:flex;align-items:center;justify-content:center;flex-shrink:0;overflow:hidden;}
.doc-id-avatar img{width:100%;height:100%;object-fit:cover;}
.doc-avatar-initials{font-family:var(--body);font-weight:700;font-size:1.35rem;color:#fff;}
.doc-id-name{font-family:var(--body);font-size:1.05rem;font-weight:700;color:#fff;margin-bottom:.2rem;}
.doc-id-title{font-size:.82rem;color:rgba(255,255,255,.85);margin-bottom:.5rem;line-height:1.4;}
.doc-id-badges{display:flex;flex-wrap:wrap;gap:.3rem;}
.doc-id-badge{font-size:.68rem;font-weight:700;background:rgba(255,255,255,.15);border:1px solid rgba(255,255,255,.25);color:#fff;padding:.2rem .55rem;border-radius:999px;letter-spacing:.04em;}
.doc-id-badge.green-badge{background:var(--brand-green);border-color:var(--brand-green);}
.contact-block{margin-bottom:1.5rem;}
.cb-label{font-size:.74rem;text-transform:uppercase;letter-spacing:.14em;color:var(--brand-green-deep);font-weight:700;margin-bottom:.4rem;display:flex;align-items:center;gap:.5rem;}
.cb-value{font-family:var(--body);font-size:1.1rem;color:var(--ink);font-weight:700;line-height:1.4;}
.cb-sub{font-size:.88rem;color:var(--ink-3);margin-top:.25rem;}
.contact-block a{color:inherit;transition:color .18s;}
.contact-block a:hover{color:var(--brand-blue);}

/* BOOK FORM */
.book-form{background:var(--paper);border:1px solid var(--rule);border-radius:8px;padding:clamp(1.75rem,3vw,2.25rem);box-shadow:0 18px 40px -20px rgba(6,114,186,.14);}
.book-form h3{margin-bottom:.4rem;}
.bf-sub{color:var(--ink-3);font-size:.9rem;margin-bottom:1.35rem;}
.form-field{margin-bottom:.9rem;}
.form-field label{display:block;font-size:.75rem;font-weight:700;color:var(--ink-2);margin-bottom:.3rem;letter-spacing:.02em;text-transform:uppercase;}
.form-field input,.form-field select,.form-field textarea{width:100%;padding:.8rem 1rem;border:1px solid var(--rule-strong);background:var(--bg);border-radius:6px;font-family:var(--body);font-size:.95rem;color:var(--ink);transition:border-color .18s,background .18s;}
.form-field input:focus,.form-field select:focus,.form-field textarea:focus{outline:0;border-color:var(--brand-blue);background:#fff;box-shadow:0 0 0 3px rgba(6,114,186,.1);}
.form-cta{margin-top:1.25rem;width:100%;justify-content:center;}

/* CTA CREDENTIALS CARD */
.cta-credentials{margin-top:1.1rem;border:1px solid var(--brand-blue-soft);border-radius:8px;padding:1rem 1.2rem;background:var(--bg-soft);display:flex;align-items:center;gap:.9rem;}
.cta-cred-avatar{width:48px;height:48px;border-radius:50%;background:var(--brand-blue);display:flex;align-items:center;justify-content:center;flex-shrink:0;overflow:hidden;}
.cta-cred-avatar img{width:100%;height:100%;object-fit:cover;}
.cta-avatar-initials{font-family:var(--body);font-weight:700;font-size:1rem;color:#fff;}
.cta-cred-name{font-family:var(--body);font-size:.92rem;font-weight:700;color:var(--ink);margin-bottom:.22rem;}
.cta-cred-quals{display:flex;flex-wrap:wrap;gap:.25rem;margin-bottom:.3rem;}
.cta-cred-qual{font-size:.66rem;font-weight:700;background:var(--brand-blue);color:#fff;padding:.15rem .5rem;border-radius:999px;letter-spacing:.04em;}
.cta-cred-qual.green{background:var(--brand-green);}
.cta-cred-meta{font-size:.76rem;color:var(--ink-3);display:flex;flex-wrap:wrap;gap:.25rem .65rem;align-items:center;}
.cta-cred-rating{display:inline-flex;align-items:center;gap:.22rem;font-size:.76rem;font-weight:700;color:var(--brand-green-deep);}

/* TESTIMONIALS */
.testimonials-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:1.25rem;}
.testimonial{background:var(--paper);border:1px solid var(--rule);border-radius:8px;padding:1.75rem;display:flex;flex-direction:column;gap:1.1rem;}
.quote-mark{font-family:var(--body);font-size:3rem;line-height:.8;color:var(--brand-green);opacity:.3;font-weight:700;}
.testimonial p{font-family:var(--body);font-size:1rem;line-height:1.6;color:var(--ink-2);font-style:italic;flex:1;}
.t-attr{display:flex;align-items:center;gap:.75rem;padding-top:1rem;border-top:1px solid var(--rule);}
.t-init{width:38px;height:38px;background:var(--brand-blue);color:#fff;border-radius:50%;display:flex;align-items:center;justify-content:center;font-weight:700;font-size:.9rem;flex-shrink:0;}
.t-name{font-weight:700;color:var(--ink);font-size:.92rem;}
.t-meta{font-size:.78rem;color:var(--muted);}
.stars{color:var(--brand-green);font-size:.82rem;margin-left:auto;}

/* FOOTER */
footer{background:var(--brand-blue);color:rgba(255,255,255,.82);padding:4rem 0 1.5rem;margin-top:4rem;}
.footer-grid{display:grid;grid-template-columns:1.4fr 1fr 1fr 1fr;gap:2.5rem;margin-bottom:3rem;}
.footer-brand .f-name{font-family:var(--body);font-size:1.4rem;color:#fff;font-weight:700;margin-bottom:.5rem;}
.footer-brand .f-tag{font-size:.88rem;color:rgba(255,255,255,.78);line-height:1.5;margin-bottom:1.5rem;max-width:28rem;}
.footer-brand address{font-style:normal;font-size:.88rem;line-height:1.55;color:rgba(255,255,255,.88);}
.footer-brand address strong{color:#fff;font-weight:700;display:block;margin-bottom:.2rem;}
.footer-col h4{color:#fff;font-family:var(--body);font-size:.78rem;text-transform:uppercase;letter-spacing:.14em;font-weight:700;margin-bottom:1rem;}
.footer-col ul{list-style:none;}
.footer-col li{margin-bottom:.55rem;}
.footer-col a{font-size:.9rem;color:rgba(255,255,255,.75);transition:color .18s;}
.footer-col a:hover{color:#fff;}
.footer-social{display:flex;gap:.6rem;margin-top:1.25rem;}
.footer-social a{width:36px;height:36px;display:inline-flex;align-items:center;justify-content:center;background:rgba(255,255,255,.1);border-radius:50%;transition:all .2s;}
.footer-social a:hover{background:var(--brand-green);}
.footer-social svg{width:16px;height:16px;fill:rgba(255,255,255,.9);}
.footer-bottom{border-top:1px solid rgba(255,255,255,.15);padding-top:1.5rem;display:flex;flex-wrap:wrap;justify-content:space-between;gap:1rem;font-size:.82rem;color:rgba(255,255,255,.6);}
.footer-bottom a{color:rgba(255,255,255,.78);}
.footer-bottom a:hover{color:#fff;}
.footer-disclaimer{margin-top:1.5rem;font-size:.78rem;color:rgba(255,255,255,.55);max-width:70ch;line-height:1.55;}
.sticky-whatsapp{position:fixed;bottom:1.5rem;right:1.5rem;z-index:99;background:var(--brand-green);color:#fff;width:60px;height:60px;border-radius:50%;display:flex;align-items:center;justify-content:center;box-shadow:0 8px 24px rgba(28,177,113,.45);transition:all .25s;text-decoration:none;animation:pulse 2.2s infinite;}
.sticky-whatsapp:hover{background:var(--brand-green-deep);transform:scale(1.06);}
.sticky-whatsapp svg{width:30px;height:30px;fill:#fff;}
.sticky-wa { position: fixed; bottom: 1.5rem; right: 1.5rem; z-index: 99; background: var(--brand-green); width: 60px; height: 60px; border-radius: 50%; display: flex; align-items: center; justify-content: center; box-shadow: 0 8px 24px rgba(28,177,113,.45); text-decoration: none; animation: pulse 2.2s infinite; }
.sticky-wa:hover { background: var(--brand-green-deep); transform: scale(1.06); }
.sticky-wa svg { width: 30px; height: 30px; fill: #fff; }
@keyframes pulse { 0%,100%{ box-shadow:0 8px 24px rgba(28,177,113,.45),0 0 0 0 rgba(28,177,113,.55); } 50%{ box-shadow:0 8px 24px rgba(28,177,113,.45),0 0 0 14px rgba(28,177,113,0); } }

/* RESPONSIVE */
@media(max-width:1024px){
  .benefits-grid{grid-template-columns:repeat(2,1fr);}
  .related-grid{grid-template-columns:repeat(2,1fr);}
}
@media(max-width:860px){
  .nav-links{display:none;}
  .mobile-toggle{display:block;}
  .nav-links.is-open{display:flex;flex-direction:column;position:absolute;top:100%;left:0;right:0;background:var(--bg);border-bottom:1px solid var(--rule);padding:1.5rem var(--pad-x);gap:1.25rem;align-items:flex-start;}
  .nav-links.is-open a{font-size:1rem;padding:.4rem 0;}
  .nav-links.is-open .btn-nav-cta{width:100%;justify-content:center;}
  .hero-inner{grid-template-columns:1fr;}
  .hero-panel{max-width:400px;margin:0 auto;order:-1;}
  .hero-stats{grid-template-columns:repeat(3,1fr);}
  .overview-grid{grid-template-columns:1fr;}
  .candidacy-grid{grid-template-columns:1fr;}
  .benefits-grid{grid-template-columns:1fr;}
  .related-grid{grid-template-columns:repeat(2,1fr);}
  .cta-grid{grid-template-columns:1fr;}
  .doctor-identity{flex-direction:column;align-items:flex-start;gap:.85rem;padding:1rem 1.1rem;}
  .testimonials-grid{grid-template-columns:1fr;}
  .footer-grid{grid-template-columns:1fr 1fr;gap:2rem;}
  .footer-brand{grid-column:span 2;}
  .cta-credentials{flex-direction:column;align-items:flex-start;gap:.75rem;}
  .cost-block{flex-direction:column;}
  .cost-range{text-align:left;}
}
@media(max-width:560px){
  h1{font-size:1.9rem;}
  .cta-row{flex-direction:column;align-items:stretch;}
  .cta-row .btn { display: inline-flex; align-items: center; gap: .55rem; padding: .9rem 1.6rem; border-radius: 999px; font-size: .95rem; font-weight: 600; font-family: var(--body); border: 0; cursor: pointer; text-decoration: none; transition: all .22s ease; }
.btn-primary { background: var(--brand-green); color: #fff; box-shadow: 0 4px 14px rgba(28,177,113,.3); }
.btn-primary:hover { background: var(--brand-green-deep); transform: translateY(-2px); }
.btn-submit { width: 100%; justify-content: center; font-size: 1rem; padding: 1rem 1.5rem; }
  .footer-grid{grid-template-columns:1fr;}
  .footer-brand{grid-column:span 1;}
  .hero-stats{grid-template-columns:1fr 1fr;}
  .related-grid{grid-template-columns:1fr;}
  .benefits-grid{grid-template-columns:1fr;}
}
@media print{.sticky-whatsapp,.utility-bar,.nav-wrap,.book-form{display:none;}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important;scroll-behavior:auto!important;}}
