/* Dena3D — hoja de estilos principal */

:root {
  --navy: #0b1626;
  --navy-2: #101d33;
  --orange: #ff6a2b;
  --orange-2: #ff8a50;
  --cyan: #22d3ee;
  --ink: #16202f;
  --ink-soft: #4a5568;
  --paper: #ffffff;
  --paper-soft: #f5f7fa;
  --line: #e6e9ee;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(11, 22, 38, 0.08);
  --shadow-lg: 0 20px 50px rgba(11, 22, 38, 0.16);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: 'Poppins', 'Segoe UI', system-ui, -apple-system, sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, h4 { line-height: 1.2; margin: 0 0 .5em; }

.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 14px;
}
.eyebrow::before {
  content: "";
  width: 22px;
  height: 2px;
  background: var(--orange);
  display: inline-block;
}

.section { padding: 88px 0; }
.section-tight { padding: 56px 0; }
.section-alt { background: var(--paper-soft); }
.section-dark {
  background: linear-gradient(160deg, var(--navy) 0%, var(--navy-2) 100%);
  color: #f2f5f9;
}
.section-dark .ink-soft { color: #aab6c6; }

.section-head { max-width: 640px; margin-bottom: 48px; }
.section-head h2 { font-size: clamp(28px, 3.4vw, 38px); }
.section-head p { color: var(--ink-soft); font-size: 17px; }
.section-dark .section-head p { color: #aab6c6; }
.center { text-align: center; margin-left: auto; margin-right: auto; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 26px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 15px;
  border: none;
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary {
  background: linear-gradient(135deg, var(--orange) 0%, var(--orange-2) 100%);
  color: #fff;
  box-shadow: 0 12px 24px rgba(255, 106, 43, .28);
}
.btn-primary:hover { box-shadow: 0 16px 30px rgba(255, 106, 43, .38); }
.btn-ghost {
  background: rgba(255,255,255,.08);
  color: #fff;
  border: 1px solid rgba(255,255,255,.28);
}
.btn-ghost:hover { background: rgba(255,255,255,.16); }
.btn-outline {
  background: transparent;
  color: var(--navy);
  border: 1.5px solid var(--line);
}
.btn-outline:hover { border-color: var(--orange); color: var(--orange); }
.btn-block { width: 100%; justify-content: center; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 78px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 21px;
  color: var(--navy);
}
.brand .dot { color: var(--orange); }
.brand svg { flex-shrink: 0; }
.brand img { height: 42px; width: auto; border-radius: 8px; }
.site-footer .brand img { height: 38px; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
}
.nav-links a {
  font-weight: 500;
  font-size: 15px;
  color: var(--ink-soft);
  position: relative;
  padding: 6px 0;
}
.nav-links a:hover, .nav-links a.active { color: var(--navy); }
.nav-links a.active::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -2px;
  height: 2px;
  background: var(--orange);
  border-radius: 2px;
}

.nav-actions { display: flex; align-items: center; gap: 14px; }
.nav-phone {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: 14px;
  color: var(--navy);
}
.nav-phone svg { color: var(--orange); }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span {
  width: 24px;
  height: 2px;
  background: var(--navy);
  border-radius: 2px;
  transition: transform .2s ease, opacity .2s ease;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  background: radial-gradient(circle at 82% 18%, rgba(255,106,43,.20), transparent 45%),
              linear-gradient(160deg, var(--navy) 0%, var(--navy-2) 70%);
  color: #fff;
  padding: 96px 0 110px;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 48px;
  align-items: center;
}
.hero h1 {
  font-size: clamp(34px, 4.6vw, 54px);
  letter-spacing: -.01em;
}
.hero h1 .accent { color: var(--orange); }
.hero p.lead {
  font-size: 18px;
  color: #c4cede;
  max-width: 520px;
  margin-bottom: 32px;
}
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 40px; }
.hero-stats {
  display: flex;
  gap: 36px;
  flex-wrap: wrap;
  padding-top: 28px;
  border-top: 1px solid rgba(255,255,255,.14);
}
.hero-stats div strong { display: block; font-size: 26px; color: #fff; }
.hero-stats div span { font-size: 13px; color: #9fabbd; }

.hero-art { position: relative; }
.hero-photo {
  margin: 0;
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.14);
  box-shadow: 0 24px 60px rgba(0,0,0,.35);
  background: rgba(255,255,255,.05);
}
.hero-photo img { width: 100%; height: auto; display: block; }
.hero-photo figcaption {
  padding: 14px 20px;
  font-size: 13.5px;
  color: #aab6c6;
  background: rgba(255,255,255,.05);
}
.printer-card {
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 22px;
  padding: 30px;
  backdrop-filter: blur(6px);
}
.layer-bars { display: grid; gap: 10px; margin-top: 22px; }
.layer-bars .bar {
  height: 10px;
  border-radius: 6px;
  background: linear-gradient(90deg, var(--orange), var(--orange-2));
  opacity: .95;
}
.layer-bars .bar:nth-child(1) { width: 100%; }
.layer-bars .bar:nth-child(2) { width: 82%; opacity: .8; }
.layer-bars .bar:nth-child(3) { width: 92%; opacity: .65; }
.layer-bars .bar:nth-child(4) { width: 70%; opacity: .5; }
.layer-bars .bar:nth-child(5) { width: 60%; opacity: .35; }

/* ---------- Badges / materials ---------- */
.badge-row { display: flex; flex-wrap: wrap; gap: 10px; }
.badge {
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  border: 1px solid var(--line);
  color: var(--ink-soft);
  background: var(--paper);
}
.section-dark .badge { border-color: rgba(255,255,255,.2); color: #dbe2ee; background: rgba(255,255,255,.06); }

/* ---------- Service cards ---------- */
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }

.card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 26px;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; }
.card-icon {
  width: 52px; height: 52px;
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, rgba(255,106,43,.14), rgba(255,138,80,.08));
  color: var(--orange);
  margin-bottom: 18px;
}
.card h3 { font-size: 19px; }
.card p { color: var(--ink-soft); font-size: 15px; margin: 0; }
.card a.card-link { display: inline-flex; align-items: center; gap: 6px; margin-top: 14px; font-weight: 600; font-size: 14px; color: var(--orange); }

