/*
Theme Name: Iconic Estate
Theme URI: https://example.com/iconic-estate
Author: Your Agency
Author URI: https://example.com
Description: A complete real-estate / property agency WordPress theme with hero slider, a Projects post type you can add/remove entries from, site-visit & contact forms, WhatsApp click-to-chat CTA, stats counters and testimonials. Built to be rebranded (logo, colors, copy) in minutes from the Customizer.
Version: 1.18.0
Requires at least: 6.0
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: iconic-estate
Tags: real-estate, custom-post-type, one-page, e-commerce-features
*/

/* =========================================================
   0. RESET / VARIABLES
   ========================================================= */
:root{
  --ie-primary:#00458D;      /* brand navy blue - change in Customizer */
  --ie-primary-dark:#00305f;
  --ie-accent:#C9A96E;       /* brand gold accent */
  --ie-text:#232323;
  --ie-muted:#6b7280;
  --ie-bg:#ffffff;
  --ie-bg-soft:#f6f7f5;
  --ie-radius:10px;
  --ie-shadow:0 10px 30px rgba(0,0,0,.08);
  --ie-container:1200px;
  --ie-whatsapp:#25D366;
}
*,*::before,*::after{box-sizing:border-box;}
html{scroll-behavior:smooth;-webkit-text-size-adjust:100%;}
a,button{-webkit-tap-highlight-color:transparent;}
a,a *,button,button *,[role="button"],[onclick]{cursor:pointer;}
body{
  margin:0;
  font-family:'Segoe UI',Arial,Helvetica,sans-serif;
  color:var(--ie-text);
  background:var(--ie-bg);
  line-height:1.65;
  font-size:16px;
}
img{max-width:100%;display:block;height:auto;}
a{color:inherit;text-decoration:none;}
ul{list-style:none;margin:0;padding:0;}
h1,h2,h3,h4{margin:0 0 .5em;line-height:1.25;font-weight:700;}
p{margin:0 0 1em;}
.container{max-width:var(--ie-container);margin:0 auto;padding:0 20px;}
.btn{
  display:inline-block;
  padding:14px 30px;
  background:var(--ie-primary);
  color:#fff;
  border:none;
  border-radius:50px;
  font-weight:600;
  cursor:pointer;
  transition:.25s;
  font-size:15px;
}
.btn:hover{background:var(--ie-primary-dark);transform:translateY(-2px);}
.btn.outline{background:transparent;border:2px solid #fff;color:#fff;}
.btn.gold{background:var(--ie-accent);color:#232323;}
.section{padding:80px 0;}
@media(max-width:760px){.section{padding:50px 0;}}
@media(max-width:760px){.section-head{margin-bottom:34px;}}
@media(max-width:760px){.section-head h2{font-size:26px;}}
.section-soft{background:var(--ie-bg-soft);}
.eyebrow{
  text-transform:uppercase;
  letter-spacing:2px;
  font-size:13px;
  font-weight:700;
  color:var(--ie-accent);
  margin-bottom:8px;
  display:block;
}
.section-head{max-width:700px;margin:0 auto 50px;text-align:center;}
.section-head h2{font-size:34px;}
.grid{display:grid;gap:30px;}
.grid-3{grid-template-columns:repeat(3,1fr);}
.grid-4{grid-template-columns:repeat(4,1fr);}
@media(max-width:900px){.grid-3,.grid-4{grid-template-columns:repeat(2,1fr);}}
@media(max-width:600px){.grid-3,.grid-4{grid-template-columns:1fr;}}

/* =========================================================
   1. TOP BAR
   ========================================================= */
.ie-topbar{
  background:var(--ie-primary-dark);
  color:#e6e6e6;
  font-size:13px;
  padding:8px 0;
}
.ie-topbar .container{
  display:flex;justify-content:space-between;flex-wrap:wrap;gap:8px;
}
.ie-topbar a{color:#e6e6e6;}
.ie-topbar .ie-topbar-links{display:flex;gap:22px;flex-wrap:wrap;}
.ie-topbar .ie-topbar-links span{opacity:.7;margin-right:4px;}

/* =========================================================
   2. HEADER / NAV
   ========================================================= */
.ie-header{
  background:#fff;
  box-shadow:0 2px 10px rgba(0,0,0,.06);
  position:sticky;top:0;z-index:500;
}
.ie-header .container{
  display:flex;align-items:center;justify-content:space-between;
  padding-top:14px;padding-bottom:14px;
}
.ie-logo img{max-height:56px;}
.ie-logo{font-size:22px;font-weight:800;color:var(--ie-primary);display:flex;flex-direction:column;justify-content:center;line-height:1.2;}
.ie-logo-text{font-size:22px;font-weight:800;color:var(--ie-primary);}
.ie-logo .custom-logo-link{display:block;}
.ie-tagline{font-size:12px;font-weight:600;color:var(--ie-muted);letter-spacing:.3px;margin-top:2px;}

/* Accessibility: visually hidden until focused, so keyboard users can jump past the header */
.ie-skip-link{
  position:absolute;left:-999px;top:auto;width:1px;height:1px;overflow:hidden;z-index:9999;
  background:var(--ie-primary);color:#fff;padding:14px 22px;border-radius:0 0 8px 0;font-weight:700;
}
.ie-skip-link:focus{left:0;top:0;width:auto;height:auto;}
.ie-nav{display:flex;align-items:center;gap:8px;}
.ie-nav ul{display:flex;gap:6px;align-items:center;}
.ie-nav li{position:relative;}
.ie-nav a{padding:10px 16px;display:block;font-weight:600;font-size:15px;border-radius:6px;}
.ie-nav a:hover{color:var(--ie-primary);}
.ie-nav li.menu-item-has-children > a::after{content:" \25BE";font-size:11px;}
.ie-nav .sub-menu{
  position:absolute;top:100%;left:0;background:#fff;min-width:220px;
  box-shadow:var(--ie-shadow);border-radius:8px;padding:8px;
  opacity:0;visibility:hidden;transform:translateY(8px);transition:.2s;
}
.ie-nav li:hover > .sub-menu{opacity:1;visibility:visible;transform:translateY(0);}
.ie-nav .sub-menu a{padding:10px 14px;border-radius:6px;}
.ie-nav .sub-menu a:hover{background:var(--ie-bg-soft);}
.ie-header-cta{display:flex;align-items:center;gap:14px;}
.ie-burger{
  display:none;background:none;border:none;font-size:26px;cursor:pointer;
  padding:8px 10px; /* larger tap target for mobile, meets 44px minimum guideline */
  -webkit-tap-highlight-color:transparent;
  margin-left:auto; /* defensive: keeps it pinned to the right edge even if another flex item is ever added later */
}

/* Dims the page behind the open mobile nav and closes it on tap */
.ie-nav-overlay{
  display:none;position:fixed;inset:0;background:rgba(0,0,0,.4);z-index:499;
}
.ie-nav-overlay.is-open{display:block;}

@media(max-width:960px){
  .ie-burger{display:block;}
  .ie-nav{
    position:fixed;top:0;right:-100%;height:100vh;width:min(300px,85vw);background:#fff;
    flex-direction:column;align-items:stretch;padding:80px 20px 20px;transition:.3s;
    box-shadow:-10px 0 30px rgba(0,0,0,.15);overflow-y:auto;z-index:501;
  }
  .ie-nav.is-open{right:0;}
  .ie-nav ul{flex-direction:column;align-items:stretch;width:100%;}
  .ie-nav a{padding:14px 16px;font-size:16px;} /* bigger, easier to tap on touchscreens */
  .ie-nav .sub-menu{position:static;opacity:1;visibility:visible;transform:none;box-shadow:none;display:none;}
  .ie-nav li.open > .sub-menu{display:block;}
  .ie-header-cta{display:none;} /* was hiding only the inner .btn, leaving an empty flex item that pushed the burger to the visual center instead of the right edge */
}
body.ie-nav-locked{overflow:hidden;} /* prevents background scroll while mobile nav is open */

/* Explicit close button inside the mobile nav drawer, since relying only
   on re-tapping the hamburger (which visitors may not realize toggles it)
   isn't an obvious enough way to close the menu. */
.ie-nav-close{
  display:none;position:absolute;top:20px;right:20px;background:none;border:none;
  font-size:30px;line-height:1;cursor:pointer;color:var(--ie-text);padding:6px 10px;
}
@media(max-width:960px){.ie-nav.is-open .ie-nav-close{display:block;}}

/* Hide the top contact bar on very small phones to save header height / keep more content above the fold; the same info lives in the sticky CTA bar and footer. */
@media(max-width:560px){ .ie-topbar{display:none;} }

/* =========================================================
   3. HERO SLIDER
   ========================================================= */
.ie-hero{position:relative;overflow:hidden;height:640px;max-height:88vh;}
.ie-hero-slide{
  position:absolute;inset:0;opacity:0;transition:opacity 1s ease;
  background-size:cover;background-position:center;
}
.ie-hero-slide.is-active{opacity:1;z-index:2;}
.ie-hero-video{
  position:absolute;inset:0;width:100%;height:100%;object-fit:cover;z-index:0;
}
.ie-hero-slide::after{
  content:"";position:absolute;inset:0;z-index:1;pointer-events:none;
  background:linear-gradient(90deg,rgba(0,48,95,.82) 0%,rgba(0,48,95,.45) 55%,rgba(0,48,95,.15) 100%);
}
.ie-hero-slide-inner{
  position:relative;z-index:2;height:100%;display:flex;align-items:center;color:#fff;
}
.ie-hero-slide-inner .container{max-width:640px;}
.ie-hero-slide-inner .eyebrow{color:var(--ie-accent);}
.ie-hero-slide-inner h2{font-size:46px;color:#fff;margin:0 0 .4em;}
.ie-visually-hidden{
  position:absolute !important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;
  clip:rect(0,0,0,0);white-space:nowrap;border:0;
}
.ie-hero-slide-inner p{font-size:17px;color:#eee;}
.ie-hero-cta{display:flex;gap:14px;margin-top:20px;flex-wrap:wrap;}
.ie-hero-dots{position:absolute;bottom:26px;left:0;right:0;z-index:3;display:flex;justify-content:center;gap:10px;pointer-events:none;}
.ie-hero-dots button{width:12px;height:12px;border-radius:50%;border:2px solid #fff;background:transparent;cursor:pointer;padding:0;pointer-events:auto;}
.ie-hero-dots button.is-active{background:var(--ie-accent);border-color:var(--ie-accent);}
.ie-hero-arrow{
  position:absolute;top:50%;transform:translateY(-50%);z-index:3;
  background:rgba(255,255,255,.15);border:1px solid rgba(255,255,255,.5);color:#fff;
  width:46px;height:46px;border-radius:50%;cursor:pointer;font-size:20px;
}
.ie-hero-arrow:hover{background:rgba(255,255,255,.3);}
.ie-hero-arrow.prev{left:24px;}
.ie-hero-arrow.next{right:24px;}
@media(max-width:700px){
  .ie-hero{height:520px;}
  .ie-hero-slide-inner h2{font-size:32px;}
  .ie-hero-arrow{display:none;}
}

/* Experience badge floating on hero */
.ie-exp-badge{
  position:absolute;z-index:4;right:60px;bottom:60px;background:#fff;color:var(--ie-primary);
  padding:18px 24px;border-radius:var(--ie-radius);box-shadow:var(--ie-shadow);text-align:center;
}
.ie-exp-badge b{display:block;font-size:30px;color:var(--ie-accent);}
@media(max-width:700px){.ie-exp-badge{display:none;}}

/* =========================================================
   4. ABOUT
   ========================================================= */
.ie-about{display:grid;grid-template-columns:1fr 1.1fr;gap:60px;align-items:center;}
.ie-about img{border-radius:var(--ie-radius);box-shadow:var(--ie-shadow);}
@media(max-width:860px){.ie-about{grid-template-columns:1fr;}}

/* =========================================================
   5. FEATURE / PROPERTY-TYPE CARDS
   ========================================================= */
.ie-feature-card{
  background:#fff;border-radius:var(--ie-radius);box-shadow:var(--ie-shadow);
  padding:34px 26px;text-align:center;transition:.25s;
}
.ie-feature-card:hover{transform:translateY(-6px);}
.ie-feature-card .ie-icon{width:60px;height:60px;margin:0 auto 18px;color:var(--ie-primary);}
.ie-feature-card .ie-icon svg{width:100%;height:100%;}
.ie-feature-card h3{font-size:19px;}
.ie-feature-card p{color:var(--ie-muted);font-size:14.5px;margin:0;}

/* =========================================================
   6. PROJECTS
   ========================================================= */
.ie-project-card{
  background:#fff;border-radius:var(--ie-radius);overflow:hidden;box-shadow:var(--ie-shadow);
  display:flex;flex-direction:column;transition:transform .35s cubic-bezier(.2,.7,.2,1), box-shadow .35s;
}
.ie-project-card:hover{transform:translateY(-8px);box-shadow:0 26px 50px rgba(0,0,0,.14);}
.ie-project-thumb{position:relative;height:220px;overflow:hidden;}
.ie-project-thumb::after{
  content:"";position:absolute;inset:0;
  background:linear-gradient(0deg,rgba(0,0,0,.35) 0%,rgba(0,0,0,0) 45%);
  opacity:0;transition:opacity .3s;pointer-events:none;
}
.ie-project-card:hover .ie-project-thumb::after{opacity:1;}
.ie-project-thumb img{width:100%;height:100%;object-fit:cover;transition:transform .6s cubic-bezier(.2,.7,.2,1);}
.ie-project-card:hover .ie-project-thumb img{transform:scale(1.08);}
.ie-project-status{
  position:absolute;top:14px;left:14px;background:var(--ie-accent);color:#232323;
  font-size:12px;font-weight:700;padding:5px 12px;border-radius:20px;text-transform:uppercase;
  box-shadow:0 4px 12px rgba(0,0,0,.18);z-index:1;
}
.ie-project-body{padding:24px 26px;flex:1;display:flex;flex-direction:column;}
.ie-project-body h3{font-size:20px;margin-bottom:2px;letter-spacing:-.2px;}
.ie-project-body h3 a{transition:color .2s;}
.ie-project-body h3 a:hover{color:var(--ie-primary);}
.ie-project-loc{color:var(--ie-muted);font-size:14px;margin-bottom:14px;display:flex;align-items:center;gap:4px;}
.ie-project-tags{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:20px;}
.ie-project-tags span{
  background:var(--ie-bg-soft);font-size:12.5px;padding:6px 12px;border-radius:20px;color:var(--ie-primary-dark);
  font-weight:600;transition:background .2s,color .2s;
}
.ie-project-card:hover .ie-project-tags span{background:var(--ie-primary);color:#fff;}
.ie-project-body .btn{margin-top:auto;align-self:flex-start;padding:11px 24px;font-size:14px;}
.ie-projects-toolbar{display:flex;justify-content:center;gap:10px;flex-wrap:wrap;margin-bottom:40px;}
.ie-projects-toolbar button{
  background:#fff;border:1px solid #ddd;padding:10px 22px;border-radius:30px;cursor:pointer;font-weight:600;font-size:14px;
  transition:.2s;
}
.ie-projects-toolbar button.is-active,.ie-projects-toolbar button:hover{
  background:var(--ie-primary);color:#fff;border-color:var(--ie-primary);
  box-shadow:0 8px 20px rgba(0,69,141,.25);
}

/* Single project template */
.ie-single-project-hero{
  position:relative;height:460px;background-size:cover;background-position:center;overflow:hidden;
}
.ie-single-project-hero::after{content:"";position:absolute;inset:0;z-index:1;background:linear-gradient(0deg,rgba(0,20,40,.78) 0%,rgba(0,20,40,.25) 60%,rgba(0,20,40,.35) 100%);}
.ie-single-project-hero .container{position:relative;z-index:2;height:100%;display:flex;flex-direction:column;justify-content:flex-end;align-items:flex-start;padding-bottom:40px;color:#fff;}
.ie-single-project-hero h1{color:#fff;font-size:38px;margin-bottom:8px;letter-spacing:-.5px;}
.ie-gallery{display:grid;grid-template-columns:repeat(var(--ie-gallery-columns,3),1fr);gap:14px;margin:30px 0;}
.ie-gallery img,.ie-gallery > div{border-radius:var(--ie-radius,10px);height:var(--ie-gallery-height,180px);width:100%;object-fit:cover;overflow:hidden;transition:transform .4s;}
.ie-gallery a{display:block;border-radius:var(--ie-radius,10px);overflow:hidden;height:var(--ie-gallery-height,180px);position:relative;}
.ie-gallery img:hover{transform:scale(1.06);}

/* Blur-until-clicked gallery photos */
.ie-gallery-blur img{filter:blur(18px);transform:scale(1.1);transition:filter .5s ease,transform .5s ease;}
.ie-gallery-blur.is-revealed img{filter:blur(0);transform:scale(1);}
.ie-gallery-reveal-hint{
  position:absolute;inset:0;display:flex;align-items:center;justify-content:center;gap:6px;
  background:rgba(0,20,40,.35);color:#fff;font-weight:700;font-size:13.5px;text-align:center;
  opacity:1;transition:opacity .4s ease;pointer-events:none;
}
.ie-gallery-blur.is-revealed .ie-gallery-reveal-hint{opacity:0;}
@media(max-width:900px){.ie-gallery{grid-template-columns:repeat(2,1fr);}}
@media(max-width:480px){.ie-gallery{grid-template-columns:1fr;}}
.ie-amenity-list{display:grid;grid-template-columns:repeat(2,1fr);gap:12px;margin:20px 0 30px;}
.ie-amenity-list li{padding:11px 15px;background:var(--ie-bg-soft);border-radius:8px;font-size:14.5px;transition:background .2s;}
.ie-amenity-list li:hover{background:#e9eef5;}
.ie-amenity-list li::before{content:"✓ ";color:var(--ie-primary);font-weight:800;}
.ie-single-layout{display:grid;grid-template-columns:2fr 1fr;gap:50px;align-items:start;}
.ie-single-layout > div,.ie-single-layout > aside{min-width:0;} /* prevents wide content (e.g. the comparison table) from forcing the whole grid — and page — wider than the viewport on mobile */
@media(max-width:860px){.ie-single-layout{grid-template-columns:1fr;}}
.ie-single-layout--full{grid-template-columns:1fr !important;max-width:820px;margin:0 auto;}

/* =========================================================
   23. PROJECT CONTENT BLOCKS (USPs, Location, Comparison, Updates, Layout Plan, Inventory, Map)
   ========================================================= */

/* USP highlight cards — the "above the fold" cards a project page leads with */
.ie-usp-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px;margin-bottom:36px;}
@media(max-width:860px){.ie-usp-grid{grid-template-columns:1fr;}}
.ie-usp-card{
  background:#fff;border-radius:var(--ie-radius);box-shadow:var(--ie-shadow);padding:26px;
  border-top:4px solid var(--ie-accent);display:flex;flex-direction:column;
}
.ie-usp-card h3{font-size:18px;margin-bottom:10px;color:var(--ie-primary);}
.ie-usp-card p{font-size:14.5px;color:var(--ie-muted);margin-bottom:14px;}
.ie-usp-note{font-size:12px !important;font-style:italic;color:#999 !important;margin-top:-8px;}
.ie-usp-card .btn{margin-top:auto;align-self:flex-start;padding:10px 20px;font-size:13.5px;}

/* Comparison table */
.ie-cmp-table-wrap{overflow-x:auto;margin:20px 0 10px;border-radius:var(--ie-radius);box-shadow:var(--ie-shadow);}
.ie-cmp-table{width:100%;border-collapse:collapse;background:#fff;min-width:480px;}
.ie-cmp-table th,.ie-cmp-table td{padding:13px 18px;text-align:left;font-size:14px;border-bottom:1px solid #eee;}
.ie-cmp-table th{background:var(--ie-primary);color:#fff;font-weight:700;font-size:13.5px;text-transform:uppercase;letter-spacing:.3px;}
.ie-cmp-table th:first-child,.ie-cmp-table td:first-child{font-weight:600;}
.ie-cmp-table tbody tr:last-child td{border-bottom:none;}
.ie-cmp-table tbody tr:nth-child(even){background:var(--ie-bg-soft);}
.ie-cmp-yes{color:#1a9c4a;font-weight:800;font-size:16px;}
.ie-cmp-no{color:#c0392b;font-weight:800;font-size:16px;}

/* Construction / project updates list — visually distinct from the amenity checkmarks */
.ie-progress-list{list-style:none;margin:16px 0 0;padding:0;}
.ie-progress-list li{
  position:relative;padding:10px 0 10px 30px;font-size:14.5px;border-left:2px solid var(--ie-accent);margin-left:6px;
}
.ie-progress-list li::before{
  content:"";position:absolute;left:-7px;top:14px;width:12px;height:12px;border-radius:50%;
  background:var(--ie-accent);border:2px solid #fff;box-shadow:0 0 0 2px var(--ie-accent);
}
.ie-progress-list li:last-child{border-left-color:transparent;}

/* Master layout plan image */
.ie-layout-plan-img{width:100%;height:auto;border-radius:var(--ie-radius);box-shadow:var(--ie-shadow);}
.ie-image-caption{font-size:13.5px;color:var(--ie-muted);margin-top:10px;font-style:italic;}

/* Inventory / plot sizes */
.ie-inventory-list{margin-top:16px;border-radius:var(--ie-radius);overflow:hidden;box-shadow:var(--ie-shadow);}
.ie-inventory-row{
  display:flex;justify-content:space-between;align-items:center;padding:14px 20px;
  background:#fff;border-bottom:1px solid #eee;font-size:14.5px;
}
.ie-inventory-row:last-child{border-bottom:none;}
.ie-inventory-row:nth-child(even){background:var(--ie-bg-soft);}
.ie-inventory-row .size{font-weight:700;color:var(--ie-primary-dark);}
.ie-inventory-row .price{color:var(--ie-muted);font-weight:600;}

/* Location map */
.ie-map-embed-wrap{box-shadow:var(--ie-shadow);border-radius:var(--ie-radius);overflow:hidden;}

/* Social icon row on single project pages — round icon buttons instead of text-label boxes */
.ie-social-icon-row{display:flex;gap:10px;margin-top:28px;}
.ie-social-icon-row a{
  width:42px;height:42px;border-radius:50%;background:var(--ie-bg-soft);color:var(--ie-primary);
  display:flex;align-items:center;justify-content:center;transition:.2s;
}
.ie-social-icon-row a:hover{background:var(--ie-primary);color:#fff;transform:translateY(-3px);}
.ie-side-card{
  background:var(--ie-bg-soft);border-radius:var(--ie-radius);padding:28px;position:sticky;top:100px;
  border-top:4px solid var(--ie-primary);box-shadow:0 12px 30px rgba(0,0,0,.06);
}

/* =========================================================
   7. STATS COUNTER
   ========================================================= */
.ie-stats{background:var(--ie-primary);color:#fff;padding:60px 0;}
.ie-stats .grid-4{text-align:center;}
.ie-stats .num{font-size:44px;font-weight:800;color:var(--ie-accent);display:block;}
.ie-stats .label{font-size:14px;letter-spacing:1px;text-transform:uppercase;opacity:.85;}

/* =========================================================
   8. FORMS (consultation + site visit popup)
   ========================================================= */
.ie-form-section{
  background:var(--ie-primary);
  border-radius:20px;padding:60px;color:#fff;
  display:grid;grid-template-columns:1fr 1fr;gap:50px;align-items:center;
}
@media(max-width:860px){.ie-form-section{grid-template-columns:1fr;padding:34px;border-radius:var(--ie-radius);}}
.ie-form-section h2{color:#fff;}
.ie-form-section p{color:#dcdcdc;}
.ie-form-row{display:grid;grid-template-columns:1fr 1fr;gap:14px;}
.ie-form-row.full,.ie-form textarea{grid-template-columns:1fr;}
.ie-form input,.ie-form textarea,.ie-form select{
  width:100%;padding:14px 16px;border:none;border-radius:8px;margin-bottom:14px;
  font-size:16px; /* 16px minimum prevents iOS Safari auto-zooming the page on focus */
  font-family:inherit;
}
@media(max-width:480px){
  .ie-form-row{grid-template-columns:1fr;gap:0;}
}
.ie-form textarea{resize:vertical;min-height:110px;}
.ie-form .btn{width:100%;}
.ie-form-note{font-size:13px;margin-top:10px;color:#cfd8d4;}
.ie-form-success{background:#e9f9ee;color:#1a7a3d;padding:14px 18px;border-radius:8px;margin-bottom:16px;font-size:14px;}
.ie-form-error{background:#fdeaea;color:#b42323;padding:14px 18px;border-radius:8px;margin-bottom:16px;font-size:14px;}

/* Site-visit modal */
.ie-modal-overlay{
  position:fixed;inset:0;background:rgba(0,0,0,.6);z-index:9600;display:none;align-items:center;justify-content:center;padding:20px;
}
.ie-modal-overlay.is-open{display:flex;}
.ie-modal{background:#fff;max-width:480px;width:100%;border-radius:var(--ie-radius);padding:34px;position:relative;max-height:90vh;overflow:auto;}
@media(max-width:480px){.ie-modal{padding:26px 20px;}}
.ie-modal-close{position:absolute;top:14px;right:16px;background:none;border:none;font-size:22px;cursor:pointer;}
.ie-modal h3{margin-bottom:4px;}
.ie-modal .ie-form input,.ie-modal .ie-form textarea{background:var(--ie-bg-soft);}
.ie-modal .btn{width:100%;}

/* =========================================================
   9. TESTIMONIALS
   ========================================================= */
.ie-testimonial-card{background:#fff;border-radius:var(--ie-radius);box-shadow:var(--ie-shadow);padding:30px;}
.ie-testimonial-card .stars{color:var(--ie-accent);letter-spacing:2px;margin-bottom:10px;}
.ie-testimonial-card .author{display:flex;align-items:center;gap:12px;margin-top:18px;}
.ie-testimonial-card .author img{width:46px;height:46px;border-radius:50%;object-fit:cover;}
.ie-testimonial-card .author strong{display:block;font-size:14.5px;}
.ie-testimonial-card .author span{font-size:13px;color:var(--ie-muted);}

/* =========================================================
   10. BLOG CARDS
   ========================================================= */
.ie-blog-card{background:#fff;border-radius:var(--ie-radius);overflow:hidden;box-shadow:var(--ie-shadow);}
.ie-blog-card img{height:180px;width:100%;object-fit:cover;}
.ie-blog-card .body{padding:20px 22px;}
.ie-blog-card .date{font-size:12.5px;color:var(--ie-muted);text-transform:uppercase;letter-spacing:1px;}
.ie-blog-card h3{font-size:17px;margin:8px 0 10px;}
.ie-blog-card a.readmore{font-weight:700;color:var(--ie-primary);font-size:14px;}

/* =========================================================
   11. FOOTER
   ========================================================= */
.ie-footer{background:#111a15;color:#c8cdc9;padding:70px 0 0;}
.ie-footer h4{color:#fff;font-size:16px;margin-bottom:18px;}
.ie-footer-grid{display:grid;grid-template-columns:1.4fr 1fr 1fr 1.2fr;gap:40px;}
@media(max-width:900px){.ie-footer-grid{grid-template-columns:1fr 1fr;}}
@media(max-width:560px){.ie-footer-grid{grid-template-columns:1fr;}}
.ie-footer li{margin-bottom:10px;font-size:14.5px;}
.ie-footer a:hover{color:var(--ie-accent);}
.ie-footer-social{display:flex;gap:10px;margin-top:16px;}
.ie-footer-social a{
  width:38px;height:38px;border-radius:50%;background:rgba(255,255,255,.08);
  display:flex;align-items:center;justify-content:center;
}
.ie-footer-gallery{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;}
.ie-footer-gallery img{border-radius:6px;aspect-ratio:1/1;object-fit:cover;}
.ie-footer-bottom{border-top:1px solid rgba(255,255,255,.1);margin-top:50px;padding:22px 0;text-align:center;font-size:13.5px;}

/* =========================================================
   12. WHATSAPP FLOATING CTA + CHAT BUBBLE
   ========================================================= */
.ie-whatsapp-float{
  position:fixed;bottom:26px;right:26px;z-index:8000;
  width:60px;height:60px;border-radius:50%;background:var(--ie-whatsapp);
  display:flex;align-items:center;justify-content:center;box-shadow:0 8px 24px rgba(0,0,0,.25);
  animation:ie-pulse 2.4s infinite;
}
.ie-whatsapp-float svg{width:32px;height:32px;fill:#fff;}
@keyframes ie-pulse{
  0%{box-shadow:0 0 0 0 rgba(37,211,102,.55);}
  70%{box-shadow:0 0 0 14px rgba(37,211,102,0);}
  100%{box-shadow:0 0 0 0 rgba(37,211,102,0);}
}
.ie-whatsapp-chatbox{
  position:fixed;bottom:100px;right:26px;width:300px;background:#fff;border-radius:var(--ie-radius);
  box-shadow:0 12px 40px rgba(0,0,0,.25);z-index:8000;display:none;overflow:hidden;
}
.ie-whatsapp-chatbox.is-open{display:block;}
.ie-whatsapp-chatbox .head{background:var(--ie-whatsapp);color:#fff;padding:16px;display:flex;justify-content:space-between;align-items:center;}
.ie-whatsapp-chatbox .head b{display:block;font-size:14.5px;}
.ie-whatsapp-chatbox .head span{font-size:12px;opacity:.9;}
.ie-whatsapp-chatbox .head button{background:none;border:none;color:#fff;font-size:18px;cursor:pointer;}
.ie-whatsapp-chatbox .body{padding:16px;background:#e9f5ee;}
.ie-whatsapp-chatbox .bubble{background:#fff;padding:10px 14px;border-radius:10px;font-size:13.5px;margin-bottom:10px;max-width:90%;box-shadow:0 2px 6px rgba(0,0,0,.06);}
.ie-whatsapp-chatbox .cta{display:block;text-align:center;background:var(--ie-whatsapp);color:#fff;padding:12px;font-weight:700;font-size:14px;}

/* On mobile, the sticky call/site-visit bar occupies the bottom ~56px,
   so lift the WhatsApp widgets clear of it to avoid overlap. */
@media(max-width:760px){
  .ie-whatsapp-float{bottom:78px;right:16px;width:54px;height:54px;}
  .ie-whatsapp-float svg{width:28px;height:28px;}
  .ie-whatsapp-chatbox{bottom:146px;right:16px;width:calc(100vw - 32px);max-width:300px;}
}

/* =========================================================
   13. UTILITIES
   ========================================================= */
.text-center{text-align:center;}
.mt-0{margin-top:0;}
.ie-badge-row{display:flex;gap:14px;flex-wrap:wrap;margin-top:20px;}
.ie-badge-row .item{background:#fff;box-shadow:var(--ie-shadow);border-radius:10px;padding:14px 18px;display:flex;align-items:center;gap:10px;}
.ie-badge-row .item b{font-size:20px;color:var(--ie-primary);}
.ie-breadcrumb{background:var(--ie-bg-soft);padding:16px 0;font-size:14px;color:var(--ie-muted);}
.ie-breadcrumb ol{display:flex;flex-wrap:wrap;align-items:center;list-style:none;margin:0;padding:0;}
.ie-breadcrumb li{display:flex;align-items:center;}
.ie-breadcrumb li:not(:last-child)::after{
  content:"›";margin:0 10px;color:#b8bfc7;font-size:16px;line-height:1;
}
.ie-breadcrumb a{color:var(--ie-primary);font-weight:600;transition:color .2s;}
.ie-breadcrumb a:hover{color:var(--ie-primary-dark);text-decoration:underline;}
.ie-breadcrumb li[aria-current="page"] span{
  color:var(--ie-muted);font-weight:400;
  max-width:260px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;display:inline-block;vertical-align:bottom;
}
@media(max-width:600px){
  .ie-breadcrumb{padding:12px 0;font-size:13px;}
  .ie-breadcrumb li[aria-current="page"] span{max-width:140px;}
}
.ie-pagination{display:flex;gap:8px;justify-content:center;margin-top:40px;}
.ie-pagination a,.ie-pagination span{padding:10px 16px;border-radius:8px;background:var(--ie-bg-soft);font-size:14px;}
.ie-pagination .current{background:var(--ie-primary);color:#fff;}

/* =========================================================
   14. SCROLL-REVEAL ANIMATION SYSTEM (cheap, GPU-only, opt-out via prefers-reduced-motion)
   ========================================================= */
.ie-reveal{
  opacity:1;transform:none; /* visible by default — safe if JS never runs */
}
.ie-reveal.ie-armed{
  opacity:0;
  transform:translateY(28px);
  transition:opacity .7s cubic-bezier(.2,.7,.2,1), transform .7s cubic-bezier(.2,.7,.2,1);
  will-change:opacity, transform;
}
.ie-reveal.ie-armed.is-visible{opacity:1;transform:translateY(0);}
.ie-reveal-1{transition-delay:.08s;}
.ie-reveal-2{transition-delay:.16s;}
.ie-reveal-3{transition-delay:.24s;}
.ie-reveal-4{transition-delay:.32s;}

/* Hero Ken Burns slow zoom - runs only on the active slide (others paused, costs ~0 CPU) */
.ie-hero-slide{
  animation:ie-kenburns 13s ease-in-out infinite alternate;
  animation-play-state:paused;
}
.ie-hero-slide.is-active{animation-play-state:running;}
@keyframes ie-kenburns{
  0%{transform:scale(1);}
  100%{transform:scale(1.09);}
}

@media (prefers-reduced-motion: reduce){
  .ie-reveal.ie-armed{opacity:1;transform:none;transition:none;}
  .ie-hero-slide{animation:none;}
}

/* =========================================================
   15. PROCESS / STEPS TIMELINE
   ========================================================= */
.ie-process{display:grid;grid-template-columns:repeat(4,1fr);gap:30px;position:relative;}
@media(max-width:900px){.ie-process{grid-template-columns:repeat(2,1fr);}}
@media(max-width:560px){.ie-process{grid-template-columns:1fr;}}
.ie-process-step{text-align:center;position:relative;}
.ie-process-step .num{
  width:56px;height:56px;border-radius:50%;background:var(--ie-primary);color:#fff;
  display:flex;align-items:center;justify-content:center;font-weight:800;font-size:20px;margin:0 auto 18px;
  box-shadow:0 8px 20px rgba(0,69,141,.25);
}
.ie-process-step h4{font-size:17px;margin-bottom:8px;}
.ie-process-step p{font-size:14px;color:var(--ie-muted);margin:0;}

/* =========================================================
   16. FAQ ACCORDION (native <details>, zero JS cost)
   ========================================================= */
.ie-faq{max-width:840px;margin:0 auto;}
.ie-faq details{
  background:#fff;border-radius:10px;box-shadow:var(--ie-shadow);margin-bottom:14px;padding:6px 24px;
}
.ie-faq summary{
  cursor:pointer;list-style:none;padding:18px 0;font-weight:700;font-size:16px;
  display:flex;justify-content:space-between;align-items:center;
}
.ie-faq summary::-webkit-details-marker{display:none;}
.ie-faq summary::after{content:"+";font-size:22px;color:var(--ie-primary);transition:transform .25s;}
.ie-faq details[open] summary::after{transform:rotate(45deg);}
.ie-faq .ie-faq-body{padding:0 0 20px;color:var(--ie-muted);font-size:14.5px;line-height:1.7;}

/* =========================================================
   17. STICKY MOBILE CTA BAR
   ========================================================= */
.ie-sticky-cta{
  display:none;position:fixed;left:0;right:0;bottom:0;z-index:7000;
  background:#fff;box-shadow:0 -6px 20px rgba(0,0,0,.12);
  grid-template-columns:1fr 1fr;
}
.ie-sticky-cta a{
  text-align:center;padding:15px 10px;font-weight:700;font-size:14px;
}
.ie-sticky-cta a.call{background:var(--ie-primary);color:#fff;}
.ie-sticky-cta a.visit{background:var(--ie-accent);color:#232323;}
@media(max-width:760px){.ie-sticky-cta{display:grid;}
  body{padding-bottom:54px;}
}

/* =========================================================
   18. BACK TO TOP
   ========================================================= */
.ie-back-to-top{
  position:fixed;right:26px;bottom:96px;z-index:7500;width:46px;height:46px;border-radius:50%;
  background:#fff;color:var(--ie-primary);border:1px solid #e4e4e4;box-shadow:var(--ie-shadow);
  display:flex;align-items:center;justify-content:center;font-size:20px;cursor:pointer;
  opacity:0;visibility:hidden;transform:translateY(10px);transition:.25s;
}
.ie-back-to-top.is-visible{opacity:1;visibility:visible;transform:translateY(0);}
@media(max-width:760px){.ie-back-to-top{bottom:150px;right:16px;}}

/* =========================================================
   19. COOKIE NOTICE
   ========================================================= */
.ie-cookie-notice{
  position:fixed;left:16px;right:16px;bottom:16px;z-index:9500;max-width:520px;
  background:#111a15;color:#e6e6e6;border-radius:12px;padding:18px 20px;
  box-shadow:0 12px 32px rgba(0,0,0,.3);
  display:none;align-items:center;gap:16px;flex-wrap:wrap;
}
.ie-cookie-notice.is-visible{display:flex;}
.ie-cookie-notice p{margin:0;font-size:13.5px;flex:1;min-width:0;}
.ie-cookie-notice .btn{padding:9px 20px;font-size:13.5px;flex-shrink:0;}
@media(max-width:760px){.ie-cookie-notice{bottom:64px;}}

/* =========================================================
   20. POPUP BANNER
   ========================================================= */
.ie-popup-modal{text-align:center;}
.ie-popup-modal .ie-popup-image{border-radius:10px;margin-bottom:18px;width:100%;height:auto;max-height:260px;object-fit:cover;}
.ie-popup-modal .ie-popup-video{position:relative;padding-bottom:56.25%;height:0;border-radius:10px;overflow:hidden;margin-bottom:18px;}
.ie-popup-modal .ie-popup-video iframe{position:absolute;inset:0;width:100%;height:100%;border:0;}
.ie-popup-modal h3{font-size:22px;}
.ie-popup-body{color:var(--ie-muted);font-size:14.5px;margin-bottom:18px;}
.ie-popup-body p:last-child{margin-bottom:0;}

/* =========================================================
   22. INSTAGRAM FEED
   ========================================================= */
.ie-instagram-grid{display:grid;grid-template-columns:repeat(var(--ie-instagram-columns,6),1fr);gap:12px;}
@media(max-width:900px){.ie-instagram-grid{grid-template-columns:repeat(3,1fr);}}
@media(max-width:500px){.ie-instagram-grid{grid-template-columns:repeat(2,1fr);}}
.ie-instagram-item{position:relative;display:block;aspect-ratio:1/1;border-radius:var(--ie-radius,10px);overflow:hidden;}
.ie-instagram-item img{width:100%;height:100%;object-fit:cover;transition:transform .4s;}
.ie-instagram-item:hover img{transform:scale(1.08);}
.ie-instagram-overlay{
  position:absolute;inset:0;background:rgba(0,69,141,.55);display:flex;align-items:center;justify-content:center;
  font-size:26px;opacity:0;transition:opacity .3s;
}
.ie-instagram-item:hover .ie-instagram-overlay{opacity:1;}

/* Popup design themes — set per-popup from wp-admin */
.ie-popup-modal.ie-popup-style-brand{border-top:6px solid var(--ie-primary);}
.ie-popup-modal.ie-popup-style-gold{border-top:6px solid var(--ie-accent);}
.ie-popup-modal.ie-popup-style-light{border:1px solid #e7e7e7;box-shadow:0 20px 50px rgba(0,0,0,.12);}
.ie-popup-modal.ie-popup-style-dark{background:#161f1a;color:#f0f0f0;}
.ie-popup-modal.ie-popup-style-dark h3{color:#fff;}
.ie-popup-modal.ie-popup-style-dark .ie-popup-body{color:#c7cdc9;}
.ie-popup-modal.ie-popup-style-dark .ie-modal-close{color:#fff;}

/* =========================================================
   21. DESIGN STYLE VARIANTS (Customize -> Design Style & Effects)
   ========================================================= */

/* --- Button shape --- */
body.ie-btn-pill .btn{border-radius:50px;}
body.ie-btn-rounded .btn{border-radius:8px;}
body.ie-btn-square .btn{border-radius:2px;}

/* --- Minimal: flat, no shadows, sharp corners --- */
body.ie-style-minimal{--ie-shadow:none;--ie-radius:2px;}
body.ie-style-minimal .ie-feature-card,
body.ie-style-minimal .ie-project-card,
body.ie-style-minimal .ie-testimonial-card,
body.ie-style-minimal .ie-blog-card{border:1px solid #e7e7e7;}
body.ie-style-minimal .ie-header{box-shadow:none;border-bottom:1px solid #eee;}

/* --- Bold: strong gradients & shadows --- */
body.ie-style-bold{--ie-shadow:0 22px 50px rgba(0,0,0,.18);--ie-radius:18px;}
body.ie-style-bold .btn{
  background:linear-gradient(135deg,var(--ie-primary),var(--ie-primary-dark));
  box-shadow:0 10px 26px rgba(0,69,141,.35);
}
body.ie-style-bold .btn.gold{background:linear-gradient(135deg,var(--ie-accent),#a9803f);color:#fff;box-shadow:0 10px 26px rgba(201,169,110,.4);}
body.ie-style-bold .ie-feature-card:hover,
body.ie-style-bold .ie-project-card:hover{transform:translateY(-10px) scale(1.01);}
body.ie-style-bold .ie-stats{background:linear-gradient(135deg,var(--ie-primary),var(--ie-primary-dark));}
body.ie-style-bold .eyebrow{font-size:14px;}

/* --- Glass: frosted glassmorphism on header, cards, modals & floating panels --- */
body.ie-style-glass{--ie-radius:16px;}
body.ie-style-glass .ie-header{
  background:rgba(255,255,255,.6);
  backdrop-filter:blur(16px); -webkit-backdrop-filter:blur(16px);
  border-bottom:1px solid rgba(255,255,255,.5);
}
body.ie-style-glass .ie-feature-card,
body.ie-style-glass .ie-project-card,
body.ie-style-glass .ie-testimonial-card,
body.ie-style-glass .ie-blog-card,
body.ie-style-glass .ie-side-card,
body.ie-style-glass .ie-modal,
body.ie-style-glass .ie-whatsapp-chatbox,
body.ie-style-glass .ie-cookie-notice{
  background:rgba(255,255,255,.55);
  backdrop-filter:blur(18px); -webkit-backdrop-filter:blur(18px);
  border:1px solid rgba(255,255,255,.55);
}
body.ie-style-glass .ie-cookie-notice{background:rgba(17,26,21,.6);border-color:rgba(255,255,255,.15);}
body.ie-style-glass .ie-form-section{
  background:rgba(0,69,141,.55);
  backdrop-filter:blur(14px); -webkit-backdrop-filter:blur(14px);
  border:1px solid rgba(255,255,255,.2);
}
body.ie-style-glass .ie-stats{
  background:rgba(0,69,141,.5);
  backdrop-filter:blur(14px); -webkit-backdrop-filter:blur(14px);
}
body.ie-style-glass .ie-hero-slide-inner .container > *{position:relative;}
body.ie-style-glass .ie-hero-slide-inner .eyebrow,
body.ie-style-glass .ie-hero-slide-inner h2,
body.ie-style-glass .ie-hero-slide-inner p{
  background:rgba(0,0,0,.18);
  backdrop-filter:blur(6px); -webkit-backdrop-filter:blur(6px);
  display:inline-block;padding:6px 16px;border-radius:8px;
}
body.ie-style-glass .ie-hero-slide-inner h2{padding:10px 20px;}
body.ie-style-glass .ie-faq details{
  background:rgba(255,255,255,.55);
  backdrop-filter:blur(14px); -webkit-backdrop-filter:blur(14px);
  border:1px solid rgba(255,255,255,.5);
}
