/* ===== Merged from local-fonts.css ===== */
/* Shared locally hosted Tajawal font faces. Consolidated to avoid repeating @font-face blocks in each HTML page. */
@font-face{font-family:'Tajawal';font-style:normal;font-weight:300;font-display:swap;src:url('../cf-fonts/s/tajawal/5.2.7/arabic/300/normal.woff2') format('woff2');unicode-range:U+0600-06FF, U+0750-077F, U+0870-088E, U+0890-0891, U+0897-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC, U+102E0-102FB, U+10E60-10E7E, U+10EC2-10EC4, U+10EFC-10EFF, U+1EE00-1EE03, U+1EE05-1EE1F, U+1EE21-1EE22, U+1EE24, U+1EE27, U+1EE29-1EE32, U+1EE34-1EE37, U+1EE39, U+1EE3B, U+1EE42, U+1EE47, U+1EE49, U+1EE4B, U+1EE4D-1EE4F, U+1EE51-1EE52, U+1EE54, U+1EE57, U+1EE59, U+1EE5B, U+1EE5D, U+1EE5F, U+1EE61-1EE62, U+1EE64, U+1EE67-1EE6A, U+1EE6C-1EE72, U+1EE74-1EE77, U+1EE79-1EE7C, U+1EE7E, U+1EE80-1EE89, U+1EE8B-1EE9B, U+1EEA1-1EEA3, U+1EEA5-1EEA9, U+1EEAB-1EEBB, U+1EEF0-1EEF1;}
@font-face{font-family:'Tajawal';font-style:normal;font-weight:300;font-display:swap;src:url('../cf-fonts/s/tajawal/5.2.7/latin/300/normal.woff2') format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;}
@font-face{font-family:'Tajawal';font-style:normal;font-weight:400;font-display:swap;src:url('../cf-fonts/s/tajawal/5.2.7/arabic/400/normal.woff2') format('woff2');unicode-range:U+0600-06FF, U+0750-077F, U+0870-088E, U+0890-0891, U+0897-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC, U+102E0-102FB, U+10E60-10E7E, U+10EC2-10EC4, U+10EFC-10EFF, U+1EE00-1EE03, U+1EE05-1EE1F, U+1EE21-1EE22, U+1EE24, U+1EE27, U+1EE29-1EE32, U+1EE34-1EE37, U+1EE39, U+1EE3B, U+1EE42, U+1EE47, U+1EE49, U+1EE4B, U+1EE4D-1EE4F, U+1EE51-1EE52, U+1EE54, U+1EE57, U+1EE59, U+1EE5B, U+1EE5D, U+1EE5F, U+1EE61-1EE62, U+1EE64, U+1EE67-1EE6A, U+1EE6C-1EE72, U+1EE74-1EE77, U+1EE79-1EE7C, U+1EE7E, U+1EE80-1EE89, U+1EE8B-1EE9B, U+1EEA1-1EEA3, U+1EEA5-1EEA9, U+1EEAB-1EEBB, U+1EEF0-1EEF1;}
@font-face{font-family:'Tajawal';font-style:normal;font-weight:400;font-display:swap;src:url('../cf-fonts/s/tajawal/5.2.7/latin/400/normal.woff2') format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;}
@font-face{font-family:'Tajawal';font-style:normal;font-weight:500;font-display:swap;src:url('../cf-fonts/s/tajawal/5.2.7/arabic/500/normal.woff2') format('woff2');unicode-range:U+0600-06FF, U+0750-077F, U+0870-088E, U+0890-0891, U+0897-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC, U+102E0-102FB, U+10E60-10E7E, U+10EC2-10EC4, U+10EFC-10EFF, U+1EE00-1EE03, U+1EE05-1EE1F, U+1EE21-1EE22, U+1EE24, U+1EE27, U+1EE29-1EE32, U+1EE34-1EE37, U+1EE39, U+1EE3B, U+1EE42, U+1EE47, U+1EE49, U+1EE4B, U+1EE4D-1EE4F, U+1EE51-1EE52, U+1EE54, U+1EE57, U+1EE59, U+1EE5B, U+1EE5D, U+1EE5F, U+1EE61-1EE62, U+1EE64, U+1EE67-1EE6A, U+1EE6C-1EE72, U+1EE74-1EE77, U+1EE79-1EE7C, U+1EE7E, U+1EE80-1EE89, U+1EE8B-1EE9B, U+1EEA1-1EEA3, U+1EEA5-1EEA9, U+1EEAB-1EEBB, U+1EEF0-1EEF1;}
@font-face{font-family:'Tajawal';font-style:normal;font-weight:500;font-display:swap;src:url('../cf-fonts/s/tajawal/5.2.7/latin/500/normal.woff2') format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;}
@font-face{font-family:'Tajawal';font-style:normal;font-weight:700;font-display:swap;src:url('../cf-fonts/s/tajawal/5.2.7/arabic/700/normal.woff2') format('woff2');unicode-range:U+0600-06FF, U+0750-077F, U+0870-088E, U+0890-0891, U+0897-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC, U+102E0-102FB, U+10E60-10E7E, U+10EC2-10EC4, U+10EFC-10EFF, U+1EE00-1EE03, U+1EE05-1EE1F, U+1EE21-1EE22, U+1EE24, U+1EE27, U+1EE29-1EE32, U+1EE34-1EE37, U+1EE39, U+1EE3B, U+1EE42, U+1EE47, U+1EE49, U+1EE4B, U+1EE4D-1EE4F, U+1EE51-1EE52, U+1EE54, U+1EE57, U+1EE59, U+1EE5B, U+1EE5D, U+1EE5F, U+1EE61-1EE62, U+1EE64, U+1EE67-1EE6A, U+1EE6C-1EE72, U+1EE74-1EE77, U+1EE79-1EE7C, U+1EE7E, U+1EE80-1EE89, U+1EE8B-1EE9B, U+1EEA1-1EEA3, U+1EEA5-1EEA9, U+1EEAB-1EEBB, U+1EEF0-1EEF1;}
@font-face{font-family:'Tajawal';font-style:normal;font-weight:700;font-display:swap;src:url('../cf-fonts/s/tajawal/5.2.7/latin/700/normal.woff2') format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;}
@font-face{font-family:'Tajawal';font-style:normal;font-weight:800;font-display:swap;src:url('../cf-fonts/s/tajawal/5.2.7/arabic/800/normal.woff2') format('woff2');unicode-range:U+0600-06FF, U+0750-077F, U+0870-088E, U+0890-0891, U+0897-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC, U+102E0-102FB, U+10E60-10E7E, U+10EC2-10EC4, U+10EFC-10EFF, U+1EE00-1EE03, U+1EE05-1EE1F, U+1EE21-1EE22, U+1EE24, U+1EE27, U+1EE29-1EE32, U+1EE34-1EE37, U+1EE39, U+1EE3B, U+1EE42, U+1EE47, U+1EE49, U+1EE4B, U+1EE4D-1EE4F, U+1EE51-1EE52, U+1EE54, U+1EE57, U+1EE59, U+1EE5B, U+1EE5D, U+1EE5F, U+1EE61-1EE62, U+1EE64, U+1EE67-1EE6A, U+1EE6C-1EE72, U+1EE74-1EE77, U+1EE79-1EE7C, U+1EE7E, U+1EE80-1EE89, U+1EE8B-1EE9B, U+1EEA1-1EEA3, U+1EEA5-1EEA9, U+1EEAB-1EEBB, U+1EEF0-1EEF1;}
@font-face{font-family:'Tajawal';font-style:normal;font-weight:800;font-display:swap;src:url('../cf-fonts/s/tajawal/5.2.7/latin/800/normal.woff2') format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;}
@font-face{font-family:'Tajawal';font-style:normal;font-weight:900;font-display:swap;src:url('../cf-fonts/s/tajawal/5.2.7/arabic/900/normal.woff2') format('woff2');unicode-range:U+0600-06FF, U+0750-077F, U+0870-088E, U+0890-0891, U+0897-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC, U+102E0-102FB, U+10E60-10E7E, U+10EC2-10EC4, U+10EFC-10EFF, U+1EE00-1EE03, U+1EE05-1EE1F, U+1EE21-1EE22, U+1EE24, U+1EE27, U+1EE29-1EE32, U+1EE34-1EE37, U+1EE39, U+1EE3B, U+1EE42, U+1EE47, U+1EE49, U+1EE4B, U+1EE4D-1EE4F, U+1EE51-1EE52, U+1EE54, U+1EE57, U+1EE59, U+1EE5B, U+1EE5D, U+1EE5F, U+1EE61-1EE62, U+1EE64, U+1EE67-1EE6A, U+1EE6C-1EE72, U+1EE74-1EE77, U+1EE79-1EE7C, U+1EE7E, U+1EE80-1EE89, U+1EE8B-1EE9B, U+1EEA1-1EEA3, U+1EEA5-1EEA9, U+1EEAB-1EEBB, U+1EEF0-1EEF1;}
@font-face{font-family:'Tajawal';font-style:normal;font-weight:900;font-display:swap;src:url('../cf-fonts/s/tajawal/5.2.7/latin/900/normal.woff2') format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;}


/* ===== Merged from main.css (scoped to body.home-page) ===== */
    /* CSS مضغوط ومدمج */
    body.home-page{
      --primary: #2c5aa0;
      --primary-light: #4a76c4;
      --primary-dark: #1a3d7a;
      --secondary: #3a8b7e;
      --secondary-light: #5aa897;
      --accent: #4ac3a5;
      --light: #f8fafc;
      --dark: #2d3748;
      --gray: #718096;
      --light-gray: #e2e8f0;
      --white: #ffffff;
      --beige: #f5f2eb;
      --shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
      --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.1);
      --transition: all 0.4s ease;
      --radius: 16px;
    }
    
    body.home-page, body.home-page *{
      margin: 0;
      padding: 0;
      box-sizing: border-box;
      font-family: "Tajawal", sans-serif;
    }
    
    body.home-page{

      scroll-behavior: smooth;
    }
    
    body.home-page{
      background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
      color: var(--dark);
      line-height: 1.7;
      overflow-x: hidden;
      transition: .3s;
    }
body.home-page .container{
      width: 100%;
      max-width: 1400px;
      margin: 0 auto;
      padding: 0 20px;
    }
    
    /* Header Styles */
    body.home-page header{
      background: rgba(255, 255, 255, 0.95);
      backdrop-filter: blur(15px);
      box-shadow: var(--shadow);
      position: fixed;
      top: 0;
      left: 0;
      right: 0;
      z-index: 1000;
      transition: var(--transition);
    }
    
    body.home-page .header-container{
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding: 15px 0;
    }
    
    body.home-page .logo img{
      height: 60px;
      transition: var(--transition);
    }
    
    body.home-page nav{
      display: flex;
      gap: 30px;
    }
    
    body.home-page .nav-link{
      text-decoration: none;
      color: var(--dark);
      font-weight: 600;
      padding: 10px 0;
      position: relative;
      transition: var(--transition);
      font-size: 1.05rem;
    }
    
    body.home-page .nav-link:after{
      content: "";
      position: absolute;
      bottom: 0;
      right: 0;
      width: 0;
      height: 3px;
      background: linear-gradient(90deg, var(--primary), var(--secondary));
      transition: var(--transition);
      border-radius: 3px;
    }
    
    body.home-page .nav-link:hover, body.home-page .nav-link.active{
      color: var(--primary);
    }
    
    body.home-page .nav-link:hover:after, body.home-page .nav-link.active:after{
      width: 100%;
    }
    
    body.home-page .mobile-menu-btn{
      display: none;
      background: none;
      border: none;
      font-size: 24px;
      color: var(--dark);
      cursor: pointer;
      transition: var(--transition);
    }
    
    /* Hero Section */
    body.home-page .hero{
      background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
      color: var(--white);
      padding: 200px 0 150px;
      position: relative;
      overflow: hidden;
      clip-path: polygon(0 0, 100% 0, 100% 90%, 0 100%);
    }
    
    body.home-page .hero:before{
      content: "";
      position: absolute;
      top: 0;
      right: 0;
      bottom: 0;
      left: 0;
      background: url("data:image/svg+xml,<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 1440 320\"><path fill=\"%23ffffff\" fill-opacity=\"0.1\" d=\"M0,96L48,112C96,128,192,160,288,186.7C384,213,480,235,576,213.3C672,192,768,128,864,128C960,128,1056,192,1152,192C1248,192,1344,128,1392,96L1440,64L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z\"></path></svg>");
      background-size: cover;
      background-position: center;
      animation: wave 20s linear infinite;
    }
    
    @keyframes wave {
      0% { transform: translateX(0); }
      50% { transform: translateX(-20px); }
      100% { transform: translateX(0); }
    }
    
    body.home-page .hero-content{
      position: relative;
      z-index: 1;
      text-align: center;
      max-width: 900px;
      margin: 0 auto;
    }
    
    body.home-page .hero h1{
      font-size: 3.5rem;
      font-weight: 800;
      margin-bottom: 25px;
      line-height: 1.2;
      animation: fadeInDown 1s ease;
      text-shadow: 0 2px 10px rgba(0,0,0,0.2);
    }
    
    body.home-page .hero p{
      font-size: 1.3rem;
      margin-bottom: 40px;
      animation: fadeInUp 1s ease 0.3s both;
      max-width: 700px;
      margin-left: auto;
      margin-right: auto;
    }
