:root {
  --bg: #f4f1ea;
  --card: #ffffff;
  --primary: #101820;
  --primaryText: #ffffff;
  --text: #161b22;
  --muted: #667085;
  --gold: #b08a45;
  --goldDark: #84642f;
  --goldSoft: #f7eddc;
  --soft: #f8f6f1;
  --line: rgba(16, 24, 32, 0.12);
  --shadow: 0 24px 72px rgba(16, 24, 32, 0.16);
  --focusRing: rgba(176, 138, 69, 0.38);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  overflow-x: hidden;
}

body {
  min-height: 100dvh;
  background: var(--card);
  color: var(--text);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

body,
button {
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

a,
button {
  color: inherit;
  cursor: pointer;
}

a {
  text-decoration: none;
}

img {
  max-width: 100%;
}

.professionalPage {
  width: 100%;
  min-height: 100dvh;
  background: var(--card);
}

.professionalCard {
  width: 100%;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: var(--card);
}

@media (min-width: 768px) {
  body,
  .professionalPage {
    background:
      linear-gradient(135deg, rgba(176, 138, 69, 0.16), transparent 36rem),
      var(--bg);
  }

  .professionalPage {
    display: grid;
    place-items: center;
    padding: 2rem 1rem;
  }

  .professionalCard {
    max-width: 430px;
    min-height: auto;
    border: 1px solid rgba(16, 24, 32, 0.08);
    border-radius: 8px;
    box-shadow: var(--shadow);
  }
}

.hero {
  position: relative;
  height: 305px;
  flex-shrink: 0;
  overflow: hidden;
  background: var(--primary);
}

.hero img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: var(--heroPosition, center center);
}

.heroOverlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to top, rgba(16, 24, 32, 0.95), rgba(16, 24, 32, 0.42), rgba(16, 24, 32, 0.08)),
    linear-gradient(135deg, rgba(176, 138, 69, 0.42), transparent 46%);
}

.shareBtn {
  position: absolute;
  top: 1rem;
  right: 1rem;
  z-index: 3;
  display: grid;
  width: 2.85rem;
  height: 2.85rem;
  place-items: center;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.94);
  color: var(--primary);
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.24);
  transition: transform 0.18s ease, background 0.18s ease;
}

.shareBtn:hover,
.btn:hover,
.quickLink:hover,
.floatingWhatsapp:hover,
.finalCta a:hover,
.serviceBtn:hover {
  transform: translateY(-2px);
}

i {
  line-height: 1;
}

.heroText {
  position: absolute;
  left: 1rem;
  right: 4.8rem;
  bottom: 4.95rem;
  z-index: 2;
  color: #ffffff;
}

.heroText p,
.sectionTitle p,
.finalCta p {
  margin: 0;
  font-size: 0.7rem;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.heroText p {
  color: rgba(255, 255, 255, 0.74);
}

.heroText h1 {
  margin: 0.45rem 0 0;
  color: #ffffff;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 9vw, 2.85rem);
  font-weight: 500;
  line-height: 1;
  overflow-wrap: anywhere;
}

.content {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 1rem;
}

.profilePanel {
  position: relative;
  z-index: 4;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.9rem;
  align-items: center;
  margin-top: -4rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.96);
  padding: 0.85rem;
  box-shadow: 0 18px 42px rgba(16, 24, 32, 0.16);
  backdrop-filter: blur(14px);
}

.profileMark {
  display: grid;
  width: 4.9rem;
  height: 4.9rem;
  place-items: center;
  overflow: hidden;
  border: 2px solid #ffffff;
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(176, 138, 69, 0.45), transparent),
    var(--primary);
  color: var(--primaryText);
  font-size: 1rem;
  font-weight: 950;
}

.profileMark img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.profileInfo {
  min-width: 0;
}

