/* Cerrajería Iván · dirección visual v2 */
:root {
  --max: 1420px;
  --radius-soft: 24px;
  --section-space: clamp(88px, 11vw, 150px);
}

body {
  background:
    linear-gradient(180deg, #fff 0, #fff 420px, var(--paper) 420px),
    var(--paper);
}

.container {
  width: min(calc(100% - 72px), var(--max));
}

.site-header {
  background: rgba(255, 255, 255, 0.92);
}

.header-layout {
  min-height: 86px;
}

.brand__symbol {
  width: 50px;
  height: 50px;
}

.main-nav {
  gap: clamp(22px, 3vw, 48px);
  font-size: 0.9rem;
}

.phone-button,
.button {
  border-radius: 0;
}

.hero {
  padding: 28px 0 0;
  background: var(--white);
}

.hero-grid {
  min-height: 620px;
  grid-template-columns: minmax(420px, 0.88fr) minmax(580px, 1.12fr);
  align-items: stretch;
  border: 1px solid var(--line);
  border-bottom: 0;
  background: var(--white);
}

.hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(64px, 7vw, 108px) clamp(44px, 6vw, 86px);
}

.red-line {
  width: 44px;
  height: 4px;
  margin-bottom: 30px;
}

h1 {
  max-width: 720px;
  font-size: clamp(54px, 5.6vw, 96px);
  line-height: 0.96;
}

h2 {
  font-size: clamp(34px, 3.8vw, 62px);
}

.hero-copy p {
  max-width: 610px;
  margin-top: 28px;
  font-size: clamp(18px, 1.45vw, 22px);
  line-height: 1.62;
}

.hero-actions {
  gap: 16px;
  margin-top: 36px;
}

.button {
  min-height: 54px;
  padding: 0 28px;
  letter-spacing: 0.04em;
}

.button i,
.phone-button i {
  font-size: 1.18rem;
}

.hero-media {
  min-height: 620px;
  grid-template-columns: minmax(290px, .42fr) minmax(0, 1fr);
  background: var(--paper);
}

.photo-lock {
  inset: 0;
  background-position: 62% 50%;
}

.info-card {
  width: 322px;
  margin-left: clamp(24px, 4vw, 54px);
  padding: 24px 28px;
  border: 1px solid rgba(227, 226, 220, 0.8);
  box-shadow: 0 28px 80px rgba(17, 17, 17, 0.12);
}

.info-row {
  grid-template-columns: 38px 1fr;
  gap: 18px;
  padding: 18px 0;
}

.info-icon {
  width: 34px;
  height: 34px;
  display: inline-grid;
  place-items: center;
  color: var(--red);
  background: rgba(183, 27, 28, 0.08);
}

.info-icon i {
  font-size: 1.35rem;
}

.info-row strong {
  margin-bottom: 5px;
  color: var(--red);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.info-row span {
  font-size: 0.95rem;
  line-height: 1.38;
}

.needs {
  padding: var(--section-space) 0 clamp(74px, 9vw, 118px);
}

.section-title-centered {
  margin-bottom: clamp(40px, 5vw, 66px);
}

.needs-grid {
  gap: 0;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.58);
}

.need-item {
  min-height: 230px;
  padding: clamp(28px, 3vw, 44px) 26px;
  background: rgba(255, 255, 255, 0.62);
  transition: background-color 180ms ease, transform 180ms ease;
}

.need-item:hover {
  background: var(--white);
  transform: translateY(-2px);
}

.need-icon {
  width: 58px;
  height: 58px;
  margin: 0 auto 22px;
  color: var(--red);
  background: rgba(183, 27, 28, 0.08);
}

.need-icon i {
  font-size: 2rem;
}

.need-item h3 {
  max-width: 220px;
  min-height: 48px;
  font-size: 1.06rem;
}

.need-item p {
  max-width: 220px;
  margin-top: 12px;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.5;
}

.feature-cards {
  padding: 0 0 var(--section-space);
}

.feature-grid {
  gap: clamp(24px, 3vw, 36px);
}

.feature-card {
  min-height: 330px;
  grid-template-columns: 1fr;
  border: 1px solid var(--line);
  background: var(--white);
  box-shadow: 0 24px 60px rgba(17, 17, 17, 0.055);
}

.feature-card__content {
  min-height: 210px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: clamp(30px, 3.2vw, 46px);
}

.feature-card h2 {
  font-size: clamp(28px, 2.6vw, 42px);
}

.feature-card p {
  max-width: 310px;
  margin-top: 18px;
  font-size: 1rem;
  line-height: 1.58;
}

