:root{
  --bg:#f3f6f9;
  --card:#ffffff;
  --text:#0f172a;
  --muted:#5b6675;
  --line:#e3e8ef;
  --brand:#0b3a53;
  --brand2:#0f4c6b;
  --shadow:0 10px 28px rgba(2,12,27,.10);
  --radius:18px;
}

*{
  box-sizing:border-box;
}

body{
  margin:0;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  background:var(--bg);
  color:var(--text);
}

.container{
  width:min(1120px,92vw);
  margin:0 auto;
  padding:32px 0 64px;
}

/* HEADER */
.header{
  background:linear-gradient(180deg,#ffffff,rgba(255,255,255,.6));
  border-bottom:1px solid var(--line);
}

.topbar{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:18px;
}

.brand h1{
  margin:0;
  font-size:28px;
}

.brand p{
  margin:6px 0 0;
  font-size:14px;
  color:var(--muted);
}

.cta{
  display:flex;
  gap:10px;
}

.btn{
  padding:12px 18px;
  background:var(--brand);
  color:#fff;
  text-decoration:none;
  border-radius:12px;
  font-weight:700;
  font-size:14px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
}

.btn:hover{
  background:var(--brand2);
}

.btn.secondary{
  background:#fff;
  color:var(--brand);
  border:1px solid var(--line);
}

/* HERO */
.hero{
  display:grid;
  grid-template-columns:1.25fr .75fr;
  gap:24px;
  margin-top:24px;
}

.card{
  background:var(--card);
  border:1px solid var(--line);
  border-radius:var(--radius);
  box-shadow:var(--shadow);
}

/* hero limpio */
.hero-clean{
  background:transparent;
  border:none;
  box-shadow:none;
  padding:0;
}

.hero h2{
  font-size:24px;
  margin:0 0 12px;
}

.hero p{
  margin:0 0 14px;
  color:var(--muted);
  line-height:1.6;
  max-width:62ch;
}

/* lista hero */
.hero-list{
  list-style:none;
  padding:0;
  margin:12px 0 0;
  display:grid;
  grid-template-columns:repeat(2,1fr);
  gap:10px 16px;
}

.hero-list li{
  font-size:14px;
  color:var(--muted);
}

/* PROFILE */
.profile{
  display:flex;
  flex-direction:column;
  overflow:hidden;
}

.profile img{
  width:100%;
  height:340px;
  object-fit:contain;
  background:#fff;
}

.profile .ptext{
  padding:16px;
}

.profile h3{
  margin:0 0 6px;
  font-size:18px;
}

/* SECTIONS */
.section{
  margin-top:40px;
}

.section h3{
  font-size:24px;
  margin:0 0 12px;
}

.lead{
  color:var(--muted);
  font-size:15px;
  margin-bottom:16px;
}

/* SERVICES */
.services{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:14px;
}

.service{
  padding:18px;
}

.service h4{
  margin:0 0 8px;
  font-size:16px;
}

/* GALLERY */
.gallery{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:14px;
}

.card.photo{
  padding:10px;
}

.frame{
  height:200px;
  border-radius:14px;
  border:1px solid var(--line);
  background:#fff;
  display:flex;
  align-items:center;
  justify-content:center;
  overflow:hidden;
}

.frame img{
  width:100%;
  height:100%;
  object-fit:contain;
}

/* CONTACT */
.contact{
  padding:18px;
}

.contact-grid{
  display:grid;
  grid-template-columns:repeat(2,1fr);
  gap:14px;
}

.contact a{
  display:flex;
  gap:12px;
  padding:14px;
  border:1px solid var(--line);
  border-radius:14px;
  text-decoration:none;
  color:var(--text);
  background:#fff;
}

.contact small{
  color:var(--muted);
  display:block;
  margin-top:4px;
}

/* INSTAGRAM ICON */
.insta-icon{
  width:22px;
  height:22px;
  background-size:contain;
  background-repeat:no-repeat;
  background-position:center;
  flex:0 0 auto;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 448 512'%3E%3Cpath fill='%230b3a53' d='M224.1 141c-63.6 0-114.9 51.3-114.9 114.9s51.3 114.9 114.9 114.9S339 319.5 339 255.9 287.7 141 224.1 141z'/%3E%3C/svg%3E");
}

/* FOOTER */
.footer{
  margin-top:20px;
  text-align:center;
  font-size:12px;
  color:var(--muted);
}

/* LIGHTBOX */
.lightbox{
  position:fixed;
  inset:0;
  background:rgba(0,0,0,.85);
  display:none;
  align-items:center;
  justify-content:center;
  z-index:9999;
}

.lightbox.is-open{
  display:flex;
}

.lightbox-inner{
  position:relative;
}

.lightbox img{
  max-width:90vw;
  max-height:90vh;
  background:#fff;
  border-radius:12px;
}

.lightbox-close{
  position:absolute;
  top:-40px;
  right:0;
  width:36px;
  height:36px;
  border:none;
  border-radius:50%;
  background:#fff;
  font-size:22px;
  cursor:pointer;
}

/* RESPONSIVE */
@media (max-width:900px){
  .hero{ grid-template-columns:1fr; }
  .hero-list{ grid-template-columns:1fr; }
  .services{ grid-template-columns:1fr; }
  .gallery{ grid-template-columns:repeat(2,1fr); }
  .contact-grid{ grid-template-columns:1fr; }
  .profile img{ height:260px; }
}
