/* KAIHATSU PERÚ — styles.css */
:root{
  --whatsapp:#25D366;
  --brand:#003D7D;     /* Azul del logo */
  --brand-700:#002A55;
  --accent:#231f20;       /* Negro para "PERÚ" */
  --bg:#0b1a30;        /* Fondo hero */
  --text:#222;
  --muted:#838383;
  --surface:#ffffff;
  --radius:16px;
  --shadow:0 10px 24px rgba(0,0,0,.08);
}

*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  font-family: "Roboto", system-ui, -apple-system, "Segoe UI", Arial, "Helvetica Neue", "Noto Sans", sans-serif;
  color:var(--text);
  margin:0;
  line-height:1.55;
  background:#f7fafc;
}
a{color:var(--brand);text-decoration:none}
a:hover{text-decoration:underline}
.container{max-width:1100px;margin:auto;padding:0 1rem}
.grid{display:grid;gap:1.2rem}
.btn{
  display:inline-block;border-radius:999px;padding:.75rem 1.1rem;font-weight:700;
  background:var(--brand);color:white;border:2px solid var(--brand);
  transition:transform .15s ease, background .2s ease;
}
.btn:hover{transform:translateY(-1px);text-decoration:none;background:var(--brand-700)}
.tag{display:inline-block;background:#e6eefc;color:var(--brand);font-weight:700;border-radius:999px;padding:.25rem .6rem;font-size:.8rem}

/* Header */
header{position:sticky;top:0;background:white;border-bottom:1px solid #e5e7eb;z-index:50}
.nav{display:flex;align-items:center;justify-content:space-between;padding:.6rem 0}
.nav a{font-weight:700;margin:0 .6rem}
.nav .brand{display:flex;align-items:center;gap:.6rem}
.nav img{height:36px;width:auto}

/* Hero */
.hero{background:linear-gradient(120deg, var(--bg), #122a53); color:white; padding:4.5rem 0 3.5rem}
.hero h1{font-size: clamp(1.8rem, 2.5vw + 1rem, 3rem); margin:.2rem 0 1rem}
.hero p{font-size:1.1rem;opacity:.95;max-width:60ch}
.hero .actions{margin-top:1rem;display:flex;gap:.8rem;flex-wrap:wrap}
.hero .logo{display:flex;align-items:center;gap:1rem}

/* Cards */
.card{
  background:var(--surface);border-radius:var(--radius);box-shadow:var(--shadow);
  padding:1.2rem;
}
.section{padding:2.2rem 0}
.section h2{font-size:1.6rem;margin:0 0 1rem;color:var(--brand)}
.section h3{font-size:1.2rem;margin:1rem 0 .5rem;color:var(--brand-700)}

/* Datos */
.dl{display:grid;grid-template-columns:1fr 2fr;gap:.4rem 1rem}
.dl dt{font-weight:700;color:var(--brand-700)}
.dl dd{margin:0}

/* Servicios */
.services{grid-template-columns:repeat(auto-fit, minmax(240px, 1fr))}
.service-item h3{margin:.2rem 0 .4rem}
.service-item ul{margin:.4rem 0 0 1.2rem}

/* Experiencia */
.timeline{border-left:3px solid #e5e7eb;padding-left:1rem}
.timeline .item{margin-bottom:1rem;position:relative}
.timeline .item::before{content:"";position:absolute;left:-1.4rem;top:.2rem;width:.75rem;height:.75rem;background:var(--brand);border-radius:50%}
.timeline .org{font-weight:800;color:var(--brand);}
.timeline .date{font-weight:700;color:var(--muted);font-size:.95rem}

/* Footer */
footer{background:white;border-top:1px solid #e5e7eb;padding:1.2rem 0;color:var(--muted);font-size:.95rem}
footer .cols{display:grid;grid-template-columns:1fr auto;align-items:center;gap:1rem}
footer img{height:40px}

/* Utilities */
blockquote{
  margin:0;padding:.8rem 1rem;border-left:4px solid var(--brand);background:#f2f6ff;border-radius:8px;
}
hr{border:none;border-top:1px solid #e5e7eb;margin:1.2rem 0}
.small{font-size:.95rem;color:var(--muted)}
.center{text-align:center}

/* Responsive tweaks */
@media (max-width:720px){
  .dl{grid-template-columns:1fr}
  .nav .links{display:none}
}

/* Preserve logo aspect ratio on the side card */
.logo-card{max-width:180px;height:auto;display:inline-block}


/* WhatsApp button */
.btn-whatsapp{background:var(--whatsapp);border-color:var(--whatsapp)}
.btn-whatsapp:hover{background:#1ebe57;border-color:#1ebe57}
/* Simple WhatsApp icon (CSS drawing) */
.wa-ic{
  display:inline-block;vertical-align:middle;margin:-2px 6px 0 0;
  width:18px;height:18px;border-radius:50%;background:white;position:relative;
}
.wa-ic::before{
  content:"";position:absolute;left:4px;top:4px;width:10px;height:10px;
  border:2px solid var(--whatsapp);border-top-color:transparent;border-right-color:transparent;
  transform:rotate(-45deg);border-radius:2px;
}
