:root {
  --bg-dark: #0d1a1f;
  --bg-soft: #f4f0ec;
  --panel: #ffffff;
  --ink: #1d2327;
  --muted: #5f676f;
  --line: rgba(16, 24, 31, 0.12);
  --accent: #ef4a2d;
  --accent-dark: #c7381e;
  --whatsapp: #25d366;
  --whatsapp-dark: #1ebe5b;
  --shadow: 0 22px 55px rgba(16, 24, 31, 0.14);
  --gap: 22px;
  --radius-lg: 24px;
  --radius-md: 16px;
  --container-max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Montserrat", sans-serif;
  background: #f7f3ee;
  color: var(--ink);
  line-height: 1.6;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

.container {
  width: min(var(--container-max), calc(100% - 32px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(13, 26, 31, 0.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 90px;
  gap: 20px;
}

.brand {
  display: inline-flex;
  align-items: center;
  width: 200px;
}

.brand img {
  width: 100%;
  height: auto;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.93rem;
  font-weight: 500;
}

.main-nav a {
  transition: color 0.2s ease;
}

.main-nav a:hover {
  color: #ffffff;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.9rem 1.5rem;
  border-radius: 999px;
  font-weight: 700;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-sm {
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-primary {
  background: var(--accent);
  color: white;
  box-shadow: 0 15px 28px rgba(239, 74, 45, 0.26);
}

.btn-primary:hover {
  background: var(--accent-dark);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.12);
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.25);
}

.btn-whatsapp {
  background: var(--whatsapp);
  color: white;
  gap: 0.5rem;
  box-shadow: 0 15px 28px rgba(37, 211, 102, 0.28);
}

.btn-whatsapp:hover {
  background: var(--whatsapp-dark);
}

.btn-whatsapp svg {
  width: 1.15em;
  height: 1.15em;
  flex-shrink: 0;
}

.whatsapp-float {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--whatsapp);
  color: white;
  box-shadow: 0 12px 26px rgba(37, 211, 102, 0.45);
  transition: transform 0.2s ease, background 0.2s ease;
}

.whatsapp-float:hover {
  background: var(--whatsapp-dark);
  transform: scale(1.06);
}

.whatsapp-float svg {
  width: 30px;
  height: 30px;
}

.whatsapp-float::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: var(--whatsapp);
  opacity: 0.55;
  animation: whatsapp-pulse 2.2s ease-out infinite;
  z-index: -1;
}

@keyframes whatsapp-pulse {
  0% {
    transform: scale(1);
    opacity: 0.55;
  }
  100% {
    transform: scale(1.8);
    opacity: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .whatsapp-float::before {
    animation: none;
  }
}

.hero {
  position: relative;
  min-height: 740px;
  display: flex;
  align-items: center;
  background-image: url("EJEMPLOS/ARTEKNO (1).jpg");
  background-size: cover;
  background-position: center;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(10, 18, 23, 0.72) 0%, rgba(10, 18, 23, 0.42) 34%, rgba(10, 18, 23, 0.25) 100%);
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  align-items: center;
  gap: calc(var(--gap) * 2);
  padding: 72px 0;
}

.eyebrow {
  margin: 0 0 18px;
  color: #d7dfe4;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 0.72rem;
  font-weight: 700;
}

.eyebrow-dark {
  color: var(--accent);
}

.hero-copy h1 {
  margin: 0;
  max-width: 680px;
  color: #fdfdfc;
  font-size: clamp(2.5rem, 4.2vw, 6rem);
  line-height: 0.95;
  letter-spacing: -0.06em;
}

.lead {
  max-width: 600px;
  margin-top: 22px;
  font-size: 1.08rem;
  color: rgba(255, 255, 255, 0.9);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 32px;
}

.hero-stats {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  padding: 0;
  margin: 42px 0 0;
  color: #fff;
}

.hero-stats li {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.hero-stats strong {
  font-size: clamp(1.5rem, 2vw, 2.2rem);
  font-weight: 800;
}

.hero-stats span {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.85rem;
}

.hero-card {
  display: flex;
  justify-content: center;
}

.mini-card {
  width: min(420px, 100%);
  padding: 22px 22px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius-lg);
  background: rgba(13, 26, 31, 0.32);
  box-shadow: var(--shadow);
  color: #fff;
}

.mini-card span {
  display: block;
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7);
}

.mini-card h3 {
  margin: 10px 0 0;
  font-size: clamp(1.6rem, 2vw, 2.4rem);
  line-height: 1.1;
}

.services,
.projects,
.about {
  padding: 80px 0;
}

.section-heading {
  max-width: 760px;
  margin: 0 auto 44px;
  text-align: center;
}

.section-heading h2,
.about-copy h2,
.cta-wrap h2 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(2rem, 3vw, 3rem);
  line-height: 1.1;
  letter-spacing: -0.04em;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(200px, 1fr));
  gap: var(--gap);
}

