*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;font-family:Inter,Arial,sans-serif;background:#fff;color:#0b1b33;line-height:1.6}body.night{background:#071426;color:#eaf3ff}a{color:inherit;text-decoration:none}.wrap{width:min(1160px,92%);margin:auto}.site-header{position:sticky;top:0;z-index:20;background:rgba(255,255,255,.94);backdrop-filter:blur(14px);border-bottom:1px solid #e4edf7}.night .site-header{background:rgba(7,20,38,.94);border-color:#17304f}.header-inner{height:78px;display:flex;align-items:center;gap:30px}.logo img{width:62px;height:62px;border-radius:50%;object-fit:cover}.nav-links{display:flex;gap:22px;flex:1;justify-content:center}.nav-links a{font-size:14px;font-weight:700;color:#53647a}.nav-links a.active,.nav-links a:hover{color:#0875e1}.header-tools{display:flex;gap:12px;align-items:center}.theme-toggle,.menu-btn{border:1px solid #cbd9e8;background:transparent;border-radius:50%;width:42px;height:42px;cursor:pointer;color:inherit;font-size:19px}.btn{display:inline-flex;align-items:center;justify-content:center;gap:9px;padding:13px 20px;border-radius:10px;font-weight:800;border:1px solid transparent}.btn-primary{background:#0875e1;color:#fff}.btn-primary:hover{background:#0564c2}.btn-secondary{border-color:#b9cce0;color:#0b4f8d}.btn-light{background:#fff;color:#075cae}.menu-btn,.mobile-menu{display:none}.scroll-progress{position:fixed;top:0;left:0;height:3px;background:#0875e1;z-index:50;width:0}.hero{display:grid;grid-template-columns:1.05fr .95fr;gap:60px;align-items:center;padding:75px 0}.hero h1{font-size:clamp(42px,6vw,74px);line-height:1.03;margin:12px 0 20px}.hero h1 em{color:#0875e1;font-style:normal}.lead{font-size:19px;color:#63748a;max-width:650px}.night .lead{color:#9fb2c9}.hero-actions{display:flex;gap:12px;margin-top:28px}.hero-art img,.about-image{width:100%;border-radius:24px;display:block;object-fit:cover;box-shadow:0 24px 60px rgba(8,60,120,.15)}.eyebrow,.tag{color:#0875e1;text-transform:uppercase;letter-spacing:.13em;font-size:12px;font-weight:900}.feature-strip{border-block:1px solid #e3edf7;background:#f7fbff}.night .feature-strip,.night .bg-alt{background:#0c2038;border-color:#173653}.feature-grid{display:grid;grid-template-columns:repeat(4,1fr)}.feature-grid div{padding:25px;border-right:1px solid #e3edf7;display:flex;flex-direction:column}.feature-grid div:last-child{border:0}.feature-grid b{font-size:12px;color:#0875e1}.feature-grid strong{margin-top:5px}.feature-grid span,.card-body p,.footer-blurb{color:#6d7d91}.section{padding:85px 0}.section-head{display:flex;justify-content:space-between;align-items:end;margin-bottom:28px}.section h2,.page-intro h1{font-size:clamp(32px,4vw,52px);line-height:1.1;margin:8px 0}.page-intro{padding:75px 0 35px}.page-intro .lead{max-width:760px}.grid{display:grid;gap:22px}.grid-3{grid-template-columns:repeat(3,1fr)}.media-card{background:#fff;border:1px solid #e1eaf3;border-radius:18px;overflow:hidden;box-shadow:0 10px 28px rgba(15,55,95,.06)}.night .media-card,.night .form-card,.night .estimator,.night .info-card{background:#0b1d33;border-color:#1a395b}.media-art{height:230px;position:relative}.media-art img{width:100%;height:100%;object-fit:cover}.image-like{position:absolute;right:12px;top:12px;border:0;border-radius:999px;padding:9px 13px;background:rgba(255,255,255,.92);color:#0a3c70;font-weight:800;cursor:pointer}.image-like.liked,.like-btn.liked{color:#e62950}.card-body{padding:20px}.card-body h3{margin:6px 0;font-size:22px}.like-btn{border:0;background:transparent;color:#50647a;font-weight:800;cursor:pointer;padding:7px 0}.text-link{color:#0875e1;font-weight:800}.bg-alt{background:#f7fbff}.cta{background:#0875e1;color:#fff;padding:80px 0;margin-top:30px}.cta h2{font-size:44px;margin:0 0 8px}.cta p{font-size:18px;opacity:.9}.about-grid,.contact-grid{display:grid;grid-template-columns:1fr 1fr;gap:55px;align-items:start}.info-card,.form-card,.estimator{border:1px solid #dce8f4;background:#fff;border-radius:20px;padding:25px;margin-top:16px}.contact-info{padding:0;list-style:none;line-height:2.2}.form-card label,.estimator label{display:flex;flex-direction:column;gap:7px;font-weight:800;margin-bottom:16px}.form-card input,.form-card select,.form-card textarea,.estimator input,.estimator select{width:100%;padding:13px;border:1px solid #cbd9e8;border-radius:9px;background:transparent;color:inherit;font:inherit}.field-row,.estimator-grid{display:grid;grid-template-columns:1fr 1fr;gap:15px}.estimator-grid{grid-template-columns:repeat(3,1fr)}.estimate-result{padding:20px;background:#edf6ff;border-radius:12px;margin:12px 0 20px;font-size:22px;font-weight:900;color:#075cae}.night .estimate-result{background:#102d4d}.success{color:#0875e1;font-weight:800}.chat-panel{position:fixed;right:24px;bottom:90px;width:min(370px,calc(100% - 30px));background:#fff;border:1px solid #dbe6f1;border-radius:18px;box-shadow:0 20px 60px rgba(0,30,70,.22);z-index:30;display:none}.chat-panel.open{display:block}.chat-header{padding:16px;display:flex;justify-content:space-between;border-bottom:1px solid #e5edf5}.chat-header small{display:block;color:#73859b}.chat-header button{border:0;background:none;font-size:24px}.chat-body{padding:15px;max-height:230px;overflow:auto}.chat-msg{padding:10px 12px;border-radius:12px;margin:7px 0;max-width:88%}.chat-msg.bot{background:#eef6ff}.chat-msg.user{background:#0875e1;color:#fff;margin-left:auto}.chat-quick{display:flex;gap:6px;flex-wrap:wrap;padding:0 15px 10px}.chat-quick button{border:1px solid #cbd9e8;background:#fff;border-radius:999px;padding:7px 10px;cursor:pointer}.chat-panel form{display:flex;padding:12px;border-top:1px solid #e5edf5}.chat-panel input{flex:1;border:0;outline:0;padding:8px}.chat-panel form button{border:0;background:#0875e1;color:#fff;border-radius:8px;width:40px}.fab-stack{position:fixed;right:24px;bottom:24px;z-index:31;display:flex;gap:10px}.fab-btn{width:52px;height:52px;border:0;border-radius:50%;background:#0875e1;color:#fff;font-size:23px;cursor:pointer;box-shadow:0 10px 25px rgba(0,80,160,.25)}.fab-btn.whatsapp{display:grid;place-items:center;background:#20a85a}.back-top{position:fixed;right:24px;bottom:90px;width:45px;height:45px;border-radius:50%;border:0;background:#0b2f55;color:#fff;display:none;z-index:25}.back-top.visible{display:block}.site-footer{background:#071426;color:#dceaff;padding:55px 0 20px}.footer-grid{display:grid;grid-template-columns:2fr 1fr 1fr;gap:45px}.footer-grid .logo img{width:70px;height:70px}.footer-grid a,.footer-grid span{display:block;margin:7px 0;color:#aebfd2}.footer-title{font-weight:900;color:#fff}.footer-bottom{border-top:1px solid #1b3450;margin-top:35px;padding-top:18px;display:flex;justify-content:space-between;color:#8196ad;font-size:13px}@media(max-width:850px){.nav-links,.header-cta{display:none}.menu-btn{display:block}.header-tools{margin-left:auto}.mobile-menu{display:none;padding:10px 4%;border-top:1px solid #e4edf7}.mobile-menu.open{display:grid;gap:12px}.mobile-menu a{padding:10px}.hero,.about-grid,.contact-grid{grid-template-columns:1fr}.hero{padding-top:45px}.grid-3{grid-template-columns:1fr 1fr}.feature-grid{grid-template-columns:1fr 1fr}.feature-grid div:nth-child(2){border-right:0}.field-row,.estimator-grid{grid-template-columns:1fr}.footer-grid{grid-template-columns:1fr 1fr}}@media(max-width:560px){.grid-3,.feature-grid{grid-template-columns:1fr}.hero h1{font-size:43px}.section{padding:60px 0}.footer-grid{grid-template-columns:1fr}.footer-bottom{flex-direction:column;gap:8px}.hero-actions{flex-direction:column}.chat-panel{right:15px}.fab-stack{right:15px}.page-intro{padding-top:50px}}body.night .media-card,body.night .form-card,body.night .estimator{color:#eaf3ff}body.night .mobile-menu{background:#071426}body.night .chat-panel{background:#0b1d33;color:#eaf3ff}body.night .chat-quick button{background:#102a46;color:#eaf3ff;border-color:#244768}
/* ========== MOBILE RESPONSIVE DESIGN ========== */