/* ---------- Steps ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; counter-reset: step; }
.step { position: relative; padding-top: 8px; }
.step .num {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--navy);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700;
  margin-bottom: 16px;
}
.step h4 { font-size: 16px; }
.step p { color: var(--ink-soft); font-size: 14px; margin: 0; }

/* ---------- Equipment ---------- */
.equip-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.equip-card {
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.05);
  border-radius: var(--radius);
  padding: 22px;
}
.equip-card strong { display: block; font-size: 16px; margin-bottom: 4px; color: #fff; }
.equip-card span { font-size: 13px; color: #9fabbd; }

/* ---------- Gallery / proyectos ---------- */
.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.gallery-card {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--paper);
}
.gallery-visual {
  height: 190px;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(150deg, var(--navy), var(--navy-2));
  color: var(--orange);
  position: relative;
}
.gallery-visual::after {
  content: "";
  position: absolute; inset: 0;
  background: repeating-linear-gradient(0deg, rgba(255,255,255,.05) 0px, rgba(255,255,255,.05) 2px, transparent 2px, transparent 10px);
}

/* Photo variant: real project photography */
.gallery-visual.has-photo { height: 210px; padding: 0; }
.gallery-visual.has-photo::after { content: none; }
.gallery-visual.has-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .35s ease;
}
.gallery-card:hover .gallery-visual.has-photo img { transform: scale(1.05); }
.gallery-card {
  transition: transform .2s ease, box-shadow .2s ease;
}
.gallery-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.gallery-body .tag-row { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.gallery-body .tag {
  font-size: 11.5px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--paper-soft);
  border: 1px solid var(--line);
  color: var(--ink-soft);
}
.gallery-body { padding: 20px 22px 24px; }
.gallery-body h4 { font-size: 16px; margin-bottom: 6px; }
.gallery-body p { font-size: 14px; color: var(--ink-soft); margin: 0; }

