/* OHP Studio — shared styles */
:root{
  --blue-900:#0f2b52;
  --blue-800:#153a6b;
  --blue-700:#1c4a8a;
  --blue-600:#2563eb;
  --blue-500:#3b82f6;
  --blue-50:#eef4ff;
  --blue-100:#e1ebfb;
  --sky-50:#eef8fb;
  --green-600:#16a34a;
  --amber-50:#fdf6e3;
  --ink-900:#101a2b;
  --ink-700:#33415a;
  --ink-500:#5b6b85;
  --line:#e4eaf3;
}
*{box-sizing:border-box;}
html{scroll-behavior:smooth;}
body{
  margin:0;
  font-family:'Inter',system-ui,-apple-system,Segoe UI,Roboto,Helvetica,Arial,sans-serif;
  color:var(--ink-700);
  background:#fff;
  -webkit-font-smoothing:antialiased;
}
a{color:inherit;text-decoration:none;}
img{max-width:100%;display:block;}
.wrap{max-width:1500px;margin:0 auto;padding:0 24px;}

/* Header */
.site-header{
  position:sticky;top:0;z-index:50;
  background:rgba(255,255,255,.92);
  backdrop-filter:blur(8px);
  border-bottom:1px solid var(--line);
}
.header-inner{
  max-width:1500px;margin:0 auto;padding:14px 24px;
  display:flex;align-items:center;justify-content:space-between;gap:20px;
}
a.logo img {
    height: 50px;
}

.nav-links{display:flex;align-items:center;gap:30px;font-size:.94rem;font-weight:600;color:var(--ink-700);}
.nav-links a{padding:6px 0;border-bottom:2px solid transparent;transition:color .15s,border-color .15s;}
.nav-links a:hover{color:var(--blue-700);}
.nav-links a.active{color:var(--blue-700);border-bottom-color:var(--blue-600);}

