
@font-face {
  font-family: 'Algera';
  src: url('./assets/fonts/algera-bold.ttf') format('truetype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
:root{
  --bg:#0b0b0b; --panel:#111214; --muted:#9ca3af; --primary:#e11d2e; --primary-2:#ef4444;
  --text:#e5e7eb; --card:#151617; --ring: rgba(225,29,46,.4);
}
*{box-sizing:border-box}
html,body{margin:0;padding:0;background:var(--bg);color:var(--text);
  font-family:system-ui,-apple-system,Segoe UI,Roboto,Ubuntu,'Helvetica Neue',Arial,'Noto Sans',sans-serif;line-height:1.5}
h1,h2,h3{font-family:'Algera', system-ui, sans-serif;letter-spacing:.5px}

.container{max-width:1100px;margin:0 auto;padding:0 20px}
.header{position:sticky;top:0;z-index:50;background:rgba(11,11,11,.8);
  backdrop-filter:saturate(180%) blur(8px);border-bottom:1px solid #1f2937}
.header-inner{display:flex;align-items:center;justify-content:space-between;padding:14px 0}
.brand{display:flex;align-items:center;gap:12px;text-decoration:none;color:var(--text)}
.brand img{height:40px;width:auto;filter: drop-shadow(0 0 12px rgba(239,68,68,.25));}
.brand span{font-family:'Algera',sans-serif;font-size:20px;letter-spacing:.6px}
.nav a{color:var(--text);text-decoration:none;margin:0 12px;opacity:.9}
.nav a:hover{opacity:1;color:#fff}
.cta{background:linear-gradient(90deg,var(--primary),var(--primary-2));color:#fff;border:none;padding:10px 18px;
  border-radius:999px;font-weight:700;cursor:pointer;box-shadow:0 0 0 0 var(--ring);transition:box-shadow .2s ease, transform .1s ease}
.cta:focus,.cta:hover{box-shadow:0 0 0 6px var(--ring);transform:translateY(-1px)}

.hero{min-height:82vh;display:grid;place-items:center;background:url('./assets/images/hero.svg') center/cover no-repeat;position:relative}
.hero::after{content:'';position:absolute;inset:0;background:radial-gradient(1200px 600px at 60% 30%, rgba(225,29,46,.2), transparent 60%)}
.hero-inner{text-align:center;padding:80px 20px;z-index:1}
.hero h1{font-size:clamp(28px,5vw,54px);margin:0 0 10px}
.hero p{font-size:clamp(16px,2.4vw,20px);margin:0 0 26px;color:var(--muted)}
.hero .actions{display:flex;gap:12px;justify-content:center;flex-wrap:wrap}

.section{padding:70px 0}
.cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(230px,1fr));gap:18px;margin-top:24px}
.card{background:var(--card);border:1px solid #1f2937;border-radius:16px;padding:20px;transition:transform .15s ease,border-color .2s ease}
.card:hover{transform:translateY(-3px);border-color:#374151}
.card h3{margin:10px 0 8px}
.card p{color:#cbd5e1;margin:0}

.badge{display:inline-block;padding:6px 10px;border:1px solid #374151;border-radius:999px;color:#cbd5e1;font-size:12px;letter-spacing:.3px}

.about{display:grid;grid-template-columns:1.1fr .9fr;gap:28px;align-items:center}
.about img{width:100%;border-radius:16px;border:1px solid #1f2937}
@media (max-width:900px){.about{grid-template-columns:1fr}}

.contact{background:linear-gradient(180deg,#0b0b0b,#0d0d0d);border-top:1px solid #1f2937}
.form{max-width:720px;margin:0 auto;background:var(--panel);border:1px solid #1f2937;border-radius:18px;padding:24px}
.input{width:100%;padding:12px 14px;background:#0d0f12;color:#e5e7eb;border:1px solid #1f2937;border-radius:10px}
.input:focus{outline:none;border-color:#334155;box-shadow:0 0 0 6px rgba(51,65,85,.25)}
.grid{display:grid;gap:14px;grid-template-columns:1fr 1fr}
.grid > *:last-child{grid-column:1/-1}
@media (max-width:720px){.grid{grid-template-columns:1fr}}
.textarea{min-height:140px;resize:vertical}
.footer{border-top:1px solid #1f2937;padding:24px 0;color:#9ca3af;text-align:center;font-size:14px}
.small{font-size:12px;color:#9ca3af}


/* === Enhancements for logo visibility === */
.brand-badge{
  display:flex;align-items:center;gap:10px;
  padding:6px 12px;border-radius:14px;
  background:rgba(0,0,0,.55);
  border:1px solid var(--primary);
  box-shadow:0 6px 24px rgba(239,68,68,.15);
}
.brand img{height:64px;width:auto;filter:drop-shadow(0 0 14px rgba(239,68,68,.35)) brightness(1.15) contrast(1.05);}
.brand span{font-size:22px;}

/* Darken the very top of the hero so the logo/brand contrast better under the header */
.hero::before{
  content:'';position:absolute;left:0;right:0;top:0;height:120px;z-index:0;
  background:linear-gradient(180deg, rgba(0,0,0,.65), rgba(0,0,0,0));
}

/* Slightly stronger header when scrolling */
.header.scrolled{background:#0b0b0b}


/* === V3 Header layout: centered brand, stronger glow, optional white plate === */
.header-inner{
  display:grid;
  grid-template-columns: 1fr auto 1fr;
  gap:14px;
  align-items:center;
}
.header .nav{justify-self:start}
.header .cta{justify-self:end}
.header .brand{justify-self:center}

/* stronger glow on brand */
.brand img{filter: drop-shadow(0 0 18px rgba(239,68,68,.45)) brightness(1.1) contrast(1.08);}
.brand span{
  text-shadow: 0 2px 10px rgba(239,68,68,.25);
}

/* Optional: white plate variant. Add class 'brand-plate' to <body> to enable */
body.brand-plate .brand-badge{
  background: rgba(255,255,255,.98);
  border:1px solid #e5e7eb;
  box-shadow: 0 10px 30px rgba(0,0,0,.25);
}
body.brand-plate .brand span{color:#111}
body.brand-plate .brand img{filter:none}


/* WhatsApp floating button */
.wa-float{
  position:fixed; right:18px; bottom:18px; z-index:60;
  width:56px; height:56px; display:grid; place-items:center;
  border-radius:50%; background:linear-gradient(180deg,#2ddb6f,#20c55e);
  box-shadow:0 12px 26px rgba(17,24,39,.35), inset 0 0 0 2px rgba(255,255,255,.2);
  transition: transform .15s ease, box-shadow .2s ease, filter .2s ease;
}
.wa-float:hover{ transform: translateY(-2px); box-shadow:0 16px 34px rgba(17,24,39,.45); filter:brightness(1.05);}
@media (max-width:480px){ .wa-float{ right:14px; bottom:14px; width:52px; height:52px; } }