.notice-panel {
  border: 1px dashed rgba(255,106,43,.4);
  background: rgba(255,106,43,.06);
  border-radius: var(--radius);
  padding: 26px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  margin-top: 40px;
}
.notice-panel p { margin: 0; color: var(--ink-soft); max-width: 520px; }
.notice-panel strong { color: var(--navy); }

/* ---------- CTA banner ---------- */
.cta-banner {
  background: linear-gradient(135deg, var(--orange) 0%, #ff8f5c 100%);
  border-radius: 24px;
  padding: 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  flex-wrap: wrap;
  color: #fff;
}
.cta-banner h3 { font-size: 28px; max-width: 480px; }
.cta-banner p { color: rgba(255,255,255,.9); margin: 8px 0 0; }
.cta-banner .btn-ghost { border-color: rgba(255,255,255,.5); }

/* ---------- Contact page ---------- */
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 48px; }
.info-list { display: grid; gap: 22px; margin-top: 28px; }
.info-item { display: flex; gap: 16px; }
.info-item .ic {
  width: 44px; height: 44px; flex-shrink: 0;
  border-radius: 12px;
  background: rgba(255,106,43,.12);
  color: var(--orange);
  display: flex; align-items: center; justify-content: center;
}
.info-item h4 { font-size: 15px; margin-bottom: 2px; }
.info-item p { margin: 0; color: var(--ink-soft); font-size: 14.5px; }

