/* =========================
   EVARO - Compact Clean UI
   ========================= */

/* Base tokens */
:root{
  --brand:#4b0082;
  --brand2:#3a0066;
  --text:#1f1f1f;
  --muted:#5a5a5a;
  --bg:#ffffff;

  /* Compact sizing */
  --max: 1080px;
  --radius: 12px;

  --shadow: 0 10px 20px rgba(0,0,0,0.10);
  --card: rgba(255,255,255,0.96);

  --pad-x: 16px;
  --pad-y: 14px;

  --gap: 14px;
}

*{box-sizing:border-box; margin:0; padding:0;}

html{scroll-behavior:smooth;}

body{
  font-family:'Roboto',sans-serif;
  line-height:1.55;
  color:var(--text);
  background:var(--bg);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a{color:inherit; text-decoration:none;}
img{max-width:100%; height:auto; display:block;}

.container{
  max-width:var(--max);
  margin:0 auto;
  padding:0 var(--pad-x);
}

/* =========================
   Header
   ========================= */
header{
  background: var(--brand);
  color:#fff;
  position: sticky;
  top:0;
  z-index:1000;
  box-shadow: 0 8px 16px rgba(0,0,0,.16);
}

.topbar{
  min-height:62px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  padding: 10px 0;
  flex-wrap:wrap;
}

.brand{
  display:flex;
  flex-direction:column;
  gap:2px;
  min-width:220px;
}

.brand .name{
  font-weight:900;
  letter-spacing:.2px;
  font-size: 16px;
  line-height: 1.2;
}

.brand small{
  opacity:.92;
  font-size: 12px;
  line-height: 1.25;
}

nav ul{
  list-style:none;
  display:flex;
  gap:8px;
  align-items:center;
  flex-wrap:wrap;
  justify-content:center;
}

/* Buttons/links: compact */
.navlink{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding: 8px 10px;
  border-radius:999px;
  border: 1px solid rgba(255,255,255,.45);
  font-weight:800;
  font-size: 13px;
  white-space:nowrap;
  background: rgba(255,255,255,.06);
  transition: transform .06s ease, opacity .2s ease;
}
.navlink:hover{opacity:.95;}
.navlink:active{transform: translateY(1px);}

.cta{
  display:flex;
  gap:8px;
  align-items:center;
  flex-wrap:wrap;
  justify-content:flex-end;
}

.btn{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding: 9px 12px;
  border-radius:999px;
  font-weight:900;
  border: 1.5px solid rgba(255,255,255,.55);
  background: transparent;
  color:#fff;
  white-space:nowrap;
  font-size: 13px;
  transition: transform .06s ease, opacity .2s ease;
}
.btn:hover{opacity:.95;}
.btn:active{transform: translateY(1px);}

.btn-solid{
  background:#fff;
  color: var(--brand);
  border-color:#fff;
}

/* =========================
   Hero (smaller + tighter)
   ========================= */
.hero{
  position:relative;
  min-height: 54vh;
  display:flex;
  align-items:flex-start;
  justify-content:center;
  text-align:center;
  color:#fff;
  padding: 64px var(--pad-x) 28px;
  overflow:hidden;
  background:#111;
}

.hero-bg{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  object-fit:cover;
  object-position:center;
  z-index:0;
  transform: scale(1.01);
}

.hero-overlay{
  position:absolute;
  inset:0;
  background: linear-gradient(
    to bottom,
    rgba(0,0,0,0.58) 0%,
    rgba(0,0,0,0.28) 45%,
    rgba(0,0,0,0.64) 100%
  );
  z-index:1;
}

.hero .text{
  position:relative;
  z-index:2;
  max-width: 900px;
  margin-top: 10px;
  animation: heroIn 520ms ease-out both;
}

@keyframes heroIn{
  from{opacity:0; transform:translateY(8px);}
  to{opacity:1; transform:translateY(0);}
}

.hero h1{
  line-height:1.12;
  margin: 0 0 10px;
  text-shadow: 2px 2px 10px rgba(0,0,0,.6);
}

.hero .h1-main{
  display:block;
  font-size: clamp(24px, 3.2vw, 44px);
  font-weight: 900;
  letter-spacing: .2px;
}

.hero .h1-sub{
  display:block;
  font-size: clamp(14px, 1.7vw, 20px);
  font-weight: 800;
  margin-top: 8px;
  opacity:.98;
}

.hero .brandline{
  display:block;
  margin-top: 8px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .3px;
  text-transform: uppercase;
  opacity:.92;
}

.hero p{
  max-width: 820px;
  margin: 8px auto 0;
  font-size: clamp(14px, 1.2vw, 16px);
  font-weight: 700;
  text-shadow: 2px 2px 10px rgba(0,0,0,.6);
}

/* =========================
   Main / Cards (compact)
   ========================= */
main{padding: 18px 0 28px;}

.card{
  background: var(--card);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: var(--pad-y);
  margin-top: 14px;
  border: 1px solid rgba(0,0,0,0.06);
}

h2{
  font-size: clamp(18px, 2.0vw, 26px);
  line-height:1.2;
  margin: 0 0 8px;
}

.muted{
  color: var(--muted);
  font-size: 14px;
}

/* Grid: smaller gaps */
.grid{
  display:grid;
  grid-template-columns: 1.1fr .9fr;
  gap: var(--gap);
  align-items: start;
  margin-top: 14px;
}
.grid > *{ margin-top: 0 !important; }

@media (max-width: 980px){
  .grid{grid-template-columns:1fr;}
}

/* Lists: tighter */
.list{
  list-style:none;
  margin: 10px 0 0;
  padding:0;
}

.list li{
  display:flex;
  gap:10px;
  align-items:flex-start;
  margin: 8px 0;
}

.dot{
  width:9px; height:9px;
  border-radius:50%;
  background: var(--brand);
  margin-top: 7px;
  flex: 0 0 auto;
}

/* Service cards: tighter + consistent text */
.services{
  display:grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 12px;
  margin-top: 12px;
}

.service{
  background: rgba(255,255,255,0.98);
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: 12px;
  padding: 12px;
}

.service h3{
  margin: 0 0 6px;
  font-size: 1.02rem;
  font-weight: 900;
  line-height: 1.25;
}

.service p{
  margin:0;
  color:var(--muted);
  font-size: 14px;
  line-height: 1.5;
}

/* Notes: less bulky */
.note{
  margin-top: 12px;
  background: rgba(75,0,130,0.06);
  border: 1px solid rgba(75,0,130,0.16);
  border-radius: 12px;
  padding: 10px;
  color:#2b1a35;
  font-size: 14px;
  line-height: 1.5;
}

/* FAQ: tighter */
.faq-item{
  border-top: 1px solid rgba(0,0,0,0.10);
  padding-top: 10px;
  margin-top: 10px;
}
.faq-item:first-child{
  border-top:none;
  padding-top:0;
  margin-top:0;
}
.faq-item h3{
  margin: 0 0 6px;
  font-size: 1.02rem;
  font-weight: 900;
}
.faq-item p{
  margin:0;
  color:var(--muted);
  font-size: 14px;
}

/* Maps: consistent */
iframe{
  width:100%;
  border:0;
  border-radius: 12px;
}

/* =========================
   Footer (compact)
   ========================= */
footer{
  background: var(--brand);
  color:#fff;
  padding: 18px 0;
  margin-top: 14px;
  text-align:center;
}
footer p{
  margin: 5px 0;
  opacity:.95;
  font-size: 12.5px;
  line-height: 1.35;
}

/* =========================
   Utilities (replaces inline styles)
   ========================= */
.mt-8{ margin-top: 8px; }

.h3-block{
  margin-top: 14px;
  font-size: 1.02rem;
  font-weight: 900;
  line-height: 1.25;
}

.steps{
  margin:10px 0 0;
  padding-left:18px;
  color:var(--muted);
  font-size: 14px;
  line-height: 1.5;
}

.link-brand{
  color: var(--brand);
  font-weight: 900;
}

.contact-actions{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  margin-top:10px;
}

/* Button variants used in Contact (no inline styles) */
.btn-brand{
  border-color: var(--brand);
  background: var(--brand);
  color:#fff;
}

.btn-outline-brand{
  border-color: rgba(75,0,130,0.25);
  color: var(--brand);
  background:#fff;
}

/* =========================
   Mobile adjustments
   ========================= */
@media (max-width: 768px){
  .topbar{justify-content:center;}
  .brand{min-width: unset; text-align:center;}
  .cta{justify-content:center;}

  .hero{
    padding-top: 92px;
    min-height: 48vh;
  }

  .navlink, .btn{
    font-size: 12.5px;
    padding: 8px 10px;
  }
}
