/* Warm, light visual direction */
body {
  background: #fffdf8;
}

.site-header {
  color: #0b1622;
  background: rgba(255, 253, 248, .94);
  border-bottom-color: rgba(11, 22, 34, .08);
  backdrop-filter: blur(12px);
}

.site-header .brand {
  filter: none;
}

.brand {
  display: flex;
  gap: 11px;
  align-items: center;
}

.brand-mark {
  flex: 0 0 42px;
  width: 42px;
  height: 42px;
  border: 1px solid #b98a24;
  color: #a87916;
  background: #fffaf0;
}

.brand-word {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.brand-word strong {
  color: #0b1622;
  font: 700 23px/1 Georgia, serif;
  letter-spacing: .04em;
}

.brand-word small {
  color: #697681;
  font-size: 9px;
  font-weight: 750;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.site-header nav > a:not(.button):hover {
  color: #9b6e0d;
}

.language {
  border-left-color: rgba(11, 22, 34, .15);
}

.mobile-service-hub,
.mobile-all-services {
  display: none;
}

.hero {
  color: #0b1622;
  background:
    radial-gradient(circle at 87% 20%, rgba(233, 189, 75, .22), transparent 26%),
    linear-gradient(135deg, #fffdf8 0%, #f6f0e4 100%);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(11, 22, 34, .025) 1px, transparent 1px), linear-gradient(90deg, rgba(11, 22, 34, .025) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(to right, #000, transparent 78%);
}

.hero::after {
  border-color: rgba(185, 138, 36, .18);
  box-shadow: 0 0 0 90px rgba(233, 189, 75, .045), 0 0 0 180px rgba(233, 189, 75, .03);
}

.hero .eyebrow {
  color: #94690e;
}

h1 em {
  color: #a87916;
}

.hero-text,
.trust-list {
  color: #566570;
}

.hero-card {
  color: #fff;
  background: #102333;
  border-color: #102333;
  box-shadow: 0 24px 70px rgba(11, 22, 34, .17);
}

.hero-card h2 {
  color: #fff;
}

.proof-strip {
  border: 1px solid rgba(11, 22, 34, .06);
  box-shadow: 0 20px 55px rgba(11, 22, 34, .09);
}

.section,
.prices {
  background: #fffdf8;
}

.service-card,
.price-card,
.steps article,
.inquiry-form {
  background: #fff;
}

.service-card:hover {
  box-shadow: 0 20px 55px rgba(11, 22, 34, .09);
}

.service-link {
  display: inline-block;
  margin-top: 10px;
  color: #8d630c;
  font-size: 13px;
  font-weight: 800;
}

.process,
.about {
  background: #f7f1e6;
}

.experience-panel {
  background:
    radial-gradient(circle at 85% 12%, rgba(233, 189, 75, .20), transparent 28%),
    linear-gradient(145deg, #183043, #102333);
}

.brand-footer .brand-mark {
  background: transparent;
  color: #e9bd4b;
  border-color: #e9bd4b;
}

.brand-footer .brand-word strong {
  color: #fff;
}

.brand-footer .brand-word small {
  color: #9eabb5;
}

@media (max-width: 780px) {
  .menu-button {
    color: #0b1622;
    border-color: rgba(11, 22, 34, .25);
    background: #fff;
  }

  .site-header nav {
    color: #0b1622;
  }
}

/* SEO service landing page */
.service-page .site-header {
  position: fixed;
}

.service-hero {
  min-height: 760px;
  padding: 150px clamp(22px, 7vw, 110px) 100px;
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(370px, .82fr);
  gap: 7vw;
  align-items: center;
  background: radial-gradient(circle at 82% 18%, rgba(233, 189, 75, .22), transparent 24%), linear-gradient(135deg, #fffdf8, #f5eddf);
}

.service-hero h1 {
  max-width: 900px;
  font-size: clamp(46px, 5.5vw, 76px);
  color: #0b1622;
}

.service-hero .hero-text,
.service-hero .trust-list {
  color: #566570;
}

.breadcrumbs {
  display: flex;
  gap: 8px;
  margin-bottom: 36px;
  color: #77838c;
  font-size: 12px;
}

.breadcrumbs a:hover {
  color: #94690e;
}

.accounting-summary {
  padding: 34px;
  color: #fff;
  background: #102333;
  border-radius: 22px;
  box-shadow: 0 24px 70px rgba(11, 22, 34, .17);
}

.accounting-summary h2 {
  color: #fff;
  font-size: 36px;
}

.accounting-summary ul {
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
}

.accounting-summary li {
  display: flex;
  gap: 18px;
  padding: 18px 0;
  border-top: 1px solid rgba(255, 255, 255, .12);
}

.accounting-summary li > span {
  color: #e9bd4b;
  font: italic 17px Georgia, serif;
}

.accounting-summary p,
.accounting-summary strong,
.accounting-summary small {
  display: block;
  margin: 0;
}

.accounting-summary small {
  margin-top: 3px;
  color: #aebbc4;
}

.accounting-proof {
  margin-top: -38px;
}

.two-column-copy {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5vw;
  color: #566570;
  font-size: 17px;
}

.scope-section {
  background: #f7f1e6;
}

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

.scope-grid article {
  padding: 32px;
  background: #fff;
  border: 1px solid rgba(11, 22, 34, .08);
  border-radius: 18px;
}

.scope-grid article > span {
  color: #a87916;
  font: italic 17px Georgia, serif;
}

.scope-grid h3 {
  margin: 17px 0 10px;
  font: 600 24px Georgia, serif;
}

.scope-grid p {
  margin: 0;
  color: #66727c;
}

.accounting-boundary {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8vw;
  padding: 90px clamp(22px, 7vw, 110px);
  color: #fff;
  background: #102333;
}

.accounting-boundary h2 {
  color: #fff;
  font-size: clamp(36px, 4vw, 54px);
}

.accounting-boundary > div:last-child {
  color: #c2ccd3;
}

.compact-prices {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 15px;
}

.compact-prices article {
  padding: 28px;
  background: #fff;
  border: 1px solid rgba(11, 22, 34, .10);
  border-radius: 18px;
}

.compact-prices article.selected {
  color: #fff;
  background: #102333;
  border-color: #102333;
}

.compact-prices p,
.compact-prices strong,
.compact-prices span {
  display: block;
}

.compact-prices p {
  color: #a87916;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .12em;
}

.compact-prices strong {
  font: 500 36px Georgia, serif;
}

.compact-prices span,
.price-note {
  color: #66727c;
  font-size: 13px;
}

.compact-prices .selected span {
  color: #b8c4cc;
}

.price-note {
  margin: 22px 0 0;
}

.faq-section {
  background: #f7f1e6;
}

.faq-list {
  max-width: 900px;
}

.faq-list details {
  border-top: 1px solid rgba(11, 22, 34, .14);
  padding: 22px 0;
}

.faq-list summary {
  cursor: pointer;
  font: 600 21px Georgia, serif;
}

.faq-list details p {
  max-width: 760px;
  margin: 14px 0 0;
  color: #66727c;
}

.accounting-contact {
  align-items: start;
}

.contact-promise {
  padding: 34px;
  color: #0b1622;
  background: #fff;
  border-radius: 22px;
}

.contact-promise ul {
  padding-left: 20px;
  margin: 20px 0 30px;
}

.contact-promise li {
  margin: 11px 0;
}

@media (max-width: 900px) {
  .service-hero,
  .two-column-copy,
  .accounting-boundary {
    grid-template-columns: 1fr;
  }

  .service-hero {
    padding-top: 125px;
  }

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

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

@media (max-width: 600px) {
  .scope-grid,
  .compact-prices {
    grid-template-columns: 1fr;
  }
}

/* Refined header proportions and spacing */
.site-header {
  height: 76px;
  padding-left: clamp(18px, 4vw, 64px);
  padding-right: clamp(18px, 4vw, 64px);
}

.brand {
  flex: 0 0 auto;
  gap: 9px;
}

.brand-mark {
  flex-basis: 35px;
  width: 35px;
  height: 35px;
  font-size: 23px;
  border-width: 1px;
}

.brand-word {
  gap: 3px;
}

.brand-word strong {
  font-size: 20px;
  font-weight: 600;
  letter-spacing: .025em;
}

.brand-word small {
  font-size: 8px;
  font-weight: 650;
  letter-spacing: .14em;
}

.site-header nav {
  justify-content: flex-end;
  gap: clamp(14px, 1.55vw, 24px);
  font-size: 13px;
  white-space: nowrap;
}

.site-header .button-small {
  min-height: 38px;
  padding: 0 16px;
  font-size: 12px;
}

.mobile-services-link {
  display: none;
}

@media (max-width: 900px) {
  .site-header {
    height: 70px;
    gap: 10px;
  }

  .mobile-services-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-left: auto;
    padding: 7px 10px;
    border-radius: 99px;
    color: #0b1622;
    background: #fffaf0;
    border: 1px solid #d8b45e;
    font-size: 12px;
    font-weight: 750;
    line-height: 1;
  }

  .menu-button {
    display: block;
    color: #0b1622;
    border: 1px solid rgba(11, 22, 34, .22);
    background: #fff;
    border-radius: 99px;
    padding: 8px 15px;
    font-size: 13px;
  }

  .site-header nav {
    display: none;
    position: absolute;
    top: 70px;
    left: auto;
    right: clamp(16px, 4vw, 64px);
    width: min(360px, calc(100vw - 32px));
    padding: 22px;
    color: #0b1622;
    background: #fff;
    border: 1px solid rgba(11, 22, 34, .08);
    border-radius: 16px;
    box-shadow: 0 22px 55px rgba(11, 22, 34, .14);
    flex-direction: column;
    align-items: stretch;
    gap: 15px;
    white-space: normal;
  }

  .site-header nav.open {
    display: flex;
  }

  .site-header nav .language {
    padding-left: 0;
    border-left: 0;
  }
}

/* Purpose-built mobile presentation; desktop content and layout stay intact. */
@media (max-width: 600px) {
  html,
  body {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
  }

  .section {
    padding: 66px 20px;
  }

  .section-heading {
    margin-bottom: 30px;
  }

  .section-heading h2,
  .management h2,
  .about h2,
  .contact h2,
  .service-page h2,
  .service-page h3 {
    font-size: clamp(32px, 9vw, 40px);
    overflow-wrap: anywhere;
    hyphens: auto;
  }

  #services .service-grid {
    display: none;
  }

  .mobile-service-hub {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    padding: 10px;
    color: #fff;
    background: #102333;
    border-radius: 22px;
    box-shadow: 0 20px 55px rgba(11, 22, 34, .16);
  }

  .mobile-service-hub a {
    position: relative;
    min-width: 0;
    min-height: 158px;
    padding: 18px 16px;
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 15px;
    background: rgba(255, 255, 255, .045);
  }

  .mobile-service-hub span,
  .mobile-service-hub strong,
  .mobile-service-hub small {
    display: block;
  }

  .mobile-service-hub span {
    margin-bottom: 22px;
    color: #e9bd4b;
    font: italic 15px Georgia, serif;
  }

  .mobile-service-hub strong {
    padding-right: 0;
    font: 600 18px/1.1 Georgia, serif;
    overflow-wrap: normal;
    word-break: normal;
    hyphens: none;
  }

  .mobile-service-hub small {
    margin-top: 9px;
    color: #b9c4cc;
    font-size: 12px;
    line-height: 1.35;
  }

  .mobile-service-hub b {
    position: absolute;
    top: 15px;
    right: 15px;
    color: #e9bd4b;
    font-weight: 500;
  }

  .mobile-all-services {
    display: block;
    margin: 18px 0 0;
  }

  .mobile-all-services .button {
    width: 100%;
  }

  .service-hero {
    min-height: auto;
    padding: 112px 20px 64px;
    gap: 34px;
  }

  .service-hero h1 {
    width: 100%;
    font-size: clamp(34px, 10vw, 40px);
    line-height: 1.06;
    overflow-wrap: anywhere;
    hyphens: auto;
  }

  .service-hero .hero-text {
    font-size: 16px;
    line-height: 1.55;
    overflow-wrap: anywhere;
  }

  .breadcrumbs {
    margin-bottom: 24px;
  }

  .accounting-summary,
  .scope-grid article {
    min-width: 0;
    padding: 22px 20px;
  }

  .accounting-summary h2 {
    font-size: 30px;
  }

  .scope-grid {
    gap: 12px;
  }

  .scope-grid h3 {
    margin: 11px 0 8px;
    font-size: 23px;
    overflow-wrap: anywhere;
    hyphens: auto;
  }

  .scope-grid p {
    font-size: 15px;
    line-height: 1.5;
  }

  .experience-panel {
    min-width: 0;
    padding: 25px 20px;
  }

  .experience-panel > div {
    grid-template-columns: minmax(92px, .8fr) minmax(0, 1.35fr);
    gap: 14px;
    padding: 18px 0;
  }

  .experience-panel strong {
    font-size: 23px;
    line-height: 1.08;
  }

  .experience-panel span {
    min-width: 0;
    font-size: 14px;
    line-height: 1.4;
    overflow-wrap: anywhere;
  }

  .experience-note {
    margin-top: 22px;
  }

  footer > p {
    max-width: 100%;
    margin-bottom: 0;
    white-space: nowrap;
    font-size: 11px;
    letter-spacing: -.01em;
  }

  footer > div {
    display: grid;
    grid-template-columns: repeat(2, max-content);
    gap: 8px 22px;
  }

  footer > div a {
    margin: 0;
  }
}

/* Final roca wordmark */
.brand {
  display: block;
  flex: 0 0 205px;
  width: 205px;
  height: 54px;
}

.brand::before {
  content: "";
  display: block;
  width: 100%;
  height: 100%;
  background: url("assets/roca-wordmark.png") center / contain no-repeat;
}

.brand-mark,
.brand-word {
  display: none;
}

.brand-footer {
  width: 240px;
  height: 70px;
  filter: invert(1);
}

.legal-header .brand {
  filter: none;
}

@media (max-width: 1050px) and (min-width: 901px) {
  .brand {
    flex-basis: 175px;
    width: 175px;
  }

  .site-header nav {
    gap: 13px;
    font-size: 12px;
  }

  .site-header .button-small {
    padding-inline: 13px;
  }
}

@media (max-width: 900px) {
  .brand {
    flex-basis: 175px;
    width: 175px;
    height: 48px;
  }

  .brand-footer {
    width: 215px;
    height: 62px;
  }
}

@media (max-width: 780px) {
  html,
  body {
    max-width: 100%;
    overflow-x: clip;
  }

  .service-grid,
  .service-card {
    min-width: 0;
    width: 100%;
  }

  .service-card {
    overflow-wrap: anywhere;
  }
}

@media (max-width: 420px) {
  .site-header {
    padding-inline: 12px;
    gap: 7px;
  }

  .brand {
    flex-basis: 140px;
    width: 140px;
    height: 42px;
  }

  .mobile-services-link {
    padding-inline: 8px;
    font-size: 11px;
  }

  .menu-button {
    padding-inline: 11px;
    font-size: 12px;
  }
}

/* Keep the competence section balanced on narrow desktop windows. */
@media (max-width: 1100px) and (min-width: 781px) {
  .about {
    grid-template-columns: minmax(270px, .8fr) minmax(0, 1.2fr);
    gap: clamp(28px, 4vw, 52px);
    padding: 80px 24px;
  }

  .experience-panel,
  .about-copy {
    width: 100%;
    min-width: 0;
  }

  .experience-panel {
    min-height: auto;
    padding: 30px 24px;
  }

  .experience-panel > div {
    grid-template-columns: 92px minmax(0, 1fr);
    gap: 14px;
  }

  .experience-panel strong {
    font-size: 24px;
    line-height: 1.08;
  }

  .experience-panel span {
    min-width: 0;
    font-size: 14px;
    overflow-wrap: anywhere;
  }
}