.header-right{display:flex;align-items:center;gap:14px;}
.locale-pill{
  display:flex;align-items:center;gap:6px;
  border:1px solid var(--line);border-radius:999px;
  padding:7px 14px;font-size:.85rem;font-weight:600;
  white-space:nowrap;
  background: #eaf2ff;
    border-color: #1464f4;
    color: #1464f4;
}
.locale-pill .dot{width:8px;height:8px;border-radius:50%;background:#d21f3c;display:inline-block;}

.btn{
  display:inline-flex;align-items:center;gap:8px;
  border-radius:9px;font-weight:700;font-size:.92rem;
  padding:11px 20px;border:1px solid transparent;cursor:pointer;
  transition:transform .12s ease, box-shadow .12s ease, background .15s ease;
  white-space:nowrap;
}
.btn:active{transform:translateY(1px);}
.btn-primary{background:#ff8625;color:#fff;box-shadow:0 1px 2px rgba(21,58,107,.15);}
.btn-primary:hover{background:var(--blue-700);}
.btn-outline{background:#fff;color:var(--blue-700);border-color:var(--line);}
.btn-outline:hover{border-color:var(--blue-500);}
.btn-white{background:#fff;color:var(--blue-800);}
.btn-white:hover{background:var(--blue-50);}
.btn svg{width:16px;height:16px;flex-shrink:0;}

.menu-toggle{
  display:none;border:1px solid var(--line);border-radius:9px;background:#fff;
  width:42px;height:40px;align-items:center;justify-content:center;cursor:pointer;
}
.mobile-nav{display:none;flex-direction:column;gap:2px;padding:10px 24px 16px;border-bottom:1px solid var(--line);background:#fff;}
.mobile-nav a{padding:11px 6px;font-weight:600;color:var(--ink-700);border-radius:8px;}
.mobile-nav a.active{color:var(--blue-700);background:var(--blue-50);}
.mobile-nav.open{display:flex;}

/* Hero */
.hero {
    padding:56px 0 64px;
    overflow:hidden;
    text-align: left;
    position: relative;
    background-color: #000934;
    background-image: url('../../images/studio/hero-banner.jpg');
    background-size: cover;
}
.hero-grid{display:grid;grid-template-columns:1.5fr 1fr;gap:48px;align-items:center;}
.eyebrow{
  display:inline-block;font-size:.78rem;font-weight:700;color:#2f70ff;
  background:var(--blue-100);padding:6px 14px;border-radius:999px;margin-bottom:18px;
}
.hero h1{
  font-size:clamp(2rem,4vw,2.9rem);line-height:1.12;color:var(--blue-900);
  font-weight:800;letter-spacing:-.02em;margin:0 0 18px;
}
.hero h1 .accent{color:var(--blue-600);}
.hero p.lead{font-size:1.06rem;color:#182334;line-height:1.6;margin:0 0 20px;max-width:46ch;}
.check-row{display:flex;flex-wrap:wrap;gap:10px 22px;margin-bottom:26px;}
.check-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: .9rem;
    font-weight: 600;
    color: var(--ink-700);
    width: 48%;
}
.hero-ctas .btn-outline {
    background: #fff;
    color: #2493ff;
    border: 1px solid #2493ff;
}
span.check-item svg, .included-box ul li svg {
    background-color: #2aa804;
    padding: 3px;
    width: 20px;
    height: 20px;
    border-radius: 20px;
    color: #FFF !important;
}
.check-item svg{width:17px;height:17px;color:var(--green-600);flex-shrink:0;}
.hero-ctas{display:flex;flex-wrap:wrap;gap:12px;}

.hero-media{position:relative;border-radius:22px;overflow:hidden;box-shadow:0 20px 50px -20px rgba(15,43,82,.35);}
.hero-media img{width:100%;height:100%;object-fit:cover;aspect-ratio:6/5;}
.sticky-note{
  position:absolute;top:-14px;right:18px;background:#fff;
  border:1px solid var(--line);border-radius:12px;padding:10px 16px;
  font-family:'Caveat',cursive;font-size:1.15rem;color:var(--blue-800);
  box-shadow:0 8px 20px rgba(15,43,82,.15);transform:rotate(-3deg);line-height:1.2;
  display:none;
}
.testimonial-card{
  position:absolute;bottom:18px;right:18px;max-width:240px;
  background:#fff;border-radius:14px;padding:14px 16px;
  box-shadow:0 10px 30px rgba(15,43,82,.2);font-size:.83rem;color:var(--ink-700);
}
.testimonial-card b{display:block;margin-top:8px;font-size:.78rem;color:var(--ink-500);font-weight:600;}

/* Feature strip */
.feature-strip{border-top:1px solid var(--line);border-bottom:1px solid var(--line);background:#fff;}
.feature-strip .wrap{
  display:grid;grid-template-columns:repeat(6,1fr);gap:18px;padding:34px 24px;text-align:center;
}
.feature-strip .fitem{display:flex;flex-direction:column;align-items:center;gap:10px;}
.feature-strip .ficon{
  width:44px;height:44px;border-radius:12px;background:var(--blue-50);
  display:flex;align-items:center;justify-content:center;color:var(--blue-600);
}
.feature-strip .ficon svg{width:28px;height:28px;}
.feature-strip .flabel{font-size:.82rem;font-weight:700;color:var(--blue-900);}
.feature-strip .fdesc{font-size:.74rem;color:var(--ink-500);}

/* Sections generic */
section{padding:64px 0;}
.section-tag{
  display:inline-block;font-size:.76rem;font-weight:700;letter-spacing:.02em;
  color:#2563eb;background:var(--blue-100);padding:5px 13px;border-radius:999px;margin-bottom:14px;
}
h2.section-title{font-size:clamp(1.5rem,3vw,2.1rem);color:var(--blue-900);font-weight:800;letter-spacing:-.015em;margin:0 0 12px;}
p.section-sub{color:var(--ink-500);font-size:1rem;max-width:60ch;margin:0 0 34px;line-height:1.6;}
.center{text-align:center;margin-left:auto;margin-right:auto;}

.abt-part .wrap.split {
    grid-template-columns: 1fr 1fr;
}

/* Two column feature block */
.split{display:grid;grid-template-columns:2fr 1fr;gap:56px;align-items:center;}
.split img{border-radius:18px;box-shadow:0 14px 40px -18px rgba(15,43,82,.3);}
.split .tag {
    font-size: .76rem;
    font-weight: 700;
    color: #2563eb;
    background: var(--blue-100);
    padding: 5px 13px;
    border-radius: 999px;
    margin-bottom: 14px;
    display: inline-block;
}
.split h3{font-size:1.5rem;color:var(--blue-900);font-weight:800;margin:0 0 14px;letter-spacing:-.01em;}
.split ul{list-style:none;margin:16px 0 0;padding:0;display:flex;flex-direction:column;gap:10px;}
.split ul li{display:flex;gap:10px;align-items:flex-start;font-size:.92rem;font-weight:600;color:var(--blue-700);}
.split ul li svg {
    background-color: #e83b2e;
    color: #FFF;
    border-radius: 50px;
    padding: 2px;
    width:17px;height:17px;
    margin-top:2px;flex-shrink:0;
}
.split-1 {
  display:grid;grid-template-columns:1fr 1fr;gap:56px;align-items:center;
}
.split-2 ul li svg, ul.green-check li svg {
    background-color: #2aa804;
}


/* Pricing */
.pricing-grid{display:grid;grid-template-columns:1fr 1fr;gap:22px;}
.pricing-part {
  display:grid;grid-template-columns:2fr 1fr;gap:28px;margin-top:30px;align-items:start;
}
.pricing-part span.check-item {
    width: auto;
}
.price-card{
  background:#fff;border:1px solid var(--line);border-radius:18px;padding:28px;position:relative;
}
.price-card.popular{border-color:var(--blue-500);box-shadow:0 12px 30px -16px rgba(37,99,235,.4);}
.badge-popular{
  position:absolute;top:-13px;left:24px;background:var(--blue-600);color:#fff;
  font-size:.7rem;font-weight:700;padding:5px 12px;border-radius:999px;
}
.price-card .label{font-size:.78rem;font-weight:700;color:var(--blue-700);text-transform:uppercase;letter-spacing:.03em;margin-bottom:8px;}
.price-card .amount{font-size:2rem;font-weight:800;color:var(--blue-900);margin-bottom:2px;}
.price-card .amount span{font-size:.95rem;color:var(--ink-500);font-weight:600;}
.price-card .sub{font-size:.85rem;color:var(--ink-500);margin-bottom:18px;}
.price-card ul{list-style:none;padding:0;margin:0 0 22px;display:flex;flex-direction:column;gap:9px;}
.price-card ul li{display:flex;gap:8px;font-size:.87rem;font-weight:600;color:var(--ink-700);align-items:flex-start;}
.price-card ul li svg{width:16px;height:16px;color:var(--green-600);margin-top:2px;flex-shrink:0;}
.included-box {
    background: #FFF;
    border-radius: 16px;
    padding: 24px 24px 100px;
}
.included-box .label{font-size:.76rem;font-weight:700;color:var(--blue-700);text-transform:uppercase;letter-spacing:.03em;margin-bottom:14px;}
.included-box ul{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:15px;}
.included-box ul li{display:flex;gap:9px;font-size:.87rem;font-weight:600;color:var(--ink-700);align-items:flex-start;}
.included-box ul li svg{width:18px;height:18px;margin-top:2px;flex-shrink:0;}

/* Cards grid */
.cards-3{display:grid;grid-template-columns:repeat(3,1fr);gap:20px;}
.plain-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 10px 10px 15px;
    text-align: center;
}
.plain-card img{border-radius:10px;margin-bottom:14px;aspect-ratio:4/3;object-fit:cover;}
.plain-card .name{font-weight:700;color:var(--blue-900);font-size:.98rem;}
.plain-card .tagline{font-size:.82rem;color:var(--ink-500);}
.pms-box {
    display: grid;
    grid-template-columns: 0.1fr 1fr;
    gap: 10px;
    align-items: center;
    padding: 10px;
    border: 1px solid #2563eb;
    margin-top: 20px;
    border-radius: 10px;
    background-color: #e5f2ff;
}
.pms-box i img {
    border-radius: 0;
}
.pms-box p {
    margin: 0;
    font-weight: 500;
    color: #2563eb;
}

/* Offer */

.offer-part {
  display:grid;grid-template-columns:1fr 1fr;gap:20px;
}
.book-direct {
    position: absolute;
    top: auto;
    right: 24px;
    background: #e11d2e;
    color: #fff;
    border-radius: 10px;
    width: auto;
    height: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-weight: 800;
    font-size: .7rem;
    transform: rotate(-10deg);
    line-height: 1.15;
    bottom: 0;
    padding: 15px;
}
span.per-off {
    font-size: 36px;
}
.offer-1, .offer-2 {
    position: relative;
}
.offer-2 .laptop-tag {
    position: absolute;
    right: 0;
    bottom: -20px;
}
.offer-2 .laptop-tag img {
    border-radius: 0;
    box-shadow: none;
    width: 100%;
}


/* Steps 1-6 icon row */
section.step-section {
    padding: 30px 0;
}
.steps-row {
    display: flex;
    align-items: stretch;
    justify-content: center;
    flex-wrap: wrap;
    gap: 25px;
    padding: 30px 24px;
}
.step-mini{display:flex;flex-direction:column;align-items:center;gap:8px;width:118px;text-align:center;}
.step-mini .circle{width:52px;height:52px;border-radius:50%;background:var(--blue-50);display:flex;align-items:center;justify-content:center;color:var(--blue-600);}
.step-mini .circle svg{width:28px;height:28px;}
.step-mini span{font-size:14px;font-weight:500;color:var(--ink-700);}
.step-arrow {
    color: var(--ink-500);
    opacity: .5;
    flex-shrink: 0;
    position: relative;
    padding-top: 22px;
}
.step-arrow svg{width:16px;height:16px;}

/* Numbered detail cards */
.detail-block{background:var(--blue-50);border-radius:20px;padding:36px;margin-bottom:26px;}
.detail-block .kicker{font-weight:800;color:var(--blue-900);font-size:1.2rem;margin:0 0 4px;}
.detail-block .kicker .accent{color:var(--blue-600);}
.detail-block > p{color:var(--ink-500);margin:0 0 24px;font-size:.94rem;}
.detail-cards{display:grid;grid-template-columns:repeat(6,1fr);gap:14px;}
.detail-cards.of4{grid-template-columns:repeat(4,1fr);}
.dcard{background:#fff;border-radius:14px;padding:16px;border:1px solid var(--line);}
.dcard .num{
  width:26px;height:26px;border-radius:50%;background:var(--blue-600);color:#fff;
  font-size:.75rem;font-weight:800;display:flex;align-items:center;justify-content:center;margin-bottom:12px;
}
.dcard h4{font-size:.86rem;font-weight:700;color:var(--blue-900);margin:0 0 8px;}
.dcard p{font-size:.76rem;color:var(--ink-500);line-height:1.5;margin:0;}
.dcard img{border-radius:8px;margin-bottom:10px;aspect-ratio:4/3;object-fit:cover;}
.dcard .mini-checks{list-style:none;padding:0;margin:10px 0 0;display:flex;flex-direction:column;gap:5px;}
.dcard .mini-checks li{display:flex;gap:6px;font-size:.72rem;font-weight:600;color:var(--ink-700);align-items:flex-start;}
.dcard .mini-checks li svg{width:12px;height:12px;color:var(--green-600);margin-top:2px;flex-shrink:0;}
.how-it-works-img img {
    width: 100%;
    height: 98px;
}

.green-panel{background:#eefaf1;border-radius:20px;padding:36px;}
.green-panel .flag{color:#16a34a;}
.green-panel h3{font-size:1.2rem;font-weight:800;color:var(--blue-900);margin:12px 0 6px;display:flex;align-items:center;gap:10px;}
.green-panel > p{color:var(--ink-500);font-size:.92rem;margin:0 0 24px;}

/* Icon feature grid (Everything you need) */
.icon-grid{background:var(--amber-50);border-radius:20px;padding:40px;}
.icon-grid .grid6{display:grid;grid-template-columns:repeat(6,1fr);gap:30px;text-align:center;}
.icon-grid .gitem {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    background-color: #FFF;
    padding: 20px;
    border-radius: 15px;
}
.icon-grid .gicon {
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--blue-600);
}
.icon-grid .gitem span {
    font-size: 14px;
    font-weight: 600;
    color: var(--ink-900);
}
span.gicon img {
    height: 60px;
    max-width: 50px;
}

/* FAQ */
section#faqs {
    background-color: #f5f8ff;
}
.faq-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px 40px;}
.faq-item {
    background-color:#FFF;
    border: 1px solid var(--line);
    padding: 10px 15px;
    border-radius: 10px;
}
.faq-item button{
  all:unset;display:flex;justify-content:space-between;align-items:center;
  width:100%;cursor:pointer;font-weight:700;color:var(--ink-900);font-size:.92rem;
}
.faq-item .plus{font-size:1.2rem;color:var(--blue-600);transition:transform .2s;flex-shrink:0;margin-left:12px;}
.faq-item.open .plus{transform:rotate(45deg);}
.faq-answer{max-height:0;overflow:hidden;transition:max-height .25s ease;font-size:.86rem;color:var(--ink-500);line-height:1.6;}
.faq-item.open .faq-answer{max-height:200px;padding-top:10px;}
.faq-head-row{display:flex;justify-content:space-between;align-items:center;margin-bottom:30px;}
.view-all{font-weight:700;color:var(--blue-700);font-size:.9rem;white-space:nowrap; border: 1px solid #2493ff;
    padding: 10px 15px;
    border-radius: 10px;
    background-color: #e9f7ff;
    color: #2493ff;
}

/* Bottom CTA banner */
.cta-banner{
  position:relative;border-radius:0;overflow:hidden;padding:70px 0;text-align:center;color:#fff;
  background:linear-gradient(180deg,rgba(10,26,52,.72),rgba(10,26,52,.85)),url('') center/cover;
}
.cta-banner h2{font-size:clamp(1.6rem,3.4vw,2.3rem);font-weight:800;margin:0 0 12px;letter-spacing:-.015em;}
.cta-banner p{opacity:.9;margin:0 0 26px;font-size:1rem;}
.cta-banner .check-row{justify-content:center;color:#fff;}
.cta-banner .check-item{color:#fff; width:auto;}
.cta-banner .check-item svg{color:#7ee2a8;}
.cta-banner .btn-white {
    background: #fff;
    color: #ff8625;
}

/* Testimonials */
.testi-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px;}
.testi-card{background:#fff;border:1px solid var(--line);border-radius:16px;padding:22px;}
.stars{color:#f59e0b;font-size:.9rem;margin-bottom:10px;letter-spacing:2px;}
.testi-card p.quote{font-size:.88rem;color:var(--ink-700);margin:0 0 16px;line-height:1.55;}
.testi-person{display:flex;align-items:center;gap:10px;}
.testi-person img{width:36px;height:36px;border-radius:50%;object-fit:cover;}
.testi-person .n{font-weight:700;font-size:.82rem;color:var(--ink-900);}
.testi-person .r{font-size:.74rem;color:var(--ink-500);}

.what-do-content .split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 56px;
    align-items: center;
}
.what-do-content .split ul li svg {
    background-color: #16a34a;
}

/* Growth panel */
.growth-split{display:grid;grid-template-columns:1.1fr .9fr;gap:56px;align-items:center;background:var(--blue-50);border-radius:22px;padding:44px;}
.growth-split img{border-radius:16px;}
.stack-graphic{display:flex;align-items:flex-end;gap:14px;justify-content:center;}
.stack-box{border-radius:10px;text-align:center;font-size:.78rem;font-weight:700;color:#fff;padding:14px 10px;}
.stack-note{font-family:'Caveat',cursive;font-size:1.15rem;color:var(--blue-800);margin-bottom:10px;text-align:center;}

/* Check Availability widget */
.avail-widget{background:#fff;border:1px solid var(--line);border-radius:18px;box-shadow:0 20px 50px -24px rgba(15,43,82,.35);overflow:hidden;}
.avail-widget .avail-head{background:var(--blue-900);color:#fff;padding:14px 20px;font-weight:700;font-size:.9rem;}
.avail-widget .avail-body{padding:20px;}
.avail-fields{display:grid;grid-template-columns:1fr 1fr 1fr;gap:12px;margin-bottom:18px;}
.avail-field label{display:block;font-size:.72rem;font-weight:700;color:var(--ink-500);text-transform:uppercase;letter-spacing:.02em;margin-bottom:6px;}
.avail-input-wrap{position:relative;}
.avail-input-wrap svg{position:absolute;left:11px;top:50%;transform:translateY(-50%);width:16px;height:16px;color:var(--blue-600);pointer-events:none;}
.avail-input-wrap select{-webkit-appearance:none;appearance:none;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235b6b85' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 10px center;background-size:16px;}
.avail-input{
  width:100%;border:1px solid var(--line);border-radius:9px;
  padding:10px;font-size:.85rem;font-weight:600;color:var(--ink-900);
  font-family:inherit;background:#fff;
}
.avail-input:focus{outline:none;border-color:var(--blue-500);box-shadow:0 0 0 3px rgba(37,99,235,.12);}
.avail-btn{width:100%;justify-content:center;}
.room-results{margin-top:18px;display:flex;flex-direction:column;gap:12px;}
.room-row{
  display:grid;grid-template-columns:56px 1fr;gap:12px;align-items:center;
  border:1px solid var(--line);border-radius:12px;padding:10px;
}
.room-row-details {
    gap: 13px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.room-row img{width:56px;height:56px;border-radius:8px;object-fit:cover;}
.room-row .rname{font-size:.85rem;font-weight:700;color:var(--blue-900);}
.room-row .rmeta{font-size:.74rem;color:var(--ink-500);}
.room-row .rprice{font-size:.9rem;font-weight:800;color:var(--blue-900);white-space:nowrap;}
.room-row .book-btn{
  background:var(--blue-600);color:#fff;font-size:.76rem;font-weight:700;
  padding:8px 14px;border-radius:8px;white-space:nowrap;
}

/* Footer */
footer{background:#fff;border-top:1px solid var(--line);padding:34px 0 24px;}
.footer-top{display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:18px;margin-bottom:20px;}
.footer-nav{display:flex;gap:26px;font-size:.88rem;font-weight:600;color:var(--ink-700);flex-wrap:wrap;}
.footer-bottom{display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:10px;font-size:.78rem;color:var(--ink-500);border-top:1px solid var(--line);padding-top:18px;}
.footer-bottom a{font-weight:600;color:var(--ink-500);}
.footer-bottom .links{display:flex;gap:18px;}

/* Utilities */
.mt-56{margin-top:56px;}
.bg-blue-50{background:var(--blue-50);}
.bg-sky{background:var(--sky-50);}
.rounded-hero{border-radius:22px;}


.how-it-works-hero {
    background-image: url('../../images/studio/how-it-works-hero.jpg');
    background-size: cover;
    padding: 56px 0 64px;
}
.wrap.split.how-work-sec {
    grid-template-columns: 1.2fr 2fr;
    gap: 30px;
}
.how-it-aside {
    grid-template-columns: 2fr 1fr;
    display: grid;
    gap: 30px;
    background-color: #e2f9ff;
    padding: 25px;
    border-radius: 20px;
}
.how-it-aside-img {
    text-align: center;
    display: block;
    padding-left: 15px;
}
.how-it-aside-img img {
    border-radius: 0;
    box-shadow: none;
    width: 260px;
}
.how-it-aside ul li svg {
    background-color: #16a34a;
}

/* ===== Login / Register popup ===== */
.btn-login{padding:9px 16px;}
body.modal-open{overflow:hidden;}
.modal{
  position:fixed;inset:0;z-index:100;display:none;align-items:center;justify-content:center;
  padding:20px;background:rgba(10,26,52,.55);backdrop-filter:blur(4px);
}
.modal.open{display:flex;animation:fadeIn .2s ease;}
@keyframes fadeIn{from{opacity:0}to{opacity:1}}
@keyframes popIn{from{opacity:0;transform:translateY(14px) scale(.98)}to{opacity:1;transform:none}}
.auth-card{
  position:relative;width:100%;max-width:880px;max-height:calc(100vh - 40px);overflow:auto;
  background:#fff;border-radius:22px;display:grid;grid-template-columns:.9fr 1.1fr;
  box-shadow:0 30px 80px -20px rgba(10,26,52,.6);animation:popIn .25s ease;
}
.auth-side{
  position:relative;color:#fff;padding:36px 32px;display:flex;flex-direction:column;justify-content:space-between;
  background:linear-gradient(180deg,rgba(15,43,82,.82),rgba(15,43,82,.94)),url('../images/hotel-hero.jpg') center/cover;
}
.auth-side .brand{color:#fff;}
.auth-side .brand small{color:rgba(255,255,255,.7);}
.auth-side h3{font-size:1.5rem;line-height:1.25;font-weight:800;margin:28px 0 12px;letter-spacing:-.01em;}
.auth-side h3 span{color:#8fc0ff;}
.auth-side p{font-size:.9rem;opacity:.85;line-height:1.55;margin:0 0 18px;}
.auth-side ul{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:10px;}
.auth-side li{display:flex;gap:9px;font-size:.85rem;font-weight:600;align-items:center;}
.auth-side li svg{width:17px;height:17px;color:#7ee2a8;flex-shrink:0;}
.auth-note{font-family:'Caveat',cursive;font-size:1.2rem;opacity:.9;margin-top:24px;}
.auth-main{padding:36px 38px 30px;}
.auth-close{
  position:absolute;top:14px;right:14px;width:36px;height:36px;border-radius:50%;
  border:1px solid var(--line);background:#fff;color:var(--ink-500);cursor:pointer;
  display:flex;align-items:center;justify-content:center;z-index:2;transition:background .15s,color .15s;
}
.auth-close:hover{background:var(--blue-50);color:var(--blue-700);}
.auth-tabs{display:flex;background:var(--blue-50);border-radius:11px;padding:4px;margin-bottom:22px;}
.auth-tab{
  flex:1;border:0;background:transparent;font:inherit;font-weight:700;font-size:.88rem;color:var(--ink-500);
  padding:9px 12px;border-radius:8px;cursor:pointer;transition:all .15s;
}
.auth-tab.active{background:#fff;color:var(--blue-700);box-shadow:0 1px 4px rgba(15,43,82,.12);}
.auth-title{font-size:1.45rem;font-weight:800;color:var(--blue-900);margin:0 0 6px;letter-spacing:-.01em;}
.auth-sub{font-size:.88rem;color:var(--ink-500);margin:0 0 20px;}
.auth-form{display:none;}
.auth-form.active{display:block;}
.f-group{margin-bottom:14px;}
.f-group label{display:block;font-size:.78rem;font-weight:700;color:var(--ink-700);margin-bottom:6px;}
.f-wrap{position:relative;}
.f-wrap > svg.lead{position:absolute;left:12px;top:50%;transform:translateY(-50%);width:17px;height:17px;color:var(--ink-500);pointer-events:none;}
.f-input{
  width:100%;border:1px solid var(--line);border-radius:10px;background:#fff;
  padding:12px 14px 12px 38px;font:inherit;font-size:.92rem;color:var(--ink-900);transition:border-color .15s,box-shadow .15s;
}
.f-input::placeholder{color:#9aa7bd;}
.f-input:focus{outline:none;border-color:var(--blue-500);box-shadow:0 0 0 3px rgba(37,99,235,.14);}
.f-group.error .f-input{border-color:#e11d2e;box-shadow:0 0 0 3px rgba(225,29,46,.10);}
.f-error{display:none;font-size:.74rem;color:#e11d2e;margin-top:5px;font-weight:600;}
.f-group.error .f-error{display:block;}
.pw-toggle{
  position:absolute;right:6px;top:50%;transform:translateY(-50%);border:0;background:transparent;
  color:var(--ink-500);cursor:pointer;padding:8px;border-radius:8px;display:flex;
}
.pw-toggle:hover{color:var(--blue-700);}
.pw-toggle svg{width:18px;height:18px;}
.auth-row{display:flex;justify-content:space-between;align-items:center;margin:4px 0 18px;font-size:.84rem;}
.auth-row label{display:flex;gap:8px;align-items:center;font-weight:600;color:var(--ink-700);cursor:pointer;}
.auth-row input{accent-color:var(--blue-600);width:16px;height:16px;}
.auth-link{color:var(--blue-600);font-weight:700;cursor:pointer;background:none;border:0;font:inherit;font-size:.84rem;padding:0;}
.auth-link:hover{text-decoration:underline;}
.auth-submit{width:100%;justify-content:center;padding:13px 20px;font-size:.95rem;}
.auth-divider{display:flex;align-items:center;gap:12px;color:var(--ink-500);font-size:.78rem;margin:18px 0;}
.auth-divider::before,.auth-divider::after{content:"";flex:1;height:1px;background:var(--line);}
.btn-google{width:100%;justify-content:center;background:#fff;border:1px solid var(--line);color:var(--ink-900);padding:11px 20px;}
.btn-google:hover{border-color:var(--blue-500);}
.btn-google svg{width:18px;height:18px;}
.auth-foot{text-align:center;font-size:.85rem;color:var(--ink-500);margin-top:18px;}
.auth-foot .auth-link{font-size:.85rem;}
.auth-success{display:none;text-align:center;padding:30px 10px;}
.auth-success.show{display:block;}
.auth-success .tick{width:60px;height:60px;border-radius:50%;background:#e6f7ec;color:#16a34a;display:flex;align-items:center;justify-content:center;margin:0 auto 16px;}
.auth-success .tick svg{width:30px;height:30px;}
.auth-success h4{font-size:1.25rem;color:var(--blue-900);margin:0 0 6px;font-weight:800;}
.auth-success p{color:var(--ink-500);font-size:.9rem;margin:0 0 18px;}
@media (max-width:820px){
  .auth-card{grid-template-columns:1fr;max-width:460px;}
  .auth-side{display:none;}
  .auth-main{padding:30px 22px 24px;}
}

/* Responsive */
@media (max-width:980px){
  .hero-grid{grid-template-columns:1fr;}
  .split{grid-template-columns:1fr;}
  .split .media{order:-1;}
  .feature-strip .wrap{grid-template-columns:repeat(3,1fr);}
  .detail-cards{grid-template-columns:repeat(3,1fr);}
  .detail-cards.of4{grid-template-columns:repeat(2,1fr);}
  .icon-grid .grid6{grid-template-columns:repeat(3,1fr);}
  .cards-3{grid-template-columns:repeat(2,1fr);}
  .testi-grid{grid-template-columns:repeat(2,1fr)}
  .pricing-grid{grid-template-columns:1fr;}
  .growth-split{grid-template-columns:1fr;padding:28px;}
  .faq-grid{grid-template-columns:1fr;}
  .nav-links{display:none;}
  .menu-toggle{display:flex;}
}
@media (max-width:640px){
  .hero {
      padding: 30px 0 30px !important;
  }
  .check-item {
    width: auto;
  }
  section {padding: 25px 0;}
  .avail-fields{grid-template-columns:1fr;}
  .room-row{grid-template-columns:55px 1fr;}
  .room-row .rprice,.room-row .book-btn{grid-column:2;justify-self:start;}
  .feature-strip .wrap{grid-template-columns:repeat(2,1fr);}
  .detail-cards{grid-template-columns:repeat(2,1fr);}
  .detail-cards.of4{grid-template-columns:1fr;}
  .icon-grid .grid6{grid-template-columns:repeat(2,1fr); gap:15px;}
  .cards-3{grid-template-columns:1fr;}
  .testi-grid{grid-template-columns:1fr;}
  .steps-row{gap:30px;}
  .step-mini{width:45%;}
  .step-arrow{display:none;}
  .header-right .btn span.txt{display:none;}
  .abt-part .wrap.split {
    grid-template-columns: auto;
  }
  .pricing-part {
      display:block;
      grid-template-columns: 0;
      gap: 0;
  }
.split {
    gap: 30px  !important;
    grid-template-columns: auto !important;
}
  .split-1 {
      display: block;
      grid-template-columns:0;
      gap: 0;
      align-items: center;
  }
  .split h3 br {
    display: none;
  }
  .split-1 .media {
      margin-top: 40px;
  }
  .faq-head-row {
      display: block;
  }
  .view-all {
      margin-top: 20px;
      display: inline-block;
  }
  .book-direct {
      position: relative;
      transform: rotate(0deg);
      left: 0;
      width: 160px;
      top: 20px;
  }
  .offer-2 .laptop-tag {
      position: relative;
      right: 0;
      bottom: 0;
      left: 0;
  }
  .offer-2 .laptop-tag img {
      border-radius: 0;
      box-shadow: none;
      width: 200px;
      margin-top: 10px;
  }
  .detail-block {
      padding: 0;
  }
  .how-it-works-img img {
      width: 100%;
      height: 150px;
  }
  .included-box {
    padding: 24px;
  }
  .green-panel {
      padding: 16px;
  }
  #detail .detail-cards {
    grid-template-columns: auto;
  }
  .wrap.split.how-work-sec {
      grid-template-columns: auto;
      gap: 20px;
  }
  .how-it-aside {
      grid-template-columns: auto;
      display: grid;
      gap: 30px;
  }
  .icon-grid {
      padding: 20px;
  }
  .icon-grid .gitem {
      gap: 10px;
      padding: 15px 10px;
  }
  .room-row-details {
    display: block;
    padding-bottom: 8px;
  }
  .room-row-details .rprice {
    padding: 5px 0px 10px;
    display: block;
  }

}

/* ===================================================================
   Pricing & Contact pages
   =================================================================== */

/* ---- Pricing ---- */
.pricing-section{padding:48px 0 32px;}
.plan-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px;max-width:860px;margin:0 auto;}
.plan{
  --plan:#ab3cc8;--plan-soft:#f6e4fa;
  display:flex;flex-direction:column;background:#fff;
  border:1px solid var(--plan);border-radius:10px;padding:26px;
}
.plan-booking{--plan:#2eb34a;--plan-soft:#e3f6e8;}
.plan-badge{
  align-self:flex-start;background:var(--plan-soft);color:var(--plan);
  font-size:.7rem;font-weight:600;padding:3px 9px;border-radius:6px;margin-bottom:14px;
}
.plan h3{font-size:1.45rem;font-weight:600;color:#2d3748;margin:0 0 8px;}
.plan-desc{font-size:.92rem;color:#6b7280;line-height:1.55;margin:0 0 22px;}
.plan-price{display:flex;align-items:baseline;gap:8px;color:var(--plan);}
.plan-amount{font-size:2.8rem;font-weight:700;line-height:1;}
.plan-period{font-size:.95rem;color:#6b7280;}
.plan-billed{font-size:.82rem;color:#6b7280;margin:4px 0 0;}
.plan-chip{
  align-self:flex-start;display:inline-flex;align-items:center;gap:6px;margin-top:10px;
  background:var(--plan-soft);color:var(--plan);font-size:.72rem;font-weight:600;padding:4px 10px;border-radius:6px;
}
.plan-chip svg{width:11px;height:11px;flex-shrink:0;}
.plan-btn{
  display:block;width:100%;text-align:center;background:var(--plan);color:#fff;
  font-weight:600;font-size:.95rem;padding:12px 16px;border-radius:8px;margin:20px 0 22px;
  transition:filter .15s ease,transform .12s ease;
}
.plan-btn:hover{filter:brightness(.92);}
.plan-btn:active{transform:translateY(1px);}
.plan-includes-title{font-size:.8rem;font-weight:700;color:#2d3748;margin:0 0 6px;}
.plan-list{list-style:none;margin:0;padding:0;}
.plan-list li{
  display:flex;align-items:center;gap:10px;padding:13px 0;
  font-size:.86rem;color:#2d3748;border-bottom:1px solid #e9edf2;
}
.plan-list li:last-child{border-bottom:0;}
.plan-list svg{width:16px;height:16px;color:var(--plan);flex-shrink:0;}

.domain-fee{
  display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap;
  max-width:860px;margin:24px auto 0;background:#fdece3;border-radius:10px;padding:18px 20px;
}
.domain-fee-info{display:flex;align-items:center;gap:14px;}
.domain-fee-icon{
  width:38px;height:38px;border-radius:8px;background:#fbd9c6;color:#e8650a;
  display:flex;align-items:center;justify-content:center;flex-shrink:0;
}
.domain-fee-icon svg{width:20px;height:20px;}
.domain-fee h4{margin:0 0 3px;font-size:.95rem;font-weight:600;color:#e8650a;}
.domain-fee p{margin:0;font-size:.85rem;color:#6b7280;}
.domain-fee-price{text-align:right;}
.domain-fee-price strong{display:block;font-size:1.15rem;font-weight:700;color:#e8650a;}
.domain-fee-price span{font-size:.85rem;color:#6b7280;}
.pricing-note{max-width:860px;margin:22px auto 0;text-align:center;font-size:.85rem;color:#6b7280;line-height:1.6;}

.cta-banner.cta-banner-img{background-image:url('../../images/studio/cta-banner.jpg');background-size:cover;background-position:center;}
.cta-banner .check-row.cta-checks{margin:24px 0 0;}

/* ---- Contact ---- */
.contact-section{--contact-blue:#0870d1;padding:48px 0 64px;background:#fff;}
.contact-grid{display:grid;grid-template-columns:minmax(0,1.45fr) minmax(0,1fr);gap:32px;align-items:start;}
.contact-card{background:#fff;border:1px solid #eef1f5;border-radius:10px;padding:32px;box-shadow:0 1px 8px rgba(15,31,61,.08);}
.contact-card h2{font-size:1.5rem;font-weight:600;color:#2d3748;margin:0 0 6px;}
.contact-sub{font-size:.9rem;color:#6b7280;margin:0 0 26px;}
.c-row{display:grid;grid-template-columns:1fr 1fr;gap:24px;}
.c-group{margin-bottom:22px;}
.c-group label{display:block;font-size:.85rem;font-weight:500;color:#1f2937;margin-bottom:8px;}
.c-group label .opt{color:#6b7280;font-weight:400;}
.c-input{
  width:100%;height:46px;font:inherit;font-size:.95rem;color:#1f2937;background:#fff;
  border:1px solid #dfe4ea;border-radius:8px;padding:0 22px;
  transition:border-color .15s ease,box-shadow .15s ease;
}
textarea.c-input{height:140px;padding:14px 16px;resize:vertical;font-size:.88rem;line-height:1.5;}
.c-input::placeholder{color:#9aa3af;}
.c-input:focus{outline:none;border-color:var(--contact-blue);box-shadow:0 0 0 3px rgba(8,112,209,.14);}
select.c-input{
  -webkit-appearance:none;appearance:none;cursor:pointer;padding-right:44px;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235b6b85' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat:no-repeat;background-position:right 16px center;background-size:16px;
}
.c-group.error .c-input{border-color:#e11d2e;box-shadow:0 0 0 3px rgba(225,29,46,.10);}
.c-error{display:none;font-size:.78rem;font-weight:500;color:#e11d2e;margin-top:6px;}
.c-group.error .c-error{display:block;}
.btn-contact{
  display:inline-flex;align-items:center;gap:8px;background:#ff8625;color:#fff;
  font:inherit;font-size:1rem;font-weight:500;border:0;border-radius:8px;padding:14px 26px;cursor:pointer;
  transition:background .15s ease,transform .12s ease;
}
.btn-contact:hover{background:#0a5fb0;}
.btn-contact:active{transform:translateY(1px);}
.btn-contact svg{width:18px;height:18px;flex-shrink:0;}

.contact-success{display:none;text-align:center;padding:36px 8px;}
.contact-card.sent .contact-head,
.contact-card.sent .contact-form{display:none;}
.contact-card.sent .contact-success{display:block;}
.contact-success .tick{
  width:60px;height:60px;border-radius:50%;background:#e3f6e8;color:#2eb34a;
  display:flex;align-items:center;justify-content:center;margin:0 auto 16px;
}
.contact-success .tick svg{width:30px;height:30px;}
.contact-success h3{font-size:1.3rem;font-weight:700;color:#0f1f3d;margin:0 0 6px;}
.contact-success p{font-size:.92rem;color:#6b7280;margin:0 0 22px;}

.help-col h2{font-size:1.6rem;font-weight:700;color:#0f1f3d;margin:6px 0 14px;}
.help-intro{font-size:.98rem;color:#6b7280;line-height:1.65;margin:0 0 26px;max-width:520px;}
.help-card{
  display:flex;align-items:flex-start;gap:16px;max-width:520px;margin-bottom:16px;
  background:#f8fafc;border-radius:10px;padding:24px;box-shadow:0 1px 4px rgba(15,31,61,.05);
}
.help-icon{
  width:48px;height:48px;border-radius:8px;border:1px solid transparent;flex-shrink:0;
  display:flex;align-items:center;justify-content:center;
}
.help-icon svg{width:24px;height:24px;}
.help-icon.blue{background:#e1ecf8;color:#0870d1;border-color:#c9dcf1;}
.help-icon.green{background:#e3f4e7;color:#2eb34a;border-color:#c8e8cf;}
.help-icon.amber{background:#fbf0dc;color:#e8a317;border-color:#f0dcb6;}
.help-card h3{font-size:.98rem;font-weight:600;color:#2d3748;margin:0 0 6px;}
.help-card p{font-size:.95rem;color:#6b7280;margin:0 0 6px;}
.help-card p.small{font-size:.8rem;}
.help-link{display:inline-block;font-size:.95rem;font-weight:600;color:#0870d1;}
.help-link:hover{text-decoration:underline;}

@media (max-width:980px){
  .contact-grid{grid-template-columns:minmax(0,1fr);}
  .help-intro,.help-card{max-width:none;}
}
@media (max-width:820px){
  .plan-grid{grid-template-columns:minmax(0,1fr);max-width:480px;}
}
@media (max-width:640px){
  .pricing-section{padding:28px 0 12px;}
  .plan{padding:22px;}
  .domain-fee{flex-direction:column;align-items:flex-start;}
  .domain-fee-price{text-align:left;}
  .contact-section{padding:28px 0 40px;}
  .contact-card{padding:22px;}
  .c-row{grid-template-columns:minmax(0,1fr);gap:0;}
  .help-card{padding:20px;}
}

.f-input.pw-input{padding-right:44px;}

/* ===================================================================
   Content Library page
   =================================================================== */
.cl-card{background:#fff;border:1px solid var(--line);border-radius:16px;box-shadow:0 14px 40px -22px rgba(15,43,82,.35);}
.cl-panel{padding:22px 24px;}
.hero .cl-panel{width:100%;max-width:520px;justify-self:end;}
.cl-panel-head{display:flex;justify-content:space-between;align-items:flex-start;gap:12px;margin-bottom:14px;}
.cl-panel-head h3{font-size:1.05rem;font-weight:800;color:var(--blue-900);margin:0 0 3px;}
.cl-panel-head p{font-size:.82rem;color:var(--ink-500);margin:0;}
.cl-tag{font-size:.72rem;font-weight:700;background:#e3f6e8;color:#16a34a;padding:4px 10px;border-radius:999px;white-space:nowrap;}

.cl-list{list-style:none;margin:0;padding:0;}
.cl-list li{display:flex;align-items:center;gap:14px;padding:15px 0;border-top:1px solid var(--line);}
.cl-list h4{font-size:.9rem;font-weight:700;color:var(--blue-900);margin:0 0 3px;}
.cl-list p{font-size:.78rem;color:var(--ink-500);margin:0;}
.cl-tick{margin-left:auto;color:#16a34a;flex-shrink:0;display:flex;}
.cl-tick svg{width:16px;height:16px;}

.cl-tile{width:36px;height:36px;border-radius:9px;border:1px solid transparent;display:flex;align-items:center;justify-content:center;flex-shrink:0;}
.cl-tile svg{width:18px;height:18px;}
.cl-tile.blue{background:#e1ecf8;color:#2563eb;border-color:#cfe0f3;}
.cl-tile.amber{background:#fdf0d8;color:#e8a317;border-color:#f3dfb4;}
.cl-tile.purple{background:#f3e4f8;color:#a93bc9;border-color:#e6c9f0;}
.cl-tile.green{background:#e3f4e7;color:#16a34a;border-color:#c8e8cf;}
.cl-tile.red{background:#fde6e6;color:#e11d2e;border-color:#f6c8c8;}

.cl-head{text-align:center;margin-bottom:36px;}
.cl-head p.section-sub{margin:0 auto;}
.cl-feature-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;}
.cl-feature{padding:26px;}
.cl-feature .cl-tile{width:48px;height:48px;border-radius:12px;margin-bottom:20px;}
.cl-feature .cl-tile svg{width:24px;height:24px;}
.cl-feature h3{font-size:1.05rem;font-weight:800;color:var(--blue-900);margin:0 0 10px;}
.cl-feature p{font-size:.9rem;line-height:1.6;color:var(--ink-500);margin:0;}

.cl-split{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,.9fr);gap:56px;align-items:center;}
.section-title .accent{color:var(--blue-600);}
.cl-points{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:20px;}
.cl-points li{display:flex;gap:14px;align-items:flex-start;}
.cl-check{width:26px;height:26px;border-radius:50%;background:#2aa804;color:#fff;display:flex;align-items:center;justify-content:center;flex-shrink:0;}
.cl-check svg{width:14px;height:14px;}
.cl-points h4{font-size:.95rem;font-weight:700;color:var(--blue-900);margin:0 0 4px;}
.cl-points p{font-size:.88rem;line-height:1.6;color:var(--ink-500);margin:0;}
.cl-cats{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;}
.cl-cat{background:var(--blue-50);border-radius:10px;padding:18px 16px;}
.cl-cat strong{display:block;font-size:1.15rem;font-weight:700;color:var(--blue-600);margin-bottom:4px;}
.cl-cat span{font-size:.82rem;color:var(--ink-500);}

/* shared bottom banner buttons */
.cta-banner .cta-actions{display:flex;flex-wrap:wrap;gap:12px;justify-content:center;}
.btn-ghost{background:transparent;color:#fff;border-color:#fff;}
.btn-ghost:hover{background:rgba(255,255,255,.14);}

/* ===================================================================
   FAQ page
   =================================================================== */
.faq-page{background:#f5f8ff;}
.faq-group{margin-bottom:36px;}
.faq-group:last-child{margin-bottom:0;}
.faq-group-title{font-size:1.3rem;font-weight:800;color:var(--blue-900);margin:0 0 16px;padding-left:12px;border-left:4px solid #ff8625;line-height:1.2;}
.faq-page .faq-grid{align-items:start;}
.faq-page .faq-item.open .faq-answer{max-height:320px;}
.faq-answer a{color:var(--blue-600);font-weight:600;}
.faq-answer a:hover{text-decoration:underline;}

/* ---- responsive ---- */
@media (max-width:1200px){
  .nav-links{gap:18px;font-size:.88rem;}
}
@media (max-width:980px){
  .hero .cl-panel{justify-self:stretch;max-width:none;}
  .cl-split{grid-template-columns:minmax(0,1fr);gap:32px;}
  .cl-feature-grid{grid-template-columns:repeat(2,minmax(0,1fr));}
}
@media (max-width:640px){
  .cl-feature-grid{grid-template-columns:minmax(0,1fr);}
  .cl-panel{padding:18px;}
  .cta-banner .cta-actions .btn{flex:1 1 100%;justify-content:center;}
}

/* Template Page CSS */

.tpl-section{padding:48px 0 72px;background:#f5f8ff;}
.tpl-toolbar{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap;margin-bottom:28px;}
.tpl-tabs{display:flex;flex-wrap:wrap;gap:10px;}
.tpl-tab{
  font:inherit;font-size:.92rem;font-weight:700;color:var(--ink-700);background:#fff;
  border:1px solid var(--line);border-radius:12px;padding:11px 22px;cursor:pointer;
  transition:background .18s ease,color .18s ease,border-color .18s ease,box-shadow .18s ease;
}
.tpl-tab:hover{border-color:var(--blue-500);color:var(--blue-700);}
.tpl-tab:focus-visible{outline:3px solid rgba(37,99,235,.35);outline-offset:2px;}
.tpl-tab.active {
    background: #0870d1;
    border-color: #004f98;
    color: #fff;
    box-shadow: 0 8px 20px -10px #0f1f3d;
}
.tpl-count{margin:0;font-size:.95rem;font-weight:600;color:var(--ink-500);}

.tpl-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:28px;}
.tpl-card{
  display:flex;flex-direction:column;background:#fff;border:1px solid var(--line);border-radius:20px;overflow:hidden;
  transition:transform .25s ease,box-shadow .25s ease,border-color .25s ease;
}
.tpl-card[hidden]{display:none;}
.tpl-card:hover{transform:translateY(-4px);border-color:#cdd9ee;box-shadow:0 26px 50px -26px rgba(15,43,82,.45);}
.tpl-card.is-entering{animation:tplIn .35s ease both;}
@keyframes tplIn{from{opacity:0;transform:translateY(12px);}to{opacity:1;transform:none;}}

.tpl-media{position:relative;aspect-ratio:16/10;overflow:hidden;background:var(--blue-900);}
.tpl-thumb{position:absolute;inset:0;overflow:hidden;container-type:inline-size;}
.tpl-thumb img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;transition:transform .7s ease;}
.tpl-card:hover .tpl-thumb img{transform:scale(1.06);}
.tpl-thumb::after{content:"";position:absolute;inset:0;z-index:1;background:var(--tpl-overlay);}

/* mini website preview drawn on top of the photo */
.tpl-mock{position:absolute;inset:0;z-index:2;display:flex;flex-direction:column;color:#fff;pointer-events:none;}
.tpl-mock-nav{display:flex;align-items:center;justify-content:space-between;padding:12px 18px;padding:3.4cqw 4.4cqw;}
.tpl-mock-logo{font-size:10px;font-size:2.5cqw;font-weight:800;letter-spacing:.16em;}
.tpl-mock-links{display:flex;gap:8px;gap:2.2cqw;font-size:9px;font-size:2cqw;font-weight:600;opacity:.85;}
.tpl-mock-hero{flex:1;display:flex;flex-direction:column;justify-content:center;align-items:flex-start;gap:6px;gap:1.6cqw;padding:0 8%;}
.tpl-mock-hero h4{margin:0;font-size:22px;font-size:6.8cqw;line-height:1.12;font-weight:700;}
.tpl-mock-hero p{margin:0;max-width:72%;font-size:11px;font-size:2.5cqw;line-height:1.4;opacity:.92;}
.tpl-mock-btn{
  margin-top:4px;margin-top:1cqw;font-size:10px;font-size:2.3cqw;font-weight:700;
  padding:6px 14px;padding:1.5cqw 3.6cqw;border-radius:999px;
  background:var(--tpl-btn-bg);color:var(--tpl-btn-fg);border:1px solid var(--tpl-btn-border);
}

/* Classic */
.tpl-classic{--tpl-btn-bg:transparent;--tpl-btn-fg:#f6e4b8;--tpl-btn-border:#e2c27d;}
.tpl-classic .tpl-mock{font-family:Georgia,"Times New Roman",serif;}
.tpl-classic .tpl-mock-hero{align-items:center;text-align:center;}
.tpl-classic .tpl-mock-hero p{margin-left:auto;margin-right:auto;}
.tpl-classic .tpl-mock-btn{border-radius:2px;letter-spacing:.06em;}
.tpl-classic.tpl-alt{--tpl-btn-bg:#f6e4b8;--tpl-btn-fg:#3b2a12;}
.tpl-classic.tpl-alt .tpl-mock-hero{align-items:flex-start;text-align:left;}
.tpl-classic.tpl-alt .tpl-mock-hero p{margin-left:0;}
.tpl-classic.tpl-alt2{--tpl-btn-bg:#a3434d;--tpl-btn-fg:#fff;--tpl-btn-border:#a3434d;}
.tpl-classic.tpl-alt2 .tpl-mock-hero{justify-content:flex-end;padding-bottom:24%;}

/* Modern */
.tpl-modern{--tpl-btn-bg:#fff;--tpl-btn-fg:var(--blue-900);--tpl-btn-border:#fff;}
.tpl-modern .tpl-mock{font-family:Inter,system-ui,-apple-system,"Segoe UI",Roboto,sans-serif;}
.tpl-modern .tpl-mock-hero h4 {
    font-weight: 800;
    letter-spacing: -.02em;
    width: 100%;
    text-align: center;
}
.tpl-modern .tpl-mock-btn{border-radius:8px;}
.tpl-modern.tpl-alt{--tpl-btn-bg:#2563eb;--tpl-btn-fg:#fff;--tpl-btn-border:#2563eb;}
.tpl-modern.tpl-alt .tpl-mock-hero{align-items:center;text-align:center;}
.tpl-modern.tpl-alt .tpl-mock-hero p{margin-left:auto;margin-right:auto;}
.tpl-modern.tpl-alt2{--tpl-overlay:linear-gradient(0deg,rgba(6,24,40,.78) 0%,rgba(6,24,40,.15) 65%);--tpl-btn-bg:#14b8a6;--tpl-btn-fg:#06322e;--tpl-btn-border:#14b8a6;}
.tpl-modern.tpl-alt2 .tpl-mock-hero{justify-content:flex-end;padding-bottom:9%;}

/* Luxury */
.tpl-luxury{--tpl-btn-bg:#d4af37;--tpl-btn-fg:#1a1405;--tpl-btn-border:#d4af37;}
.tpl-luxury .tpl-mock{font-family:Georgia,"Times New Roman",serif;}
.tpl-luxury .tpl-mock-logo{color:#e8c96a;}
.tpl-luxury .tpl-mock-hero{align-items:center;text-align:center;}
.tpl-luxury .tpl-mock-hero p{margin-left:auto;margin-right:auto;}
.tpl-luxury .tpl-mock-hero h4{font-size:19px;font-size:5.6cqw;font-weight:600;text-transform:uppercase;letter-spacing:.12em;}
.tpl-luxury .tpl-mock-btn{border-radius:0;text-transform:uppercase;letter-spacing:.1em;}
.tpl-luxury.tpl-alt{--tpl-btn-bg:transparent;--tpl-btn-fg:#e8c96a;}
.tpl-luxury.tpl-alt .tpl-mock-hero{align-items:flex-start;text-align:left;}
.tpl-luxury.tpl-alt .tpl-mock-hero p{margin-left:0;}
.tpl-luxury.tpl-alt2{--tpl-btn-bg:#e8b4a0;--tpl-btn-fg:#2a1410;--tpl-btn-border:#e8b4a0;}

/* hover: link to the live site */
.tpl-overlay{
  position:absolute;inset:0;z-index:4;display:flex;align-items:center;justify-content:center;
  background:linear-gradient(180deg,rgba(15,43,82,.35),rgba(15,43,82,.7));
  opacity:0;transition:opacity .25s ease;
}
.tpl-card:hover .tpl-overlay,
.tpl-media:focus-within .tpl-overlay{opacity:1;}
.tpl-live{
  display:inline-flex;align-items:center;gap:10px;background:#fff;color:var(--blue-900);
  font-size:.95rem;font-weight:800;padding:13px 22px;border-radius:12px;
  box-shadow:0 14px 30px -12px rgba(0,0,0,.5);transform:translateY(10px);
  transition:transform .25s ease,background .15s ease,color .15s ease;
}
.tpl-live svg{width:18px;height:18px;flex-shrink:0;}
.tpl-card:hover .tpl-live,
.tpl-media:focus-within .tpl-live{transform:none;}
.tpl-live:hover,.tpl-live:focus-visible{background:#ff8625;color:#fff;outline:none;}

/* card body */
.tpl-body{display:flex;flex-direction:column;gap:12px;flex:1;padding:22px 24px 24px;}
.tpl-top{display:flex;align-items:center;justify-content:space-between;gap:12px;}
.tpl-top h3{margin:0;font-size:1.35rem;font-weight:800;letter-spacing:-.01em;color:var(--blue-900);}
.tpl-badge{display:inline-block;font-size:.7rem;font-weight:800;letter-spacing:.06em;text-transform:uppercase;padding:5px 10px;border-radius:8px;}
.tpl-badge-classic{background:#fdf0d8;color:#b7791f;}
.tpl-badge-modern{background:#e1ecf8;color:#2563eb;}
.tpl-badge-luxury{background:#f1e6fb;color:#7c3aed;}
.tpl-desc{margin:0;font-size:.92rem;line-height:1.6;color:var(--ink-500);}
.tpl-foot{margin-top:auto;padding-top:16px;border-top:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;}
.tpl-feats{list-style:none;margin:0;padding:0;display:flex;flex-wrap:wrap;gap:6px 14px;}
.tpl-feats li{display:flex;align-items:center;gap:6px;font-size:.82rem;color:var(--ink-500);}
.tpl-feats svg{width:14px;height:14px;color:#16a34a;flex-shrink:0;}
.tpl-actions{display:flex;align-items:center;gap:8px;}
.tpl-preview-btn{
  display:inline-flex;align-items:center;gap:7px;font:inherit;font-size:.9rem;font-weight:700;color:var(--blue-900);
  background:none;border:0;border-radius:8px;padding:10px 12px;cursor:pointer;transition:background .15s ease;
}
.tpl-preview-btn svg{width:16px;height:16px;}
.tpl-preview-btn:hover{background:var(--blue-50);}



/* touch screens have no hover: keep the live-site link visible */
@media (hover:none){
  .tpl-overlay{opacity:1;background:none;align-items:flex-start;justify-content:flex-end;padding:12px;}
  .tpl-live{padding:8px 12px;font-size:.78rem;gap:7px;transform:none;}
  .tpl-live svg{width:15px;height:15px;}
}
@media (prefers-reduced-motion:reduce){
  .tpl-card,.tpl-thumb img,.tpl-overlay,.tpl-live{transition:none;}
  .tpl-card.is-entering,.tpl-modal.open,.tpl-modal-card{animation:none;}
}
@media (max-width:1100px){
  .tpl-grid{grid-template-columns:repeat(2,minmax(0,1fr));}
}
@media (max-width:820px){
  .tpl-modal-card{grid-template-columns:minmax(0,1fr);}
  .tpl-modal-media{min-height:0;aspect-ratio:16/10;}
  .tpl-modal-info{padding:24px 22px 26px;}
}
@media (max-width:640px){
  .tpl-section{padding:32px 0 48px;}
  .tpl-grid{grid-template-columns:minmax(0,1fr);gap:20px;}
  .tpl-toolbar{flex-direction:column;flex-wrap:nowrap;align-items:stretch;gap:14px;}
  .tpl-tabs{flex-wrap:nowrap;overflow-x:auto;margin:0 -24px;padding:2px 24px 6px;scrollbar-width:none;}
  .tpl-tabs::-webkit-scrollbar{display:none;}
  .tpl-tab{flex-shrink:0;padding:10px 18px;}
  .tpl-body{padding:18px;}
  .tpl-foot{flex-direction:column;align-items:stretch;}
  .tpl-actions{justify-content:space-between;}
  .tpl-actions .btn{flex:1;justify-content:center;}
  .tpl-modal-actions .btn{flex:1 1 100%;justify-content:center;}
}
/* ===== end TEMPLATES PAGE ===== */
