/*
Theme Name: COLT PRO 2026
Template: medical-pro
Version: 5.0.0
Description: COLT redesign preserving existing WordPress content and service data.
*/
:root{--g:#174b35;--g2:#285f45;--cream:#f5f0e4;--paper:#fffdf8;--gold:#b88b3f;--ink:#26332c;--muted:#68736d;--line:#ded9cc;--shadow:0 22px 60px rgba(35,50,41,.10)}
html{scroll-behavior:smooth}body{margin:0!important;background:var(--paper)!important;color:var(--ink)!important;font-family:Arial,sans-serif!important;line-height:1.65!important}a{text-decoration:none!important}h1,h2,h3,h4,h5,h6{font-family:Georgia,'Times New Roman',serif!important;color:var(--g)!important}.container{max-width:1180px!important}.colt-header{position:sticky;top:0;z-index:9999;background:rgba(255,253,248,.97);border-bottom:1px solid #ece7dc;backdrop-filter:blur(12px)}.colt-nav{height:88px;max-width:1220px;margin:auto;padding:0 28px;display:flex;align-items:center;gap:28px}.colt-logo{margin-right:auto}.colt-logo img{width:68px;height:68px;object-fit:contain}.colt-menu{display:flex;gap:28px;align-items:center}.colt-menu a{font-size:13px;font-weight:700;color:#26332c!important}.colt-menu a:hover{color:var(--gold)!important}.colt-lang ul{display:flex!important;gap:8px!important;list-style:none!important;margin:0!important;padding:0!important}.colt-lang img{width:22px!important;height:auto!important}.colt-contact,.colt-hero-actions a{background:var(--g);color:white!important;border-radius:4px;padding:13px 20px;font-size:12px;font-weight:800;text-transform:uppercase;letter-spacing:.04em}.colt-toggle{display:none;background:none;border:0}.colt-toggle span{display:block;width:24px;height:2px;background:var(--g);margin:5px}
.colt-hero{max-width:1220px;min-height:520px;margin:0 auto 38px;display:grid;grid-template-columns:44% 56%;background:var(--cream);overflow:hidden}.colt-hero-copy{padding:72px 64px;display:flex;flex-direction:column;justify-content:center;align-items:flex-start}.colt-hero-copy>img{width:92px;margin-bottom:26px}.colt-hero h1{font-size:clamp(48px,5vw,76px)!important;line-height:1.02!important;margin:0 0 34px!important;max-width:520px}.colt-hero-image{overflow:hidden}.colt-hero-image img{width:100%;height:100%;object-fit:cover;transform:scale(1.04)}.colt-hero-actions{display:flex;gap:12px}.colt-hero-actions a.outline{background:transparent;color:var(--g)!important;border:1px solid var(--g)}
/* neutralise old section zebra and excessive chrome */.vc_row{margin-left:0!important;margin-right:0!important}.vc_row:not(.vc_inner){padding:68px 0!important;background:var(--paper)!important}.vc_row:nth-child(even){background:var(--cream)!important}.vc_row>.vc_column_container>.vc_column-inner{padding-left:22px!important;padding-right:22px!important}.titleRow{text-align:center;margin:0 auto 42px!important}.titleRow h5,.colt-section-head>div{text-transform:uppercase;letter-spacing:.19em;font:700 12px Arial,sans-serif!important;color:var(--gold)!important}.titleRow h2,.colt-section-head h2{font-size:clamp(38px,4vw,58px)!important;line-height:1.05!important;margin:8px 0 0!important}.vc_column_text{font-size:16px!important;color:#3f4944!important}.wpb_single_image img{border-radius:8px!important;box-shadow:var(--shadow)!important}
/* services rebuilt */.colt-services{max-width:1180px;margin:auto}.colt-section-head{text-align:center;margin-bottom:42px}.colt-service-tabs{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;margin-bottom:46px}.colt-service-tab{min-height:118px;border:1px solid #ddd8cc;background:#fffdf8;padding:22px 14px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:13px;cursor:pointer;color:var(--g)}.colt-service-tab strong{font-size:13px;text-transform:uppercase;letter-spacing:.03em}.colt-seed-dot{width:38px;height:38px;border-radius:50%;display:block;background:radial-gradient(circle at 40% 40%,#80613a 0 27%,#a9834d 28% 48%,#d7c59d 49% 55%,var(--g) 56% 100%)}.colt-service-tab.active{background:var(--g);border-color:var(--g);color:#fff}.colt-service-tab.active .colt-seed-dot{box-shadow:0 0 0 5px rgba(255,255,255,.18)}.colt-service-panel{display:none;grid-template-columns:1.05fr .95fr;gap:58px;align-items:center}.colt-service-panel.active{display:grid}.colt-service-photo img{width:100%;max-height:390px;object-fit:cover;border-radius:8px;box-shadow:var(--shadow)}.colt-service-copy h3{font-size:38px!important;margin:0 0 8px!important}.colt-service-copy h4{font-size:18px!important;margin:0 0 20px!important;color:#3b493f!important}.colt-service-text{font-size:16px;color:#47534d}
/* old Medical Pro service component hidden only if v4 shortcode present */.colt-services .service_tab{display:none!important}
/* content pages */.serviceDetailsSection,.single-service .contentRow,.page .contentRow{max-width:1180px;margin:auto}.serviceDetailsSection h1,.serviceDetailsSection h2,.serviceDetailsSection h3{color:var(--g)!important}.other_services,.serviceDetailsSection .sidebar{border-radius:6px;overflow:hidden}.other_services .services_list li a{background:#fff!important;border-bottom:1px solid var(--line)!important;color:#455149!important}.other_services .services_list li a:hover{background:var(--cream)!important;color:var(--g)!important}
/* tables */table{width:100%!important;border-collapse:separate!important;border-spacing:0!important;background:#fff!important;border:1px solid var(--line)!important;border-radius:10px!important;overflow:hidden!important}table th,table td{padding:14px 16px!important;border:0!important;border-bottom:1px solid #e8e3d9!important}table tr:last-child td{border-bottom:0!important}table th,table tr:first-child td{font-weight:700}
/* forms */.wpcf7 input:not([type=submit]),.wpcf7 textarea{width:100%;border:1px solid #d8d3c8!important;background:#fff!important;border-radius:5px!important;padding:14px!important}.wpcf7 input[type=submit]{background:var(--g)!important;color:#fff!important;border:0!important;padding:14px 24px!important;font-weight:700!important}.contact_address{background:var(--cream)!important;padding:28px!important;border-radius:8px!important}
.colt-footer{background:#123c2b;color:#dce7df;padding:54px 24px 22px}.colt-footer-inner{max-width:1180px;margin:auto;display:grid;grid-template-columns:1.4fr 1fr 1fr;gap:60px}.colt-footer img{width:78px;filter:brightness(0) invert(1)}.colt-footer h4{font:700 13px Arial,sans-serif!important;color:#fff!important;text-transform:uppercase;letter-spacing:.12em}.colt-footer a{color:#fff!important}.colt-copy{max-width:1180px;margin:35px auto 0;padding-top:18px;border-top:1px solid rgba(255,255,255,.15);font-size:12px;color:#aabbb1}
@media(max-width:900px){.colt-nav{height:72px;padding:0 18px}.colt-logo img{width:52px;height:52px}.colt-toggle{display:block}.colt-menu{display:none;position:absolute;top:72px;left:0;right:0;background:var(--paper);padding:18px;flex-direction:column;align-items:flex-start;border-bottom:1px solid var(--line)}.colt-menu.open{display:flex}.colt-contact{display:none}.colt-lang{margin-left:auto}.colt-hero{display:block;min-height:0}.colt-hero-copy{padding:48px 28px}.colt-hero h1{font-size:44px!important}.colt-hero-image{height:300px}.colt-service-tabs{grid-template-columns:1fr 1fr}.colt-service-panel,.colt-service-panel.active{grid-template-columns:1fr;gap:28px}.vc_row:not(.vc_inner){padding:44px 0!important}.colt-footer-inner{grid-template-columns:1fr}}
@media(max-width:560px){.colt-service-tabs{grid-template-columns:1fr}.colt-hero-actions{flex-wrap:wrap}}

/* === COLT 5.0 layout rebuild: normal document flow, no Customizer CSS required === */
body.home .sd-full-width,
body.home .sd-full-width.clearfix,
body.home .wpb-content-wrapper{
  height:auto !important;
  min-height:0 !important;
  overflow:visible !important;
}
body.home .sd-full-width:before,
body.home .sd-full-width:after,
body.home .vc_row:before,
body.home .vc_row:after,
body.home .wpb_wrapper:before,
body.home .wpb_wrapper:after{content:"";display:table;clear:both}

/* Every homepage section participates in normal vertical flow. */
body.home .sd-full-width > .vc_row,
body.home .wpb-content-wrapper > .vc_row{
  position:relative !important;
  top:auto !important;
  right:auto !important;
  bottom:auto !important;
  left:auto !important;
  float:none !important;
  clear:both !important;
  height:auto !important;
  min-height:0 !important;
  margin-top:0 !important;
  margin-bottom:0 !important;
  transform:none !important;
}
body.home .vc_row:not(.vc_inner){padding:52px 0 !important}
body.home .vc_row:first-child:not(.vc_inner){padding-top:28px !important}

/* HERO -> About: intentionally compact transition. */
body.home .colt-hero{height:auto !important;min-height:0 !important;margin:0 auto !important}
body.home .colt-hero-copy{min-height:500px;box-sizing:border-box}
body.home #colt-about{padding-top:44px !important}
body.home #colt-about .titleRow{margin-top:0 !important;margin-bottom:34px !important}

/* Services: reserve its real content height; next heading starts below it. */
body.home #colt-services{display:block !important;height:auto !important;min-height:0 !important;margin:0 auto !important;padding:0 !important;overflow:visible !important}
body.home #colt-services:after{content:"";display:block;clear:both}
body.home .colt-service-panels{display:block !important;position:relative !important;height:auto !important;min-height:0 !important;overflow:visible !important}
body.home .colt-service-panel,
body.home .colt-service-panel.active{position:relative !important;top:auto !important;left:auto !important;right:auto !important;bottom:auto !important;float:none !important;height:auto !important;min-height:0 !important;margin:0 !important}
body.home .colt-service-panel.active{display:grid !important}
body.home .colt-service-panel:not(.active){display:none !important}
body.home #colt-services + *{clear:both !important;margin-top:0 !important}

/* Never allow the following section title to climb over service photo/copy. */
body.home .colt-services ~ .titleRow,
body.home #colt-services ~ .titleRow{position:relative !important;top:auto !important;transform:none !important}

@media (min-width:901px){
  body.home .colt-hero{grid-template-columns:44% 56%;}
  body.home .colt-hero-image{min-height:500px}
}
@media (max-width:900px){
  body.home .colt-hero-copy{min-height:0}
  body.home #colt-about{padding-top:28px !important}
  body.home .vc_row:not(.vc_inner){padding:36px 0 !important}
}