/* Removed malformed stray keyframe fragments; fadeInDown/fadeInUp are defined below. */

    .hero-buttons{
      display: flex;
      gap: 20px;
      justify-content: center;
      flex-wrap: wrap;
      animation: fadeInUp 1s ease 0.6s both;
    }
    
    body.home-page .btn{
      display: inline-flex;
      align-items: center;
      gap: 12px;
      padding: 16px 35px;
      border-radius: 50px;
      font-weight: 700;
      text-decoration: none;
      transition: var(--transition);
      border: none;
      cursor: pointer;
      font-size: 1.1rem;
      position: relative;
      overflow: hidden;
      box-shadow: 0 4px 15px rgba(0,0,0,0.15);
    }
    
    body.home-page .btn:before{
      content: "";
      position: absolute;
      top: 0;
      left: -100%;
      width: 100%;
      height: 100%;
      background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
      transition: left 0.7s;
    }
    
    body.home-page .btn:hover:before{
      left: 100%;
    }
    
    body.home-page .btn-primary{
      background: linear-gradient(135deg, var(--secondary), var(--secondary-light));
      color: var(--white);
    }
    
    body.home-page .btn-primary:hover{
      transform: translateY(-5px);
      box-shadow: 0 10px 25px rgba(58, 139, 126, 0.4);
    }
    
    body.home-page .btn-secondary{
      background: transparent;
      color: var(--white);
      border: 2px solid var(--white);
    }
    
    body.home-page .btn-secondary:hover{
      background: rgba(255, 255, 255, 0.1);
      transform: translateY(-5px);
      box-shadow: 0 10px 25px rgba(255,255,255,0.2);
    }
    
    /* Sections */
    body.home-page .section{
      padding: 100px 0;
    }
    
    body.home-page .section-title{
      text-align: center;
      margin-bottom: 60px;
      position: relative;
    }
    
    body.home-page .section-title h2{
      font-size: 2.5rem;
      font-weight: 800;
      color: var(--dark);
      margin-bottom: 20px;
      position: relative;
      display: inline-block;
    }
    
    body.home-page .section-title h2:after{
      content: "";
      position: absolute;
      bottom: -10px;
      right: 0;
      width: 100px;
      height: 4px;
      background: linear-gradient(90deg, var(--primary), var(--secondary));
      border-radius: 4px;
    }
    
    body.home-page .section-title p{
      font-size: 1.2rem;
      color: var(--gray);
      max-width: 700px;
      margin: 0 auto;
    }
    
    /* Services Section */
    body.home-page .services-section{
      padding: 80px 0;
    }
    
    body.home-page .services-container{
      max-width: 1200px;
      margin: 0 auto;
    }
    
    body.home-page .service-cards{
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
      gap: 30px;
      margin-top: 50px;
    }
    
    body.home-page .service-card{
      background: var(--white);
      border-radius: var(--radius);
      overflow: hidden;
      box-shadow: var(--shadow);
      transition: var(--transition);
      position: relative;
    }
    
    body.home-page .service-card:hover{
      transform: translateY(-10px);
      box-shadow: var(--shadow-lg);
    }
    
    body.home-page .service-img{
      height: 250px;
      overflow: hidden;
      position: relative;
    }
    
    body.home-page .service-img img{
      width: 100%;
      height: 100%;
      object-fit: cover;
      transition: var(--transition);
    }
    
    body.home-page .service-card:hover .service-img img{
      transform: scale(1.05);
    }
    
    body.home-page .service-content{
      padding: 25px;
    }
    
    body.home-page .service-content h3{
      font-size: 1.4rem;
      margin-bottom: 15px;
      color: var(--primary);
    }
    
    body.home-page .service-content p{
      color: var(--gray);
      margin-bottom: 20px;
      line-height: 1.6;
    }
    
    body.home-page .btn-service{
      display: inline-block;
      background: linear-gradient(135deg, var(--primary), var(--primary-light));
      color: white;
      padding: 12px 25px;
      border-radius: 30px;
      text-decoration: none;
      font-weight: 600;
      transition: var(--transition);
      font-size: 0.9rem;
    }
    
    body.home-page .btn-service:hover{
      background: linear-gradient(135deg, var(--primary-light), var(--primary));
      transform: translateY(-3px);
      box-shadow: 0 5px 15px rgba(42, 110, 187, 0.3);
    }
    
    /* Quick Links */
    body.home-page .quick-links{
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
      gap: 15px;
      margin: 40px 0;
    }
    
    body.home-page .quick-link{
      background: var(--white);
      padding: 15px;
      border-radius: var(--radius);
      text-align: center;
      text-decoration: none;
      color: var(--primary);
      font-weight: 600;
      transition: var(--transition);
      box-shadow: var(--shadow);
    }
    
    body.home-page .quick-link:hover{
      background: var(--primary);
      color: var(--white);
      transform: translateY(-5px);
    }
    
    /* Gallery Tabs */
    body.home-page .gallery-tabs{
      display: flex;
      justify-content: center;
      margin-bottom: 40px;
      flex-wrap: wrap;
      gap: 10px;
    }
    
    body.home-page .tab-btn{
      padding: 12px 25px;
      background: var(--white);
      border: none;
      border-radius: 50px;
      font-weight: 600;
      cursor: pointer;
      transition: var(--transition);
      box-shadow: var(--shadow);
    }
    
    body.home-page .tab-btn.active{
      background: var(--primary);
      color: var(--white);
    }
    
    body.home-page .tab-content{
      display: none;
    }
    
    body.home-page .tab-content.active{
      display: block;
    }
    
    body.home-page .gallery-grid{
      display: grid;
      grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
      gap: 20px;
    }
    
    body.home-page .gallery-item{
      border-radius: var(--radius);
      overflow: hidden;
      position: relative;
      cursor: pointer;
      box-shadow: var(--shadow);
      transition: var(--transition);
      background-color: var(--light-gray);
    }
    
    body.home-page .gallery-item:hover{
      transform: scale(1.03);
      box-shadow: var(--shadow-lg);
    }
    
    body.home-page .gallery-item img{
      width: 100%;
      height: 200px;
      object-fit: contain;
      background-color: #f4f5f7;
      transition: transform 0.5s ease;
    }
    
    body.home-page .gallery-item:hover img{
      transform: scale(1.1);
    }
    
    /* Video Section */
    body.home-page .video-section{
      text-align: center;
      margin: 60px 0;
    }
    
    body.home-page .video-container{
      max-width: 800px;
      margin: 0 auto;
      border-radius: var(--radius);
      overflow: hidden;
      box-shadow: var(--shadow-lg);
      position: relative;
      background-color: var(--light-gray);
    }
    
    body.home-page .video-container video{
      width: 100%;
      display: block;
    }
    
    /* Contact Section */
    body.home-page .contact-section{
      padding: 100px 0;
    }
    
    body.home-page .contact-container{
      max-width: 1200px;
      margin: 0 auto;
    }
    
    body.home-page .contact-cards{
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
      gap: 25px;
      margin-top: 50px;
    }
    
    body.home-page .contact-card{
      background: var(--white);
      border-radius: var(--radius);
      padding: 30px;
      text-align: center;
      box-shadow: var(--shadow);
      transition: var(--transition);
      position: relative;
      overflow: hidden;
    }
    
    body.home-page .contact-card:hover{
      transform: translateY(-10px);
      box-shadow: var(--shadow-lg);
    }
    
    body.home-page .contact-card:before{
      content: "";
      position: absolute;
      top: 0;
      right: 0;
      width: 100%;
      height: 5px;
      background: linear-gradient(90deg, var(--primary), var(--secondary));
    }
    
    body.home-page .contact-icon{
      font-size: 3rem;
      margin-bottom: 20px;
      color: var(--primary);
    }
    
    body.home-page .contact-card h3{
      font-size: 1.4rem;
      margin-bottom: 15px;
      color: var(--dark);
    }
    
    body.home-page .contact-card p{
      color: var(--gray);
      margin-bottom: 20px;
    }
    
    body.home-page .btn-contact{
      display: inline-block;
      background: linear-gradient(135deg, var(--primary), var(--primary-light));
      color: white;
      padding: 12px 25px;
      border-radius: 30px;
      text-decoration: none;
      font-weight: 600;
      transition: var(--transition);
    }
    
    body.home-page .btn-contact:hover{
      background: linear-gradient(135deg, var(--primary-light), var(--primary));
      transform: translateY(-3px);
      box-shadow: 0 5px 15px rgba(42, 110, 187, 0.3);
    }
    
    body.home-page .btn-whatsapp{
      background: linear-gradient(135deg, #25d366, #128c7e);
    }
    
    body.home-page .btn-whatsapp:hover{
      background: linear-gradient(135deg, #128c7e, #25d366);
    }
    
    body.home-page .btn-messenger{
      background: linear-gradient(135deg, #006aff, #0084ff);
    }
    
    body.home-page .btn-messenger:hover{
      background: linear-gradient(135deg, #0084ff, #006aff);
    }
    
    /* Enhanced Lightbox Styles */
    body.home-page .lightbox{
      display: none;
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background: rgba(0, 0, 0, 0.95);
      z-index: 2000;
      justify-content: center;
      align-items: center;
      opacity: 0;
      transition: opacity 0.3s ease;
    }
    
    body.home-page .lightbox.active{
      display: flex;
      opacity: 1;
    }
    
    body.home-page .lightbox-content{
      max-width: 90%;
      max-height: 90%;
      position: relative;
      transform: scale(0.9);
      transition: transform 0.3s ease;
    }
    
    body.home-page .lightbox.active .lightbox-content{
      transform: scale(1);
    }
    
    body.home-page .lightbox-content img{
      max-width: 100%;
      max-height: 90vh;
      object-fit: contain;
      border-radius: 10px;
      box-shadow: 0 5px 25px rgba(0,0,0,0.5);
    }
    
    body.home-page .lightbox-close{
      position: absolute;
      top: 20px;
      right: 20px;
      background: rgba(255, 255, 255, 0.2);
      color: white;
      border: none;
      width: 50px;
      height: 50px;
      border-radius: 50%;
      font-size: 1.5rem;
      cursor: pointer;
      display: flex;
      align-items: center;
      justify-content: center;
      transition: var(--transition);
      z-index: 10;
    }
    
    body.home-page .lightbox-close:hover{
      background: rgba(255, 255, 255, 0.3);
      transform: rotate(90deg);
    }
    
    body.home-page .lightbox-nav{
      position: absolute;
      top: 50%;
      transform: translateY(-50%);
      background: rgba(255, 255, 255, 0.2);
      color: white;
      border: none;
      width: 50px;
      height: 50px;
      border-radius: 50%;
      font-size: 1.5rem;
      cursor: pointer;
      display: flex;
      align-items: center;
      justify-content: center;
      transition: var(--transition);
      z-index: 10;
    }
    
    body.home-page .lightbox-nav:hover{
      background: rgba(255, 255, 255, 0.3);
    }
    
    body.home-page .lightbox-prev{
      right: 20px;
    }
    
    body.home-page .lightbox-next{
      left: 20px;
    }
    
    body.home-page .lightbox-counter{
      position: absolute;
      bottom: 20px;
      left: 50%;
      transform: translateX(-50%);
      color: white;
      background: rgba(0, 0, 0, 0.5);
      padding: 8px 15px;
      border-radius: 20px;
      font-size: 0.9rem;
    }
    
    body.home-page .lightbox-zoom-controls{
      position: absolute;
      bottom: 20px;
      right: 20px;
      display: flex;
      gap: 10px;
      z-index: 10;
    }
    
    body.home-page .lightbox-zoom-btn{
      background: rgba(255, 255, 255, 0.2);
      color: white;
      border: none;
      width: 40px;
      height: 40px;
      border-radius: 50%;
      font-size: 1.2rem;
      cursor: pointer;
      display: flex;
      align-items: center;
      justify-content: center;
      transition: var(--transition);
    }
    
    body.home-page .lightbox-zoom-btn:hover{
      background: rgba(255, 255, 255, 0.3);
    }
    /* Map Section */
        body.home-page .map-section{
            padding: 100px 0;
        }
        
        body.home-page .map-container{
            max-width: 1200px;
            margin: 0 auto;
            border-radius: var(--radius);
            overflow: hidden;
            box-shadow: var(--shadow-lg);
        }
        
        body.home-page .map-container iframe{
            width: 100%;
            height: 450px;
            border: none;
        }
    /* Video Lightbox */
    body.home-page .video-lightbox{
      display: none;
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background: rgba(0, 0, 0, 0.9);
      z-index: 2000;
      justify-content: center;
      align-items: center;
      opacity: 0;
      transition: opacity 0.3s ease;
    }
    
    body.home-page .video-lightbox.active{
      display: flex;
      opacity: 1;
    }
    
    body.home-page .video-lightbox-content{
      max-width: 90%;
      max-height: 90%;
      position: relative;
      transform: scale(0.9);
      transition: transform 0.3s ease;
    }
    
    body.home-page .video-lightbox.active .video-lightbox-content{
      transform: scale(1);
    }
    
    body.home-page .video-lightbox-content video{
      max-width: 100%;
      max-height: 90vh;
      border-radius: 10px;
      box-shadow: 0 5px 25px rgba(0,0,0,0.5);
    }
    
    body.home-page .video-lightbox-close{
      position: absolute;
      top: 20px;
      right: 20px;
      background: rgba(255, 255, 255, 0.2);
      color: white;
      border: none;
      width: 50px;
      height: 50px;
      border-radius: 50%;
      font-size: 1.5rem;
      cursor: pointer;
      display: flex;
      align-items: center;
      justify-content: center;
      transition: var(--transition);
      z-index: 10;
    }
    
    body.home-page .video-lightbox-close:hover{
      background: rgba(255, 255, 255, 0.3);
      transform: rotate(90deg);
    }
    

    /* Progress Bar */
    body.home-page .progress-bar{
      position: fixed;
      top: 0;
      left: 0;
      width: 0%;
      height: 3px;
      background: linear-gradient(90deg, var(--primary), var(--secondary));
      z-index: 10000;
      transition: width 0.3s ease;
    }
    
    /* Animations */
    @keyframes fadeInDown {
      from {
        opacity: 0;
        transform: translateY(-30px);
      }
      to {
        opacity: 1;
        transform: translateY(0);
      }
    }
    
    @keyframes fadeInUp {
      from {
        opacity: 0;
        transform: translateY(30px);
      }
      to {
        opacity: 1;
        transform: translateY(0);
      }
    }
    
    body.home-page .fade-in{
      opacity: 0;
      transform: translateY(30px);
      transition: opacity 0.6s ease, transform 0.6s ease;
    }
    
    body.home-page .fade-in.visible{
      opacity: 1;
      transform: translateY(0);
    }
    
    /* Responsive Styles */
    @media (max-width: 1200px) {
      body.home-page .hero h1{
        font-size: 3rem;
      }
    }
    
    @media (max-width: 992px) {
      body.home-page .hero h1{
        font-size: 2.5rem;
      }
      
      body.home-page .section-title h2{
        font-size: 2.2rem;
      }
    }
    
    @media (max-width: 768px) {
      body.home-page .mobile-menu-btn{
        display: block;
      }
      
      body.home-page nav{
        position: fixed;
        top: 90px;
        right: -100%;
        background: var(--white);
        width: 85%;
        height: calc(100vh - 90px);
        flex-direction: column;
        padding: 40px 30px;
        box-shadow: var(--shadow-lg);
        transition: var(--transition);
        z-index: 999;
        border-radius: 0 0 0 var(--radius);
      }
      
      body.home-page nav.active{
        right: 0;
      }
      
      body.home-page .hero{
        padding: 160px 0 100px;
      }
      
      body.home-page .hero h1{
        font-size: 2.2rem;
      }
      
      body.home-page .hero p{
        font-size: 1.1rem;
      }
      
      body.home-page .section{
        padding: 80px 0;
      }
      
      body.home-page .gallery-tabs{
        flex-direction: column;
        align-items: center;
      }
      
      body.home-page .tab-btn{
        width: 100%;
        max-width: 250px;
      }
      
      body.home-page .lightbox-nav{
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
      }
      
      body.home-page .lightbox-close{
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
      }
      
      body.home-page .lightbox-zoom-controls{
        bottom: 10px;
        right: 10px;
      }
      
      body.home-page .lightbox-zoom-btn{
        width: 35px;
        height: 35px;
        font-size: 1rem;
      }
    }
    
    @media (max-width: 576px) {
      body.home-page .hero h1{
        font-size: 1.9rem;
      }
      
      body.home-page .section-title h2{
        font-size: 1.9rem;
      }
      
      body.home-page .services-grid{
        grid-template-columns: 1fr;
      }
      
      body.home-page .quick-links{
        grid-template-columns: repeat(2, 1fr);
      }
    }
    body.home-page .text-center{
      text-align: center;
    }

/* === تحسين هوية رأس الصفحة ومعرض الصور === */
body.home-page .header-container{ gap: 18px; }
body.home-page .header-brand{
  display: flex; align-items: center; gap: 12px; flex: 0 1 470px; max-width: 470px;
  min-width: 0; text-decoration: none; color: inherit; flex-shrink: 1;
}
body.home-page .header-brand-mark{
  display: block; width: 52px; height: 52px; flex: 0 0 52px; object-fit: contain;
  border-radius: 12px; box-shadow: 0 3px 10px rgba(23,49,46,.12);
}
body.home-page .header-brand-name{ display: flex; flex-direction: column; gap: 3px; min-width: 0; line-height: 1.2; }
body.home-page .header-brand-main{ display: block; color: #17312e; font-size: .98rem; font-weight: 800; line-height: 1.25; }
body.home-page .header-brand-owner{ display: block; color: #278779; font-size: .82rem; font-weight: 700; line-height: 1.2; }
body.home-page .header-brand:focus-visible{ outline: 3px solid #4ac3a5; outline-offset: 4px; border-radius: 10px; }
body.home-page .gallery-tabs{ align-items: center; gap: 12px; }
body.home-page .gallery-tabs .tab-btn{ display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; }
body.home-page .tab-count{ display: inline-flex; align-items: center; justify-content: center; min-width: 24px; height: 24px; padding: 0 6px; border-radius: 20px; background: rgba(44,90,160,.10); color: var(--primary); font-size: .78rem; line-height: 1; }
body.home-page .tab-btn.active .tab-count{ background: rgba(255,255,255,.2); color: #fff; }
body.home-page .gallery-grid{ grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 18px; }
body.home-page .gallery-item{ display: flex; flex-direction: column; border: 1px solid rgba(23,49,46,.07); background: #fff; border-radius: 16px; }
body.home-page .gallery-item img{ display: block; width: 100%; aspect-ratio: 4 / 3; height: auto; min-height: 180px; object-fit: cover; background: #eef2f4; }
body.home-page .gallery-caption{ display: block; padding: 11px 12px 13px; color: #233b39; font-size: .95rem; font-weight: 700; text-align: center; line-height: 1.35; }
body.home-page .gallery-more{ margin-top: 30px; }
body.home-page .gallery-item:focus-visible{ outline: 3px solid var(--accent); outline-offset: 3px; }
@media (max-width: 1100px) {
  body.home-page .header-container{ gap: 12px; }
  body.home-page .header-brand{ flex-basis: 390px; max-width: 390px; gap: 10px; }
  body.home-page .header-brand-mark{ width: 46px; height: 46px; flex-basis: 46px; }
  body.home-page .header-brand-main{ font-size: .88rem; }
  body.home-page .header-brand-owner{ font-size: .78rem; }
  body.home-page nav{ gap: 16px; }
  body.home-page .nav-link{ font-size: .95rem; }
}
@media (max-width: 768px) {
  body.home-page .header-container{ width: 100% !important; padding: 8px 16px; gap: 10px; }
  body.home-page .header-brand{ flex: 1 1 auto; max-width: calc(100% - 44px); gap: 8px; }
  body.home-page .header-brand-mark{ width: 42px; height: 42px; flex-basis: 42px; }
  body.home-page .header-brand-main{ font-size: clamp(11px, 3.2vw, 14px); line-height: 1.18; }
  body.home-page .header-brand-owner{ font-size: 11px; }
  body.home-page nav{ top: 72px; height: calc(100vh - 72px); }
  body.home-page .mobile-menu-btn{ flex: 0 0 auto; padding: 6px; }
  body.home-page .gallery-grid{ grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  body.home-page .gallery-item img{ min-height: 0; }
  body.home-page .gallery-caption{ padding: 9px 6px 10px; font-size: .8rem; }
  body.home-page .gallery-tabs{ display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin-bottom: 26px; }
  body.home-page .gallery-tabs .tab-btn{ width: 100%; max-width: none; padding: 10px 8px; font-size: .88rem; gap: 5px; }
  body.home-page .tab-count{ min-width: 21px; height: 21px; font-size: .72rem; }
}
@media (max-width: 380px) {
  body.home-page .header-container{ padding-inline: 10px; }
  body.home-page .header-brand-main{ font-size: 10.5px; }
  body.home-page .gallery-grid{ gap: 9px; }
  body.home-page .gallery-caption{ font-size: .75rem; }
}

/* Robust display: page content remains visible if scripts or motion observers do not run. */
body.home-page .fade-in, body.home-page .fade-in.visible{ opacity: 1 !important; transform: none !important; }


/* Empty category state used when no verified photos are available for a product type. */
body.home-page .gallery-empty-state{ max-width: 760px; margin: 0 auto; padding: clamp(24px, 4vw, 40px) 20px; text-align: center; background: #f8faf9; border: 1px dashed #cbd8d5; border-radius: 18px; color: #23403c; }
body.home-page .gallery-empty-state .empty-icon{ display: inline-block; margin: 0 0 12px; color: var(--primary); font-size: 2rem; }
body.home-page .gallery-empty-state h3{ margin: 0 0 10px; font-size: 1.2rem; line-height: 1.6; }
body.home-page .gallery-empty-state p{ max-width: 560px; margin: 0 auto 18px; color: #53615e; line-height: 1.9; }
body.home-page .gallery-empty-state .btn{ display: inline-flex; align-items: center; justify-content: center; }
@media (max-width: 480px) { body.home-page .gallery-empty-state{ padding: 24px 16px; } body.home-page .gallery-empty-state h3{ font-size: 1.05rem; } }

/* تحديثات صفحة ورشة الرحمة: بطاقات الخدمات والعنوان */
body.home-page .service-img-placeholder{display:grid!important;place-items:center;min-height:210px;background:linear-gradient(135deg,#eef4f0,#f4f0e5);padding:0}
body.home-page .service-img-placeholder img{object-fit:cover}
body.home-page .contact-address-panel{max-width:850px!important;margin:36px auto 0!important;padding:24px;background:#fff;border:1px solid #dce7e2;border-radius:20px;box-shadow:0 12px 30px rgba(23,49,46,.06)}
body.home-page .contact-address-panel h3{margin:0 0 10px;color:#17312e;font-size:1.3rem}
body.home-page .contact-address-panel p{margin:0;color:#53615e;line-height:1.9}
body.home-page .address-actions{display:flex;flex-wrap:wrap;justify-content:center;gap:10px;margin-top:18px}
body.home-page .contact-card .btn-contact{min-height:42px}
@media(max-width:540px){body.home-page .contact-address-panel{padding:20px 16px}body.home-page .address-actions{display:grid;grid-template-columns:1fr}}


/* ===== Merged from service-base.css (scoped to body.service-detail-page) ===== */
        body.service-detail-page{
            --primary: #2c5aa0;
            --primary-light: #4a76c4;
            --primary-dark: #1a3d7a;
            --secondary: #3a8b7e;
            --secondary-light: #5aa897;
            --accent: #8bc34a;
            --light: #f8fafc;
            --dark: #2d3748;
            --gray: #718096;
            --light-gray: #e2e8f0;
            --white: #ffffff;
            --beige: #f5f2eb;
            --shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
            --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.1);
            --transition: all 0.4s ease;
            --radius: 16px;
        }
        
        body.service-detail-page, body.service-detail-page *{
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }
        
        body.service-detail-page{
            scroll-behavior: smooth;
        }
        
        body.service-detail-page{
            font-family: "Tajawal", sans-serif;
            background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
            color: var(--dark);
            line-height: 1.7;
            overflow-x: hidden;
        }
        
        body.service-detail-page .container{
            width: 100%;
            max-width: 1400px;
            margin: 0 auto;
            padding: 0 20px;
        }
        
        /* Breadcrumb Styles */
        body.service-detail-page .breadcrumb{
            background: rgba(255, 255, 255, 0.8);
            padding: 15px 0;
            margin-top: 90px;
            border-bottom: 1px solid var(--light-gray);
        }
        
        body.service-detail-page .breadcrumb-list{
            display: flex;
            list-style: none;
            gap: 10px;
            font-size: 0.9rem;
        }
        
        body.service-detail-page .breadcrumb-item{
            display: flex;
            align-items: center;
        }
        
        body.service-detail-page .breadcrumb-item:not(:last-child):after{
            content: "/";
            margin-right: 10px;
            color: var(--gray);
        }
        
        body.service-detail-page .breadcrumb-link{
            color: var(--primary);
            text-decoration: none;
            transition: var(--transition);
        }
        
        body.service-detail-page .breadcrumb-link:hover{
            color: var(--primary-dark);
        }
        
        body.service-detail-page .breadcrumb-current{
            color: var(--gray);
        }
        
        /* Header Styles */
        body.service-detail-page header{
            background: rgba(255, 255, 255, 0.95);
            backdrop-filter: blur(15px);
            box-shadow: var(--shadow);
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            z-index: 1000;
            transition: var(--transition);
        }
        
        body.service-detail-page .header-container{
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 15px 0;
        }
        
        body.service-detail-page .logo img{
            height: 60px;
            transition: var(--transition);
        }
        
        body.service-detail-page nav{
            display: flex;
            gap: 30px;
        }
        
        body.service-detail-page .nav-link{
            text-decoration: none;
            color: var(--dark);
            font-weight: 600;
            padding: 10px 0;
            position: relative;
            transition: var(--transition);
            font-size: 1.05rem;
        }
        
        body.service-detail-page .nav-link:after{
            content: "";
            position: absolute;
            bottom: 0;
            right: 0;
            width: 0;
            height: 3px;
            background: linear-gradient(90deg, var(--primary), var(--secondary));
            transition: var(--transition);
            border-radius: 3px;
        }
        
        body.service-detail-page .nav-link:hover, body.service-detail-page .nav-link.active{
            color: var(--primary);
        }
        
        body.service-detail-page .nav-link:hover:after, body.service-detail-page .nav-link.active:after{
            width: 100%;
        }
        
        body.service-detail-page .mobile-menu-btn{
            display: none;
            background: none;
            border: none;
            font-size: 24px;
            color: var(--dark);
            cursor: pointer;
            transition: var(--transition);
        }
        
        /* Hero Section */
        body.service-detail-page .hero{
            background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
            color: var(--white);
            padding: 150px 0 100px;
            position: relative;
            overflow: hidden;
            clip-path: polygon(0 0, 100% 0, 100% 90%, 0 100%);
        }
        
        body.service-detail-page .hero:before{
            content: "";
            position: absolute;
            top: 0;
            right: 0;
            bottom: 0;
            left: 0;
            background: url("data:image/svg+xml,<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 1440 320\"><path fill=\"%23ffffff\" fill-opacity=\"0.1\" d=\"M0,96L48,112C96,128,192,160,288,186.7C384,213,480,235,576,213.3C672,192,768,128,864,128C960,128,1056,192,1152,192C1248,192,1344,128,1392,96L1440,64L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z\"></path></svg>");
            background-size: cover;
            background-position: center;
            animation: wave 20s linear infinite;
        }
        
        @keyframes wave {
            0% { transform: translateX(0); }
            50% { transform: translateX(-20px); }
            100% { transform: translateX(0); }
        }
        
        body.service-detail-page .hero-content{
            position: relative;
            z-index: 1;
            text-align: center;
            max-width: 900px;
            margin: 0 auto;
        }
        
        body.service-detail-page .hero h1{
            font-size: 3.5rem;
            font-weight: 800;
            margin-bottom: 25px;
            line-height: 1.2;
            animation: fadeInDown 1s ease;
            text-shadow: 0 2px 10px rgba(0,0,0,0.2);
        }
        
        body.service-detail-page .hero p{
            font-size: 1.3rem;
            margin-bottom: 40px;
            animation: fadeInUp 1s ease 0.3s both;
            max-width: 700px;
            margin-left: auto;
            margin-right: auto;
        }
        
        body.service-detail-page .typed-text{
            color: var(--secondary-light);
            font-weight: 700;
        }
        
        body.service-detail-page .cursor{
            display: inline-block;
            background-color: var(--secondary-light);
            margin-left: 2px;
            width: 3px;
            animation: blink 1s infinite;
        }
        
        @keyframes blink {
            0% { opacity: 1; }
            50% { opacity: 0; }
            100% { opacity: 1; }
        }
        
        body.service-detail-page .hero-buttons{
            display: flex;
            gap: 20px;
            justify-content: center;
            flex-wrap: wrap;
            animation: fadeInUp 1s ease 0.6s both;
        }
        
        body.service-detail-page .btn{
            display: inline-flex;
            align-items: center;
            gap: 12px;
            padding: 16px 35px;
            border-radius: 50px;
            font-weight: 700;
            text-decoration: none;
            transition: var(--transition);
            border: none;
            cursor: pointer;
            font-size: 1.1rem;
            position: relative;
            overflow: hidden;
            box-shadow: 0 4px 15px rgba(0,0,0,0.15);
        }
        
        body.service-detail-page .btn:before{
            content: "";
            position: absolute;
            top: 0;
            left: -100%;
            width: 100%;
            height: 100%;
            background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
            transition: left 0.7s;
        }
        
        body.service-detail-page .btn:hover:before{
            left: 100%;
        }
        
        body.service-detail-page .btn-primary{
            background: linear-gradient(135deg, var(--secondary), var(--secondary-light));
            color: var(--white);
        }
        
        body.service-detail-page .btn-primary:hover{
            transform: translateY(-5px);
            box-shadow: 0 10px 25px rgba(58, 139, 126, 0.4);
        }
        
        body.service-detail-page .btn-secondary{
            background: transparent;
            color: var(--white);
            border: 2px solid var(--white);
        }
        
        body.service-detail-page .btn-secondary:hover{
            background: rgba(255, 255, 255, 0.1);
            transform: translateY(-5px);
            box-shadow: 0 10px 25px rgba(255,255,255,0.2);
        }
        
        /* Sections */
        body.service-detail-page .section{
            padding: 100px 0;
        }
        
        body.service-detail-page .section-title{
            text-align: center;
            margin-bottom: 60px;
            position: relative;
        }
        
        body.service-detail-page .section-title h2{
            font-size: 2.5rem;
            font-weight: 800;
            color: var(--dark);
            margin-bottom: 20px;
            position: relative;
            display: inline-block;
        }
        
        body.service-detail-page .section-title h2:after{
            content: "";
            position: absolute;
            bottom: -10px;
            right: 0;
            width: 100px;
            height: 4px;
            background: linear-gradient(90deg, var(--primary), var(--secondary));
            border-radius: 4px;
        }
        
        body.service-detail-page .section-title p{
            font-size: 1.2rem;
            color: var(--gray);
            max-width: 700px;
            margin: 0 auto;
        }
        
        /* Gallery Section */
        body.service-detail-page .gallery-section{
            padding: 40px 0;
        }
        
        body.service-detail-page .gallery-container{
            max-width: 1200px;
            margin: 0 auto;
            padding: 20px;
        }
        
        body.service-detail-page .gallery-main{
            position: relative;
            margin-bottom: 20px;
            border-radius: var(--radius);
            overflow: hidden;
            box-shadow: var(--shadow-lg);
            height: 500px;
        }
        
        body.service-detail-page .gallery-main-img{
            width: 100%;
            height: 100%;
            object-fit: contain;
            background-color: #f4f5f7;
            transition: transform 0.5s ease;
        }
        
        body.service-detail-page .gallery-main:hover .gallery-main-img{
            transform: scale(1.03);
        }
        
        body.service-detail-page .gallery-nav{
            position: absolute;
            top: 50%;
            transform: translateY(-50%);
            background: rgba(255, 255, 255, 0.85);
            width: 50px;
            height: 50px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            font-size: 20px;
            z-index: 10;
            transition: var(--transition);
            color: var(--primary);
            box-shadow: var(--shadow);
        }
        
        body.service-detail-page .gallery-nav:hover{
            background: var(--white);
            transform: translateY(-50%) scale(1.1);
            color: var(--secondary);
        }
        
        body.service-detail-page .gallery-prev{
            right: 20px;
        }
        
        body.service-detail-page .gallery-next{
            left: 20px;
        }
        
        body.service-detail-page .gallery-thumbnails{
            display: grid;
            grid-template-columns: repeat(5, 1fr);
            gap: 10px;
        }
        
        body.service-detail-page .gallery-thumb{
            border-radius: 8px;
            overflow: hidden;
            cursor: pointer;
            transition: var(--transition);
            opacity: 0.7;
            height: 100px;
            position: relative;
        }
        
        body.service-detail-page .gallery-thumb.active{
            opacity: 1;
            transform: scale(1.05);
            box-shadow: 0 5px 15px rgba(0,0,0,0.2);
        }
        
        body.service-detail-page .gallery-thumb:hover{
            opacity: 1;
            transform: scale(1.05);
        }
        
        body.service-detail-page .gallery-thumb-img{
            width: 100%;
            height: 100%;
            object-fit: contain;
            background-color: #f4f5f7;
        }
        
        body.service-detail-page .image-counter{
            position: absolute;
            bottom: 10px;
            right: 10px;
            background: rgba(0,0,0,0.7);
            color: white;
            padding: 4px 8px;
            border-radius: 4px;
            font-size: 0.8rem;
        }
        
        /* Types Section */
        body.service-detail-page .types-section{
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 30px;
            margin: 40px 0;
        }
        
        body.service-detail-page .type-card{
            background: var(--white);
            border-radius: var(--radius);
            padding: 30px;
            box-shadow: var(--shadow);
            transition: var(--transition);
            text-align: center;
        }
        
        body.service-detail-page .type-card:hover{
            transform: translateY(-10px);
            box-shadow: var(--shadow-lg);
        }
        
        body.service-detail-page .type-icon{
            font-size: 3rem;
            color: var(--primary);
            margin-bottom: 20px;
        }
        
        body.service-detail-page .type-card h3{
            font-size: 1.5rem;
            color: var(--dark);
            margin-bottom: 15px;
        }
        
        /* Comparison Table */
        body.service-detail-page .comparison-table{
            background: var(--white);
            border-radius: var(--radius);
            overflow: hidden;
            box-shadow: var(--shadow);
            margin: 30px 0;
        }
        
        body.service-detail-page .comparison-table table{
            width: 100%;
            border-collapse: collapse;
        }
        
        body.service-detail-page .comparison-table th{
            background: linear-gradient(135deg, var(--primary), var(--primary-light));
            color: var(--white);
            padding: 18px;
            text-align: right;
            font-weight: 600;
        }
        
        body.service-detail-page .comparison-table td{
            padding: 16px;
            border-bottom: 1px solid var(--light-gray);
            text-align: right;
        }
        
        body.service-detail-page .comparison-table tr:nth-child(even){
            background: rgba(0,0,0,0.02);
        }
        
        body.service-detail-page .comparison-table tr:hover{
            background: rgba(0,0,0,0.05);
        }
        
        /* Features List */
        body.service-detail-page .features-list{
            list-style: none;
            margin: 25px 0;
        }
        
        body.service-detail-page .features-list li{
            padding: 12px 0;
            padding-right: 40px;
            position: relative;
            font-size: 1.1rem;
            border-bottom: 1px solid var(--light-gray);
        }
        
        body.service-detail-page .features-list li:before{
            content: "✓";
            position: absolute;
            right: 0;
            color: var(--accent);
            font-weight: bold;
            font-size: 1.5rem;
        }
        
        /* Steps Section */
        body.service-detail-page .experience-steps{
            display: flex;
            justify-content: space-between;
            margin-top: 50px;
            position: relative;
        }
        
        body.service-detail-page .experience-steps:before{
            content: "";
            position: absolute;
            top: 40px;
            right: 0;
            left: 0;
            height: 3px;
            background: var(--primary);
            z-index: 1;
        }
        
        body.service-detail-page .step{
            text-align: center;
            position: relative;
            z-index: 2;
            flex: 1;
            padding: 0 15px;
        }
        
        body.service-detail-page .step-number{
            width: 80px;
            height: 80px;
            background: var(--primary);
            color: white;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.8rem;
            font-weight: bold;
            margin: 0 auto 20px;
            border: 5px solid var(--white);
            box-shadow: 0 0 0 3px var(--primary);
            transition: var(--transition);
        }
        
        body.service-detail-page .step:hover .step-number{
            transform: scale(1.1);
            background: var(--secondary);
            box-shadow: 0 0 0 3px var(--secondary);
        }
        
        body.service-detail-page .step-title{
            font-size: 1.2rem;
            color: var(--primary);
            margin-bottom: 10px;
            font-weight: 600;
        }
        
        /* FAQ Section */
        body.service-detail-page .faq-container{
            max-width: 900px;
            margin: 0 auto;
        }
        
        body.service-detail-page .faq-item{
            background: var(--white);
            margin-bottom: 15px;
            border-radius: var(--radius);
            overflow: hidden;
            box-shadow: var(--shadow);
            transition: var(--transition);
        }
        
        body.service-detail-page .faq-item:hover{
            box-shadow: var(--shadow-lg);
        }
        
        body.service-detail-page .faq-question{
            padding: 20px;
            background: linear-gradient(135deg, var(--primary), var(--primary-light));
            color: white;
            cursor: pointer;
            display: flex;
            justify-content: space-between;
            align-items: center;
            font-weight: 600;
            font-size: 1.1rem;
            transition: var(--transition);
        }
        
        body.service-detail-page .faq-question:hover{
            background: linear-gradient(135deg, var(--primary-light), var(--primary));
        }
        
        body.service-detail-page .faq-answer{
            padding: 0 20px;
            max-height: 0;
            overflow: hidden;
            transition: max-height 0.5s ease, padding 0.3s ease;
        }
        
        body.service-detail-page .faq-item.active .faq-answer{
            padding: 20px;
            max-height: 500px;
        }
        
        body.service-detail-page .faq-item.active .faq-question{
            background: linear-gradient(135deg, var(--secondary), var(--secondary-light));
        }
        
        body.service-detail-page .faq-item.active .faq-question span:last-child{
            transform: rotate(45deg);
        }
        
        /* Discount Banner */
        body.service-detail-page .discount-banner{
            background: linear-gradient(135deg, var(--secondary) 0%, var(--secondary-light) 100%);
            color: white;
            padding: 40px;
            text-align: center;
            border-radius: var(--radius);
            margin: 50px 0;
            position: relative;
            overflow: hidden;
            box-shadow: var(--shadow-lg);
        }
        
        body.service-detail-page .discount-banner:before{
            content: "";
            position: absolute;
            top: -50%;
            right: -50%;
            width: 200%;
            height: 200%;
            background: rgba(255, 255, 255, 0.1);
            transform: rotate(45deg);
            z-index: 1;
            animation: shine 3s infinite;
        }
        
        @keyframes shine {
            0% { transform: rotate(45deg) translateX(-100%); }
            100% { transform: rotate(45deg) translateX(100%); }
        }
        
        body.service-detail-page .discount-banner h3{
            position: relative;
            z-index: 2;
            font-size: 2.2rem;
            margin-bottom: 15px;
            font-weight: 800;
        }
        
        body.service-detail-page .discount-banner p{
            position: relative;
            z-index: 2;
            font-size: 1.2rem;
            margin-bottom: 10px;
        }
        
        /* Contact Section */
        body.service-detail-page .contact-buttons{
            display: flex;
            gap: 15px;
            justify-content: center;
            flex-wrap: wrap;
            margin: 40px 0;
        }
        
        body.service-detail-page .btn-whatsapp{
            background: linear-gradient(135deg, #25d366, #128c7e);
            color: white;
        }
        
        body.service-detail-page .btn-whatsapp:hover{
            transform: translateY(-5px);
            box-shadow: 0 10px 25px rgba(37, 211, 102, 0.4);
        }
        
        body.service-detail-page .btn-call{
            background: linear-gradient(135deg, var(--primary), var(--primary-light));
            color: white;
        }
        
        body.service-detail-page .btn-call:hover{
            transform: translateY(-5px);
            box-shadow: 0 10px 25px rgba(44, 90, 160, 0.4);
        }
        
        body.service-detail-page .btn-consultation{
            background: linear-gradient(135deg, var(--accent), #7cb342);
            color: white;
        }
        
        body.service-detail-page .btn-consultation:hover{
            transform: translateY(-5px);
            box-shadow: 0 10px 25px rgba(139, 195, 74, 0.4);
        }
        
      
        /* Animations */
        @keyframes fadeInDown {
            from {
                opacity: 0;
                transform: translateY(-30px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }
        
        @keyframes fadeInUp {
            from {
                opacity: 0;
                transform: translateY(30px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }
        
        body.service-detail-page .fade-in{
            opacity: 0;
            transform: translateY(30px);
            transition: opacity 0.6s ease, transform 0.6s ease;
        }
        
        body.service-detail-page .fade-in.visible{
            opacity: 1;
            transform: translateY(0);
        }

/* Responsive Styles */
        @media (max-width: 1200px) {
            body.service-detail-page .hero h1{
                font-size: 3rem;
            }
            
            body.service-detail-page .gallery-main{
                height: 400px;
            }
        }
        
        @media (max-width: 992px) {
            body.service-detail-page .hero h1{
                font-size: 2.5rem;
            }
            
            body.service-detail-page .section-title h2{
                font-size: 2.2rem;
            }
            
            body.service-detail-page .gallery-main{
                height: 350px;
            }
            
            body.service-detail-page .gallery-thumbnails{
                grid-template-columns: repeat(3, 1fr);
            }
            
            body.service-detail-page .experience-steps{
                flex-direction: column;
                gap: 40px;
            }
            
            body.service-detail-page .experience-steps:before{
                display: none;
            }
        }
        
        @media (max-width: 768px) {
            body.service-detail-page .mobile-menu-btn{
                display: block;
            }
            
            body.service-detail-page nav{
                position: fixed;
                top: 90px;
                right: -100%;
                background: var(--white);
                width: 85%;
                height: calc(100vh - 90px);
                flex-direction: column;
                padding: 40px 30px;
                box-shadow: var(--shadow-lg);
                transition: var(--transition);
                z-index: 999;
                border-radius: 0 0 0 var(--radius);
            }
            
            body.service-detail-page nav.active{
                right: 0;
            }
            
            body.service-detail-page .hero{
                padding: 160px 0 100px;
            }
            
            body.service-detail-page .hero h1{
                font-size: 2.2rem;
            }
            
            body.service-detail-page .hero p{
                font-size: 1.1rem;
            }
            
            body.service-detail-page .section{
                padding: 80px 0;
            }
            
            body.service-detail-page .gallery-main{
                height: 300px;
            }
            
            body.service-detail-page .gallery-thumbnails{
                grid-template-columns: repeat(2, 1fr);
            }
            
            body.service-detail-page .gallery-thumb{
                height: 80px;
            }
            
            body.service-detail-page .contact-buttons{
                flex-direction: column;
                align-items: center;
            }
            
            body.service-detail-page .btn{
                width: 100%;
                max-width: 300px;
                justify-content: center;
            }
        }
        
        @media (max-width: 576px) {
            body.service-detail-page .hero h1{
                font-size: 1.9rem;
            }
            
            body.service-detail-page .section-title h2{
                font-size: 1.9rem;
            }
            
            body.service-detail-page .types-section{
                grid-template-columns: 1fr;
            }
            
            body.service-detail-page .discount-banner{
                padding: 30px 20px;
            }
            
            body.service-detail-page .discount-banner h3{
                font-size: 1.8rem;
            }
        }

/* ===== Merged from brand.css (scoped to body.service-detail-page) ===== */
/* توحيد هوية الورشة في صفحات الخدمات */
body.service-detail-page .header-container{ gap: 18px; }
body.service-detail-page .header-brand{
  display: flex; align-items: center; gap: 10px;
  flex: 0 1 420px; max-width: 420px; min-width: 0;
  color: inherit; text-decoration: none;
}
body.service-detail-page .header-brand-mark{
  display: block; width: 48px; height: 48px; flex: 0 0 48px;
  object-fit: contain; border-radius: 10px;
}
body.service-detail-page .header-brand-name{ display: flex; flex-direction: column; gap: 3px; min-width: 0; line-height: 1.2; }
body.service-detail-page .header-brand-main{ display: block; color: var(--dark, #17312e); font-size: .94rem; font-weight: 800; line-height: 1.22; }
body.service-detail-page .header-brand-owner{ display: block; color: var(--secondary, #278779); font-size: .8rem; font-weight: 700; line-height: 1.2; }
body.service-detail-page .header-brand:focus-visible{ outline: 3px solid var(--accent, #4ac3a5); outline-offset: 4px; border-radius: 10px; }
@media (max-width: 1100px) {
  body.service-detail-page .header-container{ gap: 12px; }
  body.service-detail-page .header-brand{ flex-basis: 350px; max-width: 350px; gap: 8px; }
  body.service-detail-page .header-brand-mark{ width: 44px; height: 44px; flex-basis: 44px; }
  body.service-detail-page .header-brand-main{ font-size: .84rem; }
  body.service-detail-page .header-brand-owner{ font-size: .76rem; }
  body.service-detail-page nav{ gap: 14px; }
  body.service-detail-page .nav-link{ font-size: .94rem; }
}
@media (max-width: 768px) {
  body.service-detail-page .header-container{ width: 100% !important; padding: 8px 16px; gap: 10px; }
  body.service-detail-page .header-brand{ flex: 1 1 auto; max-width: calc(100% - 44px); gap: 8px; }
  body.service-detail-page .header-brand-mark{ width: 42px; height: 42px; flex-basis: 42px; }
  body.service-detail-page .header-brand-main{ font-size: clamp(11px, 3.2vw, 14px); line-height: 1.18; }
  body.service-detail-page .header-brand-owner{ font-size: 11px; }
  body.service-detail-page nav{ top: 72px; height: calc(100vh - 72px); }
  body.service-detail-page .mobile-menu-btn{ flex: 0 0 auto; padding: 6px; }
}
@media (max-width: 380px) {
  body.service-detail-page .header-container{ padding-inline: 10px; }
  body.service-detail-page .header-brand-main{ font-size: 10.5px; }
}

/* Content remains visible when scripts fail or reduced motion is preferred. */
body.service-detail-page .fade-in, body.service-detail-page .fade-in.visible{ opacity: 1 !important; transform: none !important; }


/* ===== Merged from footer.css ===== */
.professional-footer {
    background: linear-gradient(135deg, #0f1424 0%, #1a2238 100%);
    color: white;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
    font-family: 'Tajawal', sans-serif;
}

.professional-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, #2c5aa0, #3a8b7e, transparent);
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px 20px;
}

/* الشريط العلوي */
.footer-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
    padding-bottom: 30px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.brand-section {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #2c5aa0, #3a8b7e);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
    box-shadow: 0 4px 15px rgba(44, 90, 160, 0.3);
}

.brand-info h3 {
    font-size: 1.4rem;
    font-weight: 700;
    margin: 0 0 5px 0;
    background: linear-gradient(135deg, #fff, #a8d1e6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.brand-info p {
    margin: 0;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
}

.quick-stats {
    display: flex;
    gap: 30px;
}

.stat {
    text-align: center;
    padding: 0 15px;
    position: relative;
}

.stat:not(:last-child)::after {
    content: '';
    position: absolute;
    right: -15px;
    top: 50%;
    transform: translateY(-50%);
    width: 1px;
    height: 30px;
    background: rgba(255, 255, 255, 0.2);
}

.stat-number {
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
    color: #3a8b7e;
    margin-bottom: 5px;
}

.stat-label {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.7);
}

/* محور التواصل */
.communication-hub {
    margin-bottom: 40px;
}

.contact-methods {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 15px;
}

.contact-method {
    display: flex;
    align-items: center;
    padding: 15px 20px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
}

.contact-method::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.5s ease;
}

.contact-method:hover::before {
    left: 100%;
}

.contact-method:hover {
    transform: translateY(-2px);
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
}

.method-icon {
    width: 45px;
    height: 45px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: 15px;
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.contact-method:hover .method-icon {
    transform: scale(1.1);
}

.phone .method-icon { background: rgba(44, 90, 160, 0.2); color: #2c5aa0; }
.whatsapp .method-icon { background: rgba(37, 211, 102, 0.2); color: #25d366; }
.messenger .method-icon { background: rgba(0, 132, 255, 0.2); color: #0084ff; }
.facebook .method-icon { background: rgba(59, 89, 152, 0.2); color: #3b5998; }

.method-info {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.method-name {
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 3px;
}

.method-detail {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.7);
}

.method-badge {
    padding: 4px 8px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 6px;
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

/* الشبكة الذكية */
.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
    padding-bottom: 30px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-section {
    padding: 0 10px;
}

.section-title {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: #3a8b7e;
    position: relative;
    padding-bottom: 10px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 30px;
    height: 2px;
    background: linear-gradient(90deg, #2c5aa0, #3a8b7e);
    border-radius: 2px;
}

.service-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.service-list li {
    display: flex;
    align-items: center;
    padding: 8px 0;
    color: rgba(255, 255, 255, 0.8);
    transition: all 0.3s ease;
    cursor: pointer;
}

.service-list li:hover {
    color: #3a8b7e;
    transform: translateX(-5px);
}

.service-list li i {
    margin-left: 10px;
    width: 16px;
    text-align: center;
    color: #2c5aa0;
}

.info-cards {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.info-card {
    display: flex;
    align-items: center;
    padding: 12px 15px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    transition: all 0.3s ease;
}

.info-card:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateX(5px);
}

.info-card i {
    margin-left: 12px;
    color: #2c5aa0;
    font-size: 1rem;
}

.info-card div {
    display: flex;
    flex-direction: column;
}

.info-card strong {
    font-size: 0.9rem;
    margin-bottom: 3px;
}

.info-card span {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.6);
}

.quick-links {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.quick-link {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    padding: 8px 0;
    transition: all 0.3s ease;
    position: relative;
    padding-right: 15px;
}

.quick-link::before {
    content: '›';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    transition: transform 0.3s ease;
}

.quick-link:hover {
    color: #3a8b7e;
    padding-right: 20px;
}

.quick-link:hover::before {
    transform: translateY(-50%) translateX(-3px);
}

/* الشريط السفلي */
.footer-bottom {
    padding-top: 20px;
}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.copyright p {
    margin: 0;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
}

/* قسم بصمة تك المحسن */
.developer-credit {
    display: flex;
    align-items: center;
    gap: 10px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    text-decoration: none;
    padding: 10px 15px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.developer-credit::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(58, 139, 126, 0.2), transparent);
    transition: left 0.5s ease;
}

.developer-credit:hover::before {
    left: 100%;
}

.developer-credit:hover {
    transform: translateY(-2px);
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    color: #3a8b7e;
}

.developer {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    background: linear-gradient(135deg, rgba(44, 90, 160, 0.2), rgba(58, 139, 126, 0.2));
    border-radius: 8px;
    color: #3a8b7e;
    font-weight: 600;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.developer-credit:hover .developer {
    background: linear-gradient(135deg, rgba(44, 90, 160, 0.3), rgba(58, 139, 126, 0.3));
    transform: scale(1.05);
}

.developer i {
    font-size: 0.8rem;
    transition: all 0.3s ease;
}

.developer-credit:hover .developer i {
    transform: rotate(15deg);
}

.tech-badge {
    width: 30px;
    height: 30px;
    background: linear-gradient(135deg, #2c5aa0, #3a8b7e);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 0.7rem;
    animation: pulse 2s infinite;
    box-shadow: 0 0 10px rgba(44, 90, 160, 0.5);
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(44, 90, 160, 0.7);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(44, 90, 160, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(44, 90, 160, 0);
    }
}

.live-indicator {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 12px;
    background: rgba(46, 125, 50, 0.2);
    border-radius: 6px;
    border: 1px solid rgba(46, 125, 50, 0.3);
}

.status-dot {
    width: 8px;
    height: 8px;
    background: #4caf50;
    border-radius: 50%;
    animation: statusPulse 2s ease-in-out infinite;
}

@keyframes statusPulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.7; transform: scale(1.2); }
}

.live-indicator span {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.8);
}

/* التجاوب مع الشاشات */
@media (max-width: 992px) {
    .footer-header {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
    
    .brand-section {
        justify-content: center;
    }
    
    .quick-stats {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .footer-container {
        padding: 30px 15px 15px;
    }
    
    .contact-methods {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .footer-bottom-content {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
    
    .quick-stats {
        gap: 20px;
    }
    
    .stat:not(:last-child)::after {
        display: none;
    }
}

@media (max-width: 576px) {
    .footer-header {
        margin-bottom: 30px;
    }
    
    .quick-stats {
        flex-direction: column;
        gap: 15px;
    }
    
    .stat {
        padding: 10px 0;
    }
    
    .contact-method {
        padding: 12px 15px;
    }
    
    .method-icon {
        width: 40px;
        height: 40px;
        margin-left: 12px;
    }
    
    .developer-credit {
        flex-direction: column;
        gap: 8px;
    }
}

/* شعار ورشة الرحمة في تذييل الموقع */
.professional-footer .logo { overflow: hidden; flex: 0 0 50px; padding: 0; background: transparent; box-shadow: none; }
.professional-footer .logo img { display: block; width: 50px; height: 50px; object-fit: cover; border-radius: 12px; }
.footer-bottom-content { justify-content: center; }

.contact-methods .instagram .method-icon{background:rgba(225,48,108,.16);color:#ff80ab}.contact-methods .tiktok .method-icon{background:rgba(255,255,255,.12);color:#fff}.contact-methods .linkedin .method-icon{background:rgba(10,102,194,.2);color:#83bdff}.footer-map-link{display:inline-block;color:#9dd7c8;font-weight:700;text-decoration:underline;margin-top:6px}


/* ===== Merged from unified-theme.css ===== */
/* هوية بصرية موحّدة لورشة الرحمة — أزرق سماوي / لبني */
:root {
  --rahma-ink: #15364d;
  --rahma-ink-soft: #38566a;
  --rahma-blue: #167ca6;
  --rahma-blue-deep: #105b80;
  --rahma-cyan: #25b8d8;
  --rahma-cyan-light: #c9f0fb;
  --rahma-sky: #e5f8ff;
  --rahma-surface: #ffffff;
  --rahma-page: #f4fbfe;
  --rahma-line: #d3eaf3;
  --rahma-shadow: 0 12px 34px rgba(18, 87, 121, .09);
  --rahma-shadow-hover: 0 20px 44px rgba(18, 87, 121, .15);
  --rahma-radius: 22px;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 92px;
  background: var(--rahma-page);
}

body {
  margin: 0 !important;
  padding-top: 0 !important;
  color: var(--rahma-ink) !important;
  background: var(--rahma-page) !important;
  font-family: 'Tajawal', Arial, sans-serif !important;
  line-height: 1.8;
  overflow-x: clip;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

*, *::before, *::after { box-sizing: border-box; }
img { max-width: 100%; }
a { text-underline-offset: .2em; }
button, input, textarea, select { font: inherit; }
:focus-visible { outline: 3px solid #129bc5 !important; outline-offset: 3px; }

/* رأس واحد متناسق لجميع الصفحات */
header {
  position: fixed !important;
  inset: 0 0 auto 0 !important;
  z-index: 1100 !important;
  background: linear-gradient(110deg, rgba(211, 245, 255, .97), rgba(247, 253, 255, .97)) !important;
  border-bottom: 1px solid rgba(35, 160, 195, .19) !important;
  box-shadow: 0 8px 28px rgba(13, 77, 107, .10) !important;
  backdrop-filter: blur(18px) saturate(150%);
  -webkit-backdrop-filter: blur(18px) saturate(150%);
}
.header-container, .container.header-container {
  width: min(1240px, calc(100% - 44px)) !important;
  max-width: 1240px !important;
  min-height: 78px;
  margin-inline: auto !important;
  padding: 10px 0 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: clamp(10px, 2vw, 28px) !important;
}
.header-brand {
  flex: 0 1 410px !important;
  max-width: 410px !important;
  min-width: 0 !important;
  display: flex !important;
  align-items: center !important;
  gap: 11px !important;
  text-decoration: none !important;
  color: var(--rahma-ink) !important;
}
.header-brand-mark {
  width: 49px !important;
  height: 49px !important;
  flex: 0 0 49px !important;
  border-radius: 14px !important;
  padding: 3px;
  background: rgba(255,255,255,.72);
  border: 1px solid rgba(31, 153, 190, .16);
  box-shadow: 0 4px 13px rgba(12, 93, 126, .08);
  object-fit: contain;
}
.header-brand-name { display: flex; flex-direction: column; gap: 3px; min-width: 0; line-height: 1.18; }
.header-brand-main {
  color: var(--rahma-ink) !important;
  font-size: clamp(.82rem, 1.13vw, .99rem) !important;
  font-weight: 900 !important;
  line-height: 1.28 !important;
}
.header-brand-owner {
  color: var(--rahma-blue) !important;
  font-size: .82rem !important;
  font-weight: 800 !important;
  line-height: 1.2 !important;
}
#main-nav, header nav {
  display: flex !important;
  position: static;
  align-items: center !important;
  justify-content: flex-end;
  gap: clamp(3px, .55vw, 9px) !important;
  background: transparent;
  box-shadow: none;
  width: auto;
  height: auto;
  padding: 0;
}
.nav-link {
  position: relative;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 8px 12px !important;
  border-radius: 999px !important;
  color: #24495e !important;
  font-size: .98rem !important;
  font-weight: 800 !important;
  line-height: 1.35;
  text-decoration: none !important;
  transition: color .2s ease, background .2s ease, transform .2s ease;
}
.nav-link::after { display: none !important; }
.nav-link:hover, .nav-link.active {
  color: #075d83 !important;
  background: rgba(50, 181, 217, .17) !important;
}
.nav-link:hover { transform: translateY(-1px); }
.mobile-menu-btn {
  display: none;
  color: var(--rahma-ink) !important;
  border: 1px solid rgba(20, 130, 169, .20) !important;
  background: rgba(255,255,255,.72) !important;
  border-radius: 12px !important;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(13,77,107,.06);
}

/* بطل الصفحة: نفس الشكل واللون في الرئيسية وكل صفحات الخدمات */
.hero, .product-hero {
  position: relative !important;
  isolation: isolate;
  overflow: hidden !important;
  color: var(--rahma-ink) !important;
  background:
    radial-gradient(ellipse at 8% 12%, rgba(255,255,255,.92) 0, rgba(255,255,255,0) 31%),
    radial-gradient(ellipse at 89% 18%, rgba(88, 216, 241, .28) 0, rgba(88,216,241,0) 33%),
    linear-gradient(125deg, #e9faff 0%, #c9f0fc 47%, #a7e5f7 100%) !important;
  border: 0 !important;
  border-radius: 0 0 34px 34px !important;
  clip-path: none !important;
  box-shadow: 0 18px 40px rgba(18, 110, 148, .08);
  padding: 148px 0 74px !important;
  margin: 0 !important;
}
.hero::before, .product-hero::after {
  content: "";
  position: absolute;
  z-index: -1;
  pointer-events: none;
  background: transparent !important;
  width: 420px;
  height: 420px;
  right: -180px;
  top: 20px;
  left: auto;
  bottom: auto;
  border: 1px solid rgba(20, 126, 168, .12);
  border-radius: 50%;
  box-shadow: 0 0 0 35px rgba(255,255,255,.12), 0 0 0 76px rgba(25,163,201,.05);
  animation: none !important;
}
.hero::after { content: none !important; }
.hero .container, .product-shell {
  position: relative;
  z-index: 1;
  width: min(1160px, calc(100% - 44px)) !important;
  max-width: 1160px !important;
  margin-inline: auto !important;
}
.hero-content { max-width: 900px !important; margin-inline: auto !important; text-align: center; }
.hero h1, .product-hero h1 {
  max-width: 960px !important;
  margin: 12px auto 18px !important;
  color: #123a55 !important;
  font-size: clamp(2.05rem, 4.8vw, 3.45rem) !important;
  font-weight: 900 !important;
  letter-spacing: -.025em;
  line-height: 1.28 !important;
  text-shadow: none !important;
  animation: none !important;
}
.hero p, .product-hero p {
  max-width: 790px !important;
  margin: 0 auto 28px !important;
  color: #345a70 !important;
  font-size: clamp(1.02rem, 1.7vw, 1.22rem) !important;
  font-weight: 500;
  line-height: 1.95 !important;
  animation: none !important;
}
.product-eyebrow {
  display: inline-flex !important;
  align-items: center;
  gap: 8px;
  padding: 7px 14px !important;
  color: #0c6689 !important;
  border: 1px solid rgba(20, 129, 168, .22) !important;
  border-radius: 999px !important;
  background: rgba(255,255,255,.55) !important;
  font-weight: 900 !important;
}
.product-address-hint {
  color: #3d6276 !important;
  justify-content: center;
  line-height: 1.8;
  max-width: 900px;
  margin: 22px auto 0 !important;
}
.hero-buttons, .product-actions {
  display: flex !important;
  align-items: center;
  justify-content: center !important;
  flex-wrap: wrap;
  gap: 12px !important;
  margin-top: 26px !important;
}
.btn, .pd-button, .btn-service, .btn-contact {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 48px;
  padding: 12px 22px !important;
  border-radius: 14px !important;
  border: 1px solid transparent !important;
  font-weight: 900 !important;
  line-height: 1.4 !important;
  text-decoration: none !important;
  box-shadow: 0 8px 18px rgba(16, 100, 135, .10);
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.btn:hover, .pd-button:hover, .btn-service:hover, .btn-contact:hover {
  transform: translateY(-2px);
  box-shadow: 0 13px 25px rgba(16, 100, 135, .17);
}
.btn-primary, .pd-button-primary {
  color: #fff !important;
  background: linear-gradient(135deg, #167da8, #119fc2) !important;
}
.btn-secondary, .pd-button-secondary {
  color: #15506b !important;
  background: rgba(255,255,255,.82) !important;
  border-color: rgba(20, 126, 166, .22) !important;
}
.pd-button-green { color: #fff !important; background: linear-gradient(135deg,#157aa5,#14a1c1) !important; }
.pd-button-light { color: var(--rahma-ink) !important; background: #fff !important; border-color: var(--rahma-line) !important; }

/* إيقاع موحّد للأقسام والعناوين */
main { position: relative; }
.section, .product-section {
  position: relative;
  padding: clamp(48px, 6.1vw, 82px) 0 !important;
  background: transparent;
  scroll-margin-top: 92px;
}
main > .section:nth-of-type(even), .product-section:nth-of-type(even) { background: rgba(255,255,255,.72) !important; }
.section-title, .product-section-title {
  width: min(850px, calc(100% - 36px));
  max-width: 850px !important;
  margin: 0 auto 34px !important;
  text-align: center !important;
}
.section-title h2, .product-section-title h2 {
  color: #143f5a !important;
  font-size: clamp(1.55rem, 3.2vw, 2.35rem) !important;
  line-height: 1.35 !important;
  font-weight: 900 !important;
  margin: 0 0 14px !important;
}
.section-title h2::after {
  background: linear-gradient(90deg, #26b6d6, #7adcf2) !important;
  width: 76px !important;
  height: 4px !important;
  border-radius: 9px;
}
.section-title p, .product-section-title p {
  color: #587385 !important;
  font-size: 1.02rem;
  line-height: 1.95 !important;
}
.product-section-title .kicker { color: #0e8aaf !important; font-weight: 900 !important; }
.product-section-title h2 { margin-top: 8px !important; }

/* بطاقات الخدمة والمعرض والمزايا والأسئلة */
.service-card, .gallery-item, .product-image-card, .product-feature, .product-step,
.info-card, .faq-item, .contact-method, .service-img, .gallery-empty-state,
.product-empty, .product-quote, .contact-address-panel {
  border-color: var(--rahma-line) !important;
  border-radius: var(--rahma-radius) !important;
  box-shadow: var(--rahma-shadow) !important;
}
.service-card, .gallery-item, .product-image-card, .product-feature, .info-card, .faq-item, .contact-method {
  background: #fff !important;
  overflow: hidden;
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
.service-card:hover, .gallery-item:hover, .product-image-card:hover, .product-feature:hover, .info-card:hover, .faq-item:hover, .contact-method:hover {
  transform: translateY(-4px);
  border-color: #a6dce9 !important;
  box-shadow: var(--rahma-shadow-hover) !important;
}
.service-card h3, .product-feature h3, .product-quote h2, .faq-question, .product-faq summary {
  color: #164660 !important;
}
.service-card p, .product-feature p, .product-step p, .product-faq details p { color: #526e7e !important; line-height: 1.9 !important; }
.service-card img, .gallery-item img, .product-image-card img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  height: auto;
  object-fit: cover;
  background: #e8f7fb;
}
.gallery-item img { min-height: 0 !important; }
.product-gallery { grid-template-columns: repeat(4,minmax(0,1fr)) !important; gap: 18px !important; }
.product-image-card { text-align: right !important; }
.product-image-card span { color: #183f56 !important; }
.product-image-card em { color: #6a8290 !important; }
.product-feature .feature-icon, .product-empty .empty-symbol {
  background: #dff5fb !important;
  color: #087da3 !important;
  border-radius: 15px !important;
}
.product-step { background: #fff !important; border-top: 3px solid #29b8d6 !important; }
.product-step:before { color: #0f91b8 !important; }
.product-faq details { border: 1px solid var(--rahma-line) !important; border-radius: 15px !important; background: #fff !important; }
.product-quote { background: linear-gradient(130deg,#e2f7fd,#f8fdff) !important; }
.product-quote h2 { color: #164660 !important; }
.product-quote p { color: #526e7e !important; }

/* أزرار التواصل: سماوي للأزرار الأساسية مع الحفاظ على هوية واتساب الخضراء */
.btn-whatsapp, .whatsapp-btn { background: linear-gradient(135deg,#20b96d,#139d60) !important; color: #fff !important; }
.btn-call, .btn-consultation { background: linear-gradient(135deg,#167da8,#119fc2) !important; color: #fff !important; }
.tab-btn { border-radius: 999px !important; border-color: #c9e7f0 !important; }
.tab-btn.active { background: linear-gradient(135deg,#167da8,#16a8ca) !important; color: #fff !important; }

/* التذييل ينسجم مع السماوي من دون فقدان التباين */
.professional-footer {
  margin-top: 0 !important;
  background: linear-gradient(135deg,#102d43 0%,#174967 55%,#14374f 100%) !important;
  border-radius: 30px 30px 0 0;
  color: #f3fbff !important;
}
.professional-footer a { text-underline-offset: 3px; }
.professional-footer .footer-header::after { background: linear-gradient(90deg,transparent,#29b8d6,#9deafa,transparent) !important; }
.professional-footer .footer-map-link { color: #9ce9f7 !important; }
.contact-address-panel { background: #fff !important; }
.contact-address-panel h3 { color: #164660 !important; }
.contact-address-panel p { color: #526e7e !important; }

/* صندوق الصور المكبّرة */
.product-lightbox { border-radius: 20px !important; background: #0d2638 !important; }
.lightbox-close { background: #176487 !important; }

/* التوافق مع الشاشات الصغيرة */
@media (max-width: 1100px) {
  .header-brand { flex-basis: 350px !important; max-width: 350px !important; }
  .nav-link { padding-inline: 9px !important; font-size: .91rem !important; }
  .product-gallery { grid-template-columns: repeat(3,minmax(0,1fr)) !important; }
}
@media (max-width: 768px) {
  .header-container, .container.header-container {
    width: calc(100% - 28px) !important;
    min-height: 72px;
    padding: 8px 0 !important;
    gap: 9px !important;
  }
  .header-brand { flex: 1 1 auto !important; max-width: calc(100% - 48px) !important; gap: 8px !important; }
  .header-brand-mark { width: 43px !important; height: 43px !important; flex-basis: 43px !important; }
  .header-brand-main { font-size: clamp(.72rem, 2.8vw, .88rem) !important; line-height: 1.2 !important; }
  .header-brand-owner { font-size: .73rem !important; }
  .mobile-menu-btn { display: inline-flex !important; flex: 0 0 42px; }
  #main-nav, header nav {
    position: fixed !important;
    top: 72px !important;
    right: -110% !important;
    left: auto !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    justify-content: flex-start !important;
    gap: 7px !important;
    width: min(86vw, 360px) !important;
    height: calc(100dvh - 72px) !important;
    padding: 22px !important;
    overflow-y: auto;
    background: rgba(246, 253, 255, .99) !important;
    border: 1px solid #cbeaf3;
    border-top: 0;
    border-radius: 0 0 0 22px !important;
    box-shadow: -12px 18px 34px rgba(12, 72, 101, .15) !important;
    transition: right .25s ease !important;
    z-index: 1200 !important;
  }
  #main-nav, header nav { visibility: hidden; pointer-events: none; }
  #main-nav.active, header nav.active { right: 0 !important; visibility: visible; pointer-events: auto; }
  .nav-link { justify-content: flex-start !important; width: 100%; min-height: 46px; padding: 11px 14px !important; border-radius: 12px !important; font-size: 1rem !important; }
  .hero, .product-hero { padding: 124px 0 54px !important; border-radius: 0 0 24px 24px !important; }
  .hero .container, .product-shell { width: calc(100% - 32px) !important; }
  .hero h1, .product-hero h1 { font-size: clamp(1.85rem, 6.4vw, 2.55rem) !important; margin-top: 8px !important; }
  .hero p, .product-hero p { font-size: 1rem !important; line-height: 1.85 !important; margin-bottom: 22px !important; }
  .hero-buttons, .product-actions { gap: 10px !important; }
  .btn, .pd-button, .btn-service, .btn-contact { padding: 12px 17px !important; min-height: 46px; }
  .section, .product-section { padding: 48px 0 !important; }
  .section-title, .product-section-title { width: calc(100% - 32px); margin-bottom: 26px !important; }
  .product-gallery { grid-template-columns: repeat(2,minmax(0,1fr)) !important; gap: 12px !important; }
  .product-feature-grid, .product-steps { grid-template-columns: 1fr !important; }
  .product-quote { align-items: flex-start !important; flex-direction: column !important; }
  .product-quote .product-actions { width: 100%; }
}
@media (max-width: 420px) {
  .header-container, .container.header-container { width: calc(100% - 20px) !important; }
  .header-brand-mark { width: 39px !important; height: 39px !important; flex-basis: 39px !important; }
  .header-brand-main { font-size: .69rem !important; }
  .header-brand-owner { font-size: .68rem !important; }
  .hero, .product-hero { padding-top: 116px !important; }
  .hero-buttons .btn, .product-actions .pd-button { flex: 1 1 100%; width: 100%; }
  .product-gallery { gap: 9px !important; }
  .product-image-card span { font-size: .88rem; padding: 10px !important; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; scroll-behavior: auto !important; transition-duration: .01ms !important; }
}
/* تفاصيل الهوية النهائية */
.meta-theme-color { color: #c9f0fb; }
.quick-link-fo:hover { color: #8fe9f8 !important; }
.quick-link-fo:hover::before { color: #8fe9f8 !important; }
/* أيقونة قائمة الهاتف لا تعتمد على تحميل خط أيقونات خارجي */
.mobile-menu-btn i { display: none !important; }
.mobile-menu-btn::before {
  content: "☰";
  display: block;
  color: #15516b;
  font-family: Arial, sans-serif;
  font-size: 25px;
  font-weight: 700;
  line-height: 1;
}
.mobile-menu-btn[aria-expanded="true"]::before { content: "×"; font-size: 32px; font-weight: 400; }


/* رأس موحّد للصفحات الفرعية */
.subpage-address {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 10px;
  max-width: 920px;
  margin: 24px auto 0;
  padding: 14px 18px;
  border: 1px solid rgba(20, 126, 168, .18);
  border-radius: 15px;
  background: rgba(255, 255, 255, .58);
  color: #244e65;
  font-size: .98rem;
  font-weight: 700;
  line-height: 1.9;
  text-align: center;
}
.subpage-address > i {
  flex: 0 0 auto;
  margin-top: .38em;
  color: #087fa4;
}
@media (max-width: 520px) {
  .subpage-address {
    align-items: flex-start;
    gap: 8px;
    margin-top: 18px;
    padding: 12px 13px;
    font-size: .9rem;
    text-align: right;
  }
}


/* تحديث الشعار: استخدام النسخة الشفافة دون خلفية أو حدود بيضاء */
.header-container { min-height: 88px !important; }
.header-brand-mark {
  width: 66px !important; height: 66px !important; flex-basis: 66px !important;
  padding: 0 !important; border: 0 !important; border-radius: 0 !important;
  background: transparent !important; box-shadow: none !important; object-fit: contain !important;
}
.features-list a { color: #087ea0 !important; font-weight: 800 !important; text-decoration: underline !important; text-underline-offset: 3px; text-decoration-thickness: 1.5px; }
.features-list a:hover { color: #064e70 !important; }
@media (max-width: 768px) {
  .header-container { min-height: 72px !important; }
  .header-brand-mark { width: 49px !important; height: 49px !important; flex-basis: 49px !important; }
}
@media (max-width: 420px) {
  .header-brand-mark { width: 45px !important; height: 45px !important; flex-basis: 45px !important; }
}


/* ===== Merged from omega-enhancements.css ===== */
/* Al Rahma OMEGA enhancements: local gallery controls, quote builder, and accessible states. */
[hidden] { display: none !important; }

.gallery-more-wrap,
.gallery-external-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin: 18px auto 8px;
}
.gallery-more-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 46px;
  padding: 11px 22px;
  border: 1px solid #1686ad;
  border-radius: 999px;
  background: linear-gradient(135deg, #147da8, #16a8ca);
  color: #fff;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 8px 20px rgb(18 133 173 / 17%);
  transition: transform .18s ease, box-shadow .18s ease, filter .18s ease;
}
.gallery-more-btn:hover { transform: translateY(-2px); box-shadow: 0 12px 24px rgb(18 133 173 / 22%); filter: saturate(1.08); }
.gallery-more-btn:focus-visible,
.gallery-external-link:focus-visible,
.whatsapp-quote-card :is(input,select,textarea,button,a):focus-visible {
  outline: 3px solid #f2a900;
  outline-offset: 3px;
}
.gallery-more-count { font-size: .82em; font-weight: 600; opacity: .9; }
.gallery-item[hidden] { display: none !important; }
.gallery-item { font: inherit; color: inherit; text-align: start; cursor: zoom-in; }
.gallery-item img { display: block; width: 100%; }
.gallery-external-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  max-width: 100%;
  padding: 9px 15px;
  border: 1px solid #c8e3ed;
  border-radius: 999px;
  background: #f4fbfe;
  color: #145b78;
  font-size: .92rem;
  font-weight: 700;
  text-decoration: none;
}
.gallery-external-link::after { content: " ↗"; margin-inline-start: 5px; }
.gallery-external-link:hover { background: #e6f6fc; }
.lightbox-caption {
  max-width: min(860px, calc(100vw - 32px));
  margin: 12px auto 6px;
  padding: 0 12px;
  color: #f4fbff;
  text-align: center;
  line-height: 1.6;
}
.lightbox[aria-hidden="true"] { visibility: hidden; }
.lightbox[aria-hidden="false"] { visibility: visible; }
.lightbox-content img { touch-action: pan-y; }

.whatsapp-quote-card {
  margin: 32px auto 0;
  padding: clamp(18px, 3vw, 30px);
  border: 1px solid #cfe9f2;
  border-radius: 22px;
  background: linear-gradient(145deg, #f6fcff 0%, #edf9fd 100%);
  box-shadow: 0 14px 36px rgb(16 90 120 / 8%);
  max-width: 930px;
}
.whatsapp-quote-card h3 { margin: 0 0 8px; color: #123c54; font-size: clamp(1.2rem, 2vw, 1.55rem); }
.whatsapp-quote-card > p { margin: 0 0 20px; color: #456575; line-height: 1.8; }
#whatsappQuoteForm { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.quote-field { display: flex; flex-direction: column; gap: 7px; min-width: 0; }
.quote-field-wide { grid-column: 1 / -1; }
.quote-field label,
.quote-preview label { color: #17465e; font-weight: 800; font-size: .96rem; }
.quote-field :is(input, select, textarea),
.quote-preview textarea {
  display: block;
  width: 100%;
  min-width: 0;
  min-height: 46px;
  padding: 11px 13px;
  border: 1px solid #bddce7;
  border-radius: 12px;
  background: #fff;
  color: #183747;
  font: inherit;
  line-height: 1.6;
}
.quote-field textarea, .quote-preview textarea { resize: vertical; }
.quote-field :is(input,select,textarea)::placeholder { color: #718895; opacity: 1; }
.quote-actions { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 10px; }
.quote-actions button { cursor: pointer; }
.quote-preview { margin-top: 20px; padding-top: 18px; border-top: 1px solid #cfe4ed; }
.quote-preview[hidden] { display: none !important; }
.quote-preview label { display: block; margin-bottom: 8px; }
.quote-preview textarea { margin-bottom: 10px; }
.quote-help, .quote-status { margin: 8px 0; color: #486978; line-height: 1.7; font-size: .9rem; }
#quoteOpenWhatsapp { display: inline-flex; margin-top: 5px; text-decoration: none; }
@media (max-width: 640px) {
  #whatsappQuoteForm { grid-template-columns: minmax(0, 1fr); }
  .quote-field-wide, .quote-actions { grid-column: 1; }
  .gallery-more-btn { width: min(100%, 320px); }
  .gallery-external-link { text-align: center; }
}
@media (prefers-reduced-motion: reduce) {
  .gallery-more-btn { transition: none; }
  .gallery-more-btn:hover { transform: none; }
}


/* ===== Merged from footer-refinement.css ===== */
/* التذييل المحسّن لورشة الرحمة — ألوان واضحة وبطاقات قابلة للاستخدام على الهاتف */
.rahma-footer-v2 {
  --rf-bg: #07394f;
  --rf-bg-soft: #0c4b63;
  --rf-text: #f4fbff;
  --rf-muted: #c1dce6;
  --rf-accent: #83e5f2;
  --rf-line: rgba(210, 243, 250, .16);
  position: relative !important;
  isolation: isolate;
  overflow: hidden;
  margin-top: 0 !important;
  padding: 0 !important;
  color: var(--rf-text) !important;
  background: radial-gradient(ellipse at 8% 0%, rgba(28, 149, 180, .23), transparent 38%), linear-gradient(135deg, #062f44 0%, #0a4359 53%, #07364d 100%) !important;
  border: 0 !important;
  border-radius: 26px 26px 0 0 !important;
  font-family: 'Tajawal', Arial, sans-serif !important;
  line-height: 1.75;
  text-align: right;
}
.rahma-footer-v2::before {
  content: "" !important;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px !important;
  background: linear-gradient(90deg, transparent, #27b9d6 24%, #9beef7 50%, #27b9d6 76%, transparent) !important;
  pointer-events: none;
}
.rahma-footer-v2 * { box-sizing: border-box; }
.rahma-footer-v2 .rf-container { width: min(1200px, calc(100% - 44px)); margin-inline: auto; padding: 44px 0 18px; position: relative; z-index: 1; }
.rahma-footer-v2 a { color: var(--rf-text); text-decoration: none !important; text-underline-offset: 3px; }
.rahma-footer-v2 a:focus-visible { outline: 3px solid #ffd166 !important; outline-offset: 4px; border-radius: 8px; }
.rahma-footer-v2 .rf-footer-intro { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); align-items: center; gap: clamp(24px, 5vw, 64px); padding-bottom: 28px; border-bottom: 1px solid var(--rf-line); }
.rahma-footer-v2 .rf-brand-link { display: inline-flex; align-items: center; gap: 14px; max-width: 100%; }
.rahma-footer-v2 .rf-brand-logo { width: 62px; height: 62px; flex: 0 0 62px; display: grid; place-items: center; padding: 5px; border: 1px solid rgba(255,255,255,.48); border-radius: 17px; background: #f7fdff; box-shadow: 0 7px 22px rgba(0,0,0,.15); }
.rahma-footer-v2 .rf-brand-logo img { display: block; width: 100%; height: 100%; object-fit: contain; }
.rahma-footer-v2 .rf-brand-text { display: flex; min-width: 0; flex-direction: column; gap: 1px; }
.rahma-footer-v2 .rf-brand-text strong { color: #fff !important; font-size: clamp(1.25rem, 2.2vw, 1.7rem); font-weight: 900; line-height: 1.35; }
.rahma-footer-v2 .rf-brand-text span { color: #e0f4fa !important; font-size: .98rem; font-weight: 700; line-height: 1.5; }
.rahma-footer-v2 .rf-brand-text small { color: var(--rf-accent) !important; font-size: .9rem; font-weight: 800; }
.rahma-footer-v2 .rf-brand-description { margin: 17px 0 12px; max-width: 590px; color: var(--rf-muted) !important; font-size: .96rem; line-height: 1.95; }
.rahma-footer-v2 .rf-location-chip { display: inline-flex; align-items: center; gap: 8px; max-width: 100%; padding: 7px 11px; border: 1px solid rgba(131,229,242,.23); border-radius: 999px; background: rgba(5,30,44,.28); color: #d7f7fb !important; font-size: .84rem; font-weight: 700; }
.rahma-footer-v2 .rf-location-chip .rf-svg { width: 17px; height: 17px; color: var(--rf-accent); }
.rahma-footer-v2 .rf-contact-heading { padding-inline-start: 8px; }
.rahma-footer-v2 .rf-kicker { display: inline-block; margin-bottom: 6px; color: var(--rf-accent) !important; font-size: .88rem; font-weight: 900; letter-spacing: .02em; }
.rahma-footer-v2 .rf-contact-heading h2 { margin: 0 0 8px !important; color: #fff !important; font-size: clamp(1.45rem, 2.9vw, 2rem) !important; font-weight: 900 !important; line-height: 1.35 !important; }
.rahma-footer-v2 .rf-contact-heading p { margin: 0; max-width: 430px; color: var(--rf-muted) !important; font-size: .98rem; line-height: 1.9; }
.rahma-footer-v2 .rf-social-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; padding: 26px 0 32px; border-bottom: 1px solid var(--rf-line); }
.rahma-footer-v2 .rf-contact-card { display: flex; align-items: center; gap: 12px; min-width: 0; min-height: 88px; padding: 14px 15px; border: 1px solid rgba(220,246,251,.17); border-radius: 17px; background: rgba(255,255,255,.065) !important; color: var(--rf-text) !important; box-shadow: 0 7px 18px rgba(0,0,0,.08); transition: transform .2s ease, background .2s ease, border-color .2s ease, box-shadow .2s ease; }
.rahma-footer-v2 .rf-contact-card:hover { transform: translateY(-3px); border-color: rgba(131,229,242,.55); background: rgba(255,255,255,.105) !important; box-shadow: 0 12px 24px rgba(0,0,0,.16); }
.rahma-footer-v2 .rf-icon { width: 46px; height: 46px; flex: 0 0 46px; display: grid; place-items: center; border-radius: 14px; color: #fff !important; box-shadow: inset 0 1px 0 rgba(255,255,255,.24); }
.rahma-footer-v2 .rf-icon .rf-svg { display: block; width: 24px; height: 24px; fill: currentColor; color: #fff; }
.rahma-footer-v2 .rf-icon-phone { background: linear-gradient(145deg, #188db8, #12658f); }
.rahma-footer-v2 .rf-icon-whatsapp { background: linear-gradient(145deg, #23c976, #0d9651); }
.rahma-footer-v2 .rf-icon-facebook { background: #1877f2; }
.rahma-footer-v2 .rf-icon-instagram { background: linear-gradient(135deg, #7655d6 0%, #d93f87 52%, #f6a044 100%); }
.rahma-footer-v2 .rf-icon-tiktok { background: linear-gradient(145deg, #111923, #283645); }
.rahma-footer-v2 .rf-icon-linkedin { background: #0a66c2; }
.rahma-footer-v2 .rf-contact-copy { display: flex; flex: 1 1 auto; flex-direction: column; min-width: 0; gap: 2px; }
.rahma-footer-v2 .rf-contact-copy strong { display: block; color: #f7fdff !important; font-size: 1rem; line-height: 1.45; font-weight: 900; overflow-wrap: anywhere; }
.rahma-footer-v2 .rf-contact-copy small { display: block; color: #c5e3ec !important; font-size: .82rem; font-weight: 600; line-height: 1.5; overflow-wrap: anywhere; }
.rahma-footer-v2 .rf-card-arrow { display: grid; place-items: center; margin-inline-start: auto; color: #8ce4f1 !important; opacity: .85; transition: transform .2s ease; }
.rahma-footer-v2 .rf-card-arrow .rf-svg { width: 17px; height: 17px; }
.rahma-footer-v2 .rf-contact-card:hover .rf-card-arrow { transform: translate(-2px, -2px); opacity: 1; }
.rahma-footer-v2 .rf-footer-columns { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.28fr) minmax(0, .78fr); gap: clamp(22px, 3.5vw, 46px); padding: 32px 0 30px; }
.rahma-footer-v2 .rf-footer-col { min-width: 0; }
.rahma-footer-v2 .rf-footer-col h3 { position: relative; margin: 0 0 18px !important; padding: 0 0 11px !important; color: #93e7f2 !important; font-size: 1.12rem !important; line-height: 1.4 !important; font-weight: 900 !important; }
.rahma-footer-v2 .rf-footer-col h3::after { content: ""; position: absolute; right: 0; bottom: 0; width: 43px; height: 3px; border-radius: 4px; background: linear-gradient(90deg, #1596b7, #8ce7f3); }
.rahma-footer-v2 .rf-service-links { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 7px 12px; margin: 0; padding: 0; list-style: none; }
.rahma-footer-v2 .rf-service-links li { min-width: 0; margin: 0; padding: 0; }
.rahma-footer-v2 .rf-service-links a { display: flex; align-items: flex-start; gap: 7px; min-height: 38px; padding: 6px 0; color: #deeff4 !important; font-size: .91rem; font-weight: 700; line-height: 1.65; text-decoration: none !important; overflow-wrap: anywhere; transition: color .18s ease, transform .18s ease; }
.rahma-footer-v2 .rf-service-links a::before { content: ""; width: 6px; height: 6px; flex: 0 0 6px; margin-top: .62em; border-radius: 50%; background: #44c7dc; box-shadow: 0 0 0 3px rgba(68,199,220,.10); }
.rahma-footer-v2 .rf-service-links a:hover { color: #92eff8 !important; transform: translateX(-2px); }
.rahma-footer-v2 .rf-detail-row { display: flex; align-items: flex-start; gap: 11px; padding: 12px 12px; border: 1px solid rgba(220,246,251,.12); border-radius: 13px; background: rgba(255,255,255,.035); }
.rahma-footer-v2 .rf-detail-row + .rf-detail-row { margin-top: 9px; }
.rahma-footer-v2 .rf-detail-icon { width: 33px; height: 33px; flex: 0 0 33px; display: grid; place-items: center; border-radius: 10px; color: #90e7f3 !important; background: rgba(31,169,199,.14); }
.rahma-footer-v2 .rf-detail-icon .rf-svg { width: 19px; height: 19px; }
.rahma-footer-v2 .rf-detail-row > div { min-width: 0; }
.rahma-footer-v2 .rf-detail-row strong { display: block; margin-bottom: 3px; color: #f2fbff !important; font-size: .9rem; font-weight: 900; }
.rahma-footer-v2 .rf-detail-row p { margin: 0; color: #c5dfe8 !important; font-size: .84rem; line-height: 1.85; overflow-wrap: anywhere; }
.rahma-footer-v2 .rf-map-link { display: inline-flex; align-items: center; gap: 5px; margin-top: 7px; color: #91eaf5 !important; font-size: .84rem; font-weight: 800; text-decoration: none !important; }
.rahma-footer-v2 .rf-inline-svg { display: inline-block; width: 15px; height: 15px; flex: 0 0 15px; vertical-align: middle; }
.rahma-footer-v2 .rf-map-link .rf-inline-svg { width: 14px; height: 14px; }
.rahma-footer-v2 .rf-map-link:hover { color: #fff !important; }
.rahma-footer-v2 .rf-quick-links { display: flex; flex-direction: column; gap: 7px; }
.rahma-footer-v2 .rf-quick-links a { display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 39px; padding: 8px 11px; border: 1px solid transparent; border-radius: 10px; color: #deeff4 !important; background: rgba(255,255,255,.035); font-size: .91rem; font-weight: 700; line-height: 1.5; transition: color .18s ease, background .18s ease, border-color .18s ease; }
.rahma-footer-v2 .rf-quick-links a::after { content: "‹"; color: #5bcde0; font-size: 1.2rem; line-height: 1; }
.rahma-footer-v2 .rf-quick-links a:hover { color: #fff !important; border-color: rgba(131,229,242,.24); background: rgba(255,255,255,.09); }
.rahma-footer-v2 .rf-footer-bottom { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px 20px; padding-top: 17px; border-top: 1px solid var(--rf-line); }
.rahma-footer-v2 .rf-footer-bottom p { margin: 0; color: #b9d5df !important; font-size: .83rem; line-height: 1.7; }
.rahma-footer-v2 .rf-back-top { display: inline-flex; align-items: center; gap: 7px; color: #9beaf5 !important; font-size: .85rem; font-weight: 800; white-space: nowrap; }
.rahma-footer-v2 .rf-back-top:hover { color: #fff !important; }
.rahma-footer-v2 .rf-back-top .rf-inline-svg { width: 17px; height: 17px; }

/* Footer navigation fixes: local back-to-top and adjacent home action. */
.rahma-footer-v2 .rf-footer-actions { display: inline-flex; align-items: center; justify-content: flex-end; flex-wrap: wrap; gap: 10px 16px; min-width: 0; }
.rahma-footer-v2 .rf-footer-actions a { text-decoration: none !important; }
.rahma-footer-v2 .rf-back-top { scroll-margin-top: 0; }
.rahma-footer-v2 .rf-home-link { display: inline-flex; align-items: center; justify-content: center; gap: 7px; min-height: 38px; padding: 8px 12px; border: 1px solid rgba(131,229,242,.28); border-radius: 10px; color: #e7faff !important; background: rgba(31,169,199,.12); font-size: .85rem; font-weight: 800; line-height: 1.5; white-space: nowrap; transition: color .18s ease, background .18s ease, border-color .18s ease, transform .18s ease; }
.rahma-footer-v2 .rf-home-link:hover { color: #fff !important; background: rgba(31,169,199,.23); border-color: rgba(131,229,242,.55); transform: translateY(-1px); }
.rahma-footer-v2 .rf-home-link .rf-inline-svg { width: 17px; height: 17px; flex: 0 0 17px; }
.rahma-footer-v2 .rf-footer-actions a:focus-visible { outline: 3px solid #a5f3fc; outline-offset: 3px; border-radius: 8px; }
@media (max-width: 620px) {
  .rahma-footer-v2 .rf-footer-actions { justify-content: flex-start; gap: 10px 12px; }
  .rahma-footer-v2 .rf-home-link { white-space: normal; }
}

@media (max-width: 980px) {
  .rahma-footer-v2 .rf-container { width: min(100% - 36px, 820px); }
  .rahma-footer-v2 .rf-footer-intro { grid-template-columns: 1fr; gap: 22px; }
  .rahma-footer-v2 .rf-contact-heading { padding: 0; }
  .rahma-footer-v2 .rf-footer-columns { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .rahma-footer-v2 .rf-quick-col { grid-column: 1 / -1; }
  .rahma-footer-v2 .rf-quick-links { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 620px) {
  .rahma-footer-v2 { border-radius: 20px 20px 0 0 !important; }
  .rahma-footer-v2 .rf-container { width: calc(100% - 28px); padding-top: 32px; }
  .rahma-footer-v2 .rf-footer-intro { padding-bottom: 23px; gap: 21px; }
  .rahma-footer-v2 .rf-brand-link { gap: 11px; }
  .rahma-footer-v2 .rf-brand-logo { width: 54px; height: 54px; flex-basis: 54px; border-radius: 14px; }
  .rahma-footer-v2 .rf-brand-text strong { font-size: 1.28rem; }
  .rahma-footer-v2 .rf-brand-text span { font-size: .84rem; }
  .rahma-footer-v2 .rf-brand-text small { font-size: .8rem; }
  .rahma-footer-v2 .rf-brand-description { margin-top: 13px; font-size: .9rem; }
  .rahma-footer-v2 .rf-location-chip { align-items: flex-start; border-radius: 12px; font-size: .79rem; }
  .rahma-footer-v2 .rf-contact-heading h2 { font-size: 1.48rem !important; }
  .rahma-footer-v2 .rf-contact-heading p { font-size: .9rem; }
  .rahma-footer-v2 .rf-social-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; padding: 20px 0 24px; }
  .rahma-footer-v2 .rf-contact-card { min-height: 80px; padding: 10px 9px; gap: 8px; border-radius: 14px; }
  .rahma-footer-v2 .rf-icon { width: 38px; height: 38px; flex-basis: 38px; border-radius: 11px; }
  .rahma-footer-v2 .rf-icon .rf-svg { width: 21px; height: 21px; }
  .rahma-footer-v2 .rf-contact-copy strong { font-size: .87rem; }
  .rahma-footer-v2 .rf-contact-copy small { font-size: .72rem; line-height: 1.45; }
  .rahma-footer-v2 .rf-card-arrow { display: none; }
  .rahma-footer-v2 .rf-footer-columns { grid-template-columns: 1fr; gap: 23px; padding: 25px 0 24px; }
  .rahma-footer-v2 .rf-quick-col { grid-column: auto; }
  .rahma-footer-v2 .rf-footer-col h3 { margin-bottom: 13px !important; }
  .rahma-footer-v2 .rf-service-links { gap: 4px 12px; }
  .rahma-footer-v2 .rf-service-links a { font-size: .88rem; }
  .rahma-footer-v2 .rf-quick-links { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; }
  .rahma-footer-v2 .rf-quick-links a { min-height: 40px; padding: 7px 9px; font-size: .83rem; }
  .rahma-footer-v2 .rf-footer-bottom { flex-direction: column; align-items: flex-start; gap: 10px; }
  .rahma-footer-v2 .rf-footer-bottom p { font-size: .78rem; }
}
@media (max-width: 360px) {
  .rahma-footer-v2 .rf-social-grid { grid-template-columns: 1fr; }
  .rahma-footer-v2 .rf-contact-card { min-height: 72px; padding: 11px 13px; }
  .rahma-footer-v2 .rf-icon { width: 42px; height: 42px; flex-basis: 42px; }
  .rahma-footer-v2 .rf-card-arrow { display: grid; }
}
@media (prefers-reduced-motion: reduce) {
  .rahma-footer-v2 *, .rahma-footer-v2 *::before, .rahma-footer-v2 *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; scroll-behavior: auto !important; }
}

/* إضافة الشعار الشفاف فقط مع الإبقاء على تخطيط التذييل الأصلي */
.rahma-footer-v2 .rf-brand-logo {
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}
.rahma-footer-v2 .rf-brand-logo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: transparent !important;
}


/* تنسيق الأسئلة الشائعة وفق التصميم المرجعي المرفق */
body .faq-container {
  width: 100% !important;
  max-width: 100% !important;
  margin-inline: auto !important;
}
body .faq-container .faq-item {
  margin: 0 0 22px !important;
  border: 1.5px solid #d5eaf0 !important;
  border-radius: 30px !important;
  background: #fff !important;
  box-shadow: none !important;
  overflow: hidden !important;
  transition: border-color .2s ease, box-shadow .2s ease !important;
}
body .faq-container .faq-item:hover {
  border-color: #bfdfe8 !important;
  box-shadow: 0 3px 14px rgba(18, 87, 108, .045) !important;
}
body .faq-container .faq-question {
  position: relative !important;
  display: flex !important;
  flex-direction: row !important;
  justify-content: flex-start !important;
  align-items: center !important;
  gap: 17px !important;
  width: 100% !important;
  min-height: 142px;
  box-sizing: border-box !important;
  padding: 36px 32px !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: #fff !important;
  color: #07566b !important;
  font-family: inherit !important;
  font-size: clamp(1.1rem, 2.15vw, 1.85rem) !important;
  font-weight: 700 !important;
  line-height: 1.8 !important;
  text-align: right !important;
  direction: rtl !important;
  cursor: pointer !important;
  box-shadow: none !important;
  transition: background-color .2s ease, color .2s ease !important;
}
body .faq-container .faq-question::before,
body .product-faq summary::before {
  content: "";
  display: block;
  flex: 0 0 auto;
  width: 0;
  height: 0;
  border-top: 12px solid transparent;
  border-bottom: 12px solid transparent;
  border-right: 20px solid #07566b;
  transform: rotate(0deg);
  transition: transform .2s ease;
}
body .faq-container .faq-question > span:first-child {
  flex: 1 1 auto;
}
body .faq-container .faq-item.active .faq-question,
body .faq-container .faq-question:hover {
  background: #fff !important;
  color: #07566b !important;
}
body .faq-container .faq-item.active .faq-question::before {
  transform: rotate(-90deg);
}
body .faq-container .faq-item.active .faq-question > span {
  transform: none !important;
}
body .faq-container .faq-answer {
  box-sizing: border-box !important;
  max-height: 0 !important;
  padding: 0 32px !important;
  overflow: hidden !important;
  background: #fff !important;
  color: #526e7e !important;
  transition: max-height .35s ease, padding .25s ease !important;
}
body .faq-container .faq-item.active .faq-answer {
  max-height: 1200px !important;
  padding: 0 32px 28px !important;
}
body .faq-container .faq-answer p {
  margin: 0 !important;
  color: #526e7e !important;
  font-size: 1.05rem !important;
  line-height: 1.95 !important;
  text-align: right !important;
}
body .product-faq {
  width: 100% !important;
  max-width: 100% !important;
}
body .product-faq details {
  margin: 0 0 22px !important;
  padding: 0 !important;
  border: 1.5px solid #d5eaf0 !important;
  border-radius: 30px !important;
  background: #fff !important;
  box-shadow: none !important;
  overflow: hidden !important;
  transition: border-color .2s ease, box-shadow .2s ease !important;
}
body .product-faq details:hover {
  border-color: #bfdfe8 !important;
  box-shadow: 0 3px 14px rgba(18, 87, 108, .045) !important;
}
body .product-faq summary {
  position: relative !important;
  display: flex !important;
  flex-direction: row !important;
  justify-content: flex-start !important;
  align-items: center !important;
  gap: 17px !important;
  box-sizing: border-box !important;
  min-height: 142px;
  padding: 36px 32px !important;
  list-style: none !important;
  background: #fff !important;
  color: #07566b !important;
  font-family: inherit !important;
  font-size: clamp(1.1rem, 2.15vw, 1.85rem) !important;
  font-weight: 700 !important;
  line-height: 1.8 !important;
  text-align: right !important;
  direction: rtl !important;
  cursor: pointer !important;
}
body .product-faq summary::-webkit-details-marker { display: none !important; }
body .product-faq summary::marker { content: "" !important; }
body .product-faq details[open] summary::before { transform: rotate(-90deg); }
body .product-faq summary:focus-visible,
body .faq-container .faq-question:focus-visible {
  outline: 3px solid rgba(7, 86, 107, .35) !important;
  outline-offset: -5px !important;
}
body .product-faq details > p {
  margin: 0 !important;
  padding: 0 32px 28px !important;
  background: #fff !important;
  color: #526e7e !important;
  font-size: 1.05rem !important;
  line-height: 1.95 !important;
  text-align: right !important;
}
@media (max-width: 600px) {
  body .faq-container .faq-item,
  body .product-faq details {
    margin-bottom: 15px !important;
    border-radius: 23px !important;
  }
  body .faq-container .faq-question,
  body .product-faq summary {
    gap: 12px !important;
    min-height: 92px;
    padding: 20px 17px !important;
    font-size: clamp(1.02rem, 4.3vw, 1.25rem) !important;
    line-height: 1.8 !important;
  }
  body .faq-container .faq-question::before,
  body .product-faq summary::before {
    border-top-width: 9px;
    border-bottom-width: 9px;
    border-right-width: 15px;
  }
  body .faq-container .faq-answer,
  body .faq-container .faq-item.active .faq-answer {
    padding-left: 18px !important;
    padding-right: 18px !important;
  }
  body .faq-container .faq-item.active .faq-answer {
    padding-bottom: 20px !important;
  }
  body .product-faq details > p {
    padding: 0 18px 20px !important;
    font-size: .98rem !important;
  }
  body .faq-container .faq-answer p { font-size: .98rem !important; }
}
@media (prefers-reduced-motion: reduce) {
  body .faq-container .faq-item,
  body .faq-container .faq-question,
  body .faq-container .faq-answer,
  body .product-faq details,
  body .product-faq summary { transition: none !important; }
}


/* ===== Merged from homepage-requested-updates.css (scoped to body.home-page) ===== */
/* Homepage-only changes requested by the site owner. Shared pages remain untouched. */
body.home-page .hero .hero-brand-logo{
  display: block;
  width: clamp(104px, 15vw, 152px);
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  margin: 0 auto 18px;
  padding: 4px;
  border: 1px solid rgba(22, 76, 106, .16);
  border-radius: 50%;
  background: #f8fafc;
  box-shadow: 0 10px 28px rgba(8, 39, 63, .18);
}

body.home-page .hero .hero-buttons .btn-gallery{
  color: #fff !important;
  background: linear-gradient(135deg, #0c496d 0%, #117da5 56%, #14a4c2 100%) !important;
  border: 1px solid rgba(255, 255, 255, .42) !important;
  box-shadow: 0 9px 22px rgba(5, 57, 86, .24) !important;
}

body.home-page .hero .hero-buttons .btn-gallery:hover, body.home-page .hero .hero-buttons .btn-gallery:focus-visible{
  color: #fff !important;
  background: linear-gradient(135deg, #083b5a 0%, #0b6c94 56%, #0d91b0 100%) !important;
  box-shadow: 0 14px 28px rgba(5, 57, 86, .3) !important;
  transform: translateY(-2px);
}

body.home-page .hero .hero-buttons .btn-gallery i{
  color: #fff !important;
  font-size: 1.08em;
}

body.home-page #servises .service-content h3 .service-title-link{
  color: inherit !important;
  text-decoration: none !important;
  text-underline-offset: .22em;
  text-decoration-thickness: 2px;
}

body.home-page #servises .service-content h3 .service-title-link:hover, body.home-page #servises .service-content h3 .service-title-link:focus-visible{
  color: #087d9f !important;
  text-decoration: underline !important;
}

body.home-page #servises .service-content h3 .service-title-link:focus-visible{
  outline: 2px solid #19a9cb;
  outline-offset: 4px;
  border-radius: 3px;
}

@media (max-width: 640px) {
  body.home-page .hero .hero-brand-logo{
    width: clamp(88px, 23vw, 124px);
    margin-bottom: 14px;
  }
  body.home-page .hero .hero-buttons{
    gap: 10px !important;
  }
  body.home-page .hero .hero-buttons .btn{
    max-width: 100%;
    justify-content: center;
  }
}


/* تكبير شعار الواجهة الرئيسية وإزالة الخلفية البيضاء والظل الخارجي */
body.home-page .hero .hero-brand-logo{
  width: clamp(160px, 22vw, 210px) !important; height: auto !important; aspect-ratio: 1 / 1;
  padding: 0 !important; border: 0 !important; border-radius: 50% !important;
  background: transparent !important; box-shadow: none !important; object-fit: contain !important;
}
@media (max-width: 640px) {
  body.home-page .hero .hero-brand-logo{ width: clamp(136px, 34vw, 168px) !important; margin-bottom: 14px; }
}

/* بطاقات تواصل أفقية ومضغوطة لتقليل الفراغات في الصفحة الرئيسية */
body.home-page .contact-section{
  padding: 68px 0 60px !important;
}
body.home-page .contact-section .section-title p{
  max-width: 880px;
  margin-inline: auto;
  line-height: 1.9;
}
body.home-page .contact-section .contact-cards{
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 26px;
}
body.home-page .contact-section .contact-card{
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr) minmax(98px, auto);
  grid-template-areas: "icon title action" "icon desc action";
  align-items: center;
  gap: 3px 12px;
  min-width: 0;
  min-height: 96px;
  padding: 15px 17px;
  text-align: right;
  border: 1px solid rgba(15, 91, 122, .13);
  border-radius: 16px;
  background: linear-gradient(145deg, #fff 0%, #f5fbfd 100%);
  box-shadow: 0 5px 16px rgba(8, 39, 63, .075);
}
body.home-page .contact-section .contact-card::before{
  top: 0;
  right: 0;
  width: 100%;
  height: 3px;
}
body.home-page .contact-section .contact-icon{
  grid-area: icon;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin: 0;
  border-radius: 13px;
  background: #e6f6fa;
  color: var(--primary);
  font-size: 1.7rem;
  line-height: 1;
}
body.home-page .contact-section .contact-card h3{
  grid-area: title;
  align-self: end;
  min-width: 0;
  margin: 0 0 2px !important;
  font-size: 1.06rem;
  line-height: 1.4;
  overflow-wrap: anywhere;
}
body.home-page .contact-section .contact-card p{
  grid-area: desc;
  align-self: start;
  min-width: 0;
  margin: 0 !important;
  font-size: .88rem;
  line-height: 1.55;
  overflow-wrap: anywhere;
}
body.home-page .contact-section .contact-card .btn-contact{
  grid-area: action;
  align-self: center;
  justify-self: stretch;
  max-width: 165px;
  min-width: 0;
  min-height: 38px;
  margin: 0;
  padding: 8px 11px;
  border-radius: 11px;
  font-size: .86rem;
  line-height: 1.45;
  text-align: center;
  white-space: normal;
  overflow-wrap: anywhere;
}
body.home-page .contact-section .contact-card.email-contact-card .btn-contact{
  max-width: 185px;
}
body.home-page .contact-section .contact-card.hours-contact-card{
  grid-template-columns: 46px minmax(0, 1fr);
  grid-template-areas: "icon title" "icon desc";
}
@media (max-width: 1020px) {
  body.home-page .contact-section .contact-cards{
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 600px) {
  body.home-page .contact-section{
    padding: 54px 0 46px !important;
  }
  body.home-page .contact-section .contact-cards{
    grid-template-columns: minmax(0, 1fr);
    gap: 10px;
    margin-top: 22px;
  }
  body.home-page .contact-section .contact-card{
    grid-template-columns: 42px minmax(0, 1fr) minmax(92px, auto);
    gap: 3px 10px;
    min-height: 88px;
    padding: 13px 14px;
    border-radius: 14px;
  }
  body.home-page .contact-section .contact-icon{
    width: 40px;
    height: 40px;
    font-size: 1.55rem;
    border-radius: 11px;
  }
  body.home-page .contact-section .contact-card h3{
    font-size: 1rem;
  }
  body.home-page .contact-section .contact-card p{
    font-size: .82rem;
    line-height: 1.45;
  }
  body.home-page .contact-section .contact-card .btn-contact{
    max-width: 138px;
    padding: 8px 9px;
    font-size: .8rem;
  }
  body.home-page .contact-section .contact-card.email-contact-card .btn-contact{
    max-width: 138px;
  }
  body.home-page .contact-section .contact-card.hours-contact-card{
    grid-template-columns: 42px minmax(0, 1fr);
  }
}


/* أزرار مشاهدة الصور والتفاصيل: الصفحة الرئيسية فقط */
body.home-page #servises .service-content{
  display: flex;
  flex-direction: column;
}
body.home-page #servises .service-content .btn-service{
  display: flex !important;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 72px;
  margin-top: auto;
  padding: 15px 14px !important;
  border-radius: 14px !important;
  font-size: clamp(.91rem, 1.15vw, 1.02rem);
  font-weight: 900 !important;
  line-height: 1.6 !important;
  text-align: center;
  white-space: normal;
  overflow-wrap: anywhere;
}
body.home-page #servises .service-content .btn-service:focus-visible{
  outline: 3px solid #19a9cb;
  outline-offset: 3px;
}


/* ===== Merged from service-pages.css ===== */
/* Service-page additions: lightweight icon tiles and consistent service-detail components. */
.service-img.service-icon-only{min-height:190px;display:grid;place-items:center;color:#f7f4e9;background:radial-gradient(circle at 24% 20%,rgba(218,192,137,.36),transparent 34%),linear-gradient(135deg,#173b35,#2b6658);}
.service-img.service-icon-only i{font-size:clamp(3.4rem,6vw,5rem);filter:drop-shadow(0 8px 10px rgba(0,0,0,.18));}
.service-img.service-icon-only.facade-icon{background:radial-gradient(circle at 70% 25%,rgba(218,192,137,.32),transparent 35%),linear-gradient(135deg,#26394d,#4f6f78);}
.service-img.service-icon-only.pleated-icon{background:radial-gradient(circle at 70% 25%,rgba(218,192,137,.32),transparent 35%),linear-gradient(135deg,#24483f,#577d65);}
.service-visual-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;}
.service-visual{min-height:220px;padding:22px;border:1px solid var(--pd-line);border-radius:18px;background:linear-gradient(180deg,#fff,#f7faf8);box-shadow:0 10px 28px rgba(23,49,46,.045);}
.service-visual-icon{display:grid;place-items:center;width:54px;height:54px;margin-bottom:16px;border-radius:16px;background:#e7f0ed;color:var(--pd-green2);font-size:1.35rem;}
.service-visual h3{margin:0 0 9px;color:var(--pd-green);font-size:1.15rem;font-weight:900;}
.service-visual p{margin:0;color:var(--pd-muted);line-height:1.85;}
@media(max-width:900px){.service-visual-grid{grid-template-columns:repeat(2,minmax(0,1fr));}}
@media(max-width:560px){.service-visual-grid{grid-template-columns:1fr;}.service-visual{min-height:auto;padding:20px;}.service-img.service-icon-only{min-height:150px;}}
/* External Google Photos album links on the matching service pages. */
.hero .hero-buttons .btn-album{background:linear-gradient(135deg,#f0d6a9,#c5a46d);color:#243b35;}
.hero .hero-buttons .btn-album:hover,.hero .hero-buttons .btn-album:focus-visible{transform:translateY(-4px);box-shadow:0 10px 25px rgba(197,164,109,.34);}
.hero .hero-buttons .btn-album:focus-visible{outline:3px solid #fff;outline-offset:3px;}

/* Keyboard focus: scoped to pages normalized by ALRAHMA OMEGA; reference pages retain their default styling. */
.omega-unified-page .gallery-nav[role="button"]:focus-visible,
.omega-unified-page .gallery-thumb[role="button"]:focus-visible,
.omega-unified-page .faq-question[role="button"]:focus-visible {
  outline: 3px solid var(--primary, #0f766e);
  outline-offset: 3px;
}
.omega-unified-page .gallery-thumb[role="button"]:focus-visible { outline-offset: 2px; }

/* ============================================================
   ALRAHMA BRAND PALETTE — applied across all site pages
   Color-only overrides; layout, spacing, copy, links and behavior
   are intentionally left unchanged.
   ============================================================ */
:root {
  --primary: #105b80 !important;
  --primary-light: #167ca6 !important;
  --primary-dark: #15364d !important;
  --secondary: #25b8d8 !important;
  --secondary-light: #8addf0 !important;
  --accent: #25b8d8 !important;
  --light: #f4fbfe !important;
  --dark: #15364d !important;
  --gray: #587385 !important;
  --light-gray: #d3eaf3 !important;
  --white: #ffffff !important;
  --beige: #f4fbfe !important;
  --rahma-ink: #15364d !important;
  --rahma-ink-soft: #38566a !important;
  --rahma-blue: #167ca6 !important;
  --rahma-blue-deep: #105b80 !important;
  --rahma-cyan: #25b8d8 !important;
  --rahma-cyan-light: #c9f0fb !important;
  --rahma-sky: #f4fbfe !important;
  --rahma-surface: #ffffff !important;
  --rahma-page: #f4fbfe !important;
  --rahma-line: #d3eaf3 !important;
  --rf-bg: #15364d !important;
  --rf-bg-soft: #105b80 !important;
  --rf-text: #f4fbfe !important;
  --rf-muted: #c9f0fb !important;
  --rf-accent: #25b8d8 !important;
  --rf-line: rgba(201, 240, 251, .22) !important;
}

html,
body {
  background-color: #f4fbfe !important;
  color: #15364d !important;
}

body {
  background: #f4fbfe !important;
}

/* Header and navigation */
header {
  background: linear-gradient(110deg, rgba(201, 240, 251, .97), rgba(244, 251, 254, .98)) !important;
  border-bottom-color: rgba(16, 91, 128, .16) !important;
  box-shadow: 0 8px 28px rgba(21, 54, 77, .10) !important;
}
.header-brand,
.header-brand-main,
.nav-link,
.mobile-menu-btn {
  color: #15364d !important;
}
.header-brand-owner {
  color: #167ca6 !important;
}
.nav-link:hover,
.nav-link.active,
#main-nav .nav-link:hover,
#main-nav .nav-link.active {
  color: #105b80 !important;
}
.nav-link::after,
.nav-link:after {
  background: linear-gradient(90deg, #105b80, #25b8d8) !important;
}
.header-brand-mark {
  border-color: #d3eaf3 !important;
}

/* Light cyan hero, navy type and cyan details */
.hero,
.product-hero {
  color: #15364d !important;
  background:
    radial-gradient(ellipse at 8% 12%, rgba(255,255,255,.95) 0, rgba(255,255,255,0) 31%),
    radial-gradient(ellipse at 89% 18%, rgba(37,184,216,.22) 0, rgba(37,184,216,0) 34%),
    linear-gradient(125deg, #f4fbfe 0%, #c9f0fb 52%, #8addf0 100%) !important;
  box-shadow: 0 18px 40px rgba(21, 54, 77, .08) !important;
}
.hero h1,
.product-hero h1,
.hero .hero-content h1 {
  color: #15364d !important;
}
.hero p,
.product-hero p,
.product-address-hint {
  color: #38566a !important;
}
.product-eyebrow {
  color: #105b80 !important;
  border-color: #d3eaf3 !important;
  background: rgba(255,255,255,.72) !important;
}

/* Section headings and typography */
.section-title h2,
.product-section-title h2,
.section-title h3,
.product-section-title h3 {
  color: #15364d !important;
}
.section-title h2::after,
.section-title h2:after,
.product-section-title h2::after {
  background: linear-gradient(90deg, #105b80, #25b8d8) !important;
}
.section-title p,
.product-section-title p,
.service-card p,
.product-feature p,
.product-step p,
.product-faq details p {
  color: #587385 !important;
}

/* Main actions: brand blue; retain platform colors for WhatsApp and social media */
.btn-primary,
.pd-button-primary,
.btn-service,
.btn-contact,
.btn-call,
.btn-consultation,
.pd-button-green,
.hero .hero-buttons .btn-gallery,
.hero .hero-buttons .btn-album,
.gallery-external-link {
  color: #ffffff !important;
  background: linear-gradient(135deg, #105b80 0%, #167ca6 100%) !important;
  border-color: rgba(16, 91, 128, .18) !important;
  box-shadow: 0 8px 18px rgba(16, 91, 128, .14) !important;
}
.btn-primary:hover,
.pd-button-primary:hover,
.btn-service:hover,
.btn-contact:hover,
.btn-call:hover,
.btn-consultation:hover,
.pd-button-green:hover,
.hero .hero-buttons .btn-gallery:hover,
.hero .hero-buttons .btn-album:hover,
.gallery-external-link:hover {
  color: #ffffff !important;
  background: linear-gradient(135deg, #15364d 0%, #105b80 100%) !important;
  border-color: rgba(37, 184, 216, .50) !important;
}
.btn-secondary,
.pd-button-secondary,
.pd-button-light {
  color: #105b80 !important;
  background: #ffffff !important;
  border-color: #d3eaf3 !important;
}
.btn-secondary:hover,
.pd-button-secondary:hover,
.pd-button-light:hover {
  color: #15364d !important;
  background: #f4fbfe !important;
  border-color: #25b8d8 !important;
}
.btn-whatsapp,
.whatsapp-btn,
.rahma-footer-v2 .rf-icon-whatsapp {
  background: linear-gradient(135deg, #20b96d, #139d60) !important;
  color: #ffffff !important;
}
.btn-messenger,
.messenger .method-icon {
  background: linear-gradient(135deg, #006aff, #0084ff) !important;
}
:focus-visible,
.header-brand:focus-visible,
.gallery-item:focus-visible,
.omega-unified-page .gallery-nav[role="button"]:focus-visible,
.omega-unified-page .gallery-thumb[role="button"]:focus-visible,
.omega-unified-page .faq-question[role="button"]:focus-visible {
  outline-color: #25b8d8 !important;
}

/* Service and gallery cards */
.service-card,
.gallery-item,
.product-image-card,
.product-feature,
.info-card,
.faq-item,
.contact-method,
.service-visual,
.comparison-table,
.contact-address-panel {
  border-color: #d3eaf3 !important;
  box-shadow: 0 12px 30px rgba(21, 54, 77, .07) !important;
}
.service-card,
.gallery-item,
.product-image-card,
.product-feature,
.info-card,
.faq-item,
.contact-method,
.service-visual,
.comparison-table,
.contact-address-panel {
  background-color: #ffffff !important;
}
.service-card:hover,
.gallery-item:hover,
.product-image-card:hover,
.product-feature:hover,
.info-card:hover,
.faq-item:hover,
.contact-method:hover {
  border-color: #8addf0 !important;
  box-shadow: 0 18px 40px rgba(16, 91, 128, .12) !important;
}
.service-card h3,
.service-card .service-title-link,
.service-visual h3,
.product-feature h3,
.product-image-card span,
.type-card h3,
.step-title,
.product-quote h2,
.contact-card h3 {
  color: #105b80 !important;
}
.service-card p,
.service-visual p,
.gallery-caption,
.product-image-card em,
.contact-card p,
.contact-address-panel p,
.gallery-empty-state p {
  color: #587385 !important;
}
.service-img,
.service-img-placeholder,
.gallery-item img,
.product-image-card img {
  background: #e5f8ff !important;
}
.service-img.service-icon-only,
.service-img.service-icon-only.facade-icon,
.service-img.service-icon-only.pleated-icon {
  color: #f4fbfe !important;
  background:
    radial-gradient(circle at 72% 22%, rgba(37,184,216,.38), transparent 34%),
    linear-gradient(135deg, #15364d 0%, #105b80 58%, #167ca6 100%) !important;
}
.service-visual-icon,
.product-feature .feature-icon,
.product-empty .empty-symbol,
.contact-icon {
  color: #105b80 !important;
  background: #e5f8ff !important;
}
.gallery-empty-state {
  color: #15364d !important;
  background: #f4fbfe !important;
  border-color: #d3eaf3 !important;
}

/* Tabs, image navigation, tables and steps */
.tab-btn,
.gallery-tabs .tab-btn {
  color: #105b80 !important;
  background: #ffffff !important;
  border: 1px solid #d3eaf3 !important;
}
.tab-btn:hover,
.gallery-tabs .tab-btn:hover {
  color: #15364d !important;
  border-color: #25b8d8 !important;
  background: #f4fbfe !important;
}
.tab-btn.active,
.gallery-tabs .tab-btn.active {
  color: #ffffff !important;
  background: linear-gradient(135deg, #105b80, #167ca6) !important;
  border-color: #105b80 !important;
}
.gallery-nav,
.gallery-thumb.active {
  color: #105b80 !important;
  border-color: #25b8d8 !important;
}
.gallery-nav:hover {
  color: #15364d !important;
  background: #e5f8ff !important;
}
.comparison-table th {
  color: #ffffff !important;
  background: linear-gradient(135deg, #105b80, #167ca6) !important;
}
.comparison-table td {
  border-color: #d3eaf3 !important;
  color: #15364d !important;
}
.comparison-table tr:nth-child(even) {
  background: #f4fbfe !important;
}
.comparison-table tr:hover {
  background: #e5f8ff !important;
}
.step-number {
  color: #ffffff !important;
  background: #105b80 !important;
  border-color: #ffffff !important;
  box-shadow: 0 0 0 3px #105b80 !important;
}
.step:hover .step-number {
  background: #167ca6 !important;
  box-shadow: 0 0 0 3px #25b8d8 !important;
}

/* FAQ, contact panels and content callouts */
.faq-item {
  border: 1px solid #d3eaf3 !important;
}
.faq-question,
.faq-item.active .faq-question {
  color: #ffffff !important;
  background: linear-gradient(135deg, #105b80, #167ca6) !important;
}
.faq-question:hover {
  background: linear-gradient(135deg, #15364d, #105b80) !important;
}
.faq-answer {
  color: #38566a !important;
  background: #ffffff !important;
}
.discount-banner {
  color: #ffffff !important;
  background: linear-gradient(135deg, #105b80 0%, #167ca6 75%, #25b8d8 100%) !important;
}
.product-step {
  border-top-color: #25b8d8 !important;
}
.product-step:before {
  color: #105b80 !important;
}
.product-faq details,
.contact-address-panel,
.product-quote {
  border-color: #d3eaf3 !important;
  background: #ffffff !important;
}
.product-quote h2,
.contact-address-panel h3 {
  color: #15364d !important;
}
.product-quote p {
  color: #587385 !important;
}
.features-list a,
.quick-link,
.service-title-link,
.gallery-empty-state .empty-icon {
  color: #105b80 !important;
}
.features-list a:hover,
.quick-link:hover,
.service-title-link:hover {
  color: #167ca6 !important;
}

/* Footer: navy foundation with restrained cyan accents; brand-specific icons stay recognizable */
.professional-footer,
.rahma-footer-v2 {
  color: #f4fbfe !important;
  background: linear-gradient(135deg, #15364d 0%, #105b80 58%, #15364d 100%) !important;
}
.rahma-footer-v2::before,
.professional-footer .footer-header::after {
  background: linear-gradient(90deg, transparent, #25b8d8 24%, #c9f0fb 50%, #25b8d8 76%, transparent) !important;
}
.rahma-footer-v2 .rf-footer-col h3,
.rahma-footer-v2 .rf-kicker,
.rahma-footer-v2 .rf-service-links a::before,
.rahma-footer-v2 .rf-detail-icon,
.rahma-footer-v2 .rf-card-arrow,
.rahma-footer-v2 .rf-map-link,
.rahma-footer-v2 .rf-back-top {
  color: #8addf0 !important;
}
.rahma-footer-v2 .rf-footer-col h3::after {
  background: linear-gradient(90deg, #167ca6, #8addf0) !important;
}
.rahma-footer-v2 .rf-detail-icon {
  background: rgba(37, 184, 216, .14) !important;
}
.rahma-footer-v2 .rf-contact-card,
.rahma-footer-v2 .rf-detail-row {
  border-color: rgba(201, 240, 251, .19) !important;
}
.rahma-footer-v2 .rf-home-link {
  border-color: rgba(138, 221, 240, .35) !important;
  background: rgba(37, 184, 216, .12) !important;
}
.rahma-footer-v2 .rf-home-link:hover {
  background: rgba(37, 184, 216, .23) !important;
  border-color: rgba(138, 221, 240, .6) !important;
}
.lightbox,
.product-lightbox {
  background: #15364d !important;
}
.lightbox-close,
.lightbox-zoom-btn {
  background: #105b80 !important;
  color: #ffffff !important;
}
#servises .service-content h3 .service-title-link:hover,
#servises .service-content h3 .service-title-link:focus-visible {
  color: #167ca6 !important;
}
#servises .service-content h3 .service-title-link:focus-visible,
.rahma-footer-v2 a:focus-visible,
.rahma-footer-v2 .rf-footer-actions a:focus-visible {
  outline-color: #25b8d8 !important;
}


/* ===== Merged from layout-performance.css ===== */
/* ALRAHMA — shared card, gallery, service-page and layout stability refinements. */
:root {
  --rahma-layout-max: 1180px;
  --rahma-card-radius: 18px;
  --rahma-card-border: #d3eaf3;
  --rahma-card-shadow: 0 10px 28px rgba(21, 54, 77, .07);
  --rahma-card-shadow-hover: 0 16px 34px rgba(21, 54, 77, .12);
}

/* Keep content widths and section rhythm consistent across service pages. */
.service-detail-page .hero { padding: 148px 0 82px !important; min-height: 0 !important; clip-path: none !important; }
.service-detail-page .hero .hero-content { width: 100%; max-width: 1000px; margin-inline: auto; }
.service-detail-page .hero h1 { max-width: 900px; margin-inline: auto; line-height: 1.35 !important; text-wrap: balance; }
.service-detail-page .hero p { max-width: 820px; margin: 16px auto 22px; line-height: 1.9 !important; }
.service-detail-page .hero .hero-buttons { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.service-detail-page .hero .hero-buttons .btn { min-height: 48px; display: inline-flex; align-items: center; justify-content: center; }
.service-detail-page .subpage-address { max-width: 920px; margin: 20px auto 0; line-height: 1.8; }
main .section > .container,
#servises > .container,
#work > .container {
  width: min(100% - 32px, var(--rahma-layout-max));
  max-width: var(--rahma-layout-max);
  margin-inline: auto;
}
main > .section { padding-block: clamp(34px, 4.2vw, 64px); }
main .section-title { max-width: 900px; margin: 0 auto clamp(22px, 3vw, 36px); }
main .section-title h2 { line-height: 1.35; text-wrap: balance; }
main .section-title p { max-width: 780px; margin-inline: auto; line-height: 1.9; }

/* Home service cards: identical image frames, equal-height cards and aligned actions. */
#servises .services-container,
#servises .service-cards {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: stretch;
  gap: clamp(16px, 2vw, 24px) !important;
}
#servises .service-card {
  min-width: 0;
  height: 100%;
  display: flex !important;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--rahma-card-border) !important;
  border-radius: var(--rahma-card-radius) !important;
  background: #fff !important;
  box-shadow: var(--rahma-card-shadow) !important;
}
#servises .service-card .service-img,
#servises .service-card .service-img-placeholder {
  position: relative;
  display: grid !important;
  place-items: center;
  width: 100%;
  aspect-ratio: 4 / 3;
  height: auto !important;
  min-height: 0 !important;
  max-height: none;
  overflow: hidden;
  background: #f4fbfe;
}
#servises .service-card .service-img img,
#servises .service-card .service-img-placeholder img {
  display: block;
  width: 100% !important;
  height: 100% !important;
  min-height: 0 !important;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: center;
}
#servises .service-card .service-img-placeholder img[src$=".svg"] { object-fit: contain; padding: 10px; }
#servises .service-card .service-content {
  display: flex !important;
  flex: 1 1 auto;
  flex-direction: column;
  align-items: stretch;
  min-width: 0;
  padding: clamp(16px, 1.8vw, 22px) !important;
}
#servises .service-card .service-content h3 { line-height: 1.45; min-height: 2.7em; display: flex; align-items: center; }
#servises .service-card .service-content p { flex: 1 0 auto; line-height: 1.85; }
#servises .service-card .service-content .btn-service { margin-top: auto !important; }

/* Home gallery thumbnails: fixed 4:3 preview ratio prevents layout shifts. */
#work .gallery-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(10px, 1.5vw, 18px); align-items: stretch; }
#work .gallery-item { display: flex; flex-direction: column; min-width: 0; height: 100%; overflow: hidden; border-radius: 15px; }
#work .gallery-item img { display: block; width: 100%; height: auto !important; aspect-ratio: 4 / 3; object-fit: cover; background: #f4fbfe; }
#work .gallery-caption { display: flex; align-items: center; justify-content: center; min-height: 3.4em; padding: 10px 12px; line-height: 1.6; text-align: center; }

/* Unified service-page gallery. Main image has reserved space and is never cropped. */
.gallery-container { width: 100%; max-width: 1080px; margin-inline: auto; padding: 0 !important; }
.gallery-main {
  width: 100%; height: auto !important; min-height: 0 !important; max-height: none;
  aspect-ratio: 4 / 3; display: grid; place-items: center; overflow: hidden;
  background: #f4fbfe; border: 1px solid #d3eaf3; border-radius: 18px;
  box-shadow: 0 12px 28px rgba(21,54,77,.08);
}
.gallery-main-img { display: block; width: 100% !important; height: 100% !important; min-height: 0 !important; aspect-ratio: 4 / 3; object-fit: contain !important; object-position: center; background: #f4fbfe; }
.gallery-main:hover .gallery-main-img { transform: none !important; }
.gallery-thumbnails { display: grid !important; grid-auto-flow: column; grid-auto-columns: clamp(92px, 12vw, 144px); grid-template-columns: none !important; grid-template-rows: auto; gap: 10px; width: 100%; overflow-x: auto; padding: 4px 2px 10px; scroll-snap-type: x proximity; overscroll-behavior-inline: contain; }
.gallery-thumb { width: 100% !important; min-width: 0; aspect-ratio: 3 / 2; height: auto !important; overflow: hidden; scroll-snap-align: start; }
.gallery-thumb-img { display: block; width: 100% !important; height: 100% !important; aspect-ratio: 3 / 2; object-fit: cover; }

/* Same grid and equal-height cards for options on every one of the nine service pages. */
.types-section { display: grid !important; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(12px, 1.7vw, 20px) !important; align-items: stretch; margin: clamp(22px, 3vw, 36px) 0 !important; }
.type-card {
  display: flex !important; flex-direction: column; align-items: center; height: 100%; min-width: 0;
  min-height: 220px; padding: clamp(18px, 2vw, 26px) !important; text-align: center;
  border: 1px solid var(--rahma-card-border) !important; border-radius: var(--rahma-card-radius) !important;
  background: #fff !important; box-shadow: var(--rahma-card-shadow) !important;
}
.type-card h3 { display: flex; justify-content: center; align-items: center; min-height: 2.7em; margin: 0 0 10px !important; line-height: 1.45 !important; font-size: clamp(1rem, 1.3vw, 1.2rem) !important; }
.type-card p { flex: 1 1 auto; width: 100%; margin: 0 !important; line-height: 1.85 !important; }
.type-card:hover { transform: translateY(-3px) !important; }

/* Process steps use a consistent card grid rather than a stretched horizontal line. */
.experience-steps { display: grid !important; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; align-items: stretch; margin-top: 26px !important; }
.experience-steps::before { display: none !important; content: none !important; }
.experience-steps .step {
  min-width: 0; height: 100%; padding: 18px 14px; border: 1px solid var(--rahma-card-border);
  border-radius: 16px; background: #fff; box-shadow: 0 8px 22px rgba(21,54,77,.045);
  text-align: center; display: flex; flex-direction: column; align-items: center;
}
.experience-steps .step-number { width: 54px !important; height: 54px !important; flex: 0 0 54px; margin: 0 auto 14px !important; border-width: 3px !important; font-size: 1.25rem !important; }
.experience-steps .step-title { min-height: 2.7em; display: flex; align-items: center; justify-content: center; margin: 0 0 8px !important; line-height: 1.45 !important; }
.experience-steps .step p { margin: 0; line-height: 1.8 !important; }

/* Comparison tables remain readable on narrow screens. */
.comparison-table { width: 100%; max-width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; border: 1px solid var(--rahma-card-border); border-radius: 16px; }
.comparison-table table { width: 100%; min-width: 580px; border-collapse: collapse; }
.comparison-table th, .comparison-table td { padding: 13px 15px; line-height: 1.7; vertical-align: top; }

/* Consistent FAQ, information panels and conversion cards. */
.info-box { border: 1px solid var(--rahma-card-border) !important; border-radius: 18px !important; box-shadow: var(--rahma-card-shadow) !important; }
.faq-container { max-width: 920px !important; margin-inline: auto; }
.faq-container .faq-item { border: 1px solid var(--rahma-card-border) !important; border-radius: 15px !important; overflow: hidden; }
.faq-container .faq-question { line-height: 1.65 !important; }
.faq-container .faq-answer p { line-height: 1.9 !important; }
.discount-banner { border-radius: 20px !important; padding: clamp(24px, 4vw, 42px) !important; }
.contact-buttons { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px !important; }
.contact-buttons .btn { min-width: min(200px, 100%); min-height: 48px; display: inline-flex; align-items: center; justify-content: center; }

/* All non-critical images keep a reserved frame; local SVG examples are shown as illustrations. */
img { max-width: 100%; }
img[width][height] { height: auto; }
@media (min-width: 769px) {
  #servises .service-card:hover { transform: translateY(-3px); box-shadow: var(--rahma-card-shadow-hover) !important; }
}
@media (max-width: 1024px) {
  #servises .services-container, #servises .service-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  #work .gallery-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .types-section { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .experience-steps { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  main .section > .container, #servises > .container, #work > .container { width: min(100% - 24px, var(--rahma-layout-max)); }
  .service-detail-page .hero { padding: 118px 0 54px !important; }
  .service-detail-page .hero .hero-buttons .btn { width: min(100%, 340px); }
  main > .section { padding-block: 30px; }
  #servises .services-container, #servises .service-cards { gap: 12px !important; }
  #servises .service-card .service-content { padding: 14px !important; }
  #servises .service-card .service-content h3 { min-height: 2.7em; font-size: 1rem; }
  #servises .service-card .service-content .btn-service { min-height: 66px; padding: 12px 10px !important; font-size: .9rem; }
  #work .gallery-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  #work .gallery-caption { font-size: .78rem; padding: 8px 7px; }
  .gallery-main { min-height: 220px !important; }
  .gallery-thumbnails { grid-auto-columns: 92px; }
  .types-section { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px !important; }
  .type-card { min-height: 0; padding: 16px 12px !important; }
  .type-icon { font-size: 2rem !important; margin-bottom: 12px !important; }
  .type-card h3 { font-size: .98rem !important; min-height: 2.7em; }
  .type-card p { font-size: .9rem; }
  .experience-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .experience-steps .step { padding: 16px 12px; }
  .contact-buttons .btn { flex: 1 1 100%; width: 100%; }
}
@media (max-width: 380px) {
  #servises .services-container, #servises .service-cards { grid-template-columns: minmax(0, 1fr); }
  #work .gallery-grid { grid-template-columns: minmax(0, 1fr); }
  .types-section, .experience-steps { grid-template-columns: minmax(0, 1fr); }
}
@media (prefers-reduced-motion: reduce) {
  #servises .service-card, #work .gallery-item, .type-card, .gallery-main-img { transition: none !important; }
  #servises .service-card:hover, #work .gallery-item:hover, .type-card:hover { transform: none !important; }
}


/* ===== Reliable local SVG icons + viewport-filling galleries ===== */
.site-icon-svg {
  display: inline-block;
  flex: 0 0 auto;
  vertical-align: -0.125em;
  overflow: visible;
  color: inherit;
}
.service-icon-only .site-icon-svg {
  filter: drop-shadow(0 8px 10px rgba(0,0,0,.18));
}
body.home-page .lightbox {
  position: fixed !important;
  inset: 0 !important;
  width: 100vw !important;
  height: 100vh !important;
  height: 100dvh !important;
  max-width: none !important;
  max-height: none !important;
  padding: 0 !important;
  box-sizing: border-box !important;
  overflow: hidden !important;
  overscroll-behavior: contain;
  touch-action: pan-y;
  z-index: 99990 !important;
}
body.home-page .lightbox-content,
body.home-page .lightbox.active .lightbox-content {
  position: absolute !important;
  inset: calc(58px + env(safe-area-inset-top, 0px)) 14px calc(84px + env(safe-area-inset-bottom, 0px)) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: auto !important;
  height: auto !important;
  max-width: none !important;
  max-height: none !important;
  margin: 0 !important;
  transform: none !important;
  transition: none !important;
}
body.home-page .lightbox-content img {
  display: block !important;
  width: auto !important;
  height: auto !important;
  max-width: 100% !important;
  max-height: 100% !important;
  object-fit: contain !important;
  object-position: center;
  border-radius: 5px !important;
  touch-action: none !important;
  user-select: none;
  -webkit-user-drag: none;
}
body.home-page .lightbox-close {
  top: max(10px, env(safe-area-inset-top, 0px)) !important;
  right: max(10px, env(safe-area-inset-right, 0px)) !important;
  width: 44px !important;
  height: 44px !important;
}
body.home-page .lightbox-nav {
  top: 50% !important;
  width: 44px !important;
  height: 44px !important;
  transform: translateY(-50%) !important;
}
body.home-page .lightbox-prev { right: 8px !important; }
body.home-page .lightbox-next { left: 8px !important; }
body.home-page .lightbox-caption {
  position: absolute !important;
  left: 64px !important;
  right: 64px !important;
  bottom: calc(56px + env(safe-area-inset-bottom, 0px)) !important;
  max-width: none !important;
  max-height: 2.8em;
  overflow: hidden;
  margin: 0 !important;
  padding: 4px 8px !important;
  line-height: 1.4 !important;
  text-overflow: ellipsis;
  text-shadow: 0 1px 5px rgba(0,0,0,.8);
}
body.home-page .lightbox-counter {
  bottom: calc(8px + env(safe-area-inset-bottom, 0px)) !important;
  left: 50% !important;
  z-index: 12;
  pointer-events: none;
}
body.home-page .lightbox-zoom-controls {
  right: max(10px, env(safe-area-inset-right, 0px)) !important;
  bottom: calc(8px + env(safe-area-inset-bottom, 0px)) !important;
  gap: 6px !important;
}
body.home-page .lightbox-zoom-btn {
  width: 38px !important;
  height: 38px !important;
}
.service-gallery-lightbox-placeholder { display: none; }
.service-image-lightbox[hidden] { display: none !important; }
.service-image-lightbox {
  position: fixed;
  inset: 0;
  z-index: 99995;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100vw;
  height: 100vh;
  height: 100dvh;
  padding: 0;
  box-sizing: border-box;
  overflow: hidden;
  background: #07141f;
  color: #fff;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .16s ease, visibility .16s ease;
  overscroll-behavior: contain;
}
.service-image-lightbox.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}
.service-lightbox-stage {
  position: absolute;
  inset: calc(58px + env(safe-area-inset-top, 0px)) 14px calc(80px + env(safe-area-inset-bottom, 0px));
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  min-height: 0;
  overflow: hidden;
  touch-action: none;
}
.service-lightbox-image {
  display: block;
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  object-position: center;
  border-radius: 5px;
  user-select: none;
  -webkit-user-drag: none;
}
.service-lightbox-error {
  padding: 18px 22px;
  border: 1px solid rgba(255,255,255,.24);
  border-radius: 12px;
  color: #fff;
  text-align: center;
}
.service-lightbox-close,
.service-lightbox-nav {
  position: absolute;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  padding: 10px;
  border: 1px solid rgba(255,255,255,.22);
  border-radius: 50%;
  background: rgba(16,91,128,.94);
  color: #fff;
  box-shadow: 0 5px 22px rgba(0,0,0,.24);
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.service-lightbox-close svg,
.service-lightbox-nav svg { display: block; width: 100%; height: 100%; }
.service-lightbox-close { top: max(10px, env(safe-area-inset-top, 0px)); right: max(10px, env(safe-area-inset-right, 0px)); }
.service-lightbox-prev { top: 50%; right: 8px; transform: translateY(-50%); }
.service-lightbox-next { top: 50%; left: 8px; transform: translateY(-50%); }
.service-lightbox-close:hover,
.service-lightbox-nav:hover { background: #167ca6; }
.service-lightbox-close:focus-visible,
.service-lightbox-nav:focus-visible { outline: 3px solid #25b8d8; outline-offset: 3px; }
.service-lightbox-zoom-controls {
  position: absolute;
  z-index: 3;
  left: max(12px, env(safe-area-inset-left, 0px));
  bottom: calc(7px + env(safe-area-inset-bottom, 0px));
  display: flex;
  align-items: center;
  gap: 6px;
  direction: ltr;
}
.service-lightbox-zoom-btn {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  padding: 9px;
  border: 1px solid rgba(255,255,255,.24);
  border-radius: 50%;
  background: rgba(16,91,128,.96);
  color: #fff;
  box-shadow: 0 5px 22px rgba(0,0,0,.24);
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.service-lightbox-zoom-btn svg { display: block; width: 100%; height: 100%; }
.service-lightbox-zoom-btn:hover { background: #167ca6; }
.service-lightbox-zoom-btn:focus-visible { outline: 3px solid #25b8d8; outline-offset: 3px; }
.service-lightbox-caption {
  position: absolute;
  left: 64px;
  right: 64px;
  bottom: calc(56px + env(safe-area-inset-bottom, 0px));
  max-height: 2.8em;
  overflow: hidden;
  color: #eefaff;
  font-size: .95rem;
  line-height: 1.4;
  text-align: center;
  text-overflow: ellipsis;
  text-shadow: 0 1px 5px rgba(0,0,0,.8);
}
.service-lightbox-counter {
  position: absolute;
  bottom: calc(7px + env(safe-area-inset-bottom, 0px));
  left: 50%;
  transform: translateX(-50%);
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(0,0,0,.44);
  color: #fff;
  font-size: .82rem;
  line-height: 1.25;
  pointer-events: none;
}
@media (max-width: 600px) {
  body.home-page .lightbox-content,
  body.home-page .lightbox.active .lightbox-content {
    inset: calc(54px + env(safe-area-inset-top, 0px)) 12px calc(91px + env(safe-area-inset-bottom, 0px)) !important;
  }
  body.home-page .lightbox-nav { width: 38px !important; height: 42px !important; }
  body.home-page .lightbox-prev { right: 3px !important; }
  body.home-page .lightbox-next { left: 3px !important; }
  body.home-page .lightbox-caption { left: 45px !important; right: 45px !important; font-size: .82rem !important; }
  body.home-page .lightbox-zoom-controls { gap: 4px !important; }
  body.home-page .lightbox-zoom-btn { width: 34px !important; height: 34px !important; font-size: 1rem !important; }
  .service-lightbox-stage { inset: calc(54px + env(safe-area-inset-top, 0px)) 12px calc(88px + env(safe-area-inset-bottom, 0px)); }
  .service-lightbox-close, .service-lightbox-nav { width: 40px; height: 40px; padding: 9px; }
  .service-lightbox-prev { right: 3px; }
  .service-lightbox-next { left: 3px; }
  .service-lightbox-zoom-controls { left: max(9px, env(safe-area-inset-left, 0px)); gap: 4px; }
  .service-lightbox-zoom-btn { width: 35px; height: 35px; padding: 8px; }
  .service-lightbox-caption { left: 44px; right: 44px; font-size: .82rem; }
}
@media (prefers-reduced-motion: reduce) {
  .service-image-lightbox { transition: none; }
}


/* Final stability and accessibility refinements */
html { scroll-padding-top: 88px; }
body.home-page, body.service-detail-page { text-rendering: optimizeLegibility; }
body.home-page img, body.service-detail-page img { max-width: 100%; }
body.home-page a:focus-visible,
body.home-page button:focus-visible,
body.service-detail-page a:focus-visible,
body.service-detail-page button:focus-visible,
body.service-detail-page [role="button"]:focus-visible {
  outline: 3px solid #1098b7;
  outline-offset: 3px;
}
@media (max-width: 768px) {
  html { scroll-padding-top: 76px; }
  body.home-page #main-nav, body.home-page header nav,
  body.service-detail-page #main-nav, body.service-detail-page header nav {
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
  }
}

/* ===== Refined process timeline across all nine service detail pages ===== */
body.service-detail-page .experience-steps {
  --process-ink: #15364d;
  --process-blue: #105b80;
  --process-cyan: #25b8d8;
  --process-line: #c9e7f0;
  position: relative;
  isolation: isolate;
  display: grid !important;
  grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
  align-items: stretch;
  gap: clamp(12px, 1.35vw, 18px) !important;
  margin: 42px 0 0 !important;
  padding: 0 0 5px !important;
}

body.service-detail-page .experience-steps::before {
  content: "" !important;
  display: block !important;
  position: absolute;
  z-index: 2;
  top: 39px;
  right: 8%;
  left: 8%;
  width: auto;
  height: 2px;
  background: linear-gradient(90deg, transparent 0%, var(--process-line) 12%, #8fd5e5 50%, var(--process-line) 88%, transparent 100%);
  pointer-events: none;
}

body.service-detail-page .experience-steps .step {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 0;
  min-height: 278px;
  height: 100%;
  padding: 82px 17px 22px !important;
  overflow: hidden;
  text-align: center;
  border: 1px solid #dcebf2 !important;
  border-radius: 20px !important;
  background: linear-gradient(180deg, #f3faff 0%, #ffffff 39%, #ffffff 100%) !important;
  box-shadow: 0 9px 24px rgba(21, 54, 77, .055) !important;
  transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease, background-color .22s ease;
}

body.service-detail-page .experience-steps .step::after {
  content: "";
  position: absolute;
  top: 0;
  right: 18px;
  left: 18px;
  height: 3px;
  border-radius: 0 0 8px 8px;
  background: linear-gradient(90deg, #25b8d8 0%, #105b80 100%);
  opacity: .82;
}

body.service-detail-page .experience-steps .step-number {
  position: absolute;
  z-index: 3;
  top: 12px;
  right: 50%;
  transform: translateX(50%);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 54px !important;
  height: 54px !important;
  min-width: 54px;
  margin: 0 !important;
  border: 4px solid #ffffff !important;
  border-radius: 50%;
  color: #ffffff !important;
  background: linear-gradient(145deg, #167ca6 0%, #105b80 72%, #15364d 100%) !important;
  box-shadow: 0 0 0 1px #b9e3ee, 0 7px 16px rgba(16, 91, 128, .2) !important;
  font-size: 1.18rem !important;
  font-weight: 800;
  line-height: 1;
  transition: transform .22s ease, box-shadow .22s ease, background .22s ease;
}

body.service-detail-page .experience-steps .step-title {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 3em;
  margin: 0 0 9px !important;
  color: #105b80 !important;
  font-size: clamp(1rem, 1.15vw, 1.12rem) !important;
  font-weight: 800 !important;
  line-height: 1.55 !important;
  text-wrap: balance;
}

body.service-detail-page .experience-steps .step p {
  width: 100%;
  flex: 1 1 auto;
  margin: 0 !important;
  color: #526d7c !important;
  font-size: .94rem;
  line-height: 1.95 !important;
  text-align: center;
}

body.service-detail-page .experience-steps .step:hover {
  transform: translateY(-5px);
  border-color: #a9dce9 !important;
  background: linear-gradient(180deg, #edf9fd 0%, #ffffff 45%) !important;
  box-shadow: 0 17px 34px rgba(16, 91, 128, .12) !important;
}

body.service-detail-page .experience-steps .step:hover .step-number {
  transform: translateX(50%) scale(1.06);
  background: linear-gradient(145deg, #25b8d8 0%, #167ca6 75%) !important;
  box-shadow: 0 0 0 1px #8fd5e5, 0 9px 20px rgba(16, 91, 128, .24) !important;
}

@media (max-width: 1100px) {
  body.service-detail-page .experience-steps {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 15px !important;
  }
  body.service-detail-page .experience-steps::before { display: none !important; }
  body.service-detail-page .experience-steps .step { min-height: 250px; }
}

@media (max-width: 760px) {
  body.service-detail-page .experience-steps {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 12px !important;
    margin-top: 28px !important;
  }
  body.service-detail-page .experience-steps .step {
    min-height: 250px;
    padding: 78px 14px 18px !important;
    border-radius: 17px !important;
  }
  body.service-detail-page .experience-steps .step-title { font-size: 1rem !important; }
  body.service-detail-page .experience-steps .step p { font-size: .9rem; }
}

@media (max-width: 520px) {
  body.service-detail-page .experience-steps {
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 11px !important;
    margin-top: 24px !important;
    padding: 0 0 0 0 !important;
  }
  /* Keep the mobile step cards clean: no vertical connector line. */
  body.service-detail-page .experience-steps::before {
    display: none !important;
    content: none !important;
  }
  body.service-detail-page .experience-steps .step {
    display: flex;
    align-items: flex-start;
    min-height: 0;
    padding: 17px 78px 18px 16px !important;
    border-radius: 16px !important;
    text-align: right;
  }
  body.service-detail-page .experience-steps .step::after {
    top: 14px;
    right: 0;
    left: auto;
    width: 3px;
    height: calc(100% - 28px);
    border-radius: 4px 0 0 4px;
    opacity: .28;
  }
  body.service-detail-page .experience-steps .step-number {
    top: 50%;
    right: 13px;
    transform: translateY(-50%);
    width: 50px !important;
    height: 50px !important;
    min-width: 50px;
    font-size: 1.05rem !important;
  }
  body.service-detail-page .experience-steps .step-title {
    justify-content: flex-start;
    min-height: 0;
    margin: 0 0 5px !important;
    text-align: right;
    font-size: 1rem !important;
  }
  body.service-detail-page .experience-steps .step p {
    text-align: right;
    font-size: .91rem;
    line-height: 1.85 !important;
  }
  body.service-detail-page .experience-steps .step:hover .step-number {
    transform: translateY(-50%) scale(1.04);
  }
}

@media (prefers-reduced-motion: reduce) {
  body.service-detail-page .experience-steps .step,
  body.service-detail-page .experience-steps .step-number { transition: none !important; }
  body.service-detail-page .experience-steps .step:hover { transform: none !important; }
}


/* Unified homepage/service lightbox zoom toolbar and interaction surface. */
.rahma-zoom-stage {
  touch-action: none !important;
  overscroll-behavior: contain;
  user-select: none;
  -webkit-user-select: none;
}
.rahma-zoom-image {
  transform-origin: center center !important;
  transition: none !important;
  will-change: transform;
  user-select: none !important;
  -webkit-user-drag: none !important;
  -webkit-user-select: none !important;
}
body.home-page .lightbox-zoom-controls,
.service-image-lightbox .service-lightbox-zoom-controls {
  left: max(12px, env(safe-area-inset-left, 0px)) !important;
  right: auto !important;
  bottom: calc(8px + env(safe-area-inset-bottom, 0px)) !important;
  z-index: 12 !important;
  display: flex !important;
  align-items: center !important;
  gap: 6px !important;
  direction: ltr !important;
  padding: 5px !important;
  border: 1px solid rgba(255,255,255,.16) !important;
  border-radius: 999px !important;
  background: rgba(4, 18, 29, .68) !important;
  box-shadow: 0 8px 28px rgba(0,0,0,.28) !important;
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}
body.home-page .lightbox-zoom-btn,
.service-image-lightbox .service-lightbox-zoom-btn {
  display: grid !important;
  place-items: center !important;
  width: 38px !important;
  height: 38px !important;
  min-width: 38px !important;
  padding: 9px !important;
  border: 1px solid rgba(255,255,255,.2) !important;
  border-radius: 50% !important;
  background: rgba(22, 100, 135, .96) !important;
  color: #fff !important;
  box-shadow: 0 3px 12px rgba(0,0,0,.2) !important;
  cursor: pointer;
  transition: background .16s ease, opacity .16s ease, transform .16s ease !important;
}
body.home-page .lightbox-zoom-btn:hover,
.service-image-lightbox .service-lightbox-zoom-btn:hover {
  background: #1b87ad !important;
  transform: translateY(-1px);
}
body.home-page .lightbox-zoom-btn:disabled,
.service-image-lightbox .service-lightbox-zoom-btn:disabled {
  opacity: .38 !important;
  cursor: not-allowed !important;
  transform: none !important;
}
body.home-page .lightbox-zoom-btn:focus-visible,
.service-image-lightbox .service-lightbox-zoom-btn:focus-visible {
  outline: 3px solid #7bdcf1 !important;
  outline-offset: 3px !important;
}
.rahma-zoom-level {
  position: absolute;
  left: 50%;
  bottom: calc(100% + 7px);
  transform: translateX(-50%);
  min-width: 48px;
  padding: 4px 8px;
  border: 1px solid rgba(255,255,255,.17);
  border-radius: 999px;
  background: rgba(4,18,29,.78);
  color: #fff;
  font: 600 12px/1.2 system-ui, sans-serif;
  text-align: center;
  white-space: nowrap;
  pointer-events: none;
  box-shadow: 0 4px 14px rgba(0,0,0,.2);
}
.rahma-zoom-level[hidden] { display: none !important; }
@media (max-width: 600px) {
  body.home-page .lightbox-zoom-controls,
  .service-image-lightbox .service-lightbox-zoom-controls {
    left: max(9px, env(safe-area-inset-left, 0px)) !important;
    gap: 4px !important;
    padding: 4px !important;
  }
  body.home-page .lightbox-zoom-btn,
  .service-image-lightbox .service-lightbox-zoom-btn {
    width: 35px !important;
    height: 35px !important;
    min-width: 35px !important;
    padding: 8px !important;
  }
}


/* ===== Conversion, quote attachments, and trust/process components ===== */
.rahma-floating-contact{position:fixed;z-index:9000;right:max(18px,env(safe-area-inset-right));bottom:max(18px,env(safe-area-inset-bottom));display:flex;flex-direction:column;gap:10px;align-items:flex-end;direction:rtl}
.rahma-floating-action{display:inline-flex;align-items:center;justify-content:center;gap:9px;min-height:48px;padding:11px 17px;border-radius:999px;color:#fff;text-decoration:none;font-weight:800;font-size:.94rem;box-shadow:0 9px 26px rgba(12,40,55,.2);transition:transform .18s ease,box-shadow .18s ease}
.rahma-floating-action:hover{transform:translateY(-2px);box-shadow:0 13px 30px rgba(12,40,55,.24)}
.rahma-floating-action svg{width:21px;height:21px;flex:0 0 auto}
.rahma-floating-whatsapp{background:#159b61}.rahma-floating-phone{background:#145b78}
.rahma-process-section{background:linear-gradient(180deg,#f4fbfd,#fff)}
.rahma-process-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin-top:28px}
.rahma-process-card{padding:22px 20px;border:1px solid #dcebf0;border-radius:18px;background:#fff;box-shadow:0 8px 24px rgba(23,73,91,.06)}
.rahma-process-number{display:grid;place-items:center;width:42px;height:42px;border-radius:13px;background:#e6f5f7;color:#145b78;font-size:1.1rem;font-weight:900}
.rahma-process-card h3{margin:14px 0 7px;color:#17465e;font-size:1.05rem}.rahma-process-card p{margin:0;color:#516b78;line-height:1.8}
.rahma-process-note{max-width:900px;margin:20px auto 0;text-align:center;color:#536c79;line-height:1.9;font-size:.94rem}
.rahma-process-actions{display:flex;justify-content:center;gap:12px;flex-wrap:wrap;margin-top:20px}
.gallery-current-caption{margin:10px auto 8px;max-width:900px;text-align:center;color:#365b6c;font-weight:700;font-size:.95rem;line-height:1.7;min-height:1.7em}
.quote-file-list{list-style:none;padding:0;margin:7px 0 0;display:flex;gap:8px;flex-wrap:wrap}
.quote-file-list li{padding:7px 10px;border-radius:9px;background:#e8f5f8;color:#244c5e;font-size:.86rem;overflow-wrap:anywhere}
#quoteFiles{padding:10px;background:#fff;border-style:dashed}
#quoteOpenWhatsapp{border:0;cursor:pointer;font:inherit}
.quote-field .quote-help{margin:0;font-size:.84rem}
@media(max-width:900px){.rahma-process-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:640px){
  .rahma-floating-contact{right:12px;left:12px;bottom:max(10px,env(safe-area-inset-bottom));display:grid;grid-template-columns:1fr 1fr;gap:8px;align-items:stretch}
  .rahma-floating-action{min-height:48px;padding:10px 12px;font-size:.9rem}
  body{padding-bottom:68px}
  .rahma-process-grid{grid-template-columns:minmax(0,1fr);gap:11px}
  .rahma-process-card{padding:17px}
  .rahma-process-actions>*{flex:1 1 100%;text-align:center}
}
@media(prefers-reduced-motion:reduce){.rahma-floating-action{transition:none}.rahma-floating-action:hover{transform:none}}


/* ===== Version 52: unified section-heading lines and complete photo album ===== */
.section-title::after,
.product-section-title::after {
  content: none !important;
  display: none !important;
}
body.home-page .product-section-title h2,
body.service-detail-page .product-section-title h2,
body.all-albums-page .product-section-title h2 {
  position: relative !important;
  display: inline-block !important;
}
body.home-page .section-title h2::after,
body.home-page .product-section-title h2::after,
body.service-detail-page .section-title h2::after,
body.service-detail-page .product-section-title h2::after,
body.all-albums-page .section-title h2::after,
body.all-albums-page .product-section-title h2::after {
  content: "" !important;
  position: absolute !important;
  bottom: -10px !important;
  left: 50% !important;
  right: auto !important;
  width: 152px !important;
  max-width: min(60vw, 152px);
  height: 4px !important;
  background: linear-gradient(90deg, #105b80, #25b8d8) !important;
  border-radius: 9px !important;
  transform: translateX(-50%) !important;
}

/* Keep the comprehensive-album action alongside the service-gallery categories. */
body.home-page .gallery-controls-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin: 0 0 34px;
}
body.home-page .gallery-controls-row .gallery-tabs {
  flex: 1 1 680px;
  min-width: min(100%, 320px);
  margin: 0;
}
.all-photos-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex: 0 1 290px;
  min-height: 50px;
  padding: 12px 18px;
  border: 1px solid #f3b968;
  border-radius: 999px;
  background: linear-gradient(135deg, #ffe8c4 0%, #ffd294 100%);
  color: #74430f !important;
  font-weight: 900;
  line-height: 1.5;
  text-align: center;
  text-decoration: none !important;
  box-shadow: 0 8px 22px rgba(181, 113, 35, .12);
  transition: transform .18s ease, box-shadow .18s ease, filter .18s ease;
}
.all-photos-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 26px rgba(181, 113, 35, .18);
  filter: saturate(1.04);
}
.all-photos-cta:focus-visible {
  outline: 3px solid #b87522;
  outline-offset: 3px;
}

/* Dedicated, responsive layout for the full collection of workshop photographs. */
.all-albums-page .all-albums-intro {
  max-width: 980px;
  margin: 0 auto 34px;
  padding: clamp(18px, 3vw, 28px);
  border: 1px solid #cfe3eb;
  border-radius: 20px;
  background: linear-gradient(145deg, #f7fcff, #edf8fc);
  box-shadow: 0 12px 28px rgba(21, 54, 77, .06);
  text-align: center;
}
.all-albums-page .all-albums-intro h2 {
  margin: 0 0 10px;
  color: #164b65;
  font-size: clamp(1.25rem, 2.3vw, 1.75rem);
}
.all-albums-page .all-albums-intro p {
  margin: 0;
  color: #456879;
  line-height: 1.9;
}
.all-albums-page .all-albums-authenticity {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-bottom: 12px;
  padding: 8px 15px;
  border: 1px solid #b8dfcf;
  border-radius: 999px;
  background: #effaf4;
  color: #176342;
  font-weight: 900;
}
.all-albums-page .all-albums-jump-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 9px;
  margin: 0 auto 34px;
}
.all-albums-page .all-albums-jump-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 8px 14px;
  border: 1px solid #d3e7ef;
  border-radius: 999px;
  background: #fff;
  color: #18536f;
  font-weight: 800;
  text-decoration: none;
}
.all-albums-page .all-albums-jump-links a:hover { background: #eff9fd; }
.all-albums-page .all-album-section { padding-block: clamp(42px, 5.2vw, 70px); }
.all-albums-page .all-album-section:nth-of-type(even) { background: rgba(255,255,255,.72); }
.all-albums-page .all-album-section .section-title { margin-bottom: 28px !important; }
.all-albums-page .all-album-panel { display: block !important; }
.all-albums-page .gallery-grid {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(10px, 1.5vw, 18px);
  align-items: stretch;
}
.all-albums-page .gallery-item {
  display: flex !important;
  flex-direction: column;
  min-width: 0;
  height: 100%;
  overflow: hidden;
  border: 1px solid rgba(23, 66, 85, .10);
  border-radius: 15px;
  background: #fff;
  box-shadow: 0 6px 18px rgba(17, 66, 89, .07);
}
.all-albums-page .gallery-item img {
  display: block;
  width: 100%;
  height: auto !important;
  min-height: 0 !important;
  aspect-ratio: 4 / 3;
  object-fit: contain;
  background: #f4f8fa;
}
.all-albums-page .gallery-caption {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 3.4em;
  padding: 10px 12px;
  color: #27495c;
  line-height: 1.6;
  text-align: center;
}
.all-albums-page .all-album-back-link {
  display: flex;
  width: fit-content;
  margin: 30px auto 0;
}
@media (max-width: 900px) {
  body.home-page .gallery-controls-row { flex-direction: column; }
  body.home-page .gallery-controls-row .gallery-tabs { flex-basis: auto; width: 100%; }
  .all-photos-cta { flex: 0 1 auto; width: min(100%, 360px); }
  .all-albums-page .gallery-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .all-albums-page .gallery-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; }
  .all-albums-page .gallery-caption { padding: 8px 6px; font-size: .78rem; }
  .all-albums-page .all-albums-intro { border-radius: 15px; }
}
@media (max-width: 380px) {
  .all-albums-page .gallery-grid { grid-template-columns: minmax(0, 1fr); }
}



/* ===== Version 53: complete comparison table without overlapping cells ===== */
body.service-detail-page .comparison-table {
  width: 100% !important;
  max-width: 100% !important;
  overflow-x: auto !important;
  overflow-y: hidden !important;
  -webkit-overflow-scrolling: touch;
}
body.service-detail-page .comparison-table table {
  width: 100% !important;
  min-width: 0 !important;
  table-layout: fixed !important;
  border-collapse: collapse !important;
}
body.service-detail-page .comparison-table th,
body.service-detail-page .comparison-table td {
  box-sizing: border-box;
  padding: 12px 10px !important;
  vertical-align: middle !important;
  white-space: normal !important;
  overflow-wrap: anywhere;
  word-break: normal;
  line-height: 1.8 !important;
}
body.service-detail-page .comparison-table th[scope="row"] {
  text-align: right;
  background: #eef7fa;
  font-weight: 800;
}
body.service-detail-page .comparison-table td {
  text-align: center;
}
@media (max-width: 520px) {
  body.service-detail-page .comparison-table th,
  body.service-detail-page .comparison-table td {
    padding: 9px 6px !important;
    font-size: .86rem !important;
    line-height: 1.7 !important;
  }
}


/* Version 54: requested homepage wording and service-name emphasis. */
body.home-page .hero .hero-trust-tagline{
  margin: 12px auto 18px;
  color: #fff;
  font-size: 1.12rem;
  font-weight: 800;
  line-height: 1.85;
}
body.home-page #servises .section-title .services-instruction{
  margin: 12px auto 0;
  color: var(--primary);
  font-size: 1.1rem;
  font-weight: 800;
  line-height: 1.85;
}
body.home-page #servises .service-card .service-content h3{
  font-size: 2.8rem !important;
  line-height: 1.24 !important;
  min-height: 2.35em;
}
body.home-page #servises .service-card .service-content h3 .service-title-link{
  font-size: inherit !important;
  line-height: inherit;
  overflow-wrap: anywhere;
}
@media (max-width: 640px){
  body.home-page #servises .service-card .service-content h3{
    font-size: 2rem !important;
    line-height: 1.25 !important;
    min-height: 2.35em;
  }
  body.home-page .hero .hero-trust-tagline,
  body.home-page #servises .section-title .services-instruction{
    font-size: 1rem;
  }
}


/* ===== Version 55: homepage hero, service cards and shared navigation ===== */
body.home-page .hero.home-hero {
  padding: clamp(116px, 11vw, 146px) 0 clamp(44px, 5vw, 68px) !important;
  min-height: 0 !important;
  border-radius: 0 0 32px 32px !important;
}
body.home-page .home-hero-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(300px, .96fr);
  align-items: center;
  gap: clamp(28px, 5vw, 68px);
  direction: rtl;
}
body.home-page .hero.home-hero .container {
  width: min(1240px, calc(100% - 44px)) !important;
  max-width: 1240px !important;
  text-align: initial !important;
}
body.home-page .hero.home-hero .hero-content {
  width: 100%;
  max-width: 650px !important;
  margin: 0 !important;
  text-align: right !important;
}
body.home-page .hero.home-hero .hero-brand-logo {
  width: clamp(82px, 9vw, 112px) !important;
  height: auto !important;
  margin: 0 0 12px !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}
body.home-page .hero-eyebrow {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 8px !important;
  color: #0c6d91 !important;
  font-size: .98rem !important;
  font-weight: 900 !important;
  letter-spacing: .01em;
}
body.home-page .hero.home-hero h1 {
  max-width: 680px;
  margin: 0 0 14px !important;
  color: #15364d !important;
  font-size: clamp(1.8rem, 3.35vw, 3.05rem) !important;
  font-weight: 900 !important;
  line-height: 1.35 !important;
  text-wrap: balance;
}
body.home-page .hero.home-hero .hero-content > p:not(.hero-trust-tagline) {
  max-width: 680px;
  margin: 0 0 14px !important;
  color: #38566a !important;
  font-size: clamp(1rem, 1.25vw, 1.13rem) !important;
  font-weight: 600;
  line-height: 2 !important;
}
body.home-page .hero.home-hero .hero-trust-tagline {
  display: inline-flex;
  align-items: center;
  max-width: 100%;
  margin: 3px 0 18px !important;
  padding: 8px 16px;
  color: #0b5775 !important;
  background: rgba(255,255,255,.66);
  border: 1px solid rgba(16,91,128,.16);
  border-radius: 999px;
  box-shadow: 0 6px 16px rgba(21,54,77,.05);
  font-size: clamp(.98rem, 1.25vw, 1.12rem) !important;
  line-height: 1.7 !important;
}
body.home-page .hero.home-hero .hero-buttons {
  display: flex !important;
  justify-content: flex-start !important;
  align-items: center;
  gap: 12px !important;
  margin: 0 !important;
}
body.home-page .hero.home-hero .hero-buttons .btn {
  min-height: 52px;
  padding: 13px 20px !important;
  border-radius: 14px !important;
  font-size: .98rem;
}
body.home-page .hero.home-hero .hero-cta-primary {
  color: #fff !important;
  background: linear-gradient(135deg, #169b60 0%, #0c8550 100%) !important;
  border: 1px solid rgba(10,115,70,.22) !important;
  box-shadow: 0 10px 22px rgba(12,133,80,.19) !important;
}
body.home-page .hero.home-hero .hero-cta-primary:hover,
body.home-page .hero.home-hero .hero-cta-primary:focus-visible {
  background: linear-gradient(135deg, #087849 0%, #096b45 100%) !important;
  box-shadow: 0 14px 26px rgba(12,133,80,.25) !important;
  transform: translateY(-2px);
}
body.home-page .hero.home-hero .hero-cta-secondary {
  color: #fff !important;
  background: linear-gradient(135deg, #105b80 0%, #167ca6 100%) !important;
  border: 1px solid rgba(16,91,128,.18) !important;
}
body.home-page .hero.home-hero .hero-contact-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: 15px;
  color: #28586d;
  font-size: .94rem;
  font-weight: 800;
  text-decoration: none;
  text-underline-offset: 4px;
}
body.home-page .hero.home-hero .hero-contact-link:hover { color: #087d9f; text-decoration: underline; }
body.home-page .hero-visual {
  position: relative;
  min-width: 0;
  margin: 0;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  border: 1px solid rgba(255,255,255,.82);
  border-radius: clamp(20px, 2.5vw, 30px);
  background: #dceff5;
  box-shadow: 0 24px 58px rgba(15,60,82,.20), 0 0 0 8px rgba(255,255,255,.28);
}
body.home-page .hero-visual::after {
  content: "";
  position: absolute;
  inset: 45% 0 0;
  background: linear-gradient(180deg, transparent 0%, rgba(8,34,49,.68) 100%);
  pointer-events: none;
}
body.home-page .hero-visual img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
body.home-page .hero-visual figcaption {
  position: absolute;
  z-index: 1;
  inset-inline: 20px;
  inset-block-end: 17px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: end;
  gap: 8px 14px;
  color: #fff;
  text-shadow: 0 1px 5px rgba(0,0,0,.26);
}
body.home-page .hero-visual figcaption span:first-child { font-weight: 900; font-size: 1.05rem; }
body.home-page .hero-visual figcaption span:last-child { font-size: .78rem; opacity: .9; }

/* Same service-card typography, image treatment and action proportions. */
body.home-page #servises .service-card .service-content h3 {
  min-height: 2.1em !important;
  margin-bottom: 8px !important;
  font-size: clamp(1.08rem, 1.45vw, 1.38rem) !important;
  line-height: 1.5 !important;
  font-weight: 900;
}
body.home-page #servises .service-card .service-content p {
  flex: 1 1 auto !important;
  min-height: 5.2em;
  margin: 0 0 15px !important;
  font-size: .94rem;
  line-height: 1.85 !important;
}
body.home-page #servises .service-card .service-content .btn-service {
  display: flex !important;
  width: 100%;
  min-height: 46px;
  padding: 11px 13px !important;
  border-radius: 11px !important;
  font-size: .9rem !important;
  line-height: 1.5 !important;
  text-align: center;
}
body.home-page #servises .service-card .service-illustration img {
  object-fit: contain !important;
  padding: 14px;
  background: #f4fbfe;
}
body.home-page #servises .service-card { transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease; }

/* Shared header sizing and mobile navigation states on all eleven HTML pages. */
:root { --rahma-header-height: 78px; }
header .header-container { min-height: var(--rahma-header-height) !important; }
#main-nav { flex-wrap: nowrap; }
#main-nav .nav-link { white-space: nowrap; }
.site-nav-backdrop { display: none; }
.mobile-menu-btn { cursor: pointer; touch-action: manipulation; }
.mobile-menu-btn:active { transform: scale(.96); }
@media (max-width: 1100px) and (min-width: 769px) {
  .header-container, .container.header-container { width: calc(100% - 28px) !important; gap: 8px !important; }
  .header-brand { flex-basis: 320px !important; max-width: 320px !important; gap: 8px !important; }
  .header-brand-mark { width: 44px !important; height: 44px !important; flex-basis: 44px !important; }
  #main-nav { gap: 1px !important; }
  #main-nav .nav-link { padding-inline: 7px !important; font-size: .86rem !important; }
}
@media (max-width: 768px) {
  :root { --rahma-header-height: 72px; }
  body.home-page .hero.home-hero { padding: 112px 0 42px !important; }
  body.home-page .home-hero-layout { grid-template-columns: minmax(0,1fr); gap: 24px; }
  body.home-page .hero.home-hero .container { width: calc(100% - 32px) !important; }
  body.home-page .hero.home-hero .hero-content { max-width: 100% !important; text-align: center !important; }
  body.home-page .hero.home-hero .hero-brand-logo { width: 82px !important; margin: 0 auto 9px !important; }
  body.home-page .hero.home-hero .hero-eyebrow { justify-content: center; }
  body.home-page .hero.home-hero h1 { max-width: 720px; margin-inline: auto !important; font-size: clamp(1.7rem, 5.6vw, 2.45rem) !important; }
  body.home-page .hero.home-hero .hero-content > p:not(.hero-trust-tagline) { margin-inline: auto !important; font-size: 1rem !important; }
  body.home-page .hero.home-hero .hero-trust-tagline { margin-inline: auto !important; }
  body.home-page .hero.home-hero .hero-buttons { justify-content: center !important; flex-wrap: wrap; }
  body.home-page .hero.home-hero .hero-contact-link { justify-content: center; }
  body.home-page .hero-visual { width: min(100%, 620px); margin-inline: auto; aspect-ratio: 16 / 10; }
  #main-nav, header nav {
    top: var(--rahma-header-height) !important;
    right: max(12px, env(safe-area-inset-right)) !important;
    left: auto !important;
    width: min(380px, calc(100vw - 24px)) !important;
    height: auto !important;
    max-height: calc(100dvh - var(--rahma-header-height) - 16px) !important;
    padding: 15px !important;
    border-radius: 0 0 18px 18px !important;
    transform: translateX(112%);
    transition: transform .24s ease, visibility .24s ease !important;
    visibility: hidden;
    pointer-events: none;
    overflow-y: auto;
    overscroll-behavior: contain;
    z-index: 1200 !important;
  }
  #main-nav.active, header nav.active {
    right: max(12px, env(safe-area-inset-right)) !important;
    transform: translateX(0);
    visibility: visible;
    pointer-events: auto;
  }
  .site-nav-backdrop.is-visible {
    display: block;
    position: fixed;
    z-index: 1090;
    inset: var(--rahma-header-height) 0 0;
    width: 100%;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: rgba(12, 36, 50, .34);
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
  }
  body.home-page #servises .service-card .service-content p { min-height: 5.7em; }
}
@media (max-width: 520px) {
  body.home-page .hero.home-hero { padding-top: 106px !important; }
  body.home-page .hero.home-hero .hero-buttons .btn { flex: 1 1 100%; width: 100%; max-width: 360px; }
  body.home-page .hero-visual { aspect-ratio: 4 / 3; border-radius: 20px; }
  body.home-page #servises .services-container,
  body.home-page #servises .service-cards { grid-template-columns: minmax(0,1fr) !important; }
  body.home-page #servises .service-card .service-content h3 { font-size: 1.2rem !important; }
  body.home-page #servises .service-card .service-content p { min-height: 0; }
}
@media (prefers-reduced-motion: reduce) {
  body.home-page .hero-visual,
  body.home-page #servises .service-card,
  #main-nav, .site-nav-backdrop { transition: none !important; }
}


/* Version 55 refinement: prevent the services wrapper from becoming a nested grid. */
body.home-page #servises .services-container {
  display: block !important;
  width: 100%;
  max-width: 1200px;
  margin-inline: auto;
}
body.home-page #servises .service-cards {
  display: grid !important;
  width: 100%;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  margin-top: 26px !important;
}
body.home-page .hero.home-hero .hero-content > p:not(.hero-trust-tagline):not(.hero-eyebrow) {
  margin-inline: 0 !important;
}
body.home-page .hero.home-hero .hero-eyebrow {
  margin: 0 0 8px !important;
  color: #0c6d91 !important;
  font-size: .98rem !important;
  line-height: 1.5 !important;
  font-weight: 900 !important;
}
@media (max-width: 1024px) {
  body.home-page #servises .service-cards { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
}
@media (max-width: 520px) {
  body.home-page #servises .service-cards { grid-template-columns: minmax(0, 1fr) !important; }
}

/* Material / configuration options stay grouped by the service's actual use. */
body.service-detail-page .types-section .type-card {
  position: relative;
  padding-top: 28px !important;
  border: 1px solid #d3eaf3 !important;
  border-radius: 17px !important;
  box-shadow: 0 10px 24px rgba(21,54,77,.055) !important;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
body.service-detail-page .types-section .type-card::before {
  content: "";
  position: absolute;
  inset: 0 18px auto;
  height: 3px;
  border-radius: 0 0 5px 5px;
  background: linear-gradient(90deg, #25b8d8, #105b80);
}
body.service-detail-page .types-section .type-icon {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  margin: 0 auto 13px !important;
  border-radius: 16px;
  background: #e5f8ff;
  color: #105b80 !important;
  font-size: 1.55rem !important;
}
body.service-detail-page .types-section .type-card h3 {
  margin-bottom: 8px !important;
  color: #105b80 !important;
  font-size: clamp(1rem, 1.25vw, 1.15rem) !important;
}
body.service-detail-page .types-section .type-card p {
  color: #587385 !important;
  font-size: .94rem;
}
body.service-detail-page .types-section .type-card:hover {
  transform: translateY(-3px) !important;
  border-color: #8addf0 !important;
  box-shadow: 0 16px 32px rgba(16,91,128,.11) !important;
}
@media (prefers-reduced-motion: reduce) {
  body.service-detail-page .types-section .type-card { transition: none !important; }
  body.service-detail-page .types-section .type-card:hover { transform: none !important; }
}


/* ===== Group 2: unified gallery, filters, trust, process and FAQ ===== */
.service-image-lightbox.rahma-unified-lightbox[hidden] { display:none !important; }
.service-image-lightbox.rahma-unified-lightbox { isolation:isolate; }
.service-image-lightbox.rahma-unified-lightbox .service-lightbox-stage { touch-action:none; }
.service-image-lightbox.rahma-unified-lightbox .service-lightbox-caption { direction:rtl; }
.service-image-lightbox.rahma-unified-lightbox .service-lightbox-counter { direction:ltr; min-width:76px; text-align:center; }
.service-image-lightbox.rahma-unified-lightbox .service-lightbox-nav:disabled,
.service-image-lightbox.rahma-unified-lightbox .service-lightbox-zoom-btn:disabled { opacity:.42; cursor:not-allowed; }
.gallery-full-link-wrap { display:flex; justify-content:center; margin:30px auto 0; }
.gallery-full-link-wrap .all-photos-cta { display:inline-flex; align-items:center; justify-content:center; min-height:52px; padding:13px 24px; border-radius:14px; background:linear-gradient(135deg,#f3a13b,#e68a22); color:#142f3b; font-weight:800; text-decoration:none; box-shadow:0 8px 22px rgba(184,105,26,.16); transition:transform .2s ease,box-shadow .2s ease,filter .2s ease; }
.gallery-full-link-wrap .all-photos-cta:hover { transform:translateY(-2px); box-shadow:0 12px 26px rgba(184,105,26,.22); filter:saturate(1.05); }
.gallery-full-link-wrap .all-photos-cta:focus-visible { outline:3px solid rgba(7,86,107,.45); outline-offset:3px; }
.all-gallery-filters { display:flex; flex-wrap:wrap; justify-content:center; gap:9px; margin:24px 0 34px; direction:rtl; }
.all-gallery-filter { appearance:none; border:1px solid #d7e4e8; border-radius:999px; background:#fff; color:#234b59; padding:10px 17px; min-height:42px; font:inherit; font-size:.94rem; font-weight:700; cursor:pointer; transition:background-color .18s ease,color .18s ease,border-color .18s ease,transform .18s ease; }
.all-gallery-filter:hover { border-color:#0d718a; transform:translateY(-1px); }
.all-gallery-filter.active { border-color:#0b647b; background:#0b647b; color:#fff; box-shadow:0 5px 14px rgba(11,100,123,.15); }
.all-gallery-filter:focus-visible { outline:3px solid rgba(14,132,159,.34); outline-offset:3px; }
.all-album-section[hidden],.all-albums-jump-links a[hidden] { display:none !important; }
.rahma-benefits-section { background:linear-gradient(180deg,rgba(255,255,255,.78),rgba(238,246,247,.72)); }
.rahma-benefits-grid { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:16px; align-items:stretch; }
.rahma-benefit-card { display:flex; flex-direction:column; align-items:flex-start; min-width:0; min-height:210px; padding:22px 20px; border:1px solid rgba(20,77,89,.12); border-radius:18px; background:#fff; box-shadow:0 9px 24px rgba(22,61,70,.055); }
.rahma-benefit-icon { display:grid; place-items:center; width:46px; height:46px; margin-bottom:13px; border-radius:14px; background:rgba(13,106,128,.09); color:#0d6a80; font-size:1.18rem; }
.rahma-benefit-card h3 { margin:0 0 8px; color:#164c5b; font-size:1.08rem; font-weight:800; line-height:1.55; }
.rahma-benefit-card p { margin:0; color:#526e7e; font-size:.96rem; line-height:1.85; }
.rahma-process-grid-five { grid-template-columns:repeat(5,minmax(0,1fr)); }
.rahma-process-grid-five .rahma-process-card { min-width:0; }
body .faq-container .faq-question { min-height:82px !important; padding:19px 26px !important; outline-offset:-4px !important; }
body .faq-container .faq-question:focus-visible { outline:3px solid rgba(7,86,107,.35) !important; }
@media(max-width:1050px){.rahma-benefits-grid{grid-template-columns:repeat(2,minmax(0,1fr));}.rahma-process-grid-five{grid-template-columns:repeat(3,minmax(0,1fr));}}
@media(max-width:700px){
 .all-gallery-filters{justify-content:flex-start;flex-wrap:nowrap;overflow-x:auto;padding:2px 2px 10px;margin:18px -3px 25px;scroll-snap-type:x proximity;-webkit-overflow-scrolling:touch;}
 .all-gallery-filter{flex:0 0 auto;scroll-snap-align:start;padding:9px 14px;min-height:40px;font-size:.88rem;}
 .gallery-full-link-wrap{margin-top:22px;}.gallery-full-link-wrap .all-photos-cta{width:100%;text-align:center;}
 .rahma-benefits-grid{grid-template-columns:1fr;gap:12px;}.rahma-benefit-card{min-height:0;padding:18px;}
 .rahma-process-grid-five{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;}
 body .faq-container .faq-question{min-height:68px !important;padding:15px 16px !important;font-size:1.02rem !important;}
 body .faq-container .faq-item{border-radius:17px !important;}
}
@media(max-width:420px){.rahma-process-grid-five{grid-template-columns:1fr;}}
@media(prefers-reduced-motion:reduce){.all-gallery-filter,.gallery-full-link-wrap .all-photos-cta{transition:none !important;}}


/* ===== Group 3: contact, form, responsive spacing and interaction system ===== */
:root {
  --rahma-text: #15364d;
  --rahma-muted: #536c7b;
  --rahma-brand: #167ca6;
  --rahma-brand-deep: #105b80;
  --rahma-accent: #25b8d8;
  --rahma-whatsapp: #159b61;
  --rahma-facebook: #1877f2;
  --rahma-instagram: #d94683;
  --rahma-tiktok: #20232a;
  --rahma-linkedin: #0a66c2;
  --rahma-border: #d3eaf3;
  --rahma-card-radius: 16px;
  --rahma-control-height: 46px;
  --rahma-motion: 180ms ease;
}

html { scroll-padding-top: 96px; }
body, body :is(h1,h2,h3,h4,p,a,button,input,select,textarea,label,small,strong,span,li) {
  font-family: 'Tajawal', Arial, sans-serif;
}
body { color: var(--rahma-text); }
main > .section { padding-block: clamp(46px, 5.4vw, 76px); }
:is(button, input, select, textarea, .btn, .btn-contact, .rf-contact-card, .rf-quick-links a):focus-visible {
  outline: 3px solid #129bc5;
  outline-offset: 3px;
}
:is(.btn, .btn-contact, .rf-contact-card, .rahma-process-card, .contact-card, .rf-quick-links a) {
  transition: transform var(--rahma-motion), box-shadow var(--rahma-motion), background-color var(--rahma-motion), border-color var(--rahma-motion), color var(--rahma-motion);
}

/* Contact cards: all contact methods remain visible and retain their original destinations. */
body.home-page .contact-section .contact-cards {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: stretch;
  gap: 13px;
}
body.home-page .contact-section .contact-card {
  min-height: 104px;
  border-color: var(--rahma-border);
  border-radius: var(--rahma-card-radius);
  box-shadow: 0 6px 20px rgba(18, 87, 121, .07);
}
body.home-page .contact-section .contact-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 25px rgba(18, 87, 121, .11);
}
body.home-page .contact-section .contact-icon { background: var(--rahma-sky); color: var(--rahma-brand); }
body.home-page .contact-section .manager-contact-card,
body.home-page .contact-section .hours-contact-card {
  grid-template-columns: 46px minmax(0, 1fr);
  grid-template-areas: "icon title" "icon desc";
}
body.home-page .contact-section .location-contact-card {
  grid-template-columns: 46px minmax(0, 1fr) minmax(110px, auto);
  grid-template-areas: "icon title action" "icon desc action";
}
body.home-page .contact-section .location-contact-card .btn-contact {
  max-width: 170px;
  min-height: 42px;
}
body.home-page .contact-section .manager-contact-card p { font-weight: 800; color: var(--rahma-brand-deep); }

/* Footer cards: unified, compact rectangles with recognizable platform colors. */
.rahma-footer-v2 .rf-social-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}
.rahma-footer-v2 .rf-contact-card {
  min-width: 0;
  min-height: 68px;
  padding: 10px 12px;
  border-radius: 13px;
}
.rahma-footer-v2 .rf-contact-card:hover { transform: translateY(-2px); }
.rahma-footer-v2 .rf-icon-whatsapp { color: #25d366; }
.rahma-footer-v2 .rf-icon-facebook { color: var(--rahma-facebook); }
.rahma-footer-v2 .rf-icon-instagram { color: var(--rahma-instagram); }
.rahma-footer-v2 .rf-icon-tiktok { color: #fff; }
.rahma-footer-v2 .rf-icon-linkedin { color: #70b7ff; }
.rahma-footer-v2 .rf-contact-card:focus-visible { outline-color: #9deafa; }

/* Keep the map pin, short link and existing address unchanged; size the map fluidly. */
body.home-page #workshop-address .map-container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  border: 1px solid var(--rahma-border);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--rahma-shadow);
  background: #eaf6fa;
}
body.home-page #workshop-address .workshop-map-frame {
  display: block;
  width: 100%;
  height: clamp(290px, 42vw, 470px);
  border: 0;
}
body.home-page #workshop-address .contact-address-panel {
  max-width: 1120px;
  margin-inline: auto;
  padding: clamp(18px, 3vw, 28px);
  border: 1px solid var(--rahma-border);
  border-radius: 16px;
  background: var(--rahma-surface);
}

/* Quote form: clear labels, large targets, and unobtrusive attachment controls. */
.whatsapp-quote-card {
  border: 1px solid var(--rahma-border);
  border-radius: 22px;
  box-shadow: var(--rahma-shadow);
}
.whatsapp-quote-card .quote-field :is(input,select,textarea),
.whatsapp-quote-card .quote-preview textarea {
  min-height: var(--rahma-control-height);
  border: 1px solid #bcdbe7;
  border-radius: 11px;
  background: #fff;
  color: var(--rahma-text);
}
.whatsapp-quote-card .quote-field :is(input,select,textarea):focus,
.whatsapp-quote-card .quote-preview textarea:focus {
  border-color: var(--rahma-brand);
  box-shadow: 0 0 0 3px rgba(22,124,166,.12);
}
.quote-file-list li {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  max-width: 100%;
}
.quote-file-list li span { min-width: 0; overflow-wrap: anywhere; }
.quote-file-remove {
  flex: 0 0 auto;
  min-height: 34px;
  padding: 5px 10px;
  border: 1px solid #efc4c4;
  border-radius: 8px;
  background: #fff6f6;
  color: #9c3333;
  font-weight: 800;
  cursor: pointer;
}
.quote-file-remove:hover { background: #ffeaea; }
.quote-status { min-height: 1.7em; }

/* Compact fixed contact actions on the right; independent return-to-top on the left. */
.rahma-floating-contact {
  right: max(16px, env(safe-area-inset-right));
  bottom: max(16px, env(safe-area-inset-bottom));
  z-index: 8900;
  gap: 8px;
}
.rahma-floating-action {
  min-height: 46px;
  padding: 10px 14px;
  border: 1px solid rgba(255,255,255,.24);
}
.rahma-floating-whatsapp { background: var(--rahma-whatsapp); }
.rahma-floating-phone { background: var(--rahma-brand-deep); }
.rahma-back-to-top {
  position: fixed;
  left: max(16px, env(safe-area-inset-left));
  bottom: max(16px, env(safe-area-inset-bottom));
  z-index: 8890;
  display: inline-grid;
  place-items: center;
  width: 48px;
  height: 48px;
  padding: 0;
  border: 1px solid rgba(255,255,255,.25);
  border-radius: 50%;
  background: #145b78;
  color: #fff;
  box-shadow: 0 8px 24px rgba(12,40,55,.22);
  cursor: pointer;
  opacity: 1;
  transform: translateY(0);
  transition: opacity var(--rahma-motion), transform var(--rahma-motion), background-color var(--rahma-motion);
}
.rahma-back-to-top[hidden] { display: none !important; }
.rahma-back-to-top svg { width: 22px; height: 22px; }
.rahma-back-to-top:hover { background: var(--rahma-brand); transform: translateY(-2px); }
body.rahma-lightbox-active .rahma-floating-contact,
body.rahma-lightbox-active .rahma-back-to-top { visibility: hidden; opacity: 0; pointer-events: none; }

/* Screen-size refinements for narrow phones, tablets and intermediate widths. */
@media (max-width: 1100px) {
  body.home-page .contact-section .contact-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .rahma-footer-v2 .rf-social-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  main > .section { padding-block: 48px; }
  body.home-page .contact-section .contact-cards { grid-template-columns: minmax(0, 1fr); }
  body.home-page .contact-section .contact-card,
  body.home-page .contact-section .location-contact-card {
    grid-template-columns: 42px minmax(0, 1fr) minmax(92px, auto);
    grid-template-areas: "icon title action" "icon desc action";
  }
  body.home-page .contact-section .manager-contact-card,
  body.home-page .contact-section .hours-contact-card {
    grid-template-columns: 42px minmax(0, 1fr);
    grid-template-areas: "icon title" "icon desc";
  }
  .rahma-footer-v2 .rf-social-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  body { padding-bottom: 112px !important; }
  .rahma-floating-contact {
    right: max(12px, env(safe-area-inset-right));
    left: auto;
    bottom: max(12px, env(safe-area-inset-bottom));
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    width: auto;
  }
  .rahma-floating-action { width: 48px; height: 48px; min-height: 48px; padding: 0; border-radius: 50%; gap: 0; }
  .rahma-floating-action span { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
  .rahma-floating-action svg { width: 23px; height: 23px; }
  .rahma-back-to-top { left: max(12px, env(safe-area-inset-left)); bottom: max(12px, env(safe-area-inset-bottom)); width: 46px; height: 46px; }
}
@media (max-width: 440px) {
  body.home-page .contact-section .contact-card,
  body.home-page .contact-section .location-contact-card {
    grid-template-columns: 38px minmax(0, 1fr);
    grid-template-areas: "icon title" "icon desc" "action action";
  }
  body.home-page .contact-section .contact-card .btn-contact,
  body.home-page .contact-section .location-contact-card .btn-contact {
    grid-area: action;
    width: 100%;
    max-width: none;
    min-height: 42px;
    margin-top: 7px;
  }
  body.home-page .contact-section .manager-contact-card,
  body.home-page .contact-section .hours-contact-card {
    grid-template-columns: 38px minmax(0, 1fr);
    grid-template-areas: "icon title" "icon desc";
  }
  .rahma-footer-v2 .rf-social-grid { gap: 8px; }
  .rahma-footer-v2 .rf-contact-card { min-height: 66px; padding: 9px; }
  body { padding-bottom: 116px !important; }
}
@media (max-width: 360px) {
  .rahma-footer-v2 .rf-social-grid { grid-template-columns: 1fr; }
  .rahma-floating-contact { gap: 7px; }
  .rahma-floating-action { width: 44px; height: 44px; min-height: 44px; }
  .rahma-back-to-top { width: 44px; height: 44px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto !important; }
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .rahma-floating-action:hover, .rahma-back-to-top:hover, .contact-card:hover, .rf-contact-card:hover { transform: none !important; }
}