.feature-card a {
  margin-top: auto;
  padding-top: 26px;
}

.photo-cylinder,
.photo-portal,
.photo-car {
  min-height: 220px;
}

.services-list,
.faq {
  padding: var(--section-space) 0;
}

.services-list__layout,
.faq-layout {
  grid-template-columns: minmax(280px, 0.36fr) minmax(0, 1fr);
  gap: clamp(52px, 7vw, 112px);
}

.section-title p {
  margin-top: 20px;
  font-size: 1.04rem;
  line-height: 1.6;
}

.service-table article {
  grid-template-columns: 70px minmax(220px, .45fr) 1fr;
  gap: 32px;
  padding: 34px 0;
}

.service-table span {
  font-size: 1.08rem;
}

.service-table h3 {
  font-size: clamp(20px, 1.55vw, 26px);
}

.service-table p {
  max-width: 720px;
  font-size: 1.02rem;
  line-height: 1.62;
}

.process {
  margin: 0;
  padding: 0;
}

.process-grid {
  min-height: 210px;
}

.process-step {
  min-height: 210px;
  grid-template-columns: 1fr;
  align-content: space-between;
  padding: clamp(28px, 3vw, 46px);
}

.process-step > span {
  font-size: clamp(42px, 4.2vw, 72px);
  line-height: 0.85;
}

.process-step h2 {
  margin-top: 36px;
  font-size: clamp(22px, 1.8vw, 30px);
}

.process-step p {
  margin-top: 12px;
  max-width: 260px;
  font-size: 0.95rem;
  line-height: 1.55;
}

.faq-items summary {
  padding: 30px 0;
  font-size: 1.18rem;
}

.faq-items p {
  margin-bottom: 30px;
  font-size: 1rem;
  line-height: 1.62;
}

.contact {
  padding: clamp(60px, 8vw, 96px) 0;
}

.contact-grid {
  grid-template-columns: minmax(300px, 1.35fr) minmax(180px, .55fr) minmax(220px, .65fr);
  gap: clamp(44px, 7vw, 92px);
}

.contact-brand img {
  width: 82px;
}

.contact-brand h2 {
  font-size: clamp(28px, 2.6vw, 44px);
}

.contact-brand p {
  max-width: 420px;
  margin-top: 16px;
  font-size: 1rem;
  line-height: 1.58;
}

.footer-nav,
.contact address {
  gap: 12px;
}

.footer-nav h3,
.contact address h3 {
  margin: 0 0 10px;
  color: var(--red);
  font-size: 0.76rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.footer-nav a,
.contact address a,
.contact address span {
  font-size: 1rem;
}

.site-footer {
  padding: 22px 0;
}

.footer-bottom {
  font-size: 0.86rem;
}

@media (max-width: 1180px) {
  .hero-grid {
    min-height: auto;
    grid-template-columns: 1fr;
  }

  .hero-media {
    min-height: 520px;
  }

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

  .feature-card {
    grid-template-columns: 1fr 0.85fr;
    min-height: 280px;
  }

  .feature-card__content {
    min-height: 280px;
  }

  .photo-cylinder,
  .photo-portal,
  .photo-car {
    min-height: 280px;
  }
}

@media (max-width: 940px) {
  .container {
    width: min(calc(100% - 36px), var(--max));
  }

  .header-layout {
    min-height: 76px;
  }

  .hero {
    padding-top: 18px;
  }

  .hero-copy {
    padding: 54px 28px 46px;
  }

  .hero-media {
    min-height: 460px;
  }

  .info-card {
    margin: 28px;
  }

  .needs-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .need-item:nth-child(odd) {
    border-left: 0;
  }

  .services-list__layout,
  .faq-layout,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .service-table article {
    grid-template-columns: 58px 1fr;
  }

  .service-table p {
    grid-column: 2;
  }
}

@media (max-width: 640px) {
  .hero-grid {
    border-inline: 0;
  }

  h1 {
    font-size: clamp(44px, 13vw, 62px);
  }

  .hero-copy p {
    font-size: 1rem;
  }

  .hero-actions {
    align-items: stretch;
  }

  .button {
    width: 100%;
  }

  .hero-media {
    min-height: 430px;
  }

  .info-card {
    width: auto;
    margin-inline: 18px;
  }

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

  .need-item {
    border-left: 0;
  }

  .feature-card {
    grid-template-columns: 1fr;
  }

  .feature-card__content {
    min-height: auto;
  }

  .photo-cylinder,
  .photo-portal,
  .photo-car {
    min-height: 210px;
  }
}