.status {
  display: inline-flex;
  width: fit-content;
  max-width: 100%;
  border-radius: 999px;
  background: var(--goldSoft);
  color: var(--goldDark);
  padding: 0.38rem 0.62rem;
  font-size: 0.64rem;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.profileInfo h2 {
  margin: 0.45rem 0 0;
  color: var(--text);
  font-size: 1.36rem;
  font-weight: 950;
  line-height: 1.05;
  overflow-wrap: anywhere;
}

.profileInfo p,
.description,
.specialtyCard p,
.serviceInfo p,
.processStep p,
.testimonialCard p,
.faqItem p,
.finalCta span {
  color: var(--muted);
  line-height: 1.45;
}

.profileInfo p {
  margin: 0.35rem 0 0;
  font-size: 0.86rem;
  font-weight: 720;
}

.description {
  margin: 1rem 0 0;
  font-size: 0.96rem;
  font-weight: 620;
}

.mainActions {
  display: grid;
  gap: 0.7rem;
  margin-top: 1rem;
}

@media (min-width: 380px) {
  .mainActions {
    grid-template-columns: 1.25fr 0.75fr;
  }
}

.btn,
.finalCta a,
.floatingWhatsapp,
.serviceBtn {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 950;
  transition: transform 0.18s ease, background 0.18s ease, color 0.18s ease;
}

.btnPrimary,
.finalCta a,
.floatingWhatsapp {
  background: var(--primary);
  color: var(--primaryText);
}

.btnSecondary {
  border: 2px solid var(--primary);
  color: var(--primary);
}

.btnSecondary:hover {
  background: var(--primary);
  color: var(--primaryText);
}

.quickLinks {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.65rem;
  margin-top: 0.85rem;
}

.quickLink {
  display: grid;
  gap: 0.42rem;
  min-height: 76px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--soft);
  padding: 0.7rem 0.4rem;
  text-align: center;
  transition: transform 0.18s ease, background 0.18s ease;
}

.quickIcon {
  display: grid;
  width: 2.25rem;
  height: 2.25rem;
  place-items: center;
  border-radius: 999px;
  background: var(--gold);
  color: #ffffff;
}

.quickLink span:last-child {
  font-size: 0.7rem;
  font-weight: 900;
}

.trustSection,
.specialtySection,
.serviceSection,
.processSection,
.testimonialSection,
.faqSection,
.officePanel,
.finalCta {
  margin-top: 1.2rem;
}

.trustList {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--primary);
}

.trustItem {
  padding: 0.85rem 0.55rem;
  color: #ffffff;
  text-align: center;
}

.trustItem + .trustItem {
  border-left: 1px solid rgba(255, 255, 255, 0.14);
}

.trustItem strong {
  display: block;
  color: #ffffff;
  font-size: 1.15rem;
  font-weight: 950;
}

.trustItem span {
  display: block;
  margin-top: 0.25rem;
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.68rem;
  font-weight: 800;
  line-height: 1.2;
}

.sectionTitle {
  border-top: 1px solid var(--line);
  padding-top: 1.15rem;
}

.sectionTitle p {
  color: var(--goldDark);
}

.sectionTitle h2 {
  margin: 0.3rem 0 0;
  color: var(--text);
  font-size: 1.28rem;
  font-weight: 950;
  line-height: 1.08;
}

.specialtyList,
.serviceList,
.processList,
.testimonialList,
.faqList {
  display: grid;
  gap: 0.75rem;
  margin-top: 0.9rem;
}

.specialtyCard,
.serviceCard,
.processStep,
.testimonialCard,
.faqItem,
.officePanel > div {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
}

.specialtyCard {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.75rem;
  padding: 0.9rem;
}

.specialtyIcon {
  display: grid;
  width: 2.25rem;
  height: 2.25rem;
  place-items: center;
  border-radius: 999px;
  background: var(--goldSoft);
  color: var(--goldDark);
}

