line-height: 1.5;
  color: #666;
}
.contact-card {
  margin-top: 18px;
}
.contact-card p {
  margin: 8px 0;
}
@media (max-width: 980px) {
  .grid-3 {
    grid-template-columns: 1fr 1fr;
  }
  .footer-top {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .footer-logo,
  .footer-top .footer-col:first-of-type,
  .footer-top .footer-col:last-of-type {
    grid-column: 1;
    grid-row: auto;
  }
}
@media (max-width: 720px) {
  .grid-3,
  .grid-2 {
    grid-template-columns: 1fr;
  }
  .brand-title {
    display: none;
  }
  .header-inner {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
  }
  .nav {
    justify-content: center;
    flex-wrap: wrap;
  }
  .cta-band .section {
    flex-direction: column;
    align-items: flex-start;
  }
  .footer-contact {
    gap: 12px;
  }
  .footer-bottom {
    justify-content: center;
    flex-wrap: wrap;
  }
  .footer-bottom small {
    width: 100%;
    margin-left: 0;
  }
}
@media (min-width: 721px) {
  .site-header .header-inner {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    gap: 18px !important;
    width: 100% !important;
  }
  .site-header .brand {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    flex: 0 0 auto !important;
    margin: 0 !important;
  }
  .site-header .brand img {
    width: 88px !important;
    height: 72px !important;
    object-fit: contain !important;
  }
  .site-header .nav {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-end !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    gap: clamp(8px,1.15vw,18px) !important;
    margin-left: auto !important;
    width: auto !important;
  }
  .site-header .nav a {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    white-space: nowrap !important;
    width: auto !important;
  }
  .site-header .nav .btn-inscribete {
    color: #fff !important;
    margin-left: 0 !important;
  }
}
#footer[role="contentinfo"],
#page > footer.site-footer + p,
#page > footer.site-footer + p + hr {
  display: none !important;
  height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: hidden !important;
}
.footer-contact a[aria-label="Instagram"] {
  width: 42px !important;
  height: 42px !important;
}
.footer-contact a[aria-label="Instagram"] .contact-icon {
  width: 36px !important;
  height: 36px !important;
  flex: 0 0 36px !important;
  transform: scale(1.12);
}

.card-button {
  display: flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  margin: 100px auto 0;
  background: var(--brand-red);
  color: #fff !important;
  padding: 12px 18px;
  border-radius: 8px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-size: 0.78rem;
  line-height: 1;
  white-space: nowrap;
}

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

@media (max-width: 720px) {
  html,
  body {
    overflow-x: hidden;
  }

  .site-header {
    position: relative;
  }

  .site-header .header-inner {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    flex-wrap: nowrap !important;
    gap: 10px !important;
    padding: 10px 12px 14px !important;
    width: 100% !important;
  }

  .site-header .brand {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    width: 100% !important;
    margin: 0 !important;
  }

  .site-header .brand img {
    width: 54px !important;
    height: 54px !important;
  }

  .site-header .brand-title {
    display: block !important;
    font-size: 0.82rem !important;
    line-height: 1.05 !important;
  }

  .site-header .nav {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex-wrap: wrap !important;
    gap: 6px !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    min-width: 0 !important;
  }

  .site-header .nav a {
    display: inline-flex !important;
    width: auto !important;
    min-width: 0 !important;
    padding: 8px 8px !important;
    font-size: 0.66rem !important;
    line-height: 1 !important;
    letter-spacing: 0.02em !important;
    white-space: nowrap !important;
  }

  .site-header .nav .btn-inscribete {
    padding: 10px 12px !important;
    font-size: 0.68rem !important;
  }

  .subpage-hero {
    padding: 54px 20px 34px;
  }

  .subpage-hero h1 {
    font-size: clamp(1.8rem, 8vw, 2.4rem);
  }

  .section {
    width: 100% !important;
    max-width: 100% !important;
    padding-left: 20px !important;
    padding-right: 20px !important;
  }

  .grid-2,
  .grid-3,
  .section.grid-2 {
    display: flex !important;
    flex-direction: column !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    gap: 18px !important;
    box-sizing: border-box !important;
  }

  .section.grid-2 > * {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
  }

  .card,
  .photo-block {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
  }

  .card {
    height: auto !important;
    overflow: visible !important;
  }

  .card-button {
    max-width: 100% !important;
    width: 100% !important;
    max-width: 280px !important;
    min-width: 0 !important;
    margin: 28px auto 0 !important;
    white-space: normal !important;
    text-align: center !important;
    line-height: 1.2 !important;
    overflow-wrap: anywhere !important;
    box-sizing: border-box !important;
  }

  .photo-block {
    min-height: 0 !important;
    overflow: visible !important;
  }

  .photo-block img {
    width: 100% !important;
    height: auto !important;
    object-fit: contain !important;
    border-radius: 8px;
  }

  .installations-list {
    gap: 22px !important;
  }

  .map-link {
    width: 100% !important;
    margin-top: 18px !important;
    text-align: center !important;
  }

  .map-embed,
  .map-embed-inline {
    width: 100% !important;
    min-height: 240px !important;
  }

  .map-embed iframe,
  .map-embed-inline iframe {
    height: 240px !important;
    min-height: 240px !important;
  }
}

