/*
Theme Name: Sapphire Clinic
Theme URI: https://www.sapphirehairclinic.com
Author: Sapphire Hair Clinic
Description: Sapphire Hair Clinic 2026 redesign. Drop-in replacement for the previous theme: it reads the existing page fields (mrd_page_meta, post gallery/fact fields, video-content) and keeps the same page-template file names, so existing content, languages and SEO data keep working.
Version: 1.0.13
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: sapphire
*/
@font-face{font-family:'Poppins';font-style:normal;font-weight:400;font-display:swap;src:url(assets/fonts/poppins-400.woff2) format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:'Poppins';font-style:normal;font-weight:400;font-display:swap;src:url(assets/fonts/poppins-400-ext.woff2) format('woff2');unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C4,U+2113,U+2C60-2C7F,U+A720-A7FF}
@font-face{font-family:'Poppins';font-style:normal;font-weight:600;font-display:swap;src:url(assets/fonts/poppins-600.woff2) format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:'Poppins';font-style:normal;font-weight:700;font-display:swap;src:url(assets/fonts/poppins-700.woff2) format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:'Poppins';font-style:normal;font-weight:800;font-display:swap;src:url(assets/fonts/poppins-800.woff2) format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:'Poppins';font-style:normal;font-weight:800;font-display:swap;src:url(assets/fonts/poppins-800-ext.woff2) format('woff2');unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C4,U+2113,U+2C60-2C7F,U+A720-A7FF}
*,*::before,*::after{box-sizing:border-box}
html{-webkit-text-size-adjust:100%;scroll-behavior:smooth}
body{margin:0;background:#fff;font-family:'Poppins','Montserrat',system-ui,-apple-system,'Segoe UI',sans-serif;color:#1A396D;font-size:16px;line-height:1.5}
img,video,iframe{max-width:100%}img{height:auto}
a{color:#204686}a:hover{color:#1A396D}
h1,h2,h3,h4,p{margin:0}
h1,h2,h3,h4{overflow-wrap:break-word}
.grid>*,.split>*,.col>*{min-width:0}
.screen-reader-text{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
.skip:focus{position:fixed;left:12px;top:12px;z-index:999;background:#fff;padding:10px 16px;border-radius:8px;width:auto;height:auto;clip:auto}
.wrap{max-width:1240px;margin:0 auto;padding:0 32px}
.col{display:flex;flex-direction:column}.row{display:flex;flex-wrap:wrap}
.g8{gap:8px}.g12{gap:12px}.g14{gap:14px}.g16{gap:16px}.g20{gap:20px}.g24{gap:24px}.g32{gap:32px}.g40{gap:40px}.g48{gap:48px}.g56{gap:56px}
.between{justify-content:space-between}.center{align-items:center}.end{align-items:flex-end}
.sec{padding:96px 0}.sec-xl{padding:112px 0}.sec-sm{padding:56px 0}.sec-hero{padding:56px 0 88px}.sec-b{padding:0 0 96px}
.bg-soft{background:#F0F5F6}.bg-navy{background:#1A396D;color:#fff}.bg-blue{background:#204686;color:#fff}
.muted{color:#4A5670}.on-navy{color:#C7D2EC}.gold{color:#726542}.gold-l{color:#CDBE94}
.h1{font-size:clamp(36px,4.6vw,60px);line-height:1.06;font-weight:800;letter-spacing:-.035em}
.h1-xl{font-size:clamp(38px,5vw,68px);line-height:1.04;font-weight:800;letter-spacing:-.035em}
.h2{font-size:clamp(28px,3.5vw,46px);line-height:1.1;font-weight:800;letter-spacing:-.02em}
.h2-s{font-size:clamp(26px,2.6vw,32px);font-weight:800;letter-spacing:-.02em;line-height:1.15}
.h3{font-size:20px;font-weight:800;line-height:1.25}
.lead{font-size:18px;line-height:1.6;color:#3D4A66}
.eyebrow{font-size:13px;font-weight:700;letter-spacing:.14em;text-transform:uppercase;color:#726542;margin:0}
.eyebrow.gold-l{color:#CDBE94}
.btn,.btn-o,.btn-w,.btn-ow{display:inline-flex;align-items:center;justify-content:center;gap:10px;min-height:52px;padding:0 26px;border-radius:999px;font-weight:700;font-size:16px;text-decoration:none;font-family:inherit;cursor:pointer;border:1.5px solid transparent;text-align:center}
.btn{background:#204686;color:#fff}.btn:hover{background:#1A396D;color:#fff}
.btn-o{border-color:#1A396D;color:#1A396D;background:transparent}.btn-o:hover{background:#1A396D;color:#fff}
.btn-w{background:#fff;color:#1A396D}.btn-w:hover{background:#F0F5F6;color:#1A396D}
.btn-ow{border-color:#fff;color:#fff;background:transparent}.btn-ow:hover{background:#fff;color:#1A396D}
.btn-sm{min-height:46px;padding:0 20px;font-size:15px}
.btn,.btn-o,.btn-w,.btn-ow{white-space:nowrap}
@media (max-width:480px){.btn,.btn-o,.btn-w,.btn-ow{white-space:normal}}
.ph{background-color:#E4ECEF;background-image:repeating-linear-gradient(135deg,rgba(32,70,134,.07) 0 2px,transparent 2px 14px);display:flex;align-items:flex-end;padding:16px;color:#33436A;font-size:13px;font-weight:600}
.media{display:block;width:100%;object-fit:cover;background:#E4ECEF}
.dia{width:12px;height:12px;background:#204686;transform:rotate(45deg);margin-left:3px;flex-shrink:0;display:inline-block}
.dia-g{background:#726542}
.grid{display:grid;gap:20px}
.ga-200{grid-template-columns:repeat(auto-fit,minmax(200px,1fr))}
.ga-240{grid-template-columns:repeat(auto-fit,minmax(240px,1fr))}
.ga-260{grid-template-columns:repeat(auto-fit,minmax(260px,1fr))}
.ga-280{grid-template-columns:repeat(auto-fit,minmax(280px,1fr))}
.ga-300{grid-template-columns:repeat(auto-fill,minmax(min(100%,300px),1fr))}
.split{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,440px),1fr));gap:56px;align-items:center}
.card{border:1px solid #DCE3F0;border-radius:24px;padding:28px;display:flex;flex-direction:column;gap:14px;background:#fff}
.card-soft{background:#F0F5F6;border-color:#F0F5F6}
a.card{text-decoration:none;color:#1A396D}a.card:hover{border-color:#204686;color:#1A396D}
.card p{color:#4A5670;font-size:15px;line-height:1.55}
.crumbs{font-size:14px;color:#4A5670;display:flex;gap:8px;flex-wrap:wrap}.crumbs a{color:inherit;text-decoration:none}.crumbs a:hover{text-decoration:underline}.crumbs .cur{color:#1A396D;font-weight:600}
.bg-navy .crumbs{color:#9FB0D6}.bg-navy .crumbs .cur{color:#fff}
.stat b{font-size:48px;font-weight:800;letter-spacing:-.03em;line-height:1.1;display:block}.stat span{color:#B9C6E4;font-size:15px}
.chip{border:1px solid #2F4E85;border-radius:16px;padding:16px;display:flex;flex-direction:column;gap:4px}
.chip small{font-size:12px;color:#9FB0D6;font-weight:700;letter-spacing:.08em;text-transform:uppercase}.chip b{font-weight:800}
.chips{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:12px;max-width:640px}
.chip-l{border-color:#DCE3F0;background:#fff}.chip-l small{color:#4A5670}
.pill{border:1px solid #DCE3F0;border-radius:999px;padding:10px 16px;font-size:14px;font-weight:600;color:#1A396D;text-decoration:none;background:#fff}
.pill:hover,.pill.on{background:#1A396D;color:#fff;border-color:#1A396D}
.cta-band{border-radius:32px;padding:56px;display:flex;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:24px}
.price-row{display:flex;justify-content:space-between;gap:16px;padding:20px 28px;border-top:1px solid #DCE3F0;font-size:16px}
.price-row b{font-weight:700}
/* header */
.topbar{background:#1A396D;color:#fff;font-size:13px}
.topbar .wrap{max-width:1440px;padding-top:10px;padding-bottom:10px;display:flex;flex-wrap:wrap;justify-content:space-between;gap:10px 24px;align-items:center}
.topbar a{color:#C7D2EC;text-decoration:none}.topbar a:hover{color:#fff}
.site-head{background:#fff;border-bottom:1px solid #DCE3F0;position:relative;z-index:40}
.head-main{padding-top:16px;padding-bottom:16px;display:flex;align-items:center;justify-content:space-between;gap:16px 28px}
.brand{display:flex;align-items:center;gap:12px;text-decoration:none;color:#1A396D;flex-shrink:0}
.brand .mark{height:52px;width:auto}.brand .word{height:34px;width:auto}.brand .custom-logo{max-height:56px;width:auto}
.nav ul{list-style:none;margin:0;padding:0}
.nav>ul{display:flex;flex-wrap:wrap;gap:2px 20px;align-items:center;font-size:14.5px;font-weight:600}
.nav>ul>li{position:relative}
.nav>ul>li>a{display:block;color:#1A396D;text-decoration:none;padding:10px 0;border-bottom:2px solid transparent}
.nav>ul>li.current-menu-item>a,.nav>ul>li.current-menu-ancestor>a,.nav>ul>li.current-menu-parent>a,.nav>ul>li>a:hover{color:#204686;border-bottom-color:#204686}
.nav .sub-menu{display:none;position:absolute;left:-16px;top:100%;min-width:270px;background:#fff;border-radius:16px;box-shadow:0 18px 40px rgba(26,57,109,.18);padding:8px;z-index:60}
.nav li:hover>.sub-menu,.nav li:focus-within>.sub-menu{display:block}
.nav .sub-menu a{display:block;padding:10px 12px;border-radius:10px;color:#1A396D;text-decoration:none;font-weight:500;font-size:14px}
.nav .sub-menu a:hover{background:#F0F5F6}
.nav .sub-menu .sub-menu{position:static;display:block;box-shadow:none;padding:0 0 4px 12px;min-width:0}
.nav .sub-menu .sub-menu a{font-size:13px;color:#4A5670;padding:7px 12px}
.nav-toggle{display:none;width:46px;height:46px;border-radius:12px;border:1px solid #DCE3F0;background:#fff;color:#1A396D;cursor:pointer;align-items:center;justify-content:center}
.lang{position:relative}
.lang>button{display:flex;align-items:center;gap:8px;min-height:32px;padding:0 12px;border-radius:999px;border:1px solid #2F4E85;background:transparent;color:#fff;font-family:inherit;font-size:13px;font-weight:700;cursor:pointer}
.lang ul{display:none;position:absolute;right:0;top:40px;z-index:70;list-style:none;margin:0;padding:8px;width:220px;background:#fff;border-radius:16px;box-shadow:0 18px 40px rgba(26,57,109,.18)}
.lang.open ul{display:flex;flex-direction:column;gap:2px}
.lang li a{display:flex;justify-content:space-between;align-items:center;min-height:44px;padding:0 12px;border-radius:10px;color:#1A396D;text-decoration:none;font-weight:500;font-size:14px}
svg.flag{border-radius:3px;flex-shrink:0;box-shadow:0 0 0 1px rgba(26,57,109,.15)}
.lang li a small{font-size:12px;color:#4A5670}
.lang li a:hover,.lang li a[aria-current]{background:#F0F5F6;font-weight:700}
/* footer */
.site-foot{background:#1A396D;color:#fff}
.site-foot .wrap{padding-top:80px;padding-bottom:32px;display:flex;flex-direction:column;gap:56px}
.foot-col{display:flex;flex-direction:column;gap:12px;font-size:14px}
.foot-col .t{font-weight:800;font-size:15px;margin-bottom:6px}
.foot-col a,.foot-col li a{color:#B9C6E4;text-decoration:none}.foot-col a:hover{color:#fff}
.foot-col ul{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:12px}
.foot-bottom{border-top:1px solid #2F4E85;padding-top:24px;display:flex;flex-wrap:wrap;justify-content:space-between;gap:12px;font-size:13px;color:#9FB0D6}
.foot-bottom a{color:#9FB0D6;text-decoration:none}.foot-bottom span a{color:#fff;font-weight:600}.foot-bottom a:hover{color:#fff;text-decoration:underline}
.wa-float{position:fixed;right:18px;bottom:18px;z-index:80;min-width:60px;height:60px;padding:0 20px 0 15px;border-radius:999px;background:#128C4B;color:#fff;display:inline-flex;align-items:center;justify-content:center;gap:10px;font-weight:700;font-size:16px;text-decoration:none;box-shadow:0 12px 30px rgba(8,22,48,.3)}
.wa-float:hover{background:#0E743E;color:#fff}
.wa-float svg,.wa-float img{flex-shrink:0}
/* long-form content */
.body{font-size:17px;line-height:1.75;color:#33405C;min-width:0}
.body>*+*{margin-top:18px}
.body h2{font-size:clamp(24px,2.6vw,32px);font-weight:800;letter-spacing:-.02em;line-height:1.2;color:#1A396D;margin-top:44px}
.body h3{font-size:22px;font-weight:800;line-height:1.25;color:#1A396D;margin-top:32px}
.body h4{font-size:18px;font-weight:700;color:#1A396D;margin-top:24px}
.body h2:first-child,.body h3:first-child{margin-top:0}
.body h2:empty,.body p:empty{display:none}
.body ul,.body ol{padding-left:22px;margin:18px 0}.body li+li{margin-top:8px}
.body img{border-radius:20px}
.body a{font-weight:600}
.body table{width:100%;border-collapse:collapse;font-size:15px;display:block;overflow-x:auto}
.body th{background:#1A396D;color:#fff;text-align:left;padding:14px 18px}
.body td{padding:14px 18px;border-top:1px solid #DCE3F0}
.body blockquote{margin:24px 0;padding:20px 24px;border-left:3px solid #204686;background:#F0F5F6;border-radius:0 16px 16px 0}
.body iframe{width:100%;aspect-ratio:16/9;height:auto;border:0;border-radius:20px}
.body .gallery{display:grid;grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:14px;margin:0}
.body .gallery .gallery-item{margin:0;width:auto!important;float:none!important}
.body .gallery img{width:100%;border:0!important;border-radius:16px}
.body .gallery br{display:none}
.aligncenter{display:block;margin-left:auto;margin-right:auto}.alignleft{float:left;margin:6px 24px 12px 0}.alignright{float:right;margin:6px 0 12px 24px}
.wp-caption{max-width:100%}.wp-caption-text{font-size:13px;color:#4A5670}
.d-flex{display:flex}.justify-content-center{justify-content:center}.text-center{text-align:center}
.layout{display:flex;flex-wrap:wrap;gap:56px;align-items:flex-start}
.layout>aside{flex:1 1 260px;max-width:300px;display:flex;flex-direction:column;gap:24px;position:sticky;top:24px}
.layout>.main{flex:999 1 560px;min-width:0;display:flex;flex-direction:column;gap:64px}
.toc{display:flex;flex-direction:column;gap:4px;border-left:2px solid #DCE3F0;font-size:15px}
.toc .t{font-size:12px;font-weight:700;letter-spacing:.14em;color:#4A5670;padding:0 0 10px 18px;text-transform:uppercase}
.toc a{padding:8px 18px;margin-left:-2px;border-left:2px solid transparent;color:#1A396D;text-decoration:none}
.toc a:hover,.toc a.on{border-left-color:#204686;color:#204686;font-weight:700}
.acc{border-top:1px solid #DCE3F0}.acc:last-child{border-bottom:1px solid #DCE3F0}
.acc summary{list-style:none;cursor:pointer;padding:22px 0;display:flex;justify-content:space-between;gap:16px;font-size:18px;font-weight:700;color:#1A396D}
.acc summary::-webkit-details-marker{display:none}
.acc summary::after{content:'+';color:#204686;font-weight:700}.acc[open] summary::after{content:'−'}
.qa-box{border:1px solid #DCE3F0;border-radius:20px;padding:4px 26px;background:#fff}.qa-box .acc:first-child{border-top:0}.qa-box .acc:last-child{border-bottom:0}.qa-box .acc summary{font-size:17px;padding:20px 0}.qa-box .acc-b p{margin:0 0 10px}.qa-box .acc-b p:last-child{margin:0}
.hero-slogan{margin:0;color:#1A396D}
.acc .acc-b{padding:0 0 22px;color:#4A5670;line-height:1.6;font-size:16px}
.thumb{aspect-ratio:3/2;border-radius:20px;overflow:hidden;background:#E4ECEF}.thumb img{width:100%;height:100%;object-fit:cover;object-position:50% 25%;display:block}
.post-cover{height:auto;max-height:560px;object-fit:contain;border-radius:28px;background:#E4ECEF}
.home-hero{padding:72px 0 96px}
.post-card{display:flex;flex-direction:column;gap:14px;text-decoration:none;color:#1A396D}
.post-card:hover h3{color:#204686}.post-card p{color:#4A5670;font-size:15px;line-height:1.55}
.pager{display:flex;flex-wrap:wrap;gap:8px;justify-content:center}
.pager .page-numbers{min-width:44px;min-height:44px;display:inline-flex;align-items:center;justify-content:center;padding:0 12px;border-radius:999px;border:1px solid #DCE3F0;text-decoration:none;color:#1A396D;font-weight:600}
.pager .page-numbers.current,.pager .page-numbers:hover{background:#1A396D;color:#fff;border-color:#1A396D}
.ba-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(min(100%,300px),1fr));gap:24px}
.ba-grid img{width:100%;border-radius:18px;display:block}
.video-card{position:relative;display:block;border-radius:20px;overflow:hidden;aspect-ratio:16/9;background:#1A396D;cursor:pointer;border:0;padding:0;width:100%}
.video-card img{width:100%;height:100%;object-fit:cover;display:block;opacity:.9}
.video-card::after{content:'';position:absolute;left:50%;top:50%;width:64px;height:64px;margin:-32px 0 0 -32px;border-radius:999px;background:#fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23204686' d='M9 7l9 5-9 5z'/%3E%3C/svg%3E") center/28px no-repeat}
.video-card iframe{position:absolute;inset:0;width:100%;height:100%;border:0}
/* forms (theme form + Contact Form 7) */
.form-card{background:#fff;border-radius:30px;padding:40px;box-shadow:0 20px 50px rgba(26,57,109,.10);display:flex;flex-direction:column;gap:28px;color:#1A396D}
.sph-form label,.wpcf7 label{font-size:14px;font-weight:600;display:flex;flex-direction:column;gap:8px}
.sph-form input,.sph-form select,.sph-form textarea,.wpcf7 input:not([type=submit]):not([type=checkbox]):not([type=radio]),.wpcf7 select,.wpcf7 textarea{font-family:inherit;font-size:15px;min-height:50px;padding:0 16px;border:1px solid #CBD5DC;border-radius:14px;background:#fff;color:#1A396D;width:100%}
.sph-form textarea,.wpcf7 textarea{padding:14px 16px;min-height:110px}
.sph-form input:focus,.sph-form select:focus,.sph-form textarea:focus,.wpcf7 input:focus,.wpcf7 select:focus,.wpcf7 textarea:focus{outline:2px solid #204686;outline-offset:1px}
.wpcf7 form>*+*,.wpcf7 form .grid>*{margin-top:0}.wpcf7 form{display:flex;flex-direction:column;gap:14px}
.wpcf7 .grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:14px}
.wpcf7 .contact-phone-row{display:flex;gap:10px}.wpcf7 .contact-phone-row select{max-width:130px}
.wpcf7 input[type=submit],.sph-form button.primary{min-height:52px;padding:0 28px;border-radius:999px;border:0;background:#204686;color:#fff;font-family:inherit;font-weight:700;font-size:16px;cursor:pointer}
.wpcf7 input[type=submit]:hover,.sph-form button.primary:hover{background:#1A396D}
.sph-form button.ghost{min-height:52px;padding:0 24px;border-radius:999px;border:1.5px solid #1A396D;background:#fff;color:#1A396D;font-family:inherit;font-weight:700;font-size:16px;cursor:pointer}
.wpcf7 .wpcf7-not-valid-tip{font-size:13px;color:#B3261E;font-weight:500}
.wpcf7 .wpcf7-response-output{border-radius:14px;margin:0;padding:14px 16px;font-size:14px}
.sph-form .steps{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
.sph-form .steps li{display:flex;flex-direction:column;gap:8px;font-size:13px;font-weight:600;color:#4A5670}
.sph-form .steps li::before{content:'';height:4px;border-radius:4px;background:#DCE3E8}.sph-form .steps li.on::before{background:#204686}
.sph-form fieldset{border:0;margin:0;padding:0;display:none;flex-direction:column;gap:18px;min-width:0}.sph-form fieldset.on{display:flex}
.sph-form .opt{flex-direction:row;align-items:center;gap:12px;border:1px solid #CBD5DC;border-radius:16px;padding:16px;cursor:pointer}
.sph-form .opt input,.sph-form .chk input{width:20px;min-height:20px;height:20px;margin:0;accent-color:#204686;flex-shrink:0;padding:0}
.sph-form .chk{flex-direction:row;align-items:flex-start;gap:10px;font-weight:400;font-size:13px;color:#4A5670}
.sph-form .hp{position:absolute;left:-9999px}
.notice{border-radius:16px;padding:16px 20px;background:#E8F3EC;color:#1E5631;font-weight:600}
.notice.err{background:#FBEAE9;color:#8C1D18}
/* home: technique cards and grouped links */
.tech-card{display:flex;flex-direction:column;border:1px solid #DCE3F0;border-radius:24px;overflow:hidden;background:#fff;color:#1A396D;text-decoration:none;transition:transform .2s,box-shadow .2s,border-color .2s}
.tech-card:hover{transform:translateY(-4px);box-shadow:0 18px 40px rgba(26,57,109,.12);border-color:#204686;color:#1A396D}
.tech-pic{position:relative;display:block;aspect-ratio:16/10;background:#E4ECEF}
.tech-pic img{width:100%;height:100%;object-fit:cover;display:block}
.tech-pic b{position:absolute;left:16px;top:16px;background:#726542;color:#fff;border-radius:999px;padding:6px 12px;font-size:12px;font-weight:700;letter-spacing:.08em;text-transform:uppercase}
.tech-body{display:flex;flex-direction:column;gap:10px;padding:24px;flex-grow:1}
.tech-body h3{font-size:22px;font-weight:800}
.tech-body .d{color:#4A5670;font-size:15px;line-height:1.55;flex-grow:1}
.tech-body .more{font-weight:700;color:#204686}
.tech-card.is-main{background:#1A396D;border-color:#1A396D;color:#fff}.tech-card.is-main:hover{color:#fff}
.tech-card.is-main .d{color:#C7D2EC}.tech-card.is-main .more{color:#fff}
.tech-more{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,260px),1fr));gap:8px 40px;background:#F0F5F6;border-radius:28px;padding:36px 40px}
.tech-more h3{font-size:13px;font-weight:700;letter-spacing:.14em;text-transform:uppercase;color:#726542;margin-bottom:8px}
.tech-more ul{list-style:none;margin:0;padding:0}
.tech-more li a{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:13px 0;border-bottom:1px solid #DCE3E8;color:#1A396D;text-decoration:none;font-weight:600;font-size:15.5px}
.tech-more li:last-child a{border-bottom:0}
.tech-more li a i{font-style:normal;color:#204686;transition:transform .2s}
.tech-more li a:hover{color:#204686}.tech-more li a:hover i{transform:translateX(4px)}
/* home: guide */
.guide{display:grid;grid-template-columns:minmax(0,4fr) minmax(0,8fr);gap:48px;align-items:start}
.guide-nav{position:sticky;top:32px;display:flex;flex-direction:column;background:#fff;border-radius:24px;padding:12px}
.guide-nav a{display:flex;gap:14px;align-items:baseline;padding:12px 14px;border-radius:14px;color:#1A396D;text-decoration:none;font-weight:600;font-size:15px;line-height:1.35}
.guide-nav a b{color:#726542;font-size:13px;font-weight:800;flex-shrink:0}
.guide-nav a:hover{background:#F0F5F6;color:#204686}
.guide-body{display:flex;flex-direction:column;gap:16px}
.guide-item{display:flex;gap:24px;background:#fff;border-radius:24px;padding:32px;scroll-margin-top:24px}
.guide-item .num{flex-shrink:0;width:52px;height:52px;border-radius:16px;background:#1A396D;color:#fff;font-weight:800;display:flex;align-items:center;justify-content:center}
.guide-item h3{font-size:22px;font-weight:800;line-height:1.25;margin-bottom:10px}
.guide-item p{color:#33405C;font-size:16.5px;line-height:1.75}
@media (max-width:900px){.guide{grid-template-columns:1fr;gap:20px}.guide-nav{position:static}.guide-item{flex-direction:column;gap:14px;padding:24px}}
/* home: FAQ */
.faq{display:grid;grid-template-columns:minmax(0,5fr) minmax(0,7fr);gap:64px;align-items:start}
.faq-side{display:flex;flex-direction:column;gap:20px;position:sticky;top:32px}
.faq-rating{display:flex;align-items:center;gap:16px;background:#fff;border-radius:20px;padding:18px 22px;align-self:flex-start;margin-top:8px}
.faq-rating b{font-size:40px;font-weight:800;letter-spacing:-.03em;line-height:1}
.faq-rating span{font-size:14px;color:#4A5670;line-height:1.5}.faq-rating .stars{color:#204686;font-size:16px;letter-spacing:2px}
.faq-list{background:#fff;border-radius:28px;padding:8px 32px}
.faq-list .acc:first-child{border-top:0}.faq-list .acc:last-child{border-bottom:0}
@media (max-width:900px){.faq{grid-template-columns:1fr;gap:32px}.faq-side{position:static}.faq-list{padding:4px 20px}.tech-more{padding:24px 22px}}
/* before & after coverflow */
.cf{position:relative;height:clamp(360px,44vw,560px);perspective:1600px;overflow:hidden;touch-action:pan-y;outline:0}
.cf-item{position:absolute;left:50%;top:50%;width:clamp(260px,38vw,500px);margin:0;transform:translate(-50%,-50%);transition:transform .5s cubic-bezier(.2,.7,.2,1),opacity .5s;will-change:transform;cursor:pointer}
.cf-item.on{cursor:default}
.cf-nav{display:flex;justify-content:center;gap:12px;margin-top:24px}
.cf-nav button{width:52px;height:52px;border-radius:999px;border:1.5px solid currentColor;background:transparent;color:inherit;font-size:20px;cursor:pointer;font-family:inherit}
.cf-nav button:hover{background:#fff;color:#1A396D}
.ba-card{margin:0;border-radius:28px;padding:22px 22px 20px;background:linear-gradient(135deg,#1A396D 0%,#204686 55%,#2F6FB3 100%);color:#fff;display:flex;flex-direction:column;align-items:center;gap:16px;box-shadow:0 24px 60px rgba(8,22,48,.35)}
.ba-card .logo{height:62px;width:auto}
.ba-pair{display:grid;grid-template-columns:1fr 1fr;gap:10px;width:100%}
.ba-pair>div{position:relative;border-radius:14px;overflow:hidden;background:#E4ECEF;aspect-ratio:3/4}
.ba-crop>div{aspect-ratio:21/26;background-size:250% auto;background-repeat:no-repeat}
.ba-pair img{width:100%;height:100%;object-fit:cover;display:block}
.ba-pair span{position:absolute;bottom:10px;background:rgba(26,57,109,.82);color:#fff;font-size:11px;font-weight:700;letter-spacing:.1em;text-transform:uppercase;padding:5px 12px;border-radius:999px}
.ba-pair>div:first-child span{left:10px}.ba-pair>div:last-child span{right:10px}
.ba-card figcaption{border:1px solid rgba(255,255,255,.45);border-radius:999px;padding:8px 18px;font-size:14px;font-weight:700;text-align:center}
.ba-plain{border-radius:24px;overflow:hidden;box-shadow:0 24px 60px rgba(8,22,48,.35)}.ba-plain img{width:100%;display:block}
.ba-cards{display:grid;grid-template-columns:repeat(auto-fill,minmax(min(100%,320px),1fr));gap:24px}
@media (prefers-reduced-motion:reduce){.cf-item{transition:none}}
@media (min-width:1101px){
.head-main{flex-wrap:wrap;padding-bottom:0}
.nav{order:3;flex:0 0 100%;border-top:1px solid #EEF2F7;margin-top:2px}
.nav>ul{gap:0 28px;font-size:15px}
.nav>ul>li>a{padding:14px 0 12px}
.head-cta{margin-left:auto}
}
.site-head .head-main{max-width:1440px}
@media (min-width:1280px){
.head-main.nav-inline:not(.nav-inline-wide){flex-wrap:nowrap;padding-bottom:16px;gap:16px 24px}
.head-main.nav-inline:not(.nav-inline-wide) .nav{order:0;flex:1 1 auto;border-top:0;margin:0;min-width:0}
.head-main.nav-inline:not(.nav-inline-wide) .nav>ul{flex-wrap:nowrap;justify-content:center;gap:0 clamp(14px,1.6vw,26px);font-size:14.5px;white-space:nowrap}
.head-main.nav-inline:not(.nav-inline-wide) .nav>ul>li>a{padding:10px 0}
.head-main.nav-inline:not(.nav-inline-wide) .nav .sub-menu{white-space:normal}
}
@media (min-width:1400px){
.head-main.nav-inline-wide{flex-wrap:nowrap;padding-bottom:16px;gap:16px 24px}
.head-main.nav-inline-wide .nav{order:0;flex:1 1 auto;border-top:0;margin:0;min-width:0}
.head-main.nav-inline-wide .nav>ul{flex-wrap:nowrap;justify-content:center;gap:0 clamp(12px,1.3vw,22px);font-size:14px;white-space:nowrap}
.head-main.nav-inline-wide .nav>ul>li>a{padding:10px 0}
.head-main.nav-inline-wide .nav .sub-menu{white-space:normal}
}
@media (max-width:1100px){
.nav-toggle{display:inline-flex}
.nav{display:none;position:absolute;left:0;right:0;top:100%;background:#fff;border-bottom:1px solid #DCE3F0;padding:12px 32px 24px;max-height:75vh;overflow:auto;box-shadow:0 18px 40px rgba(26,57,109,.12)}
.nav.open{display:block}
.nav>ul{flex-direction:column;align-items:stretch;gap:0}
.nav>ul>li>a{padding:14px 0;border-bottom:1px solid #EEF2F7}
.nav .sub-menu{display:block;position:static;box-shadow:none;padding:4px 0 8px 12px;min-width:0}
.head-cta{margin-left:auto}
}
@media (max-width:720px){
.lang ul{right:auto;left:0}
.head-cta{display:none}
.wa-float{right:14px;bottom:14px;width:58px;min-width:0;height:58px;padding:0}.wa-float span{display:none}
.hero-note{position:static!important;max-width:none!important;margin-top:16px;box-shadow:none!important;border:1px solid #DCE3F0}
h1,h2,h3,h4{-webkit-hyphens:auto;hyphens:auto}
.wrap{padding:0 20px}.nav{padding:12px 20px 24px}
.sec,.sec-xl{padding:64px 0}.sec-hero{padding:40px 0 56px}.sec-b{padding:0 0 64px}
.split,.layout{gap:36px}.layout>aside{max-width:none;position:static}.layout>.main{gap:48px}
.cta-band,.form-card{padding:28px;border-radius:24px}
.head-main{padding-top:12px;padding-bottom:12px}.brand{gap:10px}.brand .word{height:30px}.brand .mark{height:46px}
.topbar .wrap{flex-wrap:nowrap;padding-top:6px;padding-bottom:6px;gap:12px}.topbar .tb-note{display:none}
.home-hero{padding:32px 0 56px}.sec-hero{padding:28px 0 48px}.post-cover{max-height:none;border-radius:20px}
.head-cta span{display:none}.head-cta{padding:0 14px}
.topbar .hide-m{display:none}
.stat b{font-size:38px}
.alignleft,.alignright{float:none;margin:0 0 16px}
}
