@charset "utf-8";
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: #202124;
  background: #f6f0f1;
  line-height: 1.65;
}
a {
  color: inherit;
}
a:hover {
  color: #7d1111;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
.skip-link {
  position: absolute;
  left: -999px;
  top: 10px;
  z-index: 1000;
  padding: 0.8rem 1rem;
  background: #ffffff;
  border-radius: 6px;
}
.skip-link:focus {
  left: 10px;
}
.container {
  width: 100%;
  max-width: 1180px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 16px;
  padding-right: 16px;
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(247, 240, 241, 0.94);
  border-bottom: 1px solid rgba(0, 0, 0, 0.07);
}
.navbar {
  min-height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.brand {
  display: inline-flex;
  align-items: center;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-decoration: none;
  text-transform: uppercase;
}
.brand img {
  width: 38px;
  height: auto;
  margin-right: 12px;
}
.nav-toggle {
  display: none;
  border: 0;
  background: #191213;
  color: #ffffff;
  padding: 0.7rem 0.85rem;
  border-radius: 8px;
  font-size: 1rem;
  cursor: pointer;
}
.site-nav {
  display: flex;
  align-items: center;
}
.site-nav a {
  text-decoration: none;
  padding: 0.6rem 0.9rem;
  margin-left: 8px;
  border-radius: 8px;
  color: #2d2b28;
  font-weight: 700;
  font-size: 0.95rem;
}
.site-nav a:hover,
.site-nav a:focus {
  background: #ffffff;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.07);
  color: #7d1111;
}
.hero {
  min-height: 720px;
  padding: 64px 0;
  background-image: linear-gradient(135deg, rgba(23, 15, 20, 0.58), rgba(23, 23, 21, 0.50)), url('../img/alta-garrotxa.jpg');
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
  color: #ffffff;
}
.hero-grid {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.hero-grid > div {
  width: 58%;
}
.hero-grid > aside {
  width: 36%;
}
h1,
h2,
h3,
h4,
p {
  margin-top: 0;
}
h1 {
  font-size: 3.6rem;
  line-height: 0.95;
  letter-spacing: -0.05em;
  margin-bottom: 14px;
}
.hero-tagline {
  margin-bottom: 12px;
  font-size: 1.2rem;
  font-weight: 800;
  color: #f0c7ce;
}
.alta-garrotxa {
  color: #f0c7ce;
}
.hero-lead {
  font-size: 1.02rem;
  color: rgba(255, 255, 255, 0.90);
  max-width: 760px;
  line-height: 1.62;
}
.hero-contact {
  margin: 20px 0 0;
  font-size: 0.98rem;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.92);
}
.hero-quote {
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.10);
  box-shadow: 0 16px 38px rgba(61, 22, 29, 0.11);
}
.hero-quote img {
  border-radius: 8px;
  margin-bottom: 18px;
  width: 100%;
}
.actions {
  display: flex;
  flex-wrap: wrap;
  margin-top: 14px;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0.75rem 1.05rem;
  border-radius: 8px;
  text-decoration: none;
  border: 1px solid transparent;
  font-weight: 800;
}
.btn-small {
  min-height: 34px;
  padding: 0.45rem 0.78rem;
  font-size: 0.86rem;
}
.btn-primary {
  background: #a11717;
  color: #ffffff;
}
.btn-primary:hover {
  background: #ffffff;
  color: #7d1111;
}
.btn-light {
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.26);
}
.btn-light:hover {
  background: #ffffff;
  color: #1f1f1f;
}
.btn-outline {
  border-color: #eadadd;
  background: #ffffff;
  color: #7d1111;
}
.section {
  padding: 88px 0;
}
.section-alt {
  background: #fff8f8;
}
.section-title {
  margin-bottom: 34px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
}
.section-title h2 {
  font-size: 2.8rem;
  line-height: 1;
  letter-spacing: -0.04em;
  margin: 0;
}
.section-title p {
  max-width: 610px;
  color: #666f7a;
  margin: 0;
}
.cards {
  display: flex;
  flex-wrap: wrap;
  margin-left: -9px;
  margin-right: -9px;
}
.card {
  width: calc(33.333% - 18px);
  margin: 9px;
  background: #ffffff;
  border: 1px solid #eadadd;
  border-radius: 8px;
  padding: 24px;
  box-shadow: 0 10px 28px rgba(61, 22, 29, 0.06);
}
.card small {
  display: block;
  color: #7d1111;
  font-weight: 900;
  margin-bottom: 8px;
}
.card h3,
.card h4 {
  margin-bottom: 8px;
  line-height: 1.25;
}
.timeline-item {
  display: flex;
  margin-bottom: 14px;
  padding: 18px;
  border-radius: 8px;
  background: #ffffff;
  border: 1px solid #eadadd;
}
.timeline-item time {
  width: 160px;
  flex-shrink: 0;
  font-weight: 900;
  color: #7d1111;
}
.timeline-item div {
  flex: 1;
}
.skills {
  display: flex;
  flex-wrap: wrap;
  margin-left: -7px;
  margin-right: -7px;
}
.skill {
  width: calc(20% - 14px);
  margin: 7px;
  padding: 18px;
  border-radius: 8px;
  background: #191213;
  color: #ffffff;
}
.skill span {
  display: block;
  color: #f0c7ce;
  font-weight: 900;
  font-size: 1.45rem;
  margin-top: 10px;
}
.services {
  display: flex;
  flex-wrap: wrap;
  margin-left: -11px;
  margin-right: -11px;
}
.service-card {
  width: calc(50% - 22px);
  margin: 11px;
  min-height: 260px;
  overflow: hidden;
  background: #ffffff;
  border: 1px solid #eadadd;
  border-radius: 8px;
  box-shadow: 0 16px 38px rgba(61, 22, 29, 0.11);
  display: flex;
}
.service-card img {
  width: 220px;
  min-height: 100%;
  object-fit: cover;
}
.service-content {
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  flex: 1;
}
.service-content p {
  margin-bottom: 0.6rem;
  color: #666f7a;
}
.service-links {
  display: flex;
  flex-wrap: wrap;
}
.service-links .btn {
  margin-right: 10px;
  margin-top: 10px;
}
.footer {
  background: #191213;
  color: #ffffff;
  padding: 28px 0;
  font-size: 0.66rem;
}
.footer a {
  color: #ffffff;
  text-decoration: none;
}
.footer a:hover {
  color: #f0c7ce;
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  align-items: center;
}
.legal-page {
  background: #f6f0f1;
}
.legal-header {
  padding: 28px 0;
  background: #191213;
  color: #ffffff;
}
.legal-header a {
  color: #ffffff;
  text-decoration: none;
  font-weight: 800;
}
.legal-main {
  width: 100%;
  max-width: 900px;
  margin: 42px auto;
  padding: 34px;
  background: #ffffff;
  border: 1px solid #eadadd;
  border-radius: 8px;
  box-shadow: 0 16px 38px rgba(61, 22, 29, 0.11);
}
.legal-main h1,
.legal-main h2 {
  letter-spacing: -0.03em;
}
.cookie-banner {
  position: fixed;
  z-index: 100;
  left: 16px;
  right: 16px;
  bottom: 16px;
  max-width: 980px;
  margin: auto;
  padding: 18px;
  border-radius: 8px;
  background: #ffffff;
  color: #202124;
  border: 1px solid #eadadd;
  box-shadow: 0 20px 70px rgba(0, 0, 0, 0.25);
  display: none;
  align-items: center;
  justify-content: space-between;
}
.cookie-banner.is-visible {
  display: flex;
}
.cookie-banner p {
  margin: 0;
  font-size: 0.95rem;
}
.cookie-actions {
  display: flex;
  flex-shrink: 0;
}
.cookie-btn {
  border: 0;
  border-radius: 999px;
  padding: 0.75rem 1rem;
  margin-left: 10px;
  font-weight: 800;
  cursor: pointer;
}
.cookie-accept {
  background: #a11717;
  color: #ffffff;
}
.cookie-reject {
  background: #f2e9eb;
  color: #202124;
}
.to-top {
  position: fixed;
  right: 18px;
  bottom: 92px;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 999px;
  background: #191213;
  color: #ffffff;
  cursor: pointer;
  display: none;
}
.to-top.is-visible {
  display: block;
}
@media only screen and (max-width: 980px) {
  .hero-grid {
    display: block;
  }
  .hero-grid > div,
  .hero-grid > aside {
    width: 100%;
  }
  .hero-grid > aside {
    margin-top: 32px;
  }
  .card,
  .service-card {
    width: calc(50% - 22px);
  }
  .skill {
    width: calc(50% - 14px);
  }
  .service-card img {
    width: 180px;
  }
}
@media only screen and (max-width: 760px) {
  .nav-toggle {
    display: block;
  }
  .site-nav {
    position: absolute;
    left: 16px;
    right: 16px;
    top: 74px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 12px;
    background: #ffffff;
    border-radius: 8px;
    box-shadow: 0 16px 38px rgba(61, 22, 29, 0.11);
  }
  .site-nav.is-open {
    display: flex;
  }
  .site-nav a {
    color: #202124;
    margin-left: 0;
  }
  .section {
    padding: 64px 0;
  }
  .section-title {
    display: block;
  }
  .card,
  .skill,
  .service-card {
    width: 100%;
  }
  .timeline-item {
    display: block;
  }
  .timeline-item time {
    display: block;
    width: auto;
    margin-bottom: 4px;
  }
  .service-card {
    display: block;
  }
  .service-card img {
    width: 100%;
    height: 220px;
  }
  .cookie-banner {
    align-items: stretch;
    flex-direction: column;
  }
  .cookie-actions {
    flex-direction: column;
  }
  .cookie-btn {
    margin-left: 0;
    margin-top: 10px;
  }
}
.hero-contact-wrap {
  display: block;
}
.hero-contact-photo {
  display: none;
}
@media only screen and (max-width: 980px) {
  .hero-contact-wrap {
    display: flex;
    align-items: stretch;
    justify-content: flex-start;
    gap: 16px;
    margin-top: 20px;
  }
  .hero-contact-wrap .hero-contact {
    margin-top: 0;
  }
  .hero-contact-photo {
    display: block;
    width: auto;
    height: 86px;
    border-radius: 8px;
    object-fit: cover;
  }
  .hero-grid > aside.hero-quote {
    display: none;
  }
}
@media only screen and (max-width: 760px) {
.site-header {
padding: 0;
}
.navbar {
padding: 4px 20px 4px 0;
min-height: 0;
}
.nav-toggle {
width: 44px;
height: 40px;
padding: 0;
line-height: 40px;
text-align: center;
font-size: 1.45rem;
}
.service-card {
display: block;
min-height: 0;
}
.service-card img {
display: block;
width: 100%;
height: 135px;
min-height: 0;
object-fit: cover;
}
.service-content {
display: block;
padding: 18px;
}
.service-content p,
.service-content h3,
.service-links {
display: block;
}
}
.hero-contact-text {
  display: block;
}
@media only screen and (max-width: 980px) {
  .hero-contact-wrap {
    display: flex;
    align-items: stretch;
    justify-content: space-between;
    gap: 18px;
    margin-top: 20px;
    width: 100%;
  }
  .hero-contact-text {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    flex: 1 1 auto;
    min-height: 128px;
  }
  .hero-contact-wrap .hero-contact {
    margin: 0;
  }
  .hero-contact-wrap .actions {
    margin-top: 12px;
  }
  .hero-contact-photo {
    display: block;
    width: 118px;
    height: 128px;
    margin-left: auto;
    border-radius: 8px;
    object-fit: cover;
  }
  .hero-grid > aside.hero-quote {
    display: none;
  }
}
@media only screen and (max-width: 760px) {
  .hero-contact-wrap {
    gap: 18px;
  }
  .hero-contact-photo {
    width: 118px;
    height: 128px;
  }
}