.specialtyCard h3,
.serviceInfo h3,
.processStep h3,
.faqItem h3 {
  margin: 0;
  color: var(--text);
  font-size: 0.98rem;
  font-weight: 950;
  line-height: 1.15;
}

.specialtyCard p,
.serviceInfo p,
.processStep p,
.faqItem p {
  margin: 0.35rem 0 0;
  font-size: 0.84rem;
  font-weight: 620;
}

.serviceCard {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.85rem;
  align-items: center;
  padding: 0.9rem;
}

.serviceTag {
  display: inline-flex;
  margin-bottom: 0.5rem;
  border-radius: 999px;
  background: var(--goldSoft);
  color: var(--goldDark);
  padding: 0.34rem 0.55rem;
  font-size: 0.68rem;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.serviceBtn {
  min-height: 42px;
  border: 0;
  background: var(--gold);
  color: #ffffff;
  padding: 0 0.85rem;
  white-space: nowrap;
}

.processStep {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.75rem;
  padding: 0.9rem;
}

.processNumber {
  display: grid;
  width: 2rem;
  height: 2rem;
  place-items: center;
  border-radius: 999px;
  background: var(--primary);
  color: #ffffff;
  font-size: 0.82rem;
  font-weight: 950;
}

.testimonialCard {
  padding: 0.95rem;
  background: var(--soft);
}

.testimonialCard p {
  margin: 0;
  font-size: 0.9rem;
  font-weight: 650;
}

.testimonialCard strong {
  display: block;
  margin-top: 0.65rem;
  color: var(--text);
  font-size: 0.82rem;
  font-weight: 950;
}

.faqItem {
  padding: 0.9rem;
}

.officePanel {
  display: grid;
  gap: 0.7rem;
}

.officePanel > div {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.7rem;
  align-items: center;
  background: var(--soft);
  padding: 0.9rem;
}

.officePanel > div > span {
  display: grid;
  width: 2.35rem;
  height: 2.35rem;
  place-items: center;
  border-radius: 999px;
  background: var(--gold);
  color: #ffffff;
}

.officePanel p {
  margin: 0;
  color: var(--muted);
  font-size: 0.66rem;
  font-weight: 950;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.officePanel strong {
  display: block;
  margin-top: 0.25rem;
  color: var(--text);
  font-size: 0.9rem;
  font-weight: 900;
  line-height: 1.3;
}

.finalCta {
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(176, 138, 69, 0.34), transparent 48%),
    var(--primary);
  color: var(--primaryText);
  padding: 1.15rem;
}

.finalCta p {
  color: rgba(255, 255, 255, 0.68);
}

.finalCta h2 {
  margin: 0.35rem 0 0;
  color: #ffffff;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.55rem;
  font-weight: 500;
  line-height: 1.08;
}

.finalCta span {
  display: block;
  margin-top: 0.5rem;
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.9rem;
  font-weight: 650;
}

.finalCta a {
  width: 100%;
  margin-top: 1rem;
  background: var(--gold);
}

.footer {
  margin-top: auto;
  padding-top: 1rem;
  padding-bottom: 0.25rem;
  text-align: center;
}

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

.floatingWhatsapp {
  position: fixed;
  right: 1rem;
  bottom: calc(1rem + env(safe-area-inset-bottom));
  z-index: 20;
  min-height: 48px;
  padding: 0 1rem;
  box-shadow: 0 16px 42px rgba(16, 24, 32, 0.25);
}

a:focus-visible,
button:focus-visible {
  outline: 4px solid var(--focusRing);
  outline-offset: 4px;
}

@media (max-width: 370px) {
  .quickLinks,
  .trustList {
    grid-template-columns: 1fr;
  }

  .trustItem + .trustItem {
    border-top: 1px solid rgba(255, 255, 255, 0.14);
    border-left: 0;
  }

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

  .serviceBtn {
    width: 100%;
  }

  .heroText {
    right: 1rem;
  }
}
