:root {
  --ink: #161411;
  --muted: #69645f;
  --paper: #fbfaf7;
  --wash: #efede7;
  --line: #d8d2c8;
  --teal: #214f4c;
  --coral: #8f3d36;
  --gold: #b58a3b;
  --plum: #42364d;
  --white: #ffffff;
  --shadow: 0 24px 70px rgba(22, 20, 17, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Lora", Georgia, "Times New Roman", serif;
  line-height: 1.5;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea {
  font: inherit;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 10;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  padding: 12px clamp(18px, 4vw, 52px);
  background: rgba(251, 250, 247, 0.92);
  border-bottom: 1px solid rgba(216, 210, 200, 0.8);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  min-width: 0;
  padding: 4px 0;
}

.brand-logo {
  display: block;
  width: clamp(132px, 13vw, 176px);
  max-height: 42px;
  object-fit: contain;
}

.nav {
  display: flex;
  justify-content: center;
  gap: clamp(14px, 3vw, 34px);
  color: var(--muted);
  font-size: 0.95rem;
}

.nav a:hover,
.footer a:hover {
  color: var(--teal);
}

.header-cta,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-weight: 750;
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease;
}

.header-tools {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.header-cta {
  color: var(--paper);
  background: var(--teal);
}

.button:hover,
.header-cta:hover,
.filter:hover,
.language-button:hover {
  transform: translateY(-1px);
}

.language-switcher {
  display: inline-flex;
  gap: 4px;
  padding: 4px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.language-button {
  min-width: 36px;
  min-height: 34px;
  padding: 0 9px;
  color: var(--muted);
  background: transparent;
  border: 0;
  border-radius: 6px;
  cursor: pointer;
  font-size: 0.78rem;
  font-weight: 850;
  transition: transform 160ms ease, background 160ms ease, color 160ms ease;
}

.language-button.is-active {
  color: var(--paper);
  background: var(--ink);
}

.hero {
  position: relative;
  min-height: 92vh;
  display: grid;
  align-items: center;
  padding: 112px clamp(18px, 4vw, 64px) 54px;
  overflow: hidden;
  background: #1a1816;
}

.hero-image,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(18, 16, 13, 0.76), rgba(18, 16, 13, 0.38) 46%, rgba(18, 16, 13, 0.06)),
    linear-gradient(0deg, rgba(18, 16, 13, 0.52), rgba(18, 16, 13, 0.04) 42%);
}

.hero-content {
  position: relative;
  width: 100%;
  max-width: 760px;
  color: var(--white);
}

.kicker,
.eyebrow {
  margin: 0 0 18px;
  color: var(--gold);
  font-size: 1rem;
  font-weight: 850;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 18px;
  max-width: 11ch;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(4rem, 10vw, 9.5rem);
  font-style: italic;
  font-weight: 600;
  line-height: 0.9;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 0;
  max-width: 720px;
  font-size: clamp(2rem, 4vw, 4.1rem);
  line-height: 1;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 12px;
  font-size: clamp(1.15rem, 2vw, 1.45rem);
  line-height: 1.12;
}

.hero-copy {
  width: 100%;
  max-width: 600px;
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(1.08rem, 2vw, 1.35rem);
}

.bar-registration {
  display: flex;
  align-items: center;
  gap: 11px;
  width: fit-content;
  margin: 20px 0 0;
  padding-top: 10px;
  color: rgba(255, 255, 255, 0.94);
  border-top: 1px solid rgba(208, 174, 116, 0.78);
  font-size: 0.96rem;
  font-weight: 700;
}

.hero-icab-logo {
  width: 36px;
  height: 36px;
  object-fit: contain;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.primary {
  color: var(--paper);
  background: var(--coral);
}

.secondary {
  color: var(--paper);
  border-color: rgba(255, 255, 255, 0.42);
  background: rgba(255, 255, 255, 0.12);
}

.hero-note {
  position: absolute;
  right: clamp(18px, 4vw, 64px);
  bottom: 40px;
  min-width: 190px;
  padding: 18px;
  color: var(--ink);
  background: rgba(251, 250, 247, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.44);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.hero-note span,
.hero-note strong {
  display: block;
}

.hero-note span {
  color: var(--muted);
  font-size: 0.84rem;
}

.hero-note strong {
  margin-top: 2px;
  font-size: 1.25rem;
}

.metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-bottom: 1px solid var(--line);
  background: var(--white);
}

.metrics div {
  padding: 28px clamp(18px, 4vw, 52px);
  border-right: 1px solid var(--line);
}

.metrics div:last-child {
  border-right: 0;
}

.metrics strong,
.metrics span {
  display: block;
}

.metrics strong {
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1;
}

.metrics span {
  margin-top: 8px;
  color: var(--muted);
}

.section,
.contact {
  padding: 92px clamp(18px, 4vw, 64px);
}

.intro,
.process,
.contact {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(280px, 0.95fr);
  gap: clamp(28px, 6vw, 80px);
  align-items: start;
}

.intro {
  grid-template-columns: minmax(260px, 0.65fr) minmax(0, 1.35fr);
  align-items: center;
  padding-bottom: 40px;
}

.intro-profile,
.contact > div p {
  color: var(--muted);
  font-size: clamp(1.05rem, 1.7vw, 1.3rem);
}

.intro-profile {
  display: grid;
  grid-template-columns: minmax(250px, 290px) minmax(0, 1fr);
  gap: 42px;
  align-items: center;
}

.profile-photo {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center top;
  border-radius: 8px;
  border: 1px solid var(--line);
  box-shadow: 0 18px 44px rgba(22, 20, 17, 0.08);
}

.credential {
  margin: 24px 0 0;
  color: var(--ink);
  font-weight: 850;
}

.section-heading {
  display: flex;
  justify-content: space-between;
  gap: 22px;
  align-items: end;
  margin-bottom: 42px;
}

.project-grid,
.service-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.project-card,
.service-list article,
.contact-form {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 18px 44px rgba(22, 20, 17, 0.06);
}

.project-card {
  display: grid;
  grid-template-rows: auto auto 1fr auto;
  min-height: 430px;
  padding: 18px;
  transition: opacity 180ms ease, transform 180ms ease;
}

.project-card.is-hidden {
  display: none;
}

.project-photo {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  margin-bottom: 22px;
  border-radius: 6px;
  border: 1px solid var(--line);
  filter: saturate(0.88) contrast(1.02);
}

.project-card p {
  margin-bottom: 8px;
  color: var(--muted);
  font-weight: 800;
}

.project-card span {
  align-self: end;
  color: var(--teal);
  font-weight: 800;
}

.services {
  background: var(--wash);
}

.work {
  padding-top: 40px;
  padding-bottom: 92px;
}

.services {
  padding-top: 92px;
}

.services h2 {
  margin-bottom: 42px;
}

.service-list article {
  padding: 30px;
}

.service-list span {
  display: inline-flex;
  margin-bottom: 28px;
  color: var(--coral);
  font-weight: 850;
}

.service-list {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.service-list h3 {
  font-size: 1.55rem;
}

.service-list ul {
  display: grid;
  gap: 10px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}

.service-list li {
  position: relative;
  padding-left: 18px;
  color: var(--muted);
}

.service-list li::before {
  position: absolute;
  top: 0.7em;
  left: 0;
  width: 5px;
  height: 5px;
  background: var(--coral);
  border-radius: 50%;
  content: "";
}

.service-list p,
.timeline span {
  color: var(--muted);
}

.timeline {
  display: grid;
  gap: 18px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.timeline li {
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: 18px;
  padding: 26px 0;
  border-top: 1px solid var(--line);
}

.contact {
  color: var(--paper);
  background: var(--ink);
}

.contact .eyebrow {
  color: #f0b073;
}

.contact h2 {
  color: var(--white);
}

.contact > div p {
  color: rgba(255, 255, 255, 0.72);
}

.contact-languages {
  margin-top: 18px;
  color: var(--white);
  font-weight: 800;
}


.contact-email {
  margin-top: 14px;
  color: rgba(255, 255, 255, 0.86);
  font-weight: 700;
}

.contact-email span {
  color: #f0b073;
}

.contact-email a {
  color: #ffffff;
  text-decoration: none;
}

.contact-email a:hover {
  text-decoration: underline;
}

.contact-hours {
  width: fit-content;
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.contact-hours p {
  margin: 4px 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 1rem;
}

.contact-hours .contact-hours-title {
  margin-bottom: 10px;
  color: #f0b073;
  font-weight: 800;
}

.contact-whatsapp {
  margin-top: 26px;
  color: #ffffff;
  background: #1f9d55;
  border-color: #1f9d55;
}

.contact-whatsapp:hover {
  color: #ffffff;
  background: #188047;
  border-color: #188047;
}

.whatsapp-float {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 40;
  display: grid;
  width: 58px;
  height: 58px;
  place-items: center;
  color: #ffffff;
  background: #1f9d55;
  border: 1px solid rgba(255, 255, 255, 0.38);
  border-radius: 50%;
  box-shadow: 0 12px 28px rgba(20, 65, 42, 0.28);
  transition: transform 160ms ease, background 160ms ease;
}

.whatsapp-float:hover {
  color: #ffffff;
  background: #188047;
  transform: translateY(-2px);
}

.whatsapp-float svg {
  display: block;
  width: 29px;
  height: 29px;
  fill: currentColor;
}

.contact-form {
  display: grid;
  gap: 16px;
  padding: 22px;
  color: var(--ink);
}

label {
  display: grid;
  gap: 7px;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 750;
}

input,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px 13px;
  color: var(--ink);
  background: var(--paper);
  outline: none;
}

input:focus,
textarea:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 4px rgba(40, 109, 107, 0.16);
}

.form-status {
  min-height: 24px;
  margin: 0;
  color: var(--teal);
  font-weight: 800;
}

.footer {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: end;
  gap: clamp(24px, 5vw, 72px);
  padding: 30px clamp(18px, 4vw, 64px);
  color: var(--muted);
  background: var(--paper);
  border-top: 1px solid var(--line);
}

.footer > a {
  justify-self: end;
}

.footer-affiliation {
  display: grid;
  justify-items: start;
  gap: 8px;
}

.footer-affiliation p {
  margin: 0;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
}

.icab-lockup {
  display: flex;
  align-items: center;
  gap: 10px;
}

.icab-wordmark {
  display: grid;
  gap: 1px;
  color: var(--ink);
  line-height: 1.05;
}

.icab-wordmark strong {
  font-size: 1rem;
}

.icab-wordmark small {
  color: var(--muted);
  font-size: 0.66rem;
}

.icab-logo {
  display: block;
  width: 72px;
  height: auto;
  flex: 0 0 auto;
  object-fit: contain;
  filter: brightness(0) saturate(100%);
  opacity: 0.58;
}

@media (max-width: 820px) {
  .section,
  .contact {
    padding-top: 68px;
    padding-bottom: 68px;
  }

  .work,
  .services {
    padding-top: 68px;
    padding-bottom: 68px;
  }

  .intro {
    padding-bottom: 28px;
  }

  .work {
    padding-top: 28px;
  }

  .site-header {
    grid-template-columns: auto 1fr;
    gap: 12px;
    padding: 10px 16px;
  }

  .brand-logo {
    width: min(166px, 52vw);
    max-height: 38px;
  }

  .nav {
    display: none;
  }

  .header-tools {
    justify-content: end;
    width: auto;
  }

  .header-cta {
    display: none;
  }

  .hero {
    min-height: auto;
    padding: 92px 18px 34px;
    align-items: start;
  }

  h1 {
    max-width: 10ch;
    font-size: clamp(3.55rem, 15vw, 5.1rem);
    line-height: 0.95;
  }

  .hero-copy {
    max-width: 31rem;
    font-size: 1.05rem;
  }

  .hero-note {
    position: relative;
    right: auto;
    bottom: auto;
    width: min(100%, 260px);
    margin-top: 34px;
  }

  .metrics,
  .intro,
  .process,
  .contact,
  .project-grid,
  .service-list {
    grid-template-columns: 1fr;
  }

  .metrics div {
    display: grid;
    grid-template-columns: 78px minmax(0, 1fr);
    gap: 18px;
    align-items: center;
    min-height: 66px;
    padding: 14px 18px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .metrics div:last-child {
    border-bottom: 0;
  }

  .metrics strong {
    font-size: 1.65rem;
  }

  .metrics span {
    margin-top: 0;
    font-size: 0.92rem;
    line-height: 1.35;
  }

  .section-heading {
    display: grid;
    align-items: start;
  }

  .intro-profile {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .profile-photo {
    width: min(100%, 400px);
  }

  .footer {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .footer > a {
    justify-self: start;
  }

}

@media (max-width: 520px) {
  .site-header {
    padding: 12px 14px;
  }

  .language-switcher {
    flex-shrink: 0;
    padding: 3px;
  }

  .language-button {
    min-width: 32px;
    min-height: 30px;
    padding: 0 7px;
    font-size: 0.72rem;
  }

  h1 {
    font-size: clamp(3.1rem, 14vw, 4.1rem);
  }

  .hero-actions {
    display: grid;
    width: 100%;
    max-width: 330px;
  }

  .icab-logo {
    width: 72px;
    height: auto;
  }

  .intro-profile {
    grid-template-columns: 1fr;
  }

  .button {
    width: 100%;
  }

  .timeline li {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .whatsapp-float {
    right: 16px;
    bottom: 16px;
    width: 52px;
    height: 52px;
  }

  .whatsapp-float svg {
    width: 26px;
    height: 26px;
  }

  .hero-icab-logo {
    width: 32px;
    height: 32px;
  }
}
