* { margin:0; padding:0; box-sizing:border-box }

:root{
  --primary-color:#e55a2a;
  --accent-color:#ff8149;
  --text-color:#0b1220;
  --muted:#475467;
  --light:#ffffff;
  --bg:#ffffff;

  --glass-bg: rgba(255,255,255,.70);
  --glass-brd: rgba(255,255,255,.35);

  --radius-s:12px;
  --radius-m:18px;
  --radius-l:22px;

  --shadow-s:0 6px 16px rgba(0,0,0,.08);
  --shadow-m:0 12px 32px rgba(0,0,0,.12);

  --t-fast:.25s ease;
  --t-med:.35s cubic-bezier(.2,.8,.2,1);

  font-family:'Poppins',system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif;
}

html{ scroll-behavior:smooth }
body{
  background:var(--bg);
  color:var(--text-color);
  line-height:1.6;
  font-size:16px;
  overflow-x:hidden;
}
a{ color:inherit; text-decoration:none }
.container{ width:90%; max-width:1200px; margin:0 auto }

.header-content {
  position: relative;
  background: url("assets/images/blog/blog_background.webp") no-repeat center center;
  background-size: cover;
  color: #fff;
  overflow: hidden;
}

.header-content::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  z-index: 0;
}

.header-content > * {
  position: relative;
  z-index: 1;
}

.header-content,
.header-content h1,.header-content h2,.header-content h3,
.header-content p,.header-content li,.header-content a{color:#fff}

.top-bar{
  background-color: transparent;
  font-size:.875rem;
  padding:.5rem 0;
}

.top-container{
  display:flex;
  align-items:center;
  justify-content:space-between;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.top-bar .call-info a{color:var(--accent-color)}

.social-icons a img {
  width: 20px;
  height: 20px;
  display: inline-block;
  filter: brightness(0) saturate(100%) invert(56%) sepia(81%) saturate(459%) hue-rotate(356deg) brightness(95%) contrast(95%);
  transition: filter var(--t-fast), transform var(--t-fast);
}

.social-icons a:hover img {
  filter: brightness(0) saturate(100%) invert(100%) sepia(0%) saturate(0%) hue-rotate(315deg) brightness(103%) contrast(103%);
  transform: scale(1.1);
}

.quote-btn{
  background:var(--primary-color);
  color:#fff;
  padding:.85rem 1.8rem;
  border-radius:12px;
  font-weight:700;
  font-size:.95rem;
  white-space:nowrap;
  transition:filter var(--t-fast),transform var(--t-fast);
}

.quote-btn:hover{filter:brightness(1.05);transform:translateY(-1px)}

.nav-bar{
  margin:12px 4rem 0;
  padding:.75rem 1rem;
  background:rgba(255,255,255,.08);
  border:1px solid rgba(255,255,255,.22);
  border-radius:16px;
  backdrop-filter:blur(18px) saturate(160%);
  -webkit-backdrop-filter:blur(18px) saturate(160%);
  box-shadow:0 8px 24px rgba(0,0,0,.12);
  position: relative;
  z-index: 10;
}

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 10000;
  transition: transform 0.3s ease;
}

.menu-toggle span {
  width: 25px;
  height: 3px;
  background: #fff;
  border-radius: 3px;
  transition: all 0.3s ease;
  transform-origin: center;
}

.menu-toggle.active span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.menu-toggle.active span:nth-child(2) {
  opacity: 0;
  transform: translateX(-20px);
}

.menu-toggle.active span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

.nav-container{display:flex;align-items:center;justify-content:center}

nav .menu{
  list-style:none;
  display:flex;
  gap:1.4rem;
  flex-wrap:wrap;
  justify-content:center;
}

.menu li a{
  color:#fff;
  font-weight:500;
  letter-spacing:.2px;
  position:relative;
  transition:color var(--t-fast);
}

.menu li a::after{
  content:"";
  position:absolute;
  left:0;
  right:0;
  bottom:-6px;
  height:2px;
  background:linear-gradient(90deg,var(--primary-color),var(--accent-color));
  transform:scaleX(0);
  transform-origin:left;
  transition:transform var(--t-med);
}

.menu li a:hover{color:#fff}
.menu li a:hover::after{transform:scaleX(1)}

.hero.hero--split{
  position: relative;
  color: #fff;
  padding: clamp(3rem, 6vw, 6rem) 0;
  background: transparent; 
  overflow: hidden;
}

.hero-split{
  display: grid;
  grid-template-columns: 1fr;
  align-items: center;
  justify-items: center;
  gap: clamp(2rem, 4vw, 3rem);
  position: relative;
  text-align: center;
}

.hero-copy{ 
  position:relative; 
  z-index:2;
}

.hero-title{
  color:#fff;
  font-size:clamp(2rem,4.2vw,3.2rem);
  font-weight:900;
  line-height:1.14;
  letter-spacing:.2px;
  margin-top:.5rem;
  text-wrap:balance;
  text-shadow:0 6px 22px rgba(0,0,0,.38), 0 2px 8px rgba(0,0,0,.28);
  position:relative;
}

.hero-title::after{
  content:"";
  position:absolute;
  left:50%;
  transform:translateX(-50%);
  bottom:-12px;
  width:min(240px,48%);
  height:4px;
  border-radius:4px;
  background:linear-gradient(90deg,var(--primary-color),var(--accent-color));
  box-shadow:0 8px 20px rgba(229,90,42,.30);
}

.hero-desc{
  font-size:1.02rem;
  line-height:1.75;
  margin:1rem auto 1.8rem;
  max-width:90ch;
  color:rgba(255,255,255,.92);
  text-align:center;
  letter-spacing:.14px;
}

.blog-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(20px, 2.8vw, 36px);
  align-items: stretch;
}

.blog-card {
  display: flex;
  flex-direction: row;
  min-height: 180px;
  background: var(--glass-bg);
  border: 1px solid var(--glass-brd);
  border-radius: var(--radius-m);
  box-shadow: var(--shadow-s);
  backdrop-filter: blur(8px) saturate(150%);
  overflow: hidden;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.blog-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-m);
  border-color: rgba(2,6,23,.14);
}

