:root{
  --bg:#0b1216;
  --ink:#0f2b35;
  --text:#24343c;
  --muted:#64727a;
  --soft:#f5f7f9;
  --line:#e6edf1;
  --brand:#24a7a8; /* turquesa */
  --dark:#1b5f72;  /* azul */
  --shadow:0 18px 50px rgba(0,0,0,.18);
  --floatbar-h:84px;
}

*{box-sizing:border-box}
html,body{margin:0;padding:0}
body{
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color:var(--text);
  background:#fff;
  line-height:1.5;
}
img{max-width:100%;display:block}
a{color:inherit;text-decoration:none}
.container{width:min(1120px, calc(100% - 40px)); margin:0 auto}

/* Floating white bar (logo + menu) */
.floatbar{
  position:fixed;
  top:0; left:0; right:0;
  height:var(--floatbar-h);
  background:#fff;
  border-bottom:1px solid var(--line);
  z-index:70;
}
.floatbar-inner{
  height:100%;
  display:flex;
  align-items:center;
  justify-content:space-between;
}
.floatbar-brand{display:flex; align-items:center}
.floatbar-logo{height:74px; width:auto}

.h2{font-size:clamp(28px, 3.6vw, 44px); margin:0 0 10px; letter-spacing:-.02em; color:#10242d}
.h3{font-size:18px; margin:0 0 10px; color:#10242d}
.sub{margin:0 0 22px; color:var(--muted); max-width:70ch}
.p{margin:0; color:var(--muted)}
.tiny{margin:12px 0 0; font-size:12px; color:var(--muted)}

.section{padding:86px 0}
.section.alt{background:linear-gradient(#fbfdff, #f6fafc); border-top:1px solid var(--line); border-bottom:1px solid var(--line)}

.grid-3{display:grid; gap:18px; grid-template-columns:repeat(3,1fr)}
@media (max-width: 900px){ .grid-3{grid-template-columns:1fr} }

.card{
  background:#fff;
  border:1px solid var(--line);
  border-radius:16px;
  padding:18px;
  box-shadow: 0 10px 30px rgba(0,0,0,.06);
}

.list{margin:10px 0 0; padding-left:18px; color:var(--muted)}
.list li{margin:8px 0}

.badge{
  display:inline-block;
  font-size:12px;
  letter-spacing:.12em;
  font-weight:700;
  color:var(--brand);
  margin-bottom:10px;
}

/* Topbar */
.topbar{
  position:fixed;
  top:var(--floatbar-h); left:0; right:0;
  background:rgba(245,247,249,.92);
  border-bottom:1px solid var(--line);
  backdrop-filter: blur(8px);
  z-index:50;
  transform: translateY(-100%);
  transition: transform .25s ease;
}
.topbar.show{transform: translateY(0)}
.topbar-inner{
  height:44px;
  display:flex; align-items:center; justify-content:space-between;
  font-size:13px;
}
.topbar-left{display:flex; align-items:center; gap:10px; color:var(--muted)}
.dot{width:8px;height:8px;border-radius:50%; background:var(--brand)}
.topbar-right{display:flex; gap:16px}
.topbar-link{color:var(--dark); font-weight:600}
.topbar-link:hover{opacity:.85}

/* HERO (Vakly-like) */
.hero{
  position:relative;
  height:100vh;
  min-height:620px;
  width:100%;
  overflow:hidden;
  background:#111;
}
.hero-bg{
  position:absolute; inset:0;
  background:
    linear-gradient(90deg, rgba(0,0,0,.55) 0%, rgba(0,0,0,.22) 38%, rgba(0,0,0,.18) 100%),
    url("../assets/img/hero.jpg") center/cover no-repeat;
  transform: scale(1.02);
}
.hero-top{
  position:absolute;
  top:18px; left:24px; right:24px;
  display:flex; align-items:center; justify-content:space-between;
  z-index:2;
}
.hero-brand{display:flex; align-items:center; gap:10px}
.hero-logo{
  width:22px;height:22px;
  object-fit:contain;
  filter: drop-shadow(0 6px 18px rgba(0,0,0,.25));
}
.hero-brand-text{
  font-weight:800;
  letter-spacing:.14em;
  font-size:12px;
  color:#fff;
  text-transform:uppercase;
  opacity:.95;
}

/* Hamburger button */
.menu-btn{
  width:44px;height:44px;
  border-radius:12px;
  border:1px solid rgba(255,255,255,.25);
  background:rgba(255,255,255,.10);
  backdrop-filter: blur(8px);
  cursor:pointer;
  display:grid; place-items:center;
}
.menu-btn:hover{background:rgba(255,255,255,.16)}
.menu-ico{
  width:18px;height:12px;
  border-top:2px solid #fff;
  border-bottom:2px solid #fff;
  position:relative;
}
.menu-ico::before{
  content:"";
  position:absolute;
  left:0; right:0;
  top:50%;
  border-top:2px solid #fff;
  transform:translateY(-50%);
}

/* Menu button look on the white floating bar */
.floatbar .menu-btn{
  background:#fff;
  backdrop-filter:none;
  border:1px solid var(--line);
}
.floatbar .menu-ico{
  border-top-color:var(--dark);
  border-bottom-color:var(--dark);
}
.floatbar .menu-ico::before{border-top-color:var(--dark)}

/* Hero left text */
.hero-left{
  position:absolute;
  left:70px;
  top:36%;
  transform:translateY(-50%);
  width:min(420px, 48vw);
  z-index:2;
}
.hero-lead{
  margin:0;
  color:rgba(255,255,255,.90);
  font-size:14px;
  line-height:1.55;
  text-shadow: 0 10px 25px rgba(0,0,0,.35);
}
@media (max-width: 900px){
  .hero-left{left:20px; right:20px; width:auto; top:48%}
}

/* Hero right cards */
.hero-right{
  position:absolute;
  right:44px;
  top:30%;
  transform:translateY(-10%);
  width:min(520px, 46vw);
  display:grid;
  gap:16px;
  z-index:2;
}
@media (max-width: 900px){
  .hero-right{right:14px; left:14px; width:auto; top:auto; bottom:110px}
}

.glass-card{
  display:flex;
  gap:14px;
  align-items:center;
  border-radius:14px;
  border:1px solid rgba(255,255,255,.18);
  background:rgba(40,40,40,.42);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow);
  color:#fff;
  padding:14px 16px;
}
.glass-stat{max-width:520px}
.stat-ico{
  width:34px;height:34px;
  border-radius:10px;
  border:1px solid rgba(255,255,255,.22);
  background:rgba(255,255,255,.08);
  position:relative;
}
.stat-ico::after{
  content:"";
  position:absolute; inset:9px;
  border:2px solid rgba(255,255,255,.65);
  border-radius:4px;
  transform: rotate(10deg);
  opacity:.9;
}
.stat-title{font-weight:800; font-size:14px}
.stat-sub{font-size:12px; opacity:.85}

.glass-project{
  display:grid;
  grid-template-columns: 150px 1fr;
  padding:12px;
  text-decoration:none;
}
.project-thumb{
  border-radius:12px;
  overflow:hidden;
  border:1px solid rgba(255,255,255,.16);
}
.project-thumb img{width:100%;height:100%;object-fit:cover}
.project-body{padding:6px 10px}
.project-title{font-weight:800; font-size:14px; margin-bottom:4px}
.project-sub{font-size:12px; opacity:.85; margin-bottom:10px}
.project-cta{
  font-size:12px;
  letter-spacing:.10em;
  opacity:.9;
  display:inline-flex; gap:8px; align-items:center;
}
.glass-project:hover{transform: translateY(-1px)}
.glass-project:active{transform: translateY(0)}

/* Big word bottom-left (match Vakly feel) */
.hero-word{
  position:absolute;
  left:56px;
  bottom: -58px;
  font-size: clamp(56px, 9vw, 140px);
  font-weight:900;
  letter-spacing:-.02em;
  color:#fff;
  opacity:.95;
  text-shadow: 0 18px 50px rgba(0,0,0,.35);
  z-index:2;
}
@media (max-width: 900px){
  .hero-word{left:18px; bottom:14px}
}

/* MENU overlay panel */
.menu-backdrop{
  position:fixed; inset:0;
  background:rgba(0,0,0,.45);
  backdrop-filter: blur(2px);
  z-index:100;
}
.menu-panel{
  position:fixed;
  top:16px;
  right:16px;
  width:320px;
  max-width: calc(100% - 32px);
  background:#fff;
  border:1px solid var(--line);
  border-radius:16px;
  box-shadow: 0 22px 60px rgba(0,0,0,.22);
  z-index:101;
  transform: translateY(-8px);
  opacity:0;
  pointer-events:none;
  transition: opacity .18s ease, transform .18s ease;
}
.menu-panel.open{
  opacity:1;
  transform: translateY(0);
  pointer-events:auto;
}
.menu-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:14px 14px 10px;
  border-bottom:1px solid var(--line);
}
.menu-title{font-weight:800; color:#10242d}
.menu-close{
  width:34px;height:34px;
  border-radius:10px;
  border:1px solid var(--line);
  background:#fff;
  cursor:pointer;
  font-size:20px;
  line-height:0;
}
.menu-close:hover{background:#f5f7f9}
.menu-links{
  display:grid;
  padding:10px 14px;
}
.menu-link{
  padding:12px 10px;
  border-radius:12px;
  color:#10242d;
  font-weight:700;
}
.menu-link:hover{background:#f4f8fb}
.menu-actions{
  padding:10px 14px 14px;
  display:grid;
  gap:10px;
}

/* Buttons */
.btn{
  display:inline-flex;
  justify-content:center;
  align-items:center;
  height:44px;
  padding:0 16px;
  border-radius:12px;
  font-weight:800;
  border:1px solid transparent;
}
.btn-teal{background:var(--brand); color:#06333a}
.btn-dark{background:#0f2b35; color:#fff}
.btn-light{background:#fff; border-color:var(--line); color:#10242d}
.btn:hover{opacity:.92}

/* CTA band */
.cta-band{
  margin-top:26px;
  padding:18px;
  border-radius:16px;
  border:1px solid var(--line);
  background:#fff;
  display:flex;
  justify-content:space-between;
  gap:16px;
  align-items:center;
}
@media (max-width: 900px){ .cta-band{flex-direction:column; align-items:flex-start} }
.cta-title{font-weight:900; color:#10242d; margin-bottom:4px; font-size:18px}
.cta-sub{color:var(--muted); font-size:14px}
.cta-actions{display:flex; gap:10px; flex-wrap:wrap}

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

  .project-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  padding: 40px;
}

.project-gallery img {
  width: 100%;
  height: auto;
  border-radius: 14px;
  object-fit: cover;
}

}

@media (max-width: 900px){ .gallery{grid-template-columns:1fr} }
.shot{
  border-radius:16px;
  overflow:hidden;
  border:1px solid var(--line);
  box-shadow: 0 10px 30px rgba(0,0,0,.06);
}
.shot img{width:100%; height:220px; object-fit:cover}
.shot:hover{transform: translateY(-1px)}

/* About */
.about-hero{
  display:grid;
  grid-template-columns: 1.1fr .9fr;
  gap:20px;
  align-items:center;
  margin-bottom:18px;
}
.about-logo{
  display:flex;
  justify-content:center;
  align-items:center;
}
.about-logo img{width:min(220px, 70%); opacity:.95}
@media (max-width: 900px){
  .about-hero{grid-template-columns:1fr}
  .about-logo{justify-content:flex-start}
}

/* Contact */
.contact-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:18px;
  align-items:start;
}
@media (max-width: 900px){ .contact-grid{grid-template-columns:1fr} }

.contact-card{
  margin-top:16px;
  background:#fff;
  border:1px solid var(--line);
  border-radius:16px;
  padding:16px;
  box-shadow: 0 10px 30px rgba(0,0,0,.06);
}
.ci{display:flex; gap:10px; align-items:center; padding:10px 0}
.ci + .ci{border-top:1px solid var(--line)}
.ci-ico{width:28px;height:28px; display:grid; place-items:center; background:#f4f8fb; border:1px solid var(--line); border-radius:10px}

.form-card{
  background:#fff;
  border:1px solid var(--line);
  border-radius:16px;
  padding:18px;
  box-shadow: 0 10px 30px rgba(0,0,0,.06);
}
.form{display:grid; gap:12px}
.label{display:grid; gap:8px; font-weight:800; color:#10242d; font-size:13px}
.input{
  width:100%;
  border:1px solid var(--line);
  border-radius:12px;
  padding:12px 12px;
  font: inherit;
  outline:none;
}
.input:focus{border-color:#b5dde0; box-shadow: 0 0 0 4px rgba(36,167,168,.12)}
.textarea{resize:vertical; min-height:120px}
.form-actions{display:flex; gap:10px; flex-wrap:wrap; margin-top:6px}

/* Footer */
.footer{
  border-top:1px solid var(--line);
  background:#fff;
  padding:20px 0;
}
.footer-inner{
  display:flex;
  justify-content:space-between;
  gap:16px;
  color:var(--muted);
  font-size:13px;
}
.footer-links{display:flex; gap:14px}
.footer a:hover{opacity:.85}
/* Projects grid page */
.projects-grid{
  display:grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
@media (max-width: 980px){
  .projects-grid{ grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px){
  .projects-grid{ grid-template-columns: 1fr; }
}

.project-card{
  display:block;
  border-radius: 16px;
  overflow:hidden;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.10);
  text-decoration:none;
  color: inherit;
  transition: transform .2s ease, border-color .2s ease;
}
.project-card:hover{
  transform: translateY(-2px);
  border-color: rgba(255,255,255,0.22);
}
.project-card__img img{
  width:100%;
  height: 210px;
  object-fit: cover;
  display:block;
}
.project-card__body{
  padding: 14px 14px 16px;
}
.project-card__title{
  font-weight: 700;
  margin-bottom: 6px;
}
.project-card__sub{
  opacity: .85;
  font-size: 14px;
  line-height: 1.35;
  margin-bottom: 10px;
}
.project-card__cta{
  font-size: 12px;
  letter-spacing: .08em;
  text-transform: uppercase;
  opacity: .9;
}

.back-link{
  display:inline-block;
  margin-bottom: 14px;
  text-decoration:none;
  opacity:.85;
}
.back-link:hover{ opacity:1; }
.project-header {
  padding: 120px 20px 40px;
  text-align: center;
}

.back-link {
  display: inline-block;
  margin-bottom: 20px;
  color: #555;
  text-decoration: none;
}

.project-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  padding: 40px;
}

.project-gallery img {
  width: 100%;
  height: auto;
  border-radius: 12px;
}
/* SOCIAL SECTION */
.social-section {
  text-align: center;
}

.social-title {
  margin-bottom: 6px;
}

.social-sub {
  margin-bottom: 28px;
  text-align: center;
}
.social-sub {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}
.social-sub {
  text-align: center;
  margin: 0 auto 28px;
  max-width: 60ch; /* un poco más fino visualmente */
}

.social-icons {
  display: flex;
  justify-content: center;
  gap: 50px;
}

.social-icons a {
  text-decoration: none;
}

.social-icon {
  font-size: 40px;
  color: #111;
  opacity: 0.75;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.social-icons a:hover .social-icon {
  transform: translateY(-4px);
  opacity: 1;
}
.ig-title, .ig-sub { text-align: center; }
.ig-sub { margin-bottom: 22px; }

.ig-feed{
  display: flex;
  justify-content: center;
}

.ig-iframe{
  width: 100%;
  max-width: 920px;
  height: 920px; /* ajusta según el widget */
  border: 0;
  border-radius: 18px;
  background: #fff;
}
.ig-cta{
  margin-top: 18px;
  display:flex;
  justify-content:center;
}
.social-section {
  text-align: center;
}

.social-title {
  margin-bottom: 10px;
}

.social-sub {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 30px;
}

.ig-feed {
  max-width: 1100px;
  margin: 0 auto;
}

.lightwidget-widget {
  width: 100%;
  min-height: 820px; /* clave para que no se corte */
}
