﻿* {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
}

body {
  font-family: Helvetica, Arial, sans-serif;
  color: #202020;
  background: #ffffff;
  line-height: 1.35;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

.container {
  width: min(980px, calc(100% - 40px));
  margin: 0 auto;
}

.kicker {
  display: none;
}

.site-header {
  padding: 28px 0 8px;
}

.site-header .container {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: grid;
  grid-template-columns: 64px 183px 64px;
  align-items: stretch;
  width: 311px;
  border: 1px solid #d8d8d8;
}

.brand::before,
.brand::after {
  content: "";
  background-size: cover;
  background-position: center;
}

.brand::before {
  background-image: url("imagen/foto-picto.jpg");
}

.brand::after {
  background-image: url("imagen/foto-lateral.jpg");
}

.brand img {
  width: 183px;
  height: 98px;
  object-fit: cover;
  border-left: 1px solid #d8d8d8;
  border-right: 1px solid #d8d8d8;
}

.brand div {
  display: none;
}

.menu-toggle {
  display: none;
  margin-left: auto;
  border: 1px solid #cfcfcf;
  background: #fff;
  padding: 8px 12px;
  font: inherit;
}

.site-nav {
  display: grid;
  justify-items: end;
  text-align: right;
  gap: 10px;
  margin-left: auto;
}

.site-nav a,
.home-menu a {
  font-size: 16px;
  letter-spacing: 0.01em;
  text-transform: uppercase;
}

.site-nav a.active,
.home-menu a.active {
  text-decoration: underline;
}

.home-menu a.menu-bold {
  font-weight: 700;
}

.hero,
.section {
  padding: 12px 0 20px;
}

.home-page .container {
  width: min(980px, calc(100% - 40px));
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 22px;
  align-items: start;
}

.home-top {
  max-width: 760px;
  margin: 0 auto;
}

.home-strip {
  display: grid;
  grid-template-columns: 64px 183px 64px;
  justify-content: center;
}

.home-strip img {
  width: 100%;
  height: 98px;
  object-fit: cover;
}

.home-content {
  margin-top: 96px;
}

h1,
.page-title {
  margin: 0 0 18px;
  font-size: 34px;
  font-weight: 700;
  line-height: 1.12;
}

p {
  margin: 0 0 14px;
  font-size: 19px;
}

.home-intro {
  max-width: 760px;
}

.home-menu {
  margin-top: 122px;
  width: 100%;
  border-left: 2px solid #000;
  padding-left: 18px;
}

.home-menu h2 {
  display: none;
}

.home-menu nav {
  display: grid;
  justify-items: center;
  text-align: center;
  gap: 10px;
}

.home-three,
.card-grid,
.quick-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 24px;
}

.info-card,
.gallery-card,
.contact-card,
.faq-item,
.form-card,
.section-card,
.hero-card {
  border: none;
  padding: 16px;
  background: transparent;
}

.info-card h3,
.gallery-card h3,
.contact-card h3,
.faq-item h3,
.form-card h2,
.section h2 {
  margin: 0 0 8px;
}

.info-card p,
.gallery-card p,
.contact-card p,
.faq-item p,
.section p {
  margin: 0;
  font-size: 16px;
}

.service-list {
  margin: 12px 0 0;
  padding: 0 0 0 18px;
}

.service-list li {
  margin-bottom: 8px;
  font-size: 16px;
}

.materials-card {
  grid-column: span 2;
}

.marcos-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.marcos-panel {
  min-width: 0;
}

.faq-list {
  display: grid;
  gap: 10px;
  margin-top: 12px;
}

.impresion-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  align-items: start;
}

.impresion-column {
  display: grid;
  gap: 10px;
}

.service-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 16px;
}

.service-table th,
.service-table td {
  border: 1px solid #d8d8d8;
  padding: 12px 14px;
  text-align: left;
  vertical-align: top;
}

.service-table th {
  background: #f7f7f7;
  font-size: 15px;
}

.service-table td:first-child {
  width: 28%;
  font-weight: 600;
}

.service-table .service-list {
  margin-top: 0;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 14px;
}

.gallery-grid img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border: 1px solid #d8d8d8;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.contact-links {
  display: grid;
  gap: 10px;
  margin-top: 14px;
}

.contact-link {
  display: flex;
  align-items: center;
  gap: 10px;
  border: none;
  padding: 10px;
}

.contact-link img {
  width: 28px;
  height: 28px;
  object-fit: cover;
}

.form-card form {
  display: grid;
  gap: 10px;
}

.form-card input,
.form-card textarea {
  width: 100%;
  border: 1px solid #cecece;
  padding: 10px 12px;
  font: inherit;
}

.form-card textarea {
  min-height: 120px;
  resize: vertical;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 14px;
  border: 1px solid #222;
  font-weight: 600;
}

.button.primary {
  background: #222;
  color: #fff;
}

.button.secondary {
  background: #fff;
}

.site-footer {
  margin-top: 28px;
  padding: 20px 0 34px;
  border-top: 1px solid #d8d8d8;
}

.footer-bar {
  max-width: 780px;
  margin: 0 auto;
}

.footer-copy {
  margin: 0 0 14px;
  font-size: 15px;
}

.footer-contacts {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
}

.footer-contact {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 16px;
}

.footer-contact img {
  width: 28px;
  height: 28px;
  object-fit: cover;
}

@media (max-width: 900px) {
  .site-header .container {
    flex-direction: column;
    align-items: center;
  }

  .site-nav,
  .home-menu nav {
    justify-items: center;
    text-align: center;
  }

  .home-menu {
    margin-top: 0;
  }

  .hero-grid,
  .home-three,
  .card-grid,
  .gallery-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .materials-card {
    grid-column: auto;
  }

  .marcos-grid {
    grid-template-columns: 1fr;
  }

  .service-table,
  .service-table tbody,
  .service-table tr,
  .service-table th,
  .service-table td {
    display: block;
    width: 100%;
  }

  .service-table thead {
    display: none;
  }

  .service-table tr + tr {
    border-top: 0;
  }

  .service-table td {
    border-top: none;
  }

  .service-table td:first-child {
    border-bottom: none;
  }

  .impresion-columns {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .container {
    width: min(980px, calc(100% - 22px));
  }

  .brand,
  .home-strip {
    grid-template-columns: 54px 1fr 54px;
    width: min(100%, 311px);
  }

  .brand img,
  .home-strip img {
    height: 88px;
  }

  .menu-toggle {
    display: inline-block;
  }

  .site-nav {
    display: none;
    margin: 12px 0 0;
    width: 100%;
    justify-items: center;
    text-align: center;
  }

  .site-nav.open {
    display: grid;
  }

  h1,
  .page-title {
    font-size: 30px;
  }

  p {
    font-size: 17px;
  }
}