.service-item {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 22px 18px;
  box-shadow: 0 10px 18px rgba(19, 23, 32, 0.04);
}

.icon {
  width: 58px;
  height: 58px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  background: rgba(239, 74, 45, 0.12);
  color: var(--accent);
  font-weight: 800;
  margin-bottom: 18px;
}

.service-item h3 {
  margin: 0 0 12px;
  font-size: 1.16rem;
}

.service-item p {
  margin: 0;
  color: var(--muted);
  font-size: 0.96rem;
}

.about {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.4), rgba(244, 240, 236, 0.95));
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  align-items: center;
}

.about-visual img {
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.about-copy p {
  color: var(--muted);
  font-size: 1.02rem;
}

.about-points {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.about-points span {
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(13, 26, 31, 0.1);
  background: rgba(255, 255, 255, 0.7);
  border-radius: 999px;
  padding: 0.7rem 1rem;
  font-weight: 600;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(160px, 1fr));
  gap: 14px;
}

.gallery-item {
  margin: 0;
  overflow: hidden;
  border-radius: 20px;
  box-shadow: 0 10px 22px rgba(18, 22, 29, 0.07);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  min-height: 200px;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.gallery-item:hover img {
  transform: scale(1.04);
}

.gallery-item.tall {
  grid-row: span 2;
}

.gallery-item.wide {
  grid-column: span 2;
}

.gallery-item img {
  min-height: 240px;
}

.cta-strip {
  background: #101c22;
  color: #fff;
  padding: 36px 0;
}

.cta-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.cta-wrap h2 {
  color: #fff;
}

.site-footer {
  background: #0d1a1f;
  color: rgba(255, 255, 255, 0.8);
  padding-top: 52px;
}

/* Responsive adjustments */
@media (min-width: 900px) {
  .about-grid {
    grid-template-columns: 1.05fr 1fr;
  }
  .gallery-grid {
    grid-template-columns: repeat(4, minmax(200px, 1fr));
  }
}

@media (max-width: 900px) {
  .hero-grid {
    grid-template-columns: 1fr;
    padding: 48px 0;
    gap: 18px;
  }
  .service-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 520px) {
  .service-grid {
    grid-template-columns: 1fr;
  }
  .hero {
    min-height: 520px;
  }
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 0.8fr;
  gap: 32px;
  padding-bottom: 26px;
}

.footer-brand img {
  width: 210px;
  margin-bottom: 18px;
}

.footer-brand p,
.footer-contact ul,
.footer-social a {
  color: rgba(255, 255, 255, 0.74);
}

.footer-contact h3,
.footer-social h3 {
  margin: 0 0 16px;
  color: white;
  font-size: 1.08rem;
}

.footer-contact ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 10px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding: 18px 0 28px;
  text-align: center;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.9rem;
}

.social-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

@media (max-width: 980px) {
  .service-grid {
    grid-template-columns: repeat(2, minmax(220px, 1fr));
  }

  .about-grid,
  .hero-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: 620px;
  }

  .gallery-grid {
    grid-template-columns: repeat(2, minmax(200px, 1fr));
  }

  .gallery-item.wide {
    grid-column: span 2;
  }
}

@media (max-width: 720px) {
  .nav-wrap {
    flex-wrap: wrap;
    justify-content: center;
    padding: 16px 0;
  }

  .main-nav {
    width: 100%;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px 20px;
    font-size: 0.8rem;
  }

  .brand {
    width: 170px;
  }

  .hero {
    min-height: 540px;
  }

  .hero-copy h1 {
    font-size: 3rem;
  }

  .cta-wrap {
    flex-direction: column;
    align-items: flex-start;
  }

  .service-grid,
  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .gallery-item.wide,
  .gallery-item.tall {
    grid-column: auto;
    grid-row: auto;
  }
}
