/* ==========================================================================
   URBAN HOMES - MODERN LIGHT THEME (AMBER & TERRACOTTA - NO BLUE)
   ========================================================================== */

   @import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800;900&display=swap');

   /* --- RESET & VARIABLES --- */
   * {
       margin: 0;
       padding: 0;
       box-sizing: border-box;
   }
   
   :root {
       /* Light Modern Palette - WARM TONES ONLY */
       --bg-white: #ffffff;
       --bg-light: #fafaf9;         /* Very soft warm stone */
       --bg-dark: #1c1917;          /* Rich Charcoal */
       --bg-card: #ffffff;
       
       /* Warm Gradients & Accents (Zero Blue) */
       --accent-solid: #ea580c;     /* Terracotta/Burnt Orange */
       --accent-secondary: #eab308; /* Rich Gold */
       --gradient-primary: linear-gradient(135deg, #ea580c 0%, #eab308 100%);
       --gradient-hover: linear-gradient(135deg, #c2410c 0%, #ca8a04 100%);
       --gradient-light: linear-gradient(135deg, #ffedd5 0%, #fef08a 100%);
       
       /* Text Colors */
       --text-dark: #1c1917;        
       --text-body: #57534e;        
       --text-muted: #a8a29e;
       --text-light: #fafaf9;
       
       /* Structure & Effects */
       --border-color: #e7e5e4;
       --shadow-sm: 0 4px 6px -1px rgba(234, 88, 12, 0.05);
       --shadow-md: 0 10px 20px -5px rgba(234, 88, 12, 0.08);
       --shadow-lg: 0 25px 50px -12px rgba(234, 88, 12, 0.12);
       --transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
       --header-height: 90px;
       --border-radius-sm: 16px;
       --border-radius-lg: 32px;
   }
   
   html, body {
       font-family: 'Outfit', sans-serif;
       background-color: var(--bg-white);
       color: var(--text-body);
       line-height: 1.7;
       overflow-x: hidden;
       width: 100%;
       scroll-behavior: smooth;
   }
   
   /* --- TYPOGRAPHY --- */
   h1, h2, h3, h4, h5 {
       color: var(--text-dark);
       font-weight: 800;
       line-height: 1.2;
       letter-spacing: -0.5px;
   }
   .text-gradient {
       background: var(--gradient-primary);
       -webkit-background-clip: text;
       -webkit-text-fill-color: transparent;
       display: inline-block;
   }
   a {
       text-decoration: none;
       color: inherit;
       transition: var(--transition);
   }
   img {
       max-width: 100%;
       height: auto;
       display: block;
       object-fit: cover;
   }
   
   /* --- LAYOUT UTILITIES --- */
   .container {
       width: 100%;
       max-width: 1300px;
       margin: 0 auto;
       padding: 0 5%;
   }
   .py-mega { padding: 120px 0; }
   .py-large { padding: 80px 0; }
   .text-center { text-align: center; }
   .bg-light { background-color: var(--bg-light); border-top: 1px solid var(--border-color); border-bottom: 1px solid var(--border-color); }
   .bg-dark { background-color: var(--bg-dark); color: var(--text-light); }
   .bg-dark h2, .bg-dark h3, .bg-dark h4 { color: var(--text-light); }
   
   /* Strict Grid Alignments */
   .grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 60px; align-items: center; }
   .grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; align-items: stretch; }
   .grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; align-items: stretch; }
   
   /* Section Headers */
   .section-header { margin-bottom: 60px; max-width: 800px; }
   .section-header h2 { font-size: 3.5rem; margin-bottom: 20px; }
   .section-header.text-center { margin-left: auto; margin-right: auto; }
   .badge { display: inline-block; background: var(--gradient-light); color: var(--accent-solid); padding: 8px 24px; border-radius: 50px; font-weight: 800; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 20px; border: 1px solid rgba(234, 88, 12, 0.2); }
   
   /* --- BUTTONS --- */
   .btn-primary, .btn-outline {
       display: inline-flex; align-items: center; justify-content: center; gap: 10px;
       padding: 18px 42px; border-radius: 50px; font-weight: 700; font-size: 1.05rem;
       text-transform: uppercase; letter-spacing: 1px; transition: var(--transition); cursor: pointer; border: none;
   }
   .btn-primary {
       background: var(--gradient-primary); color: var(--bg-white) !important;
       box-shadow: 0 10px 20px rgba(234, 88, 12, 0.25);
   }
   .btn-primary:hover {
       background: var(--gradient-hover); transform: translateY(-4px);
       box-shadow: 0 15px 30px rgba(234, 88, 12, 0.35);
   }
   .btn-outline {
       background: transparent; color: var(--text-dark) !important;
       border: 2px solid var(--accent-solid);
   }
   .btn-outline:hover {
       background: var(--gradient-primary); color: var(--bg-white) !important; border-color: transparent; transform: translateY(-4px);
   }
   
   /* --- HEADER & NAVIGATION --- */
   .top-bar { background: var(--bg-dark); color: var(--text-muted); font-size: 0.85rem; padding: 10px 0; font-weight: 500; letter-spacing: 0.5px; }
   .top-bar .container { display: flex; justify-content: space-between; align-items: center; }
   .top-bar a { color: var(--text-light); transition: var(--transition); }
   .top-bar a:hover { color: var(--accent-secondary); }
   
   header {
       position: sticky; top: 0; width: 100%; height: var(--header-height); z-index: 1000;
       background: rgba(255, 255, 255, 0.95); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
       border-bottom: 1px solid var(--border-color); transition: var(--transition); display: flex; align-items: center;
   }
   header.scrolled { height: 80px; box-shadow: var(--shadow-md); }
   .nav-container { display: flex; justify-content: space-between; align-items: center; width: 100%; height: 100%; }
   .logo h1 { font-size: 2.2rem; font-weight: 900; letter-spacing: -1px; margin: 0; display: flex; align-items: center; gap: 8px;}
   .logo h1 span { background: var(--gradient-primary); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
   
   .nav-links { display: flex; gap: 40px; list-style: none; margin: 0; padding: 0; }
   .nav-links a { font-weight: 700; font-size: 1rem; color: var(--text-dark); transition: var(--transition); text-transform: uppercase; letter-spacing: 0.5px;}
   .nav-links a:hover, .nav-links a.active { color: var(--accent-solid); }
   
   /* Hamburger Menu */
   .hamburger { display: none; flex-direction: column; gap: 6px; cursor: pointer; border: none; background: none; z-index: 1001; padding: 5px; }
   .hamburger span { width: 34px; height: 3px; background: var(--text-dark); border-radius: 5px; transition: var(--transition); }
   .hamburger.active span:nth-child(1) { transform: translateY(9px) rotate(45deg); background: var(--accent-solid); }
   .hamburger.active span:nth-child(2) { opacity: 0; }
   .hamburger.active span:nth-child(3) { transform: translateY(-9px) rotate(-45deg); background: var(--accent-solid); }
   
   /* --- HERO SECTION --- */
   .hero { position: relative; min-height: 90vh; display: flex; align-items: center; overflow: hidden; background: var(--bg-light); padding-top: 40px;}
   .hero-bg { position: absolute; inset: 0; z-index: 0; }
   .hero-bg img { width: 100%; height: 100%; object-fit: cover; object-position: center; opacity: 0.15; filter: grayscale(100%); }
   .hero-content { position: relative; z-index: 2; max-width: 850px; text-align: center; margin: 0 auto; }
   .hero-content h1 { font-size: 5.5rem; line-height: 1.1; margin-bottom: 30px; letter-spacing: -2px; }
   .hero-content p { font-size: 1.3rem; color: var(--text-body); margin-bottom: 50px; max-width: 700px; margin-left: auto; margin-right: auto; }
   
   /* --- CARDS & WIDGETS --- */
   .service-card { background: var(--bg-card); padding: 50px 40px; border-radius: var(--border-radius-lg); border: 1px solid var(--border-color); transition: var(--transition); box-shadow: var(--shadow-sm); position: relative; overflow: hidden; display: flex; flex-direction: column; height: 100%; }
   .service-card::before { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 6px; background: var(--gradient-primary); transform: scaleX(0); transform-origin: left; transition: transform 0.5s ease; }
   .service-card:hover { transform: translateY(-12px); box-shadow: var(--shadow-lg); border-color: transparent; }
   .service-card:hover::before { transform: scaleX(1); }
   .icon-box { font-size: 3rem; margin-bottom: 30px; display: inline-flex; align-items: center; justify-content: center; width: 90px; height: 90px; background: var(--gradient-light); border-radius: var(--border-radius-sm); border: 1px solid rgba(234,88,12,0.1); }
   .service-card h3 { font-size: 2rem; margin-bottom: 20px; }
   .service-card p { font-size: 1.1rem; flex-grow: 1; margin-bottom: 30px; color: var(--text-body); }
   .service-link { font-weight: 800; color: var(--accent-solid); text-transform: uppercase; letter-spacing: 1px; display: inline-flex; align-items: center; gap: 8px; font-size: 0.95rem;}
   .service-link:hover { gap: 15px; }
   
   /* Image Split Cards */
   .split-card { border-radius: var(--border-radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); position: relative; height: 100%; min-height: 500px; }
   .split-card img { width: 100%; height: 100%; position: absolute; inset: 0; transition: transform 0.8s ease; }
   .split-card:hover img { transform: scale(1.05); }
   
   /* --- STATS COUNTER --- */
   .stats-wrapper { display: flex; justify-content: space-around; flex-wrap: wrap; gap: 40px; padding: 80px 5%; background: var(--bg-dark); border-radius: var(--border-radius-lg); box-shadow: var(--shadow-lg); position: relative; overflow: hidden;}
   .stats-wrapper::after { content: ''; position: absolute; right: -10%; top: -50%; width: 500px; height: 500px; background: var(--gradient-primary); filter: blur(200px); opacity: 0.15; z-index: 0; pointer-events: none;}
   .stat-box { text-align: center; position: relative; z-index: 1;}
   .stat-box h3 { font-size: 4.5rem; color: var(--text-light); margin-bottom: 5px; line-height: 1; font-weight: 900;}
   .stat-box h3 span { color: var(--accent-solid); }
   .stat-box p { color: var(--accent-secondary); font-weight: 700; text-transform: uppercase; letter-spacing: 2px; font-size: 1.05rem; }
   
   /* --- TESTIMONIAL SLIDER --- */
   .slider-container { position: relative; overflow: hidden; padding-bottom: 60px; max-width: 900px; margin: 0 auto; }
   .slider-wrapper { display: flex; transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1); }
   .slide { min-width: 100%; padding: 50px; background: var(--bg-white); border-radius: var(--border-radius-lg); border: 1px solid var(--border-color); box-shadow: var(--shadow-md); text-align: center; }
   .quote-icon { font-size: 5rem; color: var(--accent-solid); opacity: 0.15; line-height: 0; margin-bottom: 40px; display: block; font-family: serif; }
   .slide p { font-size: 1.6rem; color: var(--text-dark); font-style: italic; margin-bottom: 35px; line-height: 1.6; font-weight: 500;}
   .slide h4 { font-size: 1.3rem; color: var(--text-dark); margin-bottom: 5px; font-weight: 800;}
   .slide span { color: var(--accent-solid); font-size: 0.95rem; text-transform: uppercase; letter-spacing: 1px; font-weight: 700;}
   .slider-dots { display: flex; justify-content: center; gap: 12px; margin-top: 40px; }
   .dot { width: 14px; height: 14px; border-radius: 50%; background: var(--border-color); cursor: pointer; transition: var(--transition); }
   .dot.active { background: var(--accent-solid); transform: scale(1.5); }
   
   /* --- CTA BANNER --- */
   .cta-banner { background: var(--gradient-primary); border-radius: var(--border-radius-lg); padding: 100px 5%; text-align: center; color: #fff; box-shadow: var(--shadow-lg); position: relative; overflow: hidden;}
   .cta-banner h2 { color: #fff; font-size: 4rem; margin-bottom: 25px; letter-spacing: -1px;}
   .cta-banner p { font-size: 1.3rem; margin-bottom: 50px; color: rgba(255,255,255,0.95); max-width: 750px; margin-left: auto; margin-right: auto; }
   .cta-banner .btn-outline { border-color: #fff; color: #fff !important; border-width: 3px;}
   .cta-banner .btn-outline:hover { background: #fff; color: var(--accent-solid) !important; }
   
   /* --- SLIM FOOTER --- */
   footer { background: var(--bg-white); padding: 60px 0 20px; border-top: 1px solid var(--border-color); }
   .footer-wrapper { display: grid; grid-template-columns: 2fr 1fr 1.5fr; gap: 60px; margin-bottom: 40px; align-items: start; }
   .footer-brand h2 { font-size: 2rem; font-weight: 900; margin-bottom: 15px; }
   .footer-brand h2 span { background: var(--gradient-primary); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
   .footer-brand p { font-size: 1rem; color: var(--text-body); max-width: 400px; margin-bottom: 20px; line-height: 1.6;}
   .footer-nav { display: flex; flex-direction: column; gap: 15px; }
   .footer-nav a { color: var(--text-dark); font-weight: 700; font-size: 1.05rem; transition: var(--transition); display: inline-block; width: fit-content;}
   .footer-nav a:hover { color: var(--accent-solid); transform: translateX(8px); }
   .footer-contact { display: flex; flex-direction: column; gap: 18px; }
   .contact-item { display: flex; align-items: flex-start; gap: 15px; font-size: 1rem; color: var(--text-body); line-height: 1.5;}
   .contact-item span { color: var(--accent-solid); font-size: 1.4rem; line-height: 1; }
   .contact-item a { color: var(--text-dark); font-weight: 800; transition: var(--transition);}
   .contact-item a:hover { color: var(--accent-solid); }
   .footer-bottom { text-align: center; padding-top: 30px; border-top: 1px solid var(--border-color); font-size: 0.95rem; color: var(--text-muted); font-weight: 500;}
   
   /* --- ANIMATIONS (Scroll Reveal) --- */
   .reveal { opacity: 0; visibility: hidden; transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1); }
   .reveal.active { opacity: 1; visibility: visible; }
   .slide-up { transform: translateY(60px); }
   .slide-up.active { transform: translateY(0); }
   .slide-left { transform: translateX(-60px); }
   .slide-left.active { transform: translateX(0); }
   .slide-right { transform: translateX(60px); }
   .slide-right.active { transform: translateX(0); }
   .zoom-in { transform: scale(0.9); }
   .zoom-in.active { transform: scale(1); }
   
   .delay-1 { transition-delay: 0.1s; }
   .delay-2 { transition-delay: 0.2s; }
   .delay-3 { transition-delay: 0.3s; }
   .delay-4 { transition-delay: 0.4s; }
   
   /* --- RESPONSIVE MEDIA QUERIES --- */
   @media (max-width: 1024px) {
       .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
       .hero-content h1 { font-size: 4.5rem; }
       .footer-wrapper { grid-template-columns: 1fr 1fr; }
   }
   
   @media (max-width: 768px) {
       .top-bar { display: none; } /* Hide top bar on mobile for cleaner look */
       .nav-links { display: none; }
       .hamburger { display: flex; }
       
       .nav-container.menu-open .nav-links {
           display: flex; flex-direction: column; position: absolute; top: var(--header-height); left: 0;
           width: 100%; background: var(--bg-white); padding: 40px 5%; border-top: 1px solid var(--border-color);
           box-shadow: 0 15px 30px rgba(0,0,0,0.1); align-items: flex-start; z-index: 1000; gap: 0;
       }
       .nav-container.menu-open .nav-links a { font-size: 1.3rem; padding: 18px 0; width: 100%; border-bottom: 1px solid var(--border-color); }
       
       .grid-2, .grid-3, .grid-4, .footer-wrapper { grid-template-columns: 1fr; }
       .hero-content h1 { font-size: 3.2rem; }
       .section-header h2 { font-size: 2.8rem; }
       .stats-wrapper { flex-direction: column; gap: 50px; text-align: center; }
       .split-card { min-height: 350px; }
   }