
:root {
  --red: #ed1c2e;
  --red-dark: #c91627;
  --ink: #202020;
  --muted: #707070;
  --white: #ffffff;
  --soft: #f6f6f6;
  --line: #e8e8e8;
  --serif: Georgia, "Times New Roman", serif;
  --sans: Arial, Helvetica, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: var(--sans);
  line-height: 1.65;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

.container {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
}

.narrow {
  max-width: 790px;
}

.text-center {
  text-align: center;
}

h1, h2, h3, p {
  margin-top: 0;
}

h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 400;
}

h2 {
  font-size: clamp(34px, 4vw, 52px);
  line-height: 1.12;
  letter-spacing: -1px;
  margin-bottom: 22px;
}

p {
  color: var(--muted);
}

.eyebrow {
  display: inline-block;
  color: var(--red);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: 15px;
}

.section {
  padding: 105px 0;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 22px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  border: 1px solid transparent;
  transition: .25s ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-red {
  color: white;
  background: var(--red);
}

.button-red:hover {
  background: var(--red-dark);
}

.button-dark {
  color: white;
  background: var(--ink);
}

.button-dark:hover {
  background: var(--red);
}

.button-outline {
  color: var(--ink);
  border-color: #c9c9c9;
  background: transparent;
}

.button-outline:hover {
  border-color: var(--red);
  color: var(--red);
}

.button-light {
  color: var(--ink);
  background: white;
}

.button-light:hover {
  color: white;
  background: var(--red);
}

/* CABECERA */

.site-header {
  height: 94px;
  position: sticky;
  top: 0;
  z-index: 100;
  background: #202020;
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
}

.header-inner {
  height: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 30px;
}

.brand {
  display: inline-flex;
  align-items: center;
  min-width: 220px;
}

.logo {
  background: transparent;
  width: 255px;
  max-height: 68px;
  object-fit: contain;
  object-position: left center;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 27px;
}

.main-nav a {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .8px;
  text-transform: uppercase;
  color: #919191;
  transition: color .2s;
}

.main-nav a:hover {
  color: var(--red);
}

.main-nav .nav-cta {
  padding: 13px 17px;
  color: white;
  background: var(--red);
}

.main-nav .nav-cta:hover {
  background: var(--ink);
  color: white;
}

.menu-toggle {
  display: none;
  background: transparent;
  border: 0;
  color: var(--ink);
  font-size: 27px;
  cursor: pointer;
}

/* PORTADA */

.hero {
  display: grid;
  grid-template-columns: 48% 52%;
  min-height: 630px;
  background: #f5f5f5;
}

.hero-copy {
  padding: 85px 55px 85px max(35px, calc((100vw - 1180px)/2));
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero h1 {
  font-size: clamp(47px, 5.1vw, 72px);
  line-height: 1.04;
  letter-spacing: -2px;
  margin: 10px 0 25px;
}

.hero h1 span {
  color: var(--red);
}

.hero-copy p {
  max-width: 440px;
  font-size: 16px;
  line-height: 1.85;
  margin-bottom: 30px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-image {
  position: relative;
  min-height: 630px;
  overflow: hidden;
}

.hero-image img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.image-caption {
  position: absolute;
  right: 25px;
  bottom: 25px;
  background: white;
  padding: 13px 20px;
  font-family: var(--serif);
  font-size: 17px;
}

/* FRANJA */

.highlights {
  padding: 27px 0;
  background: var(--ink);
  color: white;
}

.highlights-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
  text-align: center;
}

.highlights-grid strong,
.highlights-grid span {
  display: block;
}

.highlights-grid strong {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 400;
}

.highlights-grid span {
  color: #c7c7c7;
  font-size: 10px;
  letter-spacing: 2px;
  text-transform: uppercase;
}

/* INTRO */

.intro {
  padding-top: 115px;
  padding-bottom: 100px;
}

.intro h2 {
  margin: 0 auto 22px;
  max-width: 780px;
}

.intro p {
  max-width: 680px;
  margin: auto;
  font-size: 16px;
  line-height: 1.95;
}

/* CATEGORÍAS */

.categories {
  padding-top: 25px;
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 35px;
  margin-bottom: 35px;
}

.section-heading h2 {
  margin-bottom: 0;
}

.section-heading p {
  max-width: 390px;
  margin-bottom: 5px;
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.category-card {
  height: 390px;
  position: relative;
  overflow: hidden;
  background: #ddd;
}

.category-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .6s ease;
}

.category-card:hover img {
  transform: scale(1.05);
}

.category-card::after {
  content: "";
  position: absolute;
  inset: 35% 0 0;
  background: linear-gradient(transparent, rgba(0,0,0,.75));
}

.category-overlay {
  position: absolute;
  z-index: 2;
  left: 25px;
  bottom: 25px;
  color: white;
}

.category-overlay small {
  display: block;
  color: #f5b7bd;
  font-size: 10px;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 6px;
}

.category-overlay h3 {
  margin: 0;
  font-size: 29px;
}

/* BAÑOS Y MATERIALES */

.bathrooms {
  background: #f5f5f5;
}

.split-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 75px;
}

.bathroom-images {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: start;
  gap: 13px;
}

.bathroom-images img {
  width: 100%;
  height: 405px;
  object-fit: cover;
}

.bathroom-images img:last-child {
  margin-top: 55px;
}

.section-copy p {
  font-size: 15px;
  line-height: 1.95;
}

.feature-list {
  list-style: none;
  padding: 0;
  margin: 28px 0 34px;
}

.feature-list li {
  border-bottom: 1px solid #dedede;
  padding: 12px 0;
  color: #5b5b5b;
  font-size: 13px;
}

.feature-list li::before {
  content: "—";
  color: var(--red);
  font-weight: bold;
  margin-right: 12px;
}

.materials {
  background: white;
}

.material-image img {
  width: 100%;
  height: 490px;
  object-fit: cover;
}

/* REFORMAS */

.reforms {
  padding: 100px 0;
  background: var(--ink);
  color: white;
}

.reforms h2 {
  color: white;
}

.reforms p {
  color: #c4c4c4;
  line-height: 1.9;
  margin: 0 auto 30px;
}

/* MARCAS */

.brands {
  background: white;
}

.brands-intro {
  max-width: 650px;
  margin: 0 auto;
}

.brand-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 11px;
  margin-top: 35px;
}