.blog-card:focus-within {
  outline: none;
  border-color: #6366f1;
  box-shadow: 0 0 0 3px rgba(99,102,241,.18);
}

.blog-image {
  width: 280px;
  min-width: 280px;
  height: auto;
  object-fit: contain;
  object-position: center;
  background: #f8f9fa;
  display: block;
  padding: 16px;
}

.blog-body {
  padding: clamp(20px, 2.5vw, 28px);
  display: flex;
  flex-direction: column;
  flex: 1;
  justify-content: space-between;
}

.blog-meta {
  display: flex;
  gap: 12px;
  margin-bottom: 10px;
  font-size: .9rem;
  color: var(--muted);
}

.blog-date, .blog-author {
  display: flex;
  align-items: center;
  gap: 4px;
}

.blog-title {
  font-size: clamp(1.2rem, 1.05rem + .4vw, 1.4rem);
  font-weight: 800;
  line-height: 1.3;
  margin-bottom: 10px;
  color: var(--text-color);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.blog-excerpt {
  font-size: .98rem;
  line-height: 1.65;
  color: var(--muted);
  margin-bottom: 16px;
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.blog-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--primary-color);
  font-weight: 600;
  font-size: .95rem;
  transition: gap .2s ease, color .2s ease;
  align-self: flex-start;
}

.blog-link:hover {
  color: var(--accent-color);
  gap: 10px;
}

.blog-link::after {
  content: "→";
  font-size: 1.1rem;
}

footer {
  background: linear-gradient(135deg, rgba(229,90,42,.97), rgba(255,129,73,.92));
  color: #0f1724;
  padding: 3.25rem 0;
  font-size: .95rem;
  position: relative;
  overflow: hidden;
  border-top: 3px solid rgba(255,255,255,.38);
}

footer::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.28);
}

footer::after {
  content: "";
  position: absolute;
  right: -70px;
  bottom: -70px;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  background: radial-gradient(circle at 40% 40%, rgba(255,255,255,.42), rgba(255,255,255,0) 60%);
  filter: blur(8px);
  pointer-events: none;
  mix-blend-mode: screen;
}

.footer-container {
  max-width: 1250px;
  margin: 0 auto;
  padding: 0 0.5rem;
  position: relative;
  z-index: 1;
}

.footer-title {
  font-size: 1.7rem;
  font-weight: 800;
  margin-bottom: 1.75rem;
  color: #071d31;
  text-align: left;
  letter-spacing: .6px;
  line-height: 1.2;
}