:root {
  --brand-red: #d70915;
  --brand-red-dark: #a80011;
  --text-dark: #1a1a1a;
  --text-soft: #555;
  --bg: #f7f7f8;
  --white: #ffffff;
  --max-width: 1200px;
  --hero-image: url("https://crvallirana.com/wp-content/uploads/2026/06/fondo_cervol.png");
}
* {
  box-sizing: border-box;
}
html,
body {
  margin: 0;
  padding: 0;
  font-family: "Montserrat", "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  color: var(--text-dark);
  background: var(--bg);
}
img {
  max-width: 100%;
  display: block;
}
a {
  color: inherit;
  text-decoration: none;
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid #ececec;
}
.header-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 12px 20px;
  width: 100%;
  display: flex !important;
  align-items: center !important;
  justify-content: flex-start !important;
  gap: 18px;
  flex-wrap: nowrap !important;
}
.brand {
  display: flex !important;
  align-items: center !important;
  gap: 10px;
  flex: 0 0 auto !important;
}
.brand img {
  width: 88px;
  height: 72px;
  object-fit: contain;
}
.brand-title {
  font-size: 0.9rem;
  font-weight: 700;
  line-height: 1.2;
}
.nav {
  display: flex !important;
  align-items: center !important;
  justify-content: flex-end !important;
  gap: clamp(8px,1.15vw,18px);
  flex-wrap: nowrap !important;
  margin-left: auto !important;
  min-width: 0;
}
.nav a {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-size: clamp(0.58rem,0.76vw,0.78rem);
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--brand-red);
  text-transform: uppercase;
  padding: 9px 5px;
  border-radius: 8px;
  transition: background-color 0.2s ease, color 0.2s ease;
  white-space: nowrap !important;
  line-height: 1 !important;
}
.nav a:hover,
.nav a.active {
  background: #ffecee;
}
.btn-inscribete {
  background: var(--brand-red);
  color: var(--white) !important;
  padding: 12px 16px !important;
  white-space: nowrap !important;
}
.btn-inscribete:hover,
.btn-inscribete.active {
  background: var(--brand-red-dark) !important;
  color: var(--white) !important;
}
.hero {
  min-height: 72vh;
  color: var(--white);
  background-image: linear-gradient(115deg,rgba(0,0,0,0.52),rgba(215,9,21,0.2)), var(--hero-image);
  background-size: cover, cover;
  background-position: center, center top;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
}
.hero-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  width: 100%;
  padding: 56px 20px 72px;
}
.tag {
  display: inline-block;
  background: rgba(255,255,255,0.16);
  border: 1px solid rgba(255,255,255,0.4);
  border-radius: 999px;
  padding: 8px 14px;
  font-size: 0.8rem;
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 0.04em;
}
.hero h1 {
  margin: 18px 0 14px;
  font-size: clamp(2rem,4.5vw,4rem);
  line-height: 1.1;
}
.hero p {
  margin: 0;
  max-width: 620px;
  font-size: 1.05rem;
  line-height: 1.6;
}
.section {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 64px 20px;
}
.section h2 {
  margin: 0 0 10px;
  font-size: clamp(1.5rem,2.7vw,2.4rem);
}
.section p.lead {
  margin: 0 0 28px;
  color: var(--text-soft);
  max-width: 760px;
}
.grid-3,
.grid-2 {
  display: grid;
  gap: 18px;
}
.grid-3 {
  grid-template-columns: repeat(3,minmax(0,1fr));
}
.grid-2 {
  grid-template-columns: repeat(2,minmax(0,1fr));
}
.card {
  background: var(--white);
  border: 1px solid #e9e9ea;
  border-radius: 8px;
  padding: 22px;
  box-shadow: 0 8px 24px rgba(20,20,20,0.05);
}
.card h3 {
  margin: 0 0 10px;
}
.card p {
  margin: 0;
  color: #4a4a4a;
  line-height: 1.55;
}
.photo-block {
  border-radius: 8px;
  overflow: hidden;
  min-height: 300px;
  background: linear-gradient(135deg,#f3f3f4,#ececee);
}
.photo-block img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.installations-list {
  display: grid;
  gap: 24px;
}
.installation-title {
  margin: 0 0 -6px;
  color: var(--text-dark);
  font-size: clamp(1.65rem, 3vw, 2.35rem);
  line-height: 1.1;
  text-transform: none;
}
.installation-title-spaced {
  margin-top: 42px;
}
.installation-row {
  align-items: stretch;
}
.installation-info {
  display: flex;
  flex-direction: column;
}
.installation-info .clean-list {
  margin-top: 14px;
}
.address-label {
  margin: 18px 0 6px !important;
  color: var(--brand-red) !important;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.map-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  margin-top: auto;
  padding: 11px 14px;
  border-radius: 8px;
  background: var(--brand-red);
  color: #fff !important;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.map-link:hover {
  background: var(--brand-red-dark);
}
.map-embed {
  min-height: 280px;
  border: 1px solid #e9e9ea;
  border-radius: 8px;
  overflow: hidden;
  background: #f3f3f4;
  box-shadow: 0 8px 24px rgba(20, 20, 20, 0.05);
}
.map-embed iframe {
  display: block;
  width: 100%;
  height: 320px;
  border: 0;
}
.map-embed-inline iframe {
  height: 100%;
  min-height: 320px;
}
.cta-band {
  background: linear-gradient(130deg,var(--brand-red),#f42f35);
  color: var(--white);
}
.cta-band h2,
.cta-band .section h2 {
  color: var(--white) !important;
}
.cta-band p {
  color: var(--white) !important;
}
.cta-band .section {
  padding-top: 44px;
  padding-bottom: 44px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.cta-band a {
  background: var(--white);
  color: var(--brand-red);
  padding: 12px 18px;
  font-weight: 700;
  border-radius: 8px;
}
.site-footer {
  background: var(--brand-red);
  color: var(--white);
}
.site-footer h3,
.site-footer p,
.site-footer a,
.site-footer small {
  color: #fff !important;
}
.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 42px 20px 24px;
}
.footer-top {
  display: grid;
  grid-template-columns: repeat(3,minmax(0,1fr));
  gap: 24px;
  align-items: center;
  text-align: center;
}
.footer-logo {
  grid-column: 2;
  grid-row: 1;
  display: flex;
  justify-content: center;
}
.footer-top .footer-col:first-of-type {
  grid-column: 1;
  grid-row: 1;
}
.footer-top .footer-col:last-of-type {
  grid-column: 3;
  grid-row: 1;
}
.footer-logo img {
  width: 190px;
  max-height: 210px;
  object-fit: contain;
}
.footer-col h3 {
  margin: 0 0 10px;
  text-transform: uppercase;
  font-size: 1.05rem;
}
.footer-col p {
  margin: 6px 0;
  line-height: 1.45;
  font-size: 1rem;
}
.footer-bottom {
  margin-top: 28px;
  padding-top: 18px;
  border-top: 1px solid rgba(255,255,255,0.35);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  text-align: center;
}
.footer-contact {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  gap: 12px;
  flex: 0 0 auto;
}
.contact-icon-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  overflow: hidden;
}
.contact-icon {
  width: 30px;
  height: 30px;
  object-fit: cover;
  flex: 0 0 30px;
}
.footer-bottom small {
  margin-left: auto;
}
.subpage-hero {
  background: linear-gradient(130deg,var(--brand-red),#f42f35);
  color: #fff;
  padding: 76px 20px 44px;
}
.subpage-hero-inner {
  max-width: var(--max-width);
  margin: 0 auto;
}
.subpage-hero h1 {
  margin: 0 0 8px;
  font-size: clamp(1.8rem,3.6vw,3.2rem);
  color: #fff !important;
}
.subpage-hero p {
  margin: 0;
  color: #fff !important;
  max-width: 760px;
}
ul.clean-list {
  margin: 0;
  padding-left: 20px;
  color: #4a4a4a;
  line-height: 1.7;
}
.ins-form {
  display: grid;
  gap: 12px;
}
.ins-form label {
  display: grid;
  gap: 6px;
  font-weight: 600;
  font-size: 0.95rem;
}
.section-spaced-title {
  margin-top: 78px !important;
  margin-bottom: 0 !important;
  max-width: 820px;
}
.ins-form input,
.ins-form textarea {
  width: 100%;
  border: 1px solid #d9d9dc;
  border-radius: 8px;
  padding: 10px 12px;
  font: inherit;
}
.form-submit {
  border: 0;
  border-radius: 8px;
  background: var(--brand-red);
  color: #fff;
  font-weight: 700;
  padding: 12px 14px;
  cursor: pointer;
}
.form-submit:hover {
  background: var(--brand-red-dark);
}
.legal-note {
  margin-top: 12px;
  font-size: 0.88rem;
  line-height: 1.5;
  color: #666;
}
.contact-card {
  margin-top: 18px;
}
.contact-card p {
  margin: 8px 0;
}
@media (max-width: 980px) {
  .grid-3 {
    grid-template-columns: 1fr 1fr;
  }
  .footer-top {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .footer-logo,
  .footer-top .footer-col:first-of-type,
  .footer-top .footer-col:last-of-type {
    grid-column: 1;
    grid-row: auto;
  }
}
@media (max-width: 720px) {
  .grid-3,
  .grid-2 {
    grid-template-columns: 1fr;
  }
  .brand-title {
    display: none;
  }
  .header-inner {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
  }
  .nav {
    justify-content: center;
    flex-wrap: wrap;
  }
  .cta-band .section {
    flex-direction: column;
    align-items: flex-start;
  }
  .footer-contact {
    gap: 12px;
  }
  .footer-bottom {
    justify-content: center;
    flex-wrap: wrap;
  }
  .footer-bottom small {
    width: 100%;
    margin-left: 0;
  }
}
@media (min-width: 721px) {
  .site-header .header-inner {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    gap: 18px !important;
    width: 100% !important;
  }
  .site-header .brand {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    flex: 0 0 auto !important;
    margin: 0 !important;
  }
  .site-header .brand img {
    width: 88px !important;
    height: 72px !important;
    object-fit: contain !important;
  }
  .site-header .nav {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-end !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    gap: clamp(8px,1.15vw,18px) !important;
    margin-left: auto !important;
    width: auto !important;
  }
  .site-header .nav a {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    white-space: nowrap !important;
    width: auto !important;
  }
  .site-header .nav .btn-inscribete {
    color: #fff !important;
    margin-left: 0 !important;
  }
}
#footer[role="contentinfo"],
#page > footer.site-footer + p,
#page > footer.site-footer + p + hr {
  display: none !important;
  height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: hidden !important;
}
.footer-contact a[aria-label="Instagram"] {
  width: 42px !important;
  height: 42px !important;
}
.footer-contact a[aria-label="Instagram"] .contact-icon {
  width: 36px !important;
  height: 36px !important;
  flex: 0 0 36px !important;
  transform: scale(1.12);
}

.card-button {
  display: flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  margin: 100px auto 0;
  background: var(--brand-red);
  color: #fff !important;
  padding: 12px 18px;
  border-radius: 8px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-size: 0.78rem;
  line-height: 1;
  white-space: nowrap;
}

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

@media (max-width: 720px) {
  html,
  body {
    overflow-x: hidden;
  }

  .site-header {
    position: relative;
  }

  .site-header .header-inner {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    flex-wrap: nowrap !important;
    gap: 10px !important;
    padding: 10px 12px 14px !important;
    width: 100% !important;
  }

  .site-header .brand {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    width: 100% !important;
    margin: 0 !important;
  }

  .site-header .brand img {
    width: 54px !important;
    height: 54px !important;
  }

  .site-header .brand-title {
    display: block !important;
    font-size: 0.82rem !important;
    line-height: 1.05 !important;
  }

  .site-header .nav {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex-wrap: wrap !important;
    gap: 6px !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    min-width: 0 !important;
  }

  .site-header .nav a {
    display: inline-flex !important;
    width: auto !important;
    min-width: 0 !important;
    padding: 8px 8px !important;
    font-size: 0.66rem !important;
    line-height: 1 !important;
    letter-spacing: 0.02em !important;
    white-space: nowrap !important;
  }

  .site-header .nav .btn-inscribete {
    padding: 10px 12px !important;
    font-size: 0.68rem !important;
  }

  .subpage-hero {
    padding: 54px 20px 34px;
  }

  .subpage-hero h1 {
    font-size: clamp(1.8rem, 8vw, 2.4rem);
  }

  .section {
    width: 100% !important;
    max-width: 100% !important;
    padding-left: 20px !important;
    padding-right: 20px !important;
  }

  .grid-2,
  .grid-3,
  .section.grid-2 {
    display: flex !important;
    flex-direction: column !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    gap: 18px !important;
    box-sizing: border-box !important;
  }

  .section.grid-2 > * {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
  }

  .card,
  .photo-block {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
  }

  .card {
    height: auto !important;
    overflow: visible !important;
  }

  .card-button {
    max-width: 100% !important;
    width: 100% !important;
    max-width: 280px !important;
    min-width: 0 !important;
    margin: 28px auto 0 !important;
    white-space: normal !important;
    text-align: center !important;
    line-height: 1.2 !important;
    overflow-wrap: anywhere !important;
    box-sizing: border-box !important;
  }

  .photo-block {
    min-height: 0 !important;
    overflow: visible !important;
  }

  .photo-block img {
    width: 100% !important;
    height: auto !important;
    object-fit: contain !important;
    border-radius: 8px;
  }

  .installations-list {
    gap: 22px !important;
  }

  .map-link {
    width: 100% !important;
    margin-top: 18px !important;
    text-align: center !important;
  }

  .map-embed,
  .map-embed-inline {
    width: 100% !important;
    min-height: 240px !important;
  }

  .map-embed iframe,
  .map-embed-inline iframe {
    height: 240px !important;
    min-height: 240px !important;
  }

/* Ocultar el título superior añadido por la plantilla */
.wp-site-blocks > .wp-block-site-title:first-child,
.wp-site-blocks > h1:first-child,
body > .wp-block-site-title,
body > h1.site-title {
    display: none !important;
}

/* Eliminar el espacio o línea que pueda quedar */
.wp-site-blocks > .wp-block-site-title:first-child + hr,
.wp-site-blocks > h1:first-child + hr {
    display: none !important;
}
	/* Oculta el título superior generado por el tema */
body .wp-site-blocks > .wp-block-site-title:first-child,
body .wp-site-blocks > h1:first-child,
body .wp-site-blocks > header:first-child .wp-block-site-title {
    display: none !important;
}

/* Oculta la línea situada debajo del título */
body .wp-site-blocks > .wp-block-separator:first-of-type,
body .wp-site-blocks > hr:first-of-type {
    display: none !important;
}

/* Elimina el espacio superior */
body .wp-site-blocks {
    padding-top: 0 !important;
}
}
/* Ocultar la cabecera antigua de la plantilla */
#page > #header[role="banner"],
#page > #header[role="banner"] + hr {
    display: none !important;
}