:root {
  --navy: #0b1f3a;
  --navy-light: #14304f;
  --steel: #3d5a80;
  --orange: #ff6a13;
  --whatsapp: #25d366;
  --call: #0d6efd;
  --gray-bg: #f4f6f9;
  --text: #26313f;
  --radius: 10px;
}
* { box-sizing: border-box; }
body { margin: 0; font-family: 'Segoe UI', Roboto, Arial, sans-serif; color: var(--text); background: #fff; line-height: 1.6; }
.wrap { max-width: 1180px; margin: 0 auto; padding: 0 20px; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { line-height: 1.25; color: var(--navy); margin: 0 0 12px; }
p { margin: 0 0 12px; }

/* Topbar */
.topbar { background: var(--navy); color: #cfd9e6; font-size: 13px; }
.topbar-inner { display: flex; justify-content: space-between; align-items: center; padding: 6px 20px; flex-wrap: wrap; gap: 6px; }
.topbar-contacts a { margin-left: 16px; color: #cfd9e6; }
.topbar-contacts a:hover { color: #fff; }

/* Header */
.site-header { background: #fff; box-shadow: 0 2px 10px rgba(0,0,0,.08); position: sticky; top: 0; z-index: 100; }
.header-inner { display: flex; align-items: center; justify-content: space-between; padding: 14px 20px; gap: 20px; }
.logo { font-weight: 800; font-size: 20px; color: var(--navy); }
.main-nav ul { list-style: none; display: flex; gap: 26px; margin: 0; padding: 0; }
.main-nav a { font-weight: 600; color: var(--navy); }
.main-nav a.active, .main-nav a:hover { color: var(--orange); }
.nav-toggle { display: none; background: none; border: none; font-size: 22px; color: var(--navy); cursor: pointer; }
.header-cta { display: flex; gap: 10px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 10px 20px; border-radius: 999px; font-weight: 700; font-size: 14px; color: #fff !important; transition: transform .15s ease, opacity .15s ease; }
.btn:hover { transform: translateY(-2px); opacity: .92; }
.whatsapp-btn { background: var(--whatsapp); }
.call-btn { background: var(--call); }
.btn-orange { background: var(--orange); }
.btn-outline { background: transparent; border: 2px solid #fff; }

/* Hero */
.hero { position: relative; color: #fff; padding: 110px 20px 140px; text-align: center; overflow: hidden; background: #0b1f3a; }
.hero .hero-bg { position: absolute; inset: 0; z-index: 0; background: url('/assets/images/hero.jpg') center/cover no-repeat; animation: kenburns 18s ease-in-out infinite alternate; }
.hero::after { content: ''; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(0,0,0,.42), rgba(0,0,0,.60)); }
.hero h1, .hero p.sub { text-shadow: 0 2px 14px rgba(0,0,0,.6); }
.hero-stats .num { text-shadow: 0 2px 14px rgba(0,0,0,.6); }
.hero-stats .label { color: rgba(255,255,255,.9); text-shadow: 0 1px 8px rgba(0,0,0,.6); }
.hero .wrap { position: relative; z-index: 2; }
@keyframes kenburns { from { transform: scale(1); } to { transform: scale(1.15); } }
.hero h1 { color: #fff; font-size: 42px; max-width: 820px; margin: 0 auto 16px; }
.hero .highlight { color: var(--orange); position: relative; white-space: nowrap; }
.hero .highlight::after { content: ''; position: absolute; left: 0; bottom: 2px; width: 100%; height: 8px; background: rgba(255,106,19,.35); border-radius: 4px; transform: scaleX(0); transform-origin: left; animation: underlineGrow 2.5s ease .5s forwards; }
@keyframes underlineGrow { to { transform: scaleX(1); } }
.hero p.sub { max-width: 640px; margin: 0 auto 28px; font-size: 18px; color: #dbe4f0; }
.hero-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.hero-stats { display: flex; justify-content: center; gap: 60px; margin-top: 50px; flex-wrap: wrap; }
.hero-stats div { text-align: center; }
.hero-stats .num { font-size: 36px; font-weight: 800; color: var(--orange); }
.hero-stats .label { color: #cfd9e6; font-size: 14px; }

/* Sections */
section.block { padding: 70px 0; }
.block.gray { background: var(--gray-bg); }
.section-tag { color: var(--orange); font-weight: 700; letter-spacing: 1px; text-transform: uppercase; font-size: 13px; margin-bottom: 8px; display: block; }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 46px; }

/* Services grid */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.service-card { background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: 0 6px 20px rgba(0,0,0,.08); transition: transform .2s ease; }
.service-card:hover { transform: translateY(-6px); }
.service-card .img { position: relative; height: 210px; background: linear-gradient(135deg, var(--navy), var(--steel)); background-size: cover; background-position: center; display: flex; align-items: center; justify-content: center; color: #fff; font-size: 40px; }
.service-card .img.photo::before { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(11,31,58,0), rgba(11,31,58,.28)); transition: background .35s ease; }
.service-card:hover .img.photo::before { background: linear-gradient(180deg, rgba(11,31,58,.05), rgba(11,31,58,.45)); }
/* small premium icon badge in the corner (replaces the big overlay icon) */
.service-card .img.photo i { position: absolute; z-index: 2; left: 16px; bottom: 16px; width: 48px; height: 48px; font-size: 20px; display: flex; align-items: center; justify-content: center; background: var(--orange); color: #fff; border-radius: 14px; box-shadow: 0 8px 18px rgba(255,106,19,.45); transition: transform .35s ease; }
.service-card:hover .img.photo i { transform: translateY(-4px) rotate(-6deg); }
.service-card .body { padding: 22px 20px; text-align: center; }
.service-card .body h3 { text-align: center; }
.service-card .body > p { text-align: center; color: #52606e; }
.service-card .body a.quote-link { color: var(--call); font-weight: 700; font-size: 14px; }
/* Card call-to-action: "contact our expert" + arrow + two buttons */
.card-cta-text { font-size: 13.5px; color: #52606e; margin: 14px 0 4px; }
.card-arrow { color: #9aa4b1; font-size: 15px; margin-bottom: 12px; animation: cardArrowBob 1.6s ease-in-out infinite; }
@keyframes cardArrowBob { 0%,100% { transform: translateY(0); } 50% { transform: translateY(4px); } }
.card-btns { display: flex; gap: 7px; justify-content: center; flex-wrap: wrap; }
.cbtn { display: inline-flex; align-items: center; gap: 6px; padding: 9px 13px; border-radius: 10px; font-weight: 700; font-size: 12.5px; white-space: nowrap; color: #fff !important; transition: transform .15s ease, box-shadow .15s ease; }
.cbtn.whatsapp-btn { background: var(--whatsapp); box-shadow: 0 4px 12px rgba(37,211,102,.35); }
.cbtn.call-btn { background: var(--call); box-shadow: 0 4px 12px rgba(13,110,253,.32); }
.cbtn:hover { transform: translateY(-2px); }
@media (prefers-reduced-motion: reduce) { .card-arrow { animation: none; } }

/* Icon list */
.feature-list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.feature-list li { display: flex; align-items: center; gap: 12px; font-weight: 600; }
.feature-list i { color: var(--orange); font-size: 20px; }

/* Process steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; text-align: center; }
.step { background: #fff; border-radius: var(--radius); padding: 34px 20px; box-shadow: 0 6px 20px rgba(0,0,0,.08); position: relative; }
.step .step-num { position: absolute; top: -14px; left: 50%; transform: translateX(-50%); background: var(--orange); color: #fff; font-weight: 800; font-size: 12px; padding: 4px 14px; border-radius: 999px; }
.step i { font-size: 34px; color: var(--navy); margin-bottom: 14px; }

/* CTA band */
.cta-band { background: var(--navy); color: #fff; text-align: center; padding: 60px 20px; }
.cta-band h2 { color: #fff; }

/* Form */
.form-card { background: #fff; border-radius: var(--radius); box-shadow: 0 10px 30px rgba(0,0,0,.1); padding: 34px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 16px; }
.form-group { display: flex; flex-direction: column; gap: 6px; }
label { font-weight: 600; font-size: 14px; }
input, select, textarea { padding: 12px 14px; border: 1px solid #d5dbe3; border-radius: 8px; font-size: 15px; font-family: inherit; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--call); }
.submit-btn { background: var(--orange); color: #fff; border: none; padding: 14px 30px; border-radius: 999px; font-weight: 700; font-size: 16px; cursor: pointer; width: 100%; }
.submit-btn:hover { opacity: .9; }
.alert { padding: 14px 18px; border-radius: 8px; margin-bottom: 20px; font-weight: 600; }
.alert.success { background: #e3f9ea; color: #1a7f3f; border: 1px solid #b6ecc9; }
.alert.error { background: #fdeaea; color: #b3261e; border: 1px solid #f6c8c6; }

/* Footer */
.site-footer { background: var(--navy-light); color: #cfd9e6; padding: 50px 0 10px; }
.footer-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.site-footer h4 { color: #fff; }
.footer-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.footer-list a:hover { color: var(--orange); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); margin-top: 34px; padding-top: 16px; text-align: center; font-size: 13px; }

/* Scroll-reveal animations (like old Elementor fadeInUp / slideInUp) */
.reveal { opacity: 0; transform: translateY(40px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: translateY(0); }
.reveal.from-right { transform: translateX(60px); }
.reveal.from-right.in { transform: translateX(0); }
.reveal.zoom { transform: scale(.9); }
.reveal.zoom.in { transform: scale(1); }
.reveal[data-delay="1"] { transition-delay: .15s; }
.reveal[data-delay="2"] { transition-delay: .3s; }
.reveal[data-delay="3"] { transition-delay: .45s; }
.reveal[data-delay="4"] { transition-delay: .6s; }
@media (prefers-reduced-motion: reduce) {
  .reveal, .hero .hero-bg, .hero .highlight::after { animation: none !important; transition: none !important; opacity: 1 !important; transform: none !important; }
}

/* Triangle shape divider between sections (like old site) */
.shape-divider { position: relative; overflow: hidden; }
.shape-divider.top { padding-top: 100px; }
.shape-divider > svg { position: absolute; left: 0; width: 100%; height: 70px; display: block; }
.shape-divider.top > svg { top: -1px; }
.shape-divider.bottom > svg { bottom: -1px; }
.shape-divider .shape-fill { fill: #fff; }
.shape-divider.fill-gray .shape-fill { fill: var(--gray-bg); }
.shape-divider.fill-navy .shape-fill { fill: var(--navy); }

/* Service card polish */
.service-card { transition: transform .25s ease, box-shadow .25s ease; }
.service-card:hover { box-shadow: 0 16px 36px rgba(11,31,58,.18); }
.service-card .img.photo { background-size: cover; transition: background-size .6s ease; }
.service-card:hover .img.photo { background-size: 118%; }
.service-card .body a.quote-link i { transition: transform .3s ease; }
.service-card:hover .body a.quote-link i { transform: translateX(5px); }

/* Public gallery + lightbox */
.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.gallery-item { position: relative; margin: 0; border-radius: var(--radius); overflow: hidden; cursor: pointer; box-shadow: 0 6px 20px rgba(0,0,0,.1); aspect-ratio: 4/3; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.gallery-item:hover img { transform: scale(1.08); }
.gallery-item figcaption { position: absolute; left: 0; right: 0; bottom: 0; background: linear-gradient(transparent, rgba(11,31,58,.85)); color: #fff; padding: 26px 16px 12px; font-weight: 700; }
.gallery-item figcaption span { display: block; font-weight: 400; font-size: 13px; color: #cfd9e6; }
.lightbox { position: fixed; inset: 0; background: rgba(0,0,0,.9); display: none; align-items: center; justify-content: center; flex-direction: column; z-index: 1100; padding: 30px; }
.lightbox.open { display: flex; }
.lightbox img { max-width: 92%; max-height: 82%; border-radius: 6px; }
.lightbox-close { position: absolute; top: 20px; right: 30px; color: #fff; font-size: 44px; cursor: pointer; line-height: 1; }
.lightbox-cap { color: #fff; margin-top: 16px; font-weight: 600; }
@media (max-width: 900px) { .gallery-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .gallery-grid { grid-template-columns: 1fr; } }

/* Cost-estimation popup */
.popup-overlay { position: fixed; inset: 0; background: rgba(11,31,58,.72); display: flex; align-items: center; justify-content: center; padding: 20px; z-index: 1000; opacity: 0; visibility: hidden; transition: opacity .35s ease; }
.popup-overlay.open { opacity: 1; visibility: visible; }
.popup-card { position: relative; background: var(--orange); color: var(--navy); width: 100%; max-width: 560px; border-radius: 6px; padding: 46px 46px 40px; box-shadow: 0 30px 80px rgba(0,0,0,.4); transform: translateY(30px) scale(.96); transition: transform .4s cubic-bezier(.2,.9,.3,1.2); }
.popup-overlay.open .popup-card { transform: translateY(0) scale(1); }
.popup-close { position: absolute; top: 16px; right: 20px; background: none; border: none; font-size: 30px; line-height: 1; color: var(--navy); cursor: pointer; }
.popup-card h2 { color: var(--navy); font-size: 30px; letter-spacing: .5px; margin: 0 0 14px; }
.popup-sub { color: #5a4a1f; font-size: 15px; margin: 0 0 26px; }
.popup-form input[type=text], .popup-form input[type=tel], .popup-form input[type=email] { width: 100%; border: none; border-radius: 4px; padding: 16px 18px; font-size: 16px; margin-bottom: 16px; }
.popup-actions { display: flex; justify-content: flex-end; }
.popup-submit { background: var(--navy); color: #fff; border: none; padding: 15px 30px; font-weight: 700; letter-spacing: 1px; border-radius: 3px; cursor: pointer; display: inline-flex; align-items: center; gap: 10px; transition: background .2s ease; }
.popup-submit:hover { background: #06294d; }
.popup-message { margin-top: 14px; font-weight: 700; text-align: right; }
.popup-message.ok { color: #0b5b2a; }
.popup-message.err { color: #7a1414; }
@media (max-width: 560px) { .popup-card { padding: 40px 24px 30px; } .popup-card h2 { font-size: 24px; } }

/* Sticky mobile buttons */
.sticky-call, .sticky-whatsapp { display: none; }

@media (max-width: 900px) {
  .grid-3, .grid-2, .footer-grid, .steps, .feature-list { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .main-nav ul { display: none; flex-direction: column; background: #fff; position: absolute; top: 100%; left: 0; right: 0; padding: 20px; box-shadow: 0 10px 20px rgba(0,0,0,.1); }
  .main-nav ul.open { display: flex; }
  .nav-toggle { display: block; }
  .header-cta { display: none; }
  .hero h1 { font-size: 30px; }
  .sticky-call { display: flex; position: fixed; bottom: 0; left: 0; right: 0; background: var(--call); color: #fff; justify-content: center; align-items: center; gap: 10px; padding: 14px; font-weight: 700; z-index: 200; }
  .sticky-whatsapp { display: flex; position: fixed; bottom: 66px; right: 16px; background: var(--whatsapp); color: #fff; width: 54px; height: 54px; border-radius: 50%; align-items: center; justify-content: center; font-size: 26px; box-shadow: 0 6px 16px rgba(0,0,0,.25); z-index: 200; }
}