.footer-content-wrapper {
  display: flex;
  flex-wrap: nowrap;
  gap: 1.5rem;
  justify-content: space-between;
  text-align: left;
}

.footer-col { flex: 1 1 0; min-width: 0; }
.footer-company { flex: 1.5 1 0; }

.footer-col p {
  margin: 0;
  line-height: 1.8;
  opacity: .95;
  color: #173046;
  text-align: justify;
  text-justify: inter-word;
  letter-spacing: 0.2px;
}

.footer-col h4 {
  margin-bottom: .75rem;
  color: #071d31;
  font-size: 1.06rem;
  font-weight: 800;
  letter-spacing: .4px;
  text-transform: uppercase;
}

.footer-links ul,
.footer-services ul {
  list-style: none;
  margin-top: .35rem;
  padding: 0;
}

.footer-links li,
.footer-services li {
  margin-bottom: .45rem;
}

.footer-links a,
.footer-services a {
  color: #173046;
  text-decoration: none;
  position: relative;
  transition: color .2s ease;
  background-image: linear-gradient(currentColor, currentColor);
  background-repeat: no-repeat;
  background-size: 0% 2px;
  background-position: 0 100%;
}

.footer-links a:hover,
.footer-services a:hover,
.footer-links a:focus-visible,
.footer-services a:focus-visible {
  color: #071d31;
  background-size: 100% 2px;
  outline: none;
}

.footer-note {
  margin-top: 2.25rem;
  padding-top: 1rem;
  text-align: center;
  font-size: .86rem;
  color: #05233a;
  border-top: 1px solid rgba(255,255,255,.35);
  letter-spacing: .2px;
  opacity: .9;
}

.footer-col a:focus-visible {
  outline: 3px solid rgba(7,29,49,.35);
  outline-offset: 2px;
  border-radius: 4px;
}

#whatsappBtn{
  position:fixed;
  bottom:70px;
  right:20px;
  background:var(--accent-color);
  border:none;
  padding:10px;
  border-radius:8px;
  cursor:pointer;
  box-shadow:0 2px 6px rgba(0,0,0,.15);
  transition: transform .3s ease, background .3s ease;
  z-index:999;
}

#whatsappBtn img{ 
  width:28px; 
  height:28px; 
  display:block; 
  filter:brightness(0) invert(1);
}

#whatsappBtn:hover{ 
  background:#25D366; 
  transform:translateY(-3px);
}

#scrollToTopBtn{
  position:fixed;
  bottom:20px;
  right:20px;
  background:var(--accent-color);
  color:#fff;
  border:none;
  padding:10px;
  width:48px;
  height:48px;
  border-radius:8px;
  font-size:1.2rem;
  display:flex;
  align-items:center;
  justify-content:center;
  cursor:pointer;
  box-shadow:0 2px 6px rgba(0,0,0,.15);
  transition: opacity .3s ease, transform .3s ease, background .3s ease;
  opacity:0;
  visibility:hidden;
  z-index:999;
}

#scrollToTopBtn.show{ 
  opacity:1; 
  visibility:visible;
}

#scrollToTopBtn:hover{ 
  transform:translateY(-3px); 
  background:var(--primary-color);
}

.section-block{
  margin: 12px 4rem 0;
  padding: clamp(32px,6vw,72px) 0;
}

.section-title{ 
  font-size: 2rem; 
  font-weight: 800; 
  margin-bottom: 1.5rem;
}

