* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

html,
body {
  min-height: 100%;
}

body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at 85% -10%, rgba(201, 150, 66, 0.16), transparent 34%),
    linear-gradient(180deg, #f5f8fd 0%, #eef3fa 55%, #f7f9fc 100%);
  font-size: 16px;
}

:root {
  --uniform-copy-size: 14px;
  --uniform-copy-line-height: 1.65;
}

.font-display {
  font-family: "Lora", Georgia, serif;
}

/* Gold section labels — same style as "Core Expertise" everywhere */
.section-heading {
  margin: 0 0 0.5rem;
  font-size: var(--uniform-copy-size) !important;
  line-height: var(--uniform-copy-line-height);
  font-weight: 700;
  text-transform: uppercase;
  color: #c99642;
  letter-spacing: normal;
}

/* Header contact row: fixed 14px labels (not affected by global text-xs remap) */
.header-contact-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.header-contact-icon {
  display: inline-flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  width: 1rem;
  height: 1rem;
  color: #c99642;
}

.header-contact-icon svg {
  display: block;
  width: 100%;
  height: 100%;
}

.header-contact-item > span:last-child {
  font-size: 14px !important;
  line-height: 1.5;
}

/* Unified display heading scale */
.display-name {
  font-size: clamp(2rem, 3.2vw, 2.5rem);
  line-height: 1.08;
}

.display-hero {
  font-size: clamp(2.15rem, 4.2vw, 3rem);
  line-height: 1.14;
}

.display-section {
  font-size: clamp(1.85rem, 3vw, 2.25rem);
  line-height: 1.2;
}

.display-subsection {
  font-size: clamp(1.4rem, 2.2vw, 1.7rem);
  line-height: 1.24;
}

/* Unified type scale (small/meta/body) for consistency */
[class*="text-[10px]"],
[class*="text-[10.5px]"],
[class*="text-[11px]"] {
  font-size: 12px !important;
}

[class*="text-[12px]"],
[class*="text-[12.5px]"] {
  font-size: 13px !important;
}

[class*="text-[13px]"] {
  font-size: 14px !important;
}

[class*="text-[14px]"],
[class*="text-[14.5px]"],
[class*="text-[15px]"] {
  font-size: 15px !important;
}

[class*="text-[16px]"] {
  font-size: 16px !important;
}

[class*="text-[18px]"] {
  font-size: 18px !important;
}

[class~="text-xs"] {
  font-size: 12px !important;
}

[class~="text-sm"] {
  font-size: 14px !important;
}

[class~="text-base"] {
  font-size: 15px !important;
}

.card {
  border-radius: 0.5rem;
  border: 1px solid #d9dfe8;
  background: #ffffff;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.05), 0 14px 28px rgba(15, 23, 42, 0.045);
}

.gold-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 0.375rem;
  cursor: pointer;
  color: #fff;
  font-weight: 600;
  letter-spacing: 0.02em;
  background: linear-gradient(90deg, #b77a2c 0%, #cea052 50%, #b67a2b 100%);
  box-shadow: 0 8px 16px rgba(183, 122, 44, 0.28);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.gold-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 20px rgba(183, 122, 44, 0.36);
}

.contact-input {
  width: 100%;
  border: 1px solid #d4dce6;
  border-radius: 0.5rem;
  background: #fff;
  padding: 0.78rem 0.82rem;
  color: #1f2937;
  font-size: 0.96rem;
  line-height: 1.4;
}

/* Keep left-side boxes + contact form text on one uniform size */
.left-stack p,
.left-stack li,
.left-stack .contact-input,
.left-stack .contact-input::placeholder,
.left-stack button {
  font-size: var(--uniform-copy-size) !important;
  line-height: var(--uniform-copy-line-height);
}

.uniform-copy-block p,
.uniform-copy-block dt,
.uniform-copy-block dd,
.uniform-copy-block .gold-btn:not(.gold-btn--compact) {
  font-size: var(--uniform-copy-size) !important;
  line-height: var(--uniform-copy-line-height);
}

/* Compact CTA in profile social row — align with h-9 icon buttons */
.gold-btn--compact,
.uniform-copy-block .gold-btn.gold-btn--compact {
  height: 2.25rem;
  min-height: 2.25rem;
  padding: 0 0.75rem;
  font-size: 11px !important;
  line-height: 1 !important;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
}

.profile-social-row {
  align-items: center;
  gap: 0.375rem;
}

.contact-input::placeholder {
  color: #8fa0b6;
}

.contact-input:focus {
  outline: none;
  border-color: #c99642;
  box-shadow: 0 0 0 3px rgba(201, 150, 66, 0.18);
}

.hero-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(245, 249, 255, 0.65) 0%, rgba(255, 255, 255, 0.15) 45%, rgba(255, 255, 255, 0) 100%);
  pointer-events: none;
}

.hero-title {
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.45);
}