/* ========== TABLET & MOBILE (768px and below) ========== */
@media (max-width: 768px) {
  /* Header adjustments for tablet/mobile */
  .header-inner {
    gap: 12px;
    height: 66px;
  }
  .logo img {
    width: 52px;
    height: 52px;
  }
  
  /* Hero section: single column on tablet */
  .hero {
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 48px 0;
  }
  .hero h1 {
    font-size: clamp(28px, 5vw, 48px);
    margin: 8px 0 16px;
  }
  .hero .lead {
    font-size: 16px;
  }
  
  /* Hero buttons: wrap on smaller screens */
  .hero-actions {
    flex-wrap: wrap;
    gap: 10px;
  }
  
  /* Cards: 2-column on tablet */
  .products-grid, .services-grid, .projects-grid {
    grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr)) !important;
  }
  
  /* Footer: 2 columns on tablet */
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 24px;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 12px;
  }
  
  /* Testimonials: adjust spacing */
  .testimonial-item {
    padding: 20px;
  }
}

/* ========== MOBILE PHONE (480px and below) ========== */
@media (max-width: 480px) {
  /* HEADER - Mobile Menu Implementation */
  .site-header {
    position: sticky;
    top: 0;
    z-index: 100;
  }
  
  .header-inner {
    gap: 8px;
    height: 60px;
    padding: 0 12px;
  }
  
  .logo img {
    width: 48px;
    height: 48px;
  }
  
  /* Hide desktop navigation */
  .nav-links {
    display: none;
  }
  
  /* Show mobile menu button */
  .menu-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: auto;
  }
  
  /* Mobile menu styling */
  .mobile-menu {
    display: none;
    position: fixed;
    top: 60px;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid #e4edf7;
    z-index: 99;
    max-height: calc(100vh - 60px);
    overflow-y: auto;
    box-shadow: 0 8px 16px rgba(8, 60, 120, 0.1);
  }
  
  .night .mobile-menu {
    background: rgba(7, 20, 38, 0.98);
    border-color: #17304f;
  }
  
  .mobile-menu.open {
    display: flex;
    flex-direction: column;
  }
  
  .mobile-menu a {
    display: block;
    padding: 14px 16px;
    font-size: 14px;
    font-weight: 700;
    color: #53647a;
    border-bottom: 1px solid #e4edf7;
    transition: background 0.2s;
  }
  
  .night .mobile-menu a {
    color: #b0c5db;
    border-color: #17304f;
  }
  
  .mobile-menu a:active,
  .mobile-menu a:hover {
    background: rgba(8, 117, 225, 0.08);
    color: #0875e1;
  }
  
  /* Header tools on mobile */
  .header-tools {
    gap: 8px;
  }
  
  .theme-toggle,
  .menu-btn {
    width: 38px;
    height: 38px;
    font-size: 17px;
  }
  
  /* MAIN CONTENT */
  .wrap {
    width: 94%;
    padding: 0 8px;
  }
  
  /* Hero section: full single column, tighter padding */
  .hero {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 32px 0;
  }
  
  .hero h1 {
    font-size: clamp(24px, 6vw, 38px);
    line-height: 1.2;
    margin: 4px 0 12px;
  }
  
  .hero h1 em {
    display: inline;
  }
  
  .hero .eyebrow {
    font-size: 10px;
    padding: 4px 10px;
    margin: 0 0 10px;
  }
  
  .hero .lead {
    font-size: 15px;
    line-height: 1.6;
    margin: 0 0 16px;
  }
  
  /* Hero buttons: stack vertically on small screens */
  .hero-actions {
    flex-direction: column;
    gap: 8px;
  }
  
  .btn {
    width: 100%;
    padding: 12px 16px;
    font-size: 13px;
  }
  
  .btn.btn-primary,
  .btn.btn-secondary {
    padding: 12px 16px;
    min-height: 44px;
    font-size: 13px;
  }
  
  /* Hero image sizing */
  .hero-art img {
    aspect-ratio: 16 / 9;
    border-radius: 16px;
  }
  
  /* SEARCH BOX */
  .search-wrap {
    margin: 0 auto 20px;
    padding: 0;
  }
  
  .search-box {
    gap: 8px;
    padding: 4px 6px;
  }
  
  .search-box input {
    font-size: 14px;
    min-height: 40px;
  }
  
  /* CARD GRIDS - Single column on phone */
  .products-grid, 
  .services-grid, 
  .projects-grid,
  .card-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  
  /* Card content */
  .card {
    padding: 16px;
  }
  
  .card h3 {
    font-size: 15px;
    margin: 8px 0 6px;
  }
  
  .card p {
    font-size: 13px;
    line-height: 1.5;
  }
  
  .card .tag {
    font-size: 9px;
    padding: 3px 8px;
  }
  
  /* TESTIMONIALS */
  .testimonials-wrap {
    padding: 32px 0;
  }
  
  .testimonial-item {
    padding: 16px;
    margin: 8px 0;
  }
  
  .testimonial-avatar {
    width: 40px;
    height: 40px;
    font-size: 11px;
  }
  
  .testimonial-text {
    font-size: 13px;
    line-height: 1.6;
  }
  
  .testimonial-meta {
    font-size: 12px;
  }
  
  /* FOOTER */
  .footer {
    padding: 24px 0;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  
  .footer-col h4 {
    font-size: 13px;
    margin: 0 0 10px;
  }
  
  .footer-col a {
    font-size: 12px;
    display: block;
    padding: 6px 0;
  }
  
  .footer-bottom {
    flex-direction: column;
    gap: 10px;
    font-size: 11px;
  }
  
  /* SECTIONS & HEADINGS */
  .section-head {
    font-size: clamp(22px, 5vw, 36px);
    margin: 24px 0 20px;
  }
  
  .section-head + p {
    font-size: 14px;
    margin: 0 0 18px;
  }
  
  /* FORMS & INPUTS */
  input, textarea, select {
    font-size: 16px; /* Prevents auto-zoom on iOS */
    padding: 10px;
    min-height: 44px;
  }
  
  .field-row {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  
  /* GENERAL SPACING ADJUSTMENTS */
  section {
    padding: 24px 0;
  }
  
  .gap-sm { gap: 8px; }
  .gap-md { gap: 12px; }
  .gap-lg { gap: 16px; }
  
  /* Touch-friendly spacing */
  .btn {
    min-height: 44px;
    min-width: 44px;
  }
  
  a, button {
    min-height: 44px;
    min-width: 44px;
  }
}

/* ========== SMALL PHONES (360px and below - very small devices) ========== */
@media (max-width: 360px) {
  .header-inner {
    height: 56px;
    gap: 6px;
  }
  
  .logo img {
    width: 44px;
    height: 44px;
  }
  
  .hero h1 {
    font-size: clamp(20px, 5vw, 32px);
  }
  
  .hero {
    padding: 24px 0;
    gap: 16px;
  }
  
  .btn {
    padding: 10px 14px;
    font-size: 12px;
  }
  
  .section-head {
    font-size: clamp(18px, 4vw, 28px);
  }
}

/* ========== LANDSCAPE ORIENTATION (any device in landscape) ========== */
@media (orientation: landscape) and (max-height: 600px) {
  .site-header {
    height: auto;
  }
  
  .header-inner {
    height: auto;
    padding: 8px 0;
  }
  
  .hero {
    padding: 24px 0;
    gap: 20px;
  }
  
  .hero h1 {
    margin: 0 0 8px;
    font-size: clamp(24px, 4vh, 36px);
  }
  
  .hero .lead {
    font-size: 14px;
    margin: 0 0 12px;
  }
  
  .hero-actions {
    gap: 8px;
  }
  
  section {
    padding: 16px 0;
  }
}

/* ========== TABLET (769px - 1024px) ========== */
@media (min-width: 769px) and (max-width: 1024px) {
  .wrap {
    width: 95%;
  }
  
  .hero {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    padding: 56px 0;
  }
  
  .hero h1 {
    font-size: clamp(36px, 5vw, 56px);
  }
  
  .products-grid, .services-grid, .projects-grid {
    grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr));
  }
  
  .section-head {
    font-size: 32px;
  }
}

/* ========== DESKTOP LARGE (1200px+) ========== */
@media (min-width: 1200px) {
  .wrap {
    width: 90%;
    max-width: 1160px;
  }
  
  .hero {
    gap: 72px;
    padding: 88px 0;
  }
  
  .hero h1 {
    font-size: clamp(56px, 6vw, 74px);
  }
  
  .products-grid, .services-grid, .projects-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* ========== ACCESSIBILITY ========== */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

@media (prefers-color-scheme: dark) {
  body {
    background: #071426;
    color: #eaf3ff;
  }
}