.form-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow);
}
.field { margin-bottom: 18px; }
.field label { display: block; font-size: 13.5px; font-weight: 600; margin-bottom: 7px; color: var(--navy); }
.field input, .field textarea, .field select {
  width: 100%;
  padding: 13px 15px;
  border-radius: 10px;
  border: 1.5px solid var(--line);
  font: inherit;
  color: var(--ink);
  background: var(--paper-soft);
  resize: vertical;
}
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none;
  border-color: var(--orange);
  background: #fff;
}
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.map-embed {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  margin-top: 28px;
  height: 260px;
}
.map-embed iframe { width: 100%; height: 100%; border: 0; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--navy);
  color: #c4cede;
  padding: 64px 0 28px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,.1);
}
.footer-brand .brand { color: #fff; margin-bottom: 14px; }
.footer-grid p { font-size: 14px; color: #98a4b8; }
.footer-grid h5 { color: #fff; font-size: 14px; margin-bottom: 16px; letter-spacing: .03em; text-transform: uppercase; }
.footer-grid ul li { margin-bottom: 10px; }
.footer-grid ul li a { font-size: 14.5px; color: #b7c1d1; }
.footer-grid ul li a:hover { color: var(--orange); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  padding-top: 24px;
  font-size: 13px;
  color: #7f8ba0;
}
.social-row { display: flex; gap: 12px; }
.social-row a {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,.06);
  display: flex; align-items: center; justify-content: center;
  color: #dbe2ee;
}
.social-row a:hover { background: var(--orange); color: #fff; }

.whatsapp-fab {
  position: fixed;
  right: 24px;
  bottom: 24px;
  width: 58px; height: 58px;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 10px 24px rgba(37,211,102,.4);
  z-index: 90;
  transition: transform .2s ease;
}
.whatsapp-fab:hover { transform: scale(1.08); }

/* ---------- Page hero (interior pages) ---------- */
.page-hero {
  background: linear-gradient(160deg, var(--navy) 0%, var(--navy-2) 100%);
  color: #fff;
  padding: 64px 0 56px;
}
.page-hero .crumb { font-size: 13px; color: #9fabbd; margin-bottom: 14px; }
.page-hero .crumb a { color: #cdd6e4; }
.page-hero h1 { font-size: clamp(28px, 3.6vw, 42px); }
.page-hero p { color: #c4cede; max-width: 560px; }

/* ---------- FAQ ---------- */
.faq-list { display: grid; gap: 14px; max-width: 860px; }
.faq-item {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  overflow: hidden;
}
.faq-item summary {
  padding: 20px 24px;
  font-weight: 600;
  font-size: 16.5px;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  color: var(--navy);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  font-size: 22px;
  font-weight: 400;
  color: var(--orange);
  flex-shrink: 0;
  line-height: 1;
}
.faq-item[open] summary::after { content: "−"; }
.faq-item .faq-body { padding: 0 24px 22px; color: var(--ink-soft); font-size: 15px; }
.faq-item .faq-body p { margin: 0; }

/* ---------- Material table ---------- */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); }
table.mat-table { width: 100%; border-collapse: collapse; min-width: 620px; background: var(--paper); }
table.mat-table th, table.mat-table td {
  padding: 15px 20px;
  text-align: left;
  border-bottom: 1px solid var(--line);
  font-size: 14.5px;
}
table.mat-table th { background: var(--paper-soft); font-weight: 600; color: var(--navy); font-size: 13.5px; }
table.mat-table td { color: var(--ink-soft); }
table.mat-table td strong { color: var(--navy); }
table.mat-table tr:last-child td { border-bottom: none; }

/* ---------- Zone links ---------- */
.zone-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.zone-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px 24px;
  background: var(--paper);
}
.zone-card h4 { font-size: 16px; margin-bottom: 6px; }
.zone-card p { font-size: 14px; color: var(--ink-soft); margin: 0; }

/* ---------- Testimonials ---------- */
.quote-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 26px;
  background: var(--paper);
}
.quote-card .stars { color: var(--orange); font-size: 15px; letter-spacing: 2px; margin-bottom: 12px; }
.quote-card p { font-size: 15px; color: var(--ink-soft); margin: 0 0 16px; }
.quote-card .who { font-weight: 600; font-size: 14px; color: var(--navy); }
.quote-card .who span { display: block; font-weight: 400; font-size: 13px; color: var(--ink-soft); }

/* ---------- Google reviews ---------- */
.rating-head {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  padding: 22px 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  margin-bottom: 28px;
}
.rating-score { font-size: 40px; font-weight: 700; color: var(--navy); line-height: 1; }
.rating-meta .stars { color: #fbbc04; font-size: 18px; letter-spacing: 3px; }
.rating-meta p { margin: 4px 0 0; font-size: 14px; color: var(--ink-soft); }
.rating-head .g-logo { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.rating-head .g-logo span { font-size: 13.5px; color: var(--ink-soft); }

.review-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.review-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 24px;
  background: var(--paper);
  display: flex;
  flex-direction: column;
}
.review-card .stars { color: #fbbc04; font-size: 15px; letter-spacing: 2px; margin-bottom: 12px; }
.review-card blockquote {
  margin: 0 0 18px;
  font-size: 15.5px;
  color: var(--ink);
  line-height: 1.6;
  flex: 1;
}
.review-card .who {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}
.review-card .avatar {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--orange), var(--orange-2));
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700;
  font-size: 15px;
  flex-shrink: 0;
}
.review-card .who strong { display: block; font-size: 14.5px; color: var(--navy); }
.review-card .who span { font-size: 12.5px; color: var(--ink-soft); }

/* ---------- Trust strip ---------- */
.trust-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  padding: 28px 0;
}
.trust-item { display: flex; gap: 12px; align-items: flex-start; }
.trust-item svg { color: var(--orange); flex-shrink: 0; margin-top: 2px; }
.trust-item strong { display: block; font-size: 15px; color: var(--navy); }
.trust-item span { font-size: 13.5px; color: var(--ink-soft); }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-art { order: -1; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .equip-row { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .zone-grid { grid-template-columns: repeat(2, 1fr); }
  .review-grid { grid-template-columns: repeat(2, 1fr); }
  .trust-strip { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 720px) {
  .nav-links, .nav-phone { display: none; }
  .nav-toggle { display: flex; }
  .site-header.menu-open .nav-links {
    display: flex;
    position: absolute;
    top: 78px; left: 0; right: 0;
    background: #fff;
    flex-direction: column;
    padding: 20px 24px 28px;
    gap: 18px;
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
  }
  .grid-4, .grid-3, .grid-2, .steps, .gallery-grid, .zone-grid, .trust-strip, .review-grid { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; }
  .cta-banner { flex-direction: column; text-align: center; padding: 40px 26px; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .section { padding: 64px 0; }
}