@media (max-width: 768px) {
  .section-block {
    margin: 12px 1rem 0;
  }
  
  .section-title {
    font-size: 1.5rem;
  }

  .blog-card {
    flex-direction: column;
    min-height: auto;
  }

  .blog-image {
    width: 100%;
    min-width: 100%;
    height: 200px;
    padding: 12px;
  }

  .blog-body {
    padding: 18px;
  }

  .top-container {
    justify-content: center;
    gap: 1rem;
  }
  
  .header-content {
    overflow: visible;
  }
  
  .hero.hero--split {
    overflow: visible;
  }
  
  .call-info {
    order: 1;
    flex: 1 1 100%;
    text-align: center;
  }
  
  .social-icons {
    order: 2;
  }
  
  .quote-btn {
    order: 3;
    padding: 0.4rem 0.8rem;
    font-size: 0.85rem;
  }

  .nav-bar {
    position: relative;
    margin: 10px 1rem 0;
    padding: 0.6rem 0.8rem;
    z-index: 2147483648 !important;
  }

  .menu-toggle { 
    display: flex; 
    margin-left: auto; 
    align-self: flex-end; 
  }
  
  .nav-container { 
    flex-direction: row; 
    align-items: center; 
    justify-content: flex-end; 
    width: 100%; 
  }
  
  nav { 
    width: auto; 
    position: static; 
  }

  nav .menu {
    box-sizing: border-box;
    position: fixed;
    top: 72px;
    left: 8px;
    right: 8px;
    margin-top: 0;
    display: flex;
    flex-direction: column;
    gap: 0;
    padding: 6px 0;
    border-radius: 22px;
    border: 1px solid rgba(255,255,255,.38);
    background:
      linear-gradient(135deg,
        rgba(58,183,149,.28) 0%,
        rgba(242,201,76,.30) 55%,
        rgba(168,224,235,.28) 100%),
      rgba(17,25,40,.60);
    -webkit-backdrop-filter: blur(16px) saturate(160%);
    backdrop-filter: blur(16px) saturate(160%);
    box-shadow:
      inset 0 1px 0 rgba(255,255,255,.35),
      0 6px 20px rgba(0,0,0,.18);
    max-height: 0;
    opacity: 0;
    transform: translateY(-8px);
    transition: max-height .4s ease, opacity .28s ease, transform .28s ease;
    overflow: hidden;
    overflow-x: hidden;
    pointer-events: none;
    visibility: hidden;
    max-width: calc(100vw - 16px);
    z-index: 2147483647 !important;
  }

  nav .menu.active {
    max-height: 70vh;
    opacity: 1;
    transform: translateY(0);
    overflow-y: auto;
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
    touch-action: pan-y;
    pointer-events: auto;
    visibility: visible;
    -webkit-backdrop-filter: none !important;
    backdrop-filter: none !important;
    background:
      linear-gradient(135deg,
        rgba(58,183,149,.42) 0%,
        rgba(242,201,76,.46) 55%,
        rgba(168,224,235,.42) 100%),
      rgba(17,25,40,.82);
  }
 
  nav .menu::before {
    content: "";
    position: absolute; 
    inset: 0;
    border-radius: inherit; 
    pointer-events: none;
    background:
      radial-gradient(120% 60% at 0% 0%, rgba(255,255,255,.22) 0%, rgba(255,255,255,0) 60%),
      linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,0));
    mix-blend-mode: screen;
  }

  nav .menu.is-dragging { 
    cursor: grabbing; 
    user-select: none; 
  }

  nav .menu li { 
    width: 100%; 
    border-bottom: 1px solid rgba(255,255,255,.18); 
  }
  
  nav .menu li:last-child { 
    border-bottom: none; 
  }
  
  nav .menu li a {
    display: block;
    padding: 14px 18px;
    width: 100%;
    color: #fff;
    text-shadow: 0 1px 1px rgba(0,0,0,.25);
    cursor: pointer;
    transition: background .2s ease, padding-left .25s ease;
  }
  
  nav .menu li a:hover { 
    background: rgba(229,90,42,.22); 
    padding-left: 28px; 
  }
  
  nav .menu li a::after { 
    display: none; 
  }

  .nav-container { display: flex; }
  .menu-toggle { margin-left: auto !important; }
  nav .menu li a { text-align: center !important; }

  html.is-nav-open #whatsappBtn {
    z-index: 2147483640 !important;
    pointer-events: none;
  }
  
  .footer-content-wrapper{ 
    flex-direction:column; 
    align-items:flex-start;
  }
}

@media (max-width: 480px) {
  .social-icons {
    display: flex;
    gap: 0.5rem;
  }
  
  .social-icons a img {
    width: 18px;
    height: 18px;
  }
  
  .quote-btn {
    padding: 0.4rem 0.8rem;
    font-size: 0.85rem;
  }
}

@media (max-width:900px){
  .footer-content-wrapper{ flex-wrap:wrap; }
  .footer-company{ flex-basis:100%; }
}

@media (max-width:600px){
  .footer-title{ text-align:left; }
  .footer-content-wrapper{ gap:1.5rem; }
  .footer-col{ flex:1 1 100%; }
  .footer-note{ font-size:.84rem; }
}

html.is-nav-open, body.is-nav-open {
  overflow: hidden !important;
  max-width: 100%;
}