.brand-list span {
  padding: 12px 18px;
  border: 1px solid var(--line);
  background: #fff;
  color: #555;
  font-family: var(--serif);
  font-size: 15px;
  transition: .2s;
}

.brand-list span:hover {
  border-color: var(--red);
  color: var(--red);
}

.brand-note {
  margin-top: 25px;
  font-size: 11px;
}

/* UBICACIONES */

.locations {
  background: #f5f5f5;
}

.locations-heading {
  margin-bottom: 45px;
}

.locations-heading p {
  margin-bottom: 0;
}

.location-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}

.location-card {
  background: white;
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.location-info {
  padding: 35px 36px;
}

.location-city {
  color: var(--red);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.location-info h3 {
  font-size: 31px;
  margin: 10px 0 14px;
}

.location-address {
  font-size: 14px;
  line-height: 1.8;
  margin-bottom: 17px;
}

.location-phone {
  display: block;
  font-family: var(--serif);
  font-size: 27px;
  margin-bottom: 3px;
}

.location-email {
  display: block;
  color: var(--muted);
  font-size: 13px;
  margin-bottom: 22px;
  overflow-wrap: anywhere;
}

.location-email:hover {
  color: var(--red);
}

.map-frame {
  width: 100%;
  height: 280px;
  background: #e8e8e8;
  margin-top: auto;
}

.map-frame iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

/* CIERRE */

.closing h2 {
  margin: 0 auto 20px;
}

.closing p {
  max-width: 580px;
  margin: 0 auto 30px;
}

/* FOOTER */

.site-footer {
  background: #202020;
  color: white;
  padding: 65px 0 25px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 60px;
  padding-bottom: 45px;
}

.footer-logo {
  width: 230px;
  max-height: 70px;
  object-fit: contain;
  object-position: left center;
  background: transparent;
}

.footer-about p {
  max-width: 310px;
  margin-top: 23px;
  color: #aaa;
  font-size: 13px;
  line-height: 1.9;
}

.site-footer h4 {
  color: #f17b85;
  font-size: 10px;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin: 0 0 20px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 11px;
}

.footer-links a {
  color: #bcbcbc;
  font-size: 13px;
  transition: color .2s;
}

.footer-links a:hover,
.footer-bottom a:hover {
  color: white;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 15px;
  padding-top: 22px;
  border-top: 1px solid #414141;
}

.footer-bottom p {
  margin: 0;
  color: #999;
  font-size: 11px;
}

.footer-bottom div {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-bottom a {
  color: #aaa;
  font-size: 11px;
}

/* PÁGINAS LEGALES */

.legal-page {
  background: white;
}

.legal-header {
  padding: 75px 0 55px;
  background: #f5f5f5;
  border-bottom: 1px solid var(--line);
}

.legal-header h1 {
  font-size: clamp(38px, 5vw, 58px);
  margin: 0;
}

.legal-content {
  max-width: 900px;
  padding: 65px 0 100px;
}

.legal-content h2 {
  font-family: var(--sans);
  font-size: 21px;
  font-weight: 700;
  letter-spacing: 0;
  margin: 38px 0 12px;
}

.legal-content h3 {
  font-family: var(--sans);
  font-size: 16px;
  font-weight: 700;
  margin: 25px 0 10px;
}

.legal-content p,
.legal-content li {
  font-size: 14px;
  line-height: 1.9;
  color: #666;
}

.legal-content a {
  color: var(--red);
  text-decoration: underline;
}

.legal-content ul {
  padding-left: 22px;
}

/* RESPONSIVE */

@media (max-width: 900px) {
  .main-nav {
    display: none;
    position: absolute;
    top: 94px;
    left: 0;
    right: 0;
    padding: 25px 30px;
    flex-direction: column;
    align-items: stretch;
    gap: 19px;
    background: white;
    border-bottom: 1px solid var(--line);
  }

  .main-nav.open {
    display: flex;
  }

  .menu-toggle {
    display: block;
  }

  .hero {
    grid-template-columns: 1fr;
  }

  .hero-copy {
    padding: 75px 35px;
  }

  .hero-image {
    min-height: 440px;
  }

  .split-layout {
    gap: 40px;
  }

  .footer-grid {
    gap: 35px;
  }
}

@media (max-width: 650px) {
  .container {
    width: calc(100% - 34px);
  }

  .site-header {
    height: 78px;
  }

  .logo {
    width: 215px;
    max-height: 58px;
  }

  .main-nav {
    top: 78px;
  }

  .hero-copy {
    padding: 65px 25px;
  }

  .hero h1 {
    font-size: 48px;
  }

  .hero-image {
    min-height: 330px;
  }

  .highlights-grid {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .section {
    padding: 75px 0;
  }

  .section-heading {
    display: block;
  }

  .section-heading p {
    margin-top: 18px;
  }

  .category-grid {
    grid-template-columns: 1fr;
  }

  .category-card {
    height: 340px;
  }

  .split-layout {
    grid-template-columns: 1fr;
  }

  .bathroom-images img {
    height: 280px;
  }

  .bathroom-images img:last-child {
    margin-top: 35px;
  }

  .reverse .section-copy {
    order: 2;
  }

  .reverse .material-image {
    order: 1;
  }

  .material-image img {
    height: 340px;
  }

  .location-grid {
    grid-template-columns: 1fr;
  }

  .location-info {
    padding: 28px;
  }

  .map-frame {
    height: 250px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 35px;
  }

  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
  }
}
