/* ===================================================
   MASIVIA — Premium Liquid Design System
   =================================================== */

*,*::before,*::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg:     #0d1526;
  --border: rgba(255,255,255,.08);
  --gold:   #c9a227;
  --gold2:  #f0c84a;
  --white:  #f0ede6;
  --dim:    rgba(240,237,230,.45);
  --serif:  'Fraunces', Georgia, serif;
  --sans:   'DM Sans', sans-serif;
  --nav-h:  88px;
  --container: 1300px;
}

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--white);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  overflow-x: hidden;
}

/* ---- ORBS ---------------------------------------- */
.orbs { position: fixed; inset: 0; pointer-events: none; z-index: 0; overflow: hidden; }
.orb  { position: absolute; border-radius: 50%; filter: blur(80px); opacity: .18; animation: drift 20s ease-in-out infinite; }
.orb1 { width: 700px; height: 700px; background: radial-gradient(circle,#1a3a7a,transparent 70%); top: -200px; right: -150px; animation-duration: 25s; }
.orb2 { width: 500px; height: 500px; background: radial-gradient(circle,#3d1a6e,transparent 70%); bottom: -100px; left: -100px; animation-duration: 18s; animation-delay: -9s; }
.orb3 { width: 400px; height: 400px; background: radial-gradient(circle,#0a4a2a,transparent 70%); top: 40%; left: 40%; animation-duration: 22s; animation-delay: -4s; }
@keyframes drift {
  0%,100% { transform: translate(0,0) scale(1); }
  25%      { transform: translate(30px,-50px) scale(1.05); }
  50%      { transform: translate(-20px,30px) scale(.97); }
  75%      { transform: translate(40px,20px) scale(1.03); }
}

/* ---- LAYOUT -------------------------------------- */
.container { max-width: var(--container); margin: 0 auto; padding: 0 3rem; }
main        { position: relative; z-index: 1; }
section     { padding: 7rem 0; position: relative; z-index: 1; }
.grid-bg    { display: none; }

/* ---- NAVBAR -------------------------------------- */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(4,6,15,.55);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  transition: background .3s;
}
.navbar.scrolled { background: rgba(13,21,38,.95); }

.nav-wrap {
  max-width: var(--container); margin: 0 auto;
  display: flex; justify-content: space-between; align-items: center;
  padding: .6rem 3rem;
}

.nav-logo { text-decoration: none; display: flex; align-items: center; }
.nav-logo img { height: 78px; width: auto; display: block; }
.brand-icon, .brand-name { display: none; }

.nav-links         { display: flex; gap: 2.5rem; list-style: none; }
.nav-links a       { color: var(--dim); text-decoration: none; font-size: .82rem; font-weight: 300; letter-spacing: .04em; transition: color .25s; }
.nav-links a:hover { color: var(--white); }

.nav-actions { display: flex; align-items: center; gap: 1.25rem; }

.lang-toggle { display: flex; align-items: center; gap: .3rem; }
.lang-btn          { background: none; border: none; cursor: pointer; font-family: var(--sans); font-size: .72rem; font-weight: 400; letter-spacing: .1em; color: var(--dim); padding: .2rem .3rem; transition: color .2s; }
.lang-btn.active,
.lang-btn:hover    { color: var(--gold); }
.lang-sep          { color: var(--border); font-size: .72rem; }

.nav-burger        { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: .25rem; }
.nav-burger span   { display: block; width: 22px; height: 1.5px; background: var(--white); transition: all .3s; }

.nav-mobile        { display: none; flex-direction: column; gap: 1.1rem; padding: 1.5rem 3rem 2rem; border-top: 1px solid var(--border); background: rgba(13,21,38,.98); }
.nav-mobile.open   { display: flex; }
.nav-mobile a      { color: var(--dim); text-decoration: none; font-size: .9rem; font-weight: 300; transition: color .2s; }
.nav-mobile a:hover{ color: var(--white); }

/* ---- BUTTONS ------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--sans); font-size: .82rem; font-weight: 500;
  letter-spacing: .03em; cursor: pointer; transition: all .25s;
  text-decoration: none; border: none;
}
.btn-primary               { background: linear-gradient(135deg,var(--gold),var(--gold2)); color: #000; padding: .72rem 1.75rem; }
.btn-primary:hover         { box-shadow: 0 8px 30px rgba(201,162,39,.4); transform: translateY(-2px); }
.btn-secondary             { background: transparent; border: 1px solid rgba(255,255,255,.2); color: var(--dim); padding: .7rem 1.75rem; }
.btn-secondary:hover       { border-color: rgba(255,255,255,.5); color: var(--white); }
.btn-outline               { background: transparent; border: 1px solid var(--gold); color: var(--gold); padding: .5rem 1.1rem; font-size: .75rem; }
.btn-outline:hover         { background: var(--gold); color: #000; }
.btn-block                 { width: 100%; }

/* ---- SECTION ATOMS ------------------------------- */
.badge {
  display: inline-flex; align-items: center; gap: 1rem;
  font-size: .62rem; letter-spacing: .28em; color: var(--gold);
  text-transform: uppercase; font-weight: 400; margin-bottom: 1rem;
}
.badge::before { content: ''; width: 32px; height: 1px; background: var(--gold); flex-shrink: 0; }

.sec-eyebrow        { display: flex; align-items: center; gap: 1rem; margin-bottom: 1.5rem; }
.sec-eyebrow::before{ content: ''; width: 32px; height: 1px; background: var(--gold); }
.sec-eyebrow span   { font-size: .68rem; letter-spacing: .28em; color: var(--gold); text-transform: uppercase; }

.sec-h   { font-family: var(--serif); font-size: clamp(2rem,4vw,3rem); font-weight: 600; color: var(--white); margin-bottom: .75rem; max-width: 18ch; line-height: 1.15; }
.sec-sub { font-size: .88rem; color: var(--dim); margin-bottom: 4rem; font-weight: 300; max-width: 450px; }

.section-head       { margin-bottom: 4rem; }
.section-head h2    { font-family: var(--serif); font-size: clamp(2rem,4vw,3rem); font-weight: 600; color: var(--white); margin-bottom: .75rem; line-height: 1.15; }
.section-head p     { font-size: .88rem; color: var(--dim); font-weight: 300; max-width: 450px; }

/* ---- HERO ---------------------------------------- */
.hero {
  min-height: 100vh; display: flex; align-items: center;
  padding: calc(var(--nav-h) + 4rem) 0 5rem;
  position: relative; z-index: 1; overflow: hidden;
}

.hero-bg-carousel { position: absolute; inset: 0; z-index: 0; overflow: hidden; }
.hero-bg-slide    { position: absolute; inset: -6%; background-size: cover; background-position: center; filter: blur(6px) brightness(.32) saturate(.75); opacity: 0; animation: hslide 25s infinite; }
.hero-bg-slide:nth-child(1) { animation-delay: 0s; }
.hero-bg-slide:nth-child(2) { animation-delay: 5s; }
.hero-bg-slide:nth-child(3) { animation-delay: 10s; }
.hero-bg-slide:nth-child(4) { animation-delay: 15s; }
@keyframes hslide { 0%,100%{opacity:0} 6%,22%{opacity:1} 28%{opacity:0} }

.hero .container { position: relative; z-index: 1; }

.hero-inner { max-width: 860px; }

.hero-tag {
  display: inline-flex; align-items: center; gap: 1rem;
  font-size: .7rem; letter-spacing: .28em; color: var(--gold);
  text-transform: uppercase; font-weight: 400; margin-bottom: 2.5rem;
  opacity: 0; animation: up .8s forwards .2s;
}
.hero-tag::before { content: ''; width: 32px; height: 1px; background: var(--gold); }

.hero h1 {
  font-family: var(--serif);
  font-size: clamp(3rem,6vw,5.5rem);
  font-weight: 600; line-height: 1.04; color: var(--white);
  margin-bottom: 2rem; max-width: 14ch;
  opacity: 0; animation: up .8s forwards .4s;
}
.hero h1 em { font-style: italic; color: var(--gold); font-weight: 300; }

.hero-sub {
  font-size: 1rem; color: var(--dim); max-width: 480px;
  line-height: 1.8; margin-bottom: 3rem; font-weight: 300;
  opacity: 0; animation: up .8s forwards .6s;
}

.hero-ctas { display: flex; gap: 1.25rem; align-items: center; margin-bottom: 5rem; opacity: 0; animation: up .8s forwards .8s; }

.hero-stats {
  display: grid; grid-template-columns: repeat(4,1fr);
  border-top: 1px solid var(--border); padding-top: 3rem;
  opacity: 0; animation: up .8s forwards 1s;
}
.hero-stat              { padding: 0 2rem 0 0; border-right: 1px solid var(--border); }
.hero-stat:first-child  { padding-left: 0; }
.hero-stat:last-child   { border-right: none; }
.hero-stat .v {
  display: block; font-family: var(--serif); font-size: 2.8rem;
  font-weight: 300; color: var(--white); line-height: 1; margin-bottom: .35rem;
}
.hero-stat .l {
  display: block; font-size: .7rem; color: var(--dim);
  text-transform: uppercase; letter-spacing: .15em; font-weight: 400;
}

/* ---- SERVICES ------------------------------------ */
#servicios { background: var(--bg); }

.services-grid {
  display: grid; grid-template-columns: repeat(4,1fr);
  gap: 1px; background: rgba(201,162,39,.12);
}

.service-card {
  background: #111a2e; padding: 2.25rem 1.75rem;
  transition: all .4s; position: relative; overflow: hidden; cursor: default;
}
.service-card::after {
  content: ''; position: absolute; bottom: 0; left: 0; right: 0;
  height: 2px; background: linear-gradient(90deg,var(--gold),var(--gold2));
  transform: scaleX(0); transform-origin: left; transition: transform .4s;
}
.service-card:hover          { background: #15213a; }
.service-card:hover::after   { transform: scaleX(1); }

.service-icon               { width: 40px; height: 40px; display: flex; align-items: center; justify-content: center; margin-bottom: 1.25rem; color: var(--gold); opacity: .7; transition: opacity .3s; }
.service-icon svg           { width: 22px; height: 22px; }
.service-card:hover .service-icon { opacity: 1; }
.service-card h3            { font-family: var(--serif); font-size: 1rem; font-weight: 600; color: var(--white); margin-bottom: .6rem; line-height: 1.3; }
.service-card p             { font-size: .78rem; color: var(--dim); line-height: 1.7; font-weight: 300; }

/* ---- NOSOTROS ------------------------------------ */
#nosotros {
  background: rgba(255,255,255,.015);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.about-wrap   { display: grid; grid-template-columns: 5fr 4fr; gap: 6rem; align-items: center; }
.about-text h2 {
  font-family: var(--serif); font-size: clamp(2rem,3.5vw,3rem);
  font-weight: 600; color: var(--white); margin: 1.25rem 0 1.75rem; line-height: 1.12;
}
.about-text h2 em { font-style: italic; color: var(--gold); font-weight: 300; }
.about-text p     { font-size: .88rem; color: var(--dim); line-height: 1.85; margin-bottom: 1.25rem; font-weight: 300; }

.values-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; margin-top: 2.5rem; }
.value-card  { background: rgba(201,162,39,.04); border: 1px solid rgba(201,162,39,.12); padding: 1.4rem; }
.value-card-icon { display: none; }
.value-card h4   { font-family: var(--serif); font-size: .88rem; color: var(--gold); margin-bottom: .35rem; font-weight: 600; }
.value-card p    { font-size: .74rem; color: var(--dim); font-weight: 300; line-height: 1.6; }

.about-visual { position: relative; }
.glass-card   { background: rgba(255,255,255,.04); border: 1px solid var(--border); backdrop-filter: blur(20px); padding: 2.5rem; }
.gc-title     { font-size: .65rem; letter-spacing: .2em; color: var(--gold); text-transform: uppercase; margin-bottom: 2rem; font-weight: 400; }
.gc-row       { display: flex; justify-content: space-between; align-items: center; padding: 1rem 0; border-bottom: 1px solid var(--border); }
.gc-row:last-child { border-bottom: none; }
.gc-label     { font-size: .78rem; color: var(--dim); font-weight: 300; }
.gc-val       { font-family: var(--serif); font-size: 1.4rem; color: var(--white); }
.gc-val em    { font-style: italic; color: var(--gold); font-size: 1rem; }

/* ---- CLIENTES ------------------------------------ */
#clientes { background: var(--bg); }

.portfolio-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem;
}

.portfolio-card {
  background: #111a2e; border: 1px solid var(--border);
  overflow: hidden; transition: transform .35s, border-color .35s;
}
.portfolio-card:hover { transform: translateY(-4px); border-color: rgba(201,162,39,.3); }

.portfolio-shot {
  display: block; position: relative;
  aspect-ratio: 16/9; overflow: hidden; text-decoration: none;
}
.portfolio-shot img {
  width: 100%; height: 100%; object-fit: cover; object-position: top;
  display: block; transition: transform .5s; background: #111a2e;
}
.portfolio-card:hover .portfolio-shot img { transform: scale(1.03); }
.portfolio-shot-overlay {
  position: absolute; inset: 0;
  background: rgba(13,21,38,0); transition: background .35s;
}
.portfolio-card:hover .portfolio-shot-overlay { background: rgba(13,21,38,.35); }

.portfolio-info { padding: 1.75rem; }
.portfolio-tag  {
  display: block; font-size: .62rem; letter-spacing: .22em;
  color: var(--gold); text-transform: uppercase; font-weight: 400; margin-bottom: .6rem;
}
.portfolio-name {
  font-family: var(--serif); font-size: 1.15rem; font-weight: 600;
  color: var(--white); line-height: 1.25; margin-bottom: .65rem;
}
.portfolio-desc {
  font-size: .82rem; color: var(--dim); line-height: 1.75;
  font-weight: 300; margin-bottom: 1.25rem;
}
.portfolio-link {
  display: inline-flex; align-items: center; gap: .35rem;
  font-size: .75rem; color: var(--gold); text-decoration: none;
  font-weight: 400; letter-spacing: .04em; transition: opacity .2s;
}
.portfolio-link:hover { opacity: .7; }

/* ---- FAQ ----------------------------------------- */
#faq { background: rgba(255,255,255,.015); border-top: 1px solid var(--border); }

.faq-list { max-width: 760px; }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-item:first-child { border-top: 1px solid var(--border); }

.faq-q {
  width: 100%; display: flex; justify-content: space-between; align-items: center;
  background: none; border: none; cursor: pointer; padding: 1.4rem 0; gap: 1rem;
  font-family: var(--serif); font-size: .98rem; font-weight: 300;
  color: var(--white); text-align: left; transition: color .2s;
}
.faq-q:hover,
.faq-q[aria-expanded="true"] { color: var(--gold); }
.faq-icon                    { color: var(--gold); flex-shrink: 0; transition: transform .3s; }
.faq-q[aria-expanded="true"] .faq-icon { transform: rotate(45deg); }

.faq-a            { max-height: 0; overflow: hidden; transition: max-height .4s ease; }
.faq-a.open       { max-height: 300px; }
.faq-a-inner      { padding: 0 0 1.4rem; font-size: .84rem; color: var(--dim); line-height: 1.85; font-weight: 300; }

/* ---- CONTACTO ------------------------------------ */
#contacto { background: var(--bg); }

.contact-wrap { display: grid; grid-template-columns: 1fr 1.5fr; gap: 5rem; align-items: start; }

.contact-info-item { display: flex; align-items: flex-start; gap: 1rem; margin-bottom: 1.75rem; }
.contact-info-icon {
  width: 38px; height: 38px; flex-shrink: 0;
  border: 1px solid rgba(201,162,39,.25);
  display: flex; align-items: center; justify-content: center; color: var(--gold);
}
.contact-info-icon svg  { width: 16px; height: 16px; }
.contact-info-item .l   { display: block; font-size: .65rem; color: var(--dim); text-transform: uppercase; letter-spacing: .1em; margin-bottom: .2rem; }
.contact-info-item .v,
.contact-info-item a.v  { font-size: .88rem; color: var(--white); text-decoration: none; font-weight: 300; transition: color .2s; display: block; }
.contact-info-item a.v:hover { color: var(--gold); }
.contact-info-text { font-size: .82rem; color: var(--dim); line-height: 1.8; font-weight: 300; margin-top: 2rem; }

/* Forms */
.contact-form { display: flex; flex-direction: column; gap: 1rem; }
.field        { display: flex; flex-direction: column; gap: .4rem; }
.field label  { font-size: .72rem; color: var(--dim); font-weight: 300; text-transform: uppercase; letter-spacing: .08em; }
.req          { color: var(--gold); }

input, textarea, select {
  background: rgba(255,255,255,.03); border: 1px solid var(--border);
  color: var(--white); padding: .85rem 1.1rem;
  font-family: var(--sans); font-size: .82rem; font-weight: 300;
  width: 100%; outline: none; transition: border-color .25s;
  -webkit-appearance: none; border-radius: 0;
}
input:focus, textarea:focus, select:focus { border-color: rgba(201,162,39,.5); }
input::placeholder, textarea::placeholder { color: rgba(240,237,230,.2); }
textarea { height: 120px; resize: vertical; }
select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23c9a227' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 1rem center;
  padding-right: 2.5rem; cursor: pointer;
}
select option { background: #111a2e; color: var(--white); }

.form-msg         { padding: .75rem 1rem; font-size: .8rem; display: none; margin-bottom: .5rem; }
.form-msg.success { background: rgba(0,200,100,.08); border: 1px solid rgba(0,200,100,.2); color: #4ade80; }
.form-msg.error   { background: rgba(200,50,50,.08); border: 1px solid rgba(200,50,50,.2); color: #f87171; }
.form-msg.show    { display: block; }

/* ---- FOOTER -------------------------------------- */
.footer {
  border-top: 1px solid var(--border);
  padding: 4rem 0 2rem;
  position: relative; z-index: 1;
}

.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 4rem; margin-bottom: 3rem; }

.footer-logo        { display: flex; align-items: center; margin-bottom: .75rem; }
.footer-logo img    { height: 60px; width: auto; opacity: .9; }
.footer-logo .brand-icon,
.footer-logo .brand-name { display: none; }

.footer-brand p     { font-size: .78rem; color: var(--dim); font-weight: 300; }

.footer h4          { font-family: var(--serif); font-size: .82rem; font-weight: 600; color: var(--white); margin-bottom: 1.25rem; }
.footer-links       { list-style: none; display: flex; flex-direction: column; gap: .65rem; }
.footer-links a     { font-size: .78rem; color: var(--dim); text-decoration: none; font-weight: 300; transition: color .2s; }
.footer-links a:hover { color: var(--gold); }

.footer-social      { display: flex; gap: .75rem; flex-wrap: wrap; }
.footer-social a    { width: 36px; height: 36px; border: 1px solid var(--border); display: flex; align-items: center; justify-content: center; color: var(--dim); transition: all .25s; }
.footer-social a:hover { border-color: var(--gold); color: var(--gold); }
.footer-social svg  { width: 15px; height: 15px; }

.footer-bottom      { border-top: 1px solid var(--border); padding-top: 1.5rem; display: flex; justify-content: space-between; align-items: center; }
.footer-bottom span { font-size: .72rem; color: var(--dim); font-weight: 300; }

/* ---- MODAL --------------------------------------- */
.modal-backdrop {
  position: fixed; inset: 0; z-index: 200;
  background: rgba(13,21,38,.88); backdrop-filter: blur(8px);
  display: flex; align-items: center; justify-content: center; padding: 1rem;
  opacity: 0; pointer-events: none; transition: opacity .3s;
}
.modal-backdrop.open { opacity: 1; pointer-events: all; }

.modal {
  background: #111a2e; border: 1px solid var(--border);
  display: grid; grid-template-columns: 280px 1fr;
  max-width: 860px; width: 100%; max-height: 92vh; overflow-y: auto;
  position: relative;
}

.modal-close       { position: absolute; top: 1.25rem; right: 1.25rem; background: none; border: none; cursor: pointer; color: var(--dim); z-index: 10; transition: color .2s; }
.modal-close:hover { color: var(--white); }

.modal-aside {
  background: rgba(201,162,39,.04);
  border-right: 1px solid rgba(201,162,39,.12);
  padding: 2.5rem 2rem;
}
.modal-aside .badge { margin-bottom: 1rem; }
.modal-aside h3     { font-family: var(--serif); font-size: 1.3rem; font-weight: 600; color: var(--white); margin: 0 0 1rem; line-height: 1.25; }
.modal-aside p      { font-size: .78rem; color: var(--dim); line-height: 1.7; font-weight: 300; }

.steps-list  { margin-top: 2.5rem; display: flex; flex-direction: column; gap: 1rem; }
.step-item   { display: flex; align-items: center; gap: .75rem; font-size: .75rem; color: var(--dim); font-weight: 300; transition: color .25s; }
.step-item.active { color: var(--white); }
.step-num    { width: 28px; height: 28px; border: 1px solid var(--border); display: flex; align-items: center; justify-content: center; font-family: var(--serif); font-size: .72rem; color: var(--dim); flex-shrink: 0; transition: all .25s; }
.step-item.active .step-num { border-color: var(--gold); color: var(--gold); }

.modal-body  { padding: 2.5rem; }
.modal-step  { display: none; }
.modal-step.active { display: block; }
.modal-actions { display: flex; gap: 1rem; margin-top: 1.5rem; }

.modal-success     { display: none; text-align: center; padding: 3rem 0; }
.modal-success.show   { display: block; }
.success-check     { width: 60px; height: 60px; border: 2px solid var(--gold); border-radius: 50%; display: flex; align-items: center; justify-content: center; margin: 0 auto 1.5rem; color: var(--gold); }
.success-check svg { width: 28px; height: 28px; }
.modal-success h3  { font-family: var(--serif); font-size: 1.5rem; color: var(--white); margin-bottom: .75rem; }
.modal-success p   { font-size: .84rem; color: var(--dim); margin-bottom: 1.5rem; }

/* ---- ANIMATIONS ---------------------------------- */
@keyframes up { from { opacity:0; transform:translateY(28px); } to { opacity:1; transform:none; } }
.reveal         { opacity: 0; transform: translateY(28px); transition: opacity .7s, transform .7s; }
.reveal.visible { opacity: 1; transform: none; }

/* ---- WHATSAPP FAB -------------------------------- */
.whatsapp-fab {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 9999;
  width: 56px;
  height: 56px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(37,211,102,.45);
  transition: transform .2s ease, box-shadow .2s ease;
  text-decoration: none;
}
.whatsapp-fab:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 28px rgba(37,211,102,.6);
}
.whatsapp-fab svg {
  width: 30px;
  height: 30px;
  fill: #fff;
}

/* ---- TURNSTILE ----------------------------------- */
.cf-turnstile        { margin: 1rem 0; }

/* ---- LOGIN PAGE ---------------------------------- */
.login-page {
  min-height: calc(100vh - var(--nav-h));
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4rem 1.5rem;
  position: relative;
  z-index: 1;
}

.login-card {
  width: 100%;
  max-width: 420px;
  background: rgba(255,255,255,.03);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 3rem 2.5rem;
  text-align: center;
}

.login-logo { margin-bottom: 1.75rem; }
.login-logo img { height: 52px; }

.login-card h1 {
  font-family: var(--serif);
  font-size: 1.6rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: .4rem;
}

.login-sub {
  font-size: .84rem;
  color: var(--dim);
  margin-bottom: 2rem;
}

.login-back {
  display: inline-block;
  margin-top: 1.5rem;
  font-size: .8rem;
  color: var(--dim);
  text-decoration: none;
  transition: color .2s;
}
.login-back:hover { color: var(--gold); }

/* ---- RESPONSIVE ---------------------------------- */
@media(max-width:1100px) {
  .services-grid  { grid-template-columns: repeat(2,1fr); }
  .footer-grid    { grid-template-columns: 1fr 1fr; }
}

@media(max-width:900px) {
  .nav-wrap       { padding: .6rem 1.5rem; }
  .nav-links      { display: none; }
  .nav-burger     { display: flex; }
  .nav-logo img   { height: 48px; }
  .nav-actions .btn-outline,
  .nav-actions .btn-primary { display: none; }
  section         { padding: 4.5rem 0; }
  .container      { padding: 0 1.5rem; }
  .hero-ctas      { flex-direction: column; align-items: flex-start; }
  .hero-stats     { grid-template-columns: 1fr 1fr; gap: 2rem; padding-top: 2rem; }
  .hero-stat      { border-right: none; padding: 0; }
  .about-wrap     { grid-template-columns: 1fr; gap: 3rem; }
  .contact-wrap   { grid-template-columns: 1fr; gap: 3rem; }
  .modal          { grid-template-columns: 1fr; }
  .modal-aside    { border-right: none; border-bottom: 1px solid rgba(201,162,39,.12); padding: 2rem; }
  .footer-grid    { grid-template-columns: 1fr; gap: 2.5rem; }
  .footer-bottom  { flex-direction: column; gap: .5rem; text-align: center; }
}

@media(max-width:768px) {
  .portfolio-grid { grid-template-columns: 1fr 1fr; }
}
@media(max-width:500px) {
  .portfolio-grid { grid-template-columns: 1fr; }
}

@media(max-width:600px) {
  .services-grid  { grid-template-columns: 1fr; }
  .values-grid    { grid-template-columns: 1fr; }
  .nav-mobile     { padding: 1.5rem; }
  .modal          { max-height: 100vh; }
  /* Touch targets: 44px minimum per mobile UX guidelines */
  .lang-btn       { min-height: 44px; min-width: 44px; padding: .5rem .6rem; }
  .nav-burger     { min-height: 44px; min-width: 44px; }
  .faq-q          { min-height: 48px; display: flex; align-items: center; }
  /* Boost smallest decorative text for readability */
  .sec-eyebrow span, .gc-title { font-size: .75rem; }
}