.process-step {
  position: relative;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.process-step:hover {
  transform: translateY(-3px);
  border-color: #c99642;
  box-shadow: 0 14px 24px rgba(15, 23, 42, 0.12);
}

.step-badge {
  display: inline-grid;
  place-items: center;
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 999px;
  background: rgba(201, 150, 66, 0.16);
  color: #8f6728;
  font-size: 13px;
  font-weight: 700;
}

.starter-box {
  background:
    radial-gradient(circle at 85% 15%, rgba(201, 150, 66, 0.24), transparent 44%),
    linear-gradient(160deg, #041326 0%, #0a2d56 55%, #0e3767 100%);
  border: 1px solid rgba(201, 150, 66, 0.22);
  box-shadow: 0 16px 28px rgba(3, 18, 38, 0.35);
}

.feature-icon {
  display: inline-grid;
  place-items: center;
  flex-shrink: 0;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 0.5rem;
  background: rgba(201, 150, 66, 0.12);
  border: 1px solid rgba(201, 150, 66, 0.22);
  color: #c99642;
}

.bullet-dot {
  display: inline-block;
  width: 0.72rem;
  height: 0.72rem;
  flex-shrink: 0;
  border-radius: 999px;
  background: #c99642;
  box-shadow: 0 0 0 2px rgba(201, 150, 66, 0.2);
}

.icon-sm {
  font-size: 1.7rem;
  line-height: 1;
}

.icon-md {
  font-size: 1.7rem;
  line-height: 1;
}

.icon-lg {
  font-size: 1.7rem;
  line-height: 1;
}

.portfolio-floats {
  position: fixed;
  right: 1.25rem;
  bottom: max(7.5rem, env(safe-area-inset-bottom, 0px));
  z-index: 60;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.625rem;
  pointer-events: none;
}

.portfolio-floats > .portfolio-float {
  pointer-events: auto;
}

.portfolio-float {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 3rem;
  height: 3rem;
  min-width: 3rem;
  min-height: 3rem;
  max-width: 3rem;
  max-height: 3rem;
  border-radius: 999px;
  color: #fff;
  text-decoration: none;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.22);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  overflow: hidden;
}

.portfolio-float svg {
  width: 1.625rem !important;
  height: 1.625rem !important;
  min-width: 1.625rem;
  min-height: 1.625rem;
  max-width: 1.625rem;
  max-height: 1.625rem;
  display: block;
  flex-shrink: 0;
  fill: currentColor;
}

.portfolio-float:hover {
  transform: translateY(-2px) scale(1.04);
}

.portfolio-float:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 3px;
}

.portfolio-float--save {
  background: linear-gradient(145deg, #ef4444 0%, #dc2626 45%, #b91c1c 100%);
  color: #fff;
  box-shadow: 0 10px 24px rgba(220, 38, 38, 0.42);
}

.portfolio-float--save svg {
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.portfolio-float--save:hover {
  box-shadow: 0 14px 28px rgba(220, 38, 38, 0.5);
}

.portfolio-float--whatsapp {
  background: #25d366;
  box-shadow: 0 10px 24px rgba(37, 211, 102, 0.42);
}

.portfolio-float--whatsapp:hover {
  box-shadow: 0 14px 28px rgba(37, 211, 102, 0.5);
}

.feedback-modal {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}

.feedback-modal.hidden {
  display: none;
}

.feedback-modal.is-visible {
  opacity: 1;
  pointer-events: auto;
}

.feedback-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(5, 20, 40, 0.62);
  backdrop-filter: blur(2px);
  opacity: 0;
  transition: opacity 0.2s ease;
}

.feedback-modal__card {
  position: relative;
  width: min(92vw, 420px);
  border-radius: 16px;
  border: 1px solid rgba(201, 150, 66, 0.32);
  background: linear-gradient(180deg, #ffffff 0%, #f7f9fc 100%);
  box-shadow: 0 28px 48px rgba(5, 20, 40, 0.32);
  padding: 24px 20px 20px;
  text-align: center;
  opacity: 0;
  transform: translateY(10px) scale(0.96);
  transition: opacity 0.22s ease, transform 0.22s ease;
  overflow: hidden;
}

.feedback-modal.is-visible .feedback-modal__backdrop {
  opacity: 1;
}

.feedback-modal.is-visible .feedback-modal__card {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.feedback-modal__close {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 30px;
  height: 30px;
  border: 1px solid #d7dfea;
  border-radius: 999px;
  background: #fff;
  color: #64748b;
  font-size: 12px;
  font-weight: 600;
  box-shadow: none;
}

.feedback-modal__close:hover {
  background: #f8fafc;
  color: #0f172a;
  transform: none;
  box-shadow: none;
}

.feedback-modal__icon {
  margin: 8px auto 12px;
  width: 54px;
  height: 54px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  font-size: 28px;
  font-weight: 700;
  background: rgba(34, 197, 94, 0.14);
  color: #16a34a;
}

.feedback-modal__icon.error {
  background: rgba(220, 38, 38, 0.12);
  color: #dc2626;
}

.feedback-modal__ribbon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 110px;
  border-radius: 999px;
  padding: 6px 14px;
  margin-top: 6px;
  margin-bottom: 8px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: #166534;
  background: #dcfce7;
  border: 1px solid #86efac;
}

.feedback-modal__ribbon.error {
  color: #b91c1c;
  background: #fee2e2;
  border-color: #fca5a5;
}

.feedback-modal__title {
  margin: 0 0 6px;
  font-family: "Lora", Georgia, serif;
  font-size: 1.45rem;
  line-height: 1.2;
  color: #0d1f38;
}

.feedback-modal__message {
  margin: 0;
  font-size: 14px;
  line-height: 1.6;
  color: #475569;
}

.feedback-modal__action {
  margin-top: 16px;
  min-width: 110px;
}

@media (prefers-reduced-motion: reduce) {
  .feedback-modal,
  .feedback-modal__backdrop,
  .feedback-modal__card {
    transition: none !important;
  }
}
