:root {
  --bg: #f6efe4;
  --surface: rgba(255, 255, 255, 0.88);
  --surface-strong: #fffaf2;
  --text: #182126;
  --muted: #536168;
  --accent: #d6672e;
  --accent-dark: #a84c1f;
  --accent-soft: #ffe4cf;
  --line: rgba(24, 33, 38, 0.1);
  --shadow: 0 24px 60px rgba(24, 33, 38, 0.12);
  --max-width: 1120px;
  --radius-lg: 28px;
  --radius-md: 18px;
  --radius-sm: 12px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Trebuchet MS", "Gill Sans", "Gill Sans MT", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(214, 103, 46, 0.18), transparent 32%),
    linear-gradient(180deg, #fff8ee 0%, var(--bg) 52%, #f4f0eb 100%);
}

img {
  max-width: 100%;
  display: block;
}

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

.page-shell {
  width: min(calc(100% - 2rem), var(--max-width));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(18px);
  background: rgba(255, 248, 238, 0.82);
  border-bottom: 1px solid rgba(24, 33, 38, 0.06);
}

.nav-wrap {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  min-height: 82px;
}

.brand {
  display: inline-flex;
  flex-direction: column;
  gap: 0.2rem;
}

.brand-mark {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
}

.brand-name {
  font-size: 1.2rem;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.mobile-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--surface-strong);
  color: var(--text);
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(24, 33, 38, 0.08);
}

.mobile-toggle span,
.mobile-toggle::before,
.mobile-toggle::after {
  content: "";
  display: block;
  width: 20px;
  height: 2px;
  background: currentColor;
  border-radius: 999px;
  transition: transform 180ms ease, opacity 180ms ease;
}

.mobile-toggle span {
  margin: 5px 0;
}

.mobile-toggle[aria-expanded="true"]::before {
  transform: translateY(7px) rotate(45deg);
}

.mobile-toggle[aria-expanded="true"] span {
  opacity: 0;
}

.mobile-toggle[aria-expanded="true"]::after {
  transform: translateY(-7px) rotate(-45deg);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 0.7rem;
}

.site-nav a {
  padding: 0.9rem 1rem;
  font-size: 0.96rem;
  font-weight: 700;
  color: var(--muted);
  border-radius: 999px;
  transition: background-color 160ms ease, color 160ms ease, transform 160ms ease;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  background: rgba(214, 103, 46, 0.12);
  color: var(--accent-dark);
  transform: translateY(-1px);
  outline: none;
}

.site-nav a[aria-current="page"] {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 14px 28px rgba(214, 103, 46, 0.28);
}

main {
  padding: 3rem 0 5rem;
}

.hero {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 1.6rem;
  align-items: stretch;
}

.hero-card,
.panel,
.contact-card,
.service-card,
.info-card {
  background: var(--surface);
  border: 1px solid rgba(255, 255, 255, 0.65);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.hero-card {
  padding: 2.4rem;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0.85rem;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-dark);
  background: var(--accent-soft);
}

.hero h1,
.page-intro h1 {
  margin: 1rem 0 0.8rem;
  font-size: clamp(2.4rem, 5vw, 4.5rem);
  line-height: 0.96;
  letter-spacing: -0.05em;
}

.hero p,
.page-intro p,
.panel p,
.service-card p,
.contact-card p,
.info-card p {
  margin: 0;
  color: var(--muted);
  font-size: 1.04rem;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 1.7rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0.9rem 1.25rem;
  border-radius: 999px;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.button-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 16px 34px rgba(214, 103, 46, 0.25);
}

.button-secondary {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.8);
}

.stat-grid,
.card-grid,
.service-grid,
.contact-grid,
.quick-grid {
  display: grid;
  gap: 1.2rem;
}

.stat-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 1.8rem;
}

.stat {
  padding: 1.1rem 1rem;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(24, 33, 38, 0.08);
}

.stat strong {
  display: block;
  font-size: 1.8rem;
}

.stat span {
  color: var(--muted);
  font-size: 0.95rem;
}

.hero-side {
  padding: 1.5rem;
  background:
    linear-gradient(165deg, rgba(16, 128, 112, 0.92), rgba(16, 69, 102, 0.94)),
    #145a66;
  color: #f7fbfc;
}

.hero-side h2 {
  margin: 0;
  font-size: 1.8rem;
}

.hero-list {
  margin: 1.4rem 0 0;
  padding: 0;
  list-style: none;
}

.hero-list li {
  padding: 0.9rem 0;
  border-top: 1px solid rgba(247, 251, 252, 0.18);
}

.section {
  margin-top: 2.3rem;
}

.section-header {
  margin-bottom: 1rem;
}

.section-header h2 {
  margin: 0 0 0.45rem;
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  letter-spacing: -0.04em;
}

.card-grid,
.service-grid,
.contact-grid,
.quick-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.panel,
.service-card,
.contact-card,
.info-card {
  padding: 1.6rem;
}

.panel h3,
.service-card h3,
.contact-card h3,
.info-card h3 {
  margin: 0 0 0.7rem;
  font-size: 1.25rem;
}

.panel ul,
.service-card ul,
.contact-card ul {
  margin: 1rem 0 0;
  padding-left: 1.1rem;
  color: var(--muted);
  line-height: 1.7;
}

.page-intro {
  padding: 2rem 0 0.4rem;
}

.split-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem;
}

.contact-grid {
  grid-template-columns: 1.1fr 0.9fr;
}

.contact-form {
  display: grid;
  gap: 0.95rem;
}

.contact-form label {
  display: grid;
  gap: 0.45rem;
  font-weight: 700;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 0.9rem 1rem;
  border: 1px solid rgba(24, 33, 38, 0.12);
  border-radius: 16px;
  font: inherit;
  background: rgba(255, 255, 255, 0.86);
}

.contact-form textarea {
  min-height: 140px;
  resize: vertical;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: 2px solid rgba(214, 103, 46, 0.28);
  border-color: rgba(214, 103, 46, 0.55);
}

.media-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: var(--surface);
  border: 1px solid rgba(255, 255, 255, 0.65);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.media-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.media-card-body {
  padding: 1.1rem 1.3rem 1.35rem;
}

.media-card-body p {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

.inline-photo {
  width: 100%;
  margin-bottom: 1rem;
  border-radius: var(--radius-md);
  aspect-ratio: 4 / 3;
  object-fit: cover;
  box-shadow: 0 18px 36px rgba(24, 33, 38, 0.14);
}

.site-footer {
  padding: 1.4rem 0 2rem;
  color: var(--muted);
  font-size: 0.94rem;
}

.contact-dock {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 25;
  display: grid;
  gap: 0.75rem;
}

.floating-action {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 62px;
  height: 62px;
  border-radius: 50%;
  color: #fff;
  box-shadow: 0 22px 44px rgba(24, 33, 38, 0.2);
  transition: box-shadow 160ms ease, filter 160ms ease;
}

.floating-action:hover,
.floating-action:focus-visible {
  filter: brightness(1.04);
  box-shadow: 0 26px 52px rgba(24, 33, 38, 0.24);
  outline: none;
}

.floating-action-whatsapp {
  background: linear-gradient(135deg, #25d366, #159a52);
  animation: whatsapp-float 3.1s ease-in-out infinite;
}

.floating-action-call {
  background: linear-gradient(135deg, #145a66, #0f4566);
}

.floating-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.18);
}

.floating-icon svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
}

.floating-label {
  position: absolute;
  top: 50%;
  right: 76px;
  transform: translateY(-50%) translateX(8px);
  padding: 0.55rem 0.85rem;
  border-radius: 999px;
  background: rgba(255, 250, 242, 0.96);
  color: var(--text);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  white-space: nowrap;
  box-shadow: 0 18px 36px rgba(24, 33, 38, 0.14);
  opacity: 0;
  pointer-events: none;
  transition: opacity 160ms ease, transform 160ms ease;
}

.floating-action:hover .floating-label,
.floating-action:focus-visible .floating-label {
  opacity: 1;
  transform: translateY(-50%) translateX(0);
}

@keyframes whatsapp-float {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-8px);
  }
}

@media (max-width: 900px) {
  .hero,
  .split-layout,
  .contact-grid,
  .card-grid,
  .service-grid,
  .quick-grid {
    grid-template-columns: 1fr;
  }

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

  .site-header {
    position: static;
  }
}

@media (max-width: 760px) {
  .nav-wrap {
    min-height: 76px;
  }

  .mobile-toggle {
    display: inline-flex;
  }

  .site-nav {
    position: absolute;
    z-index: 5;
    top: calc(100% + 0.45rem);
    left: 1rem;
    right: 1rem;
    display: grid;
    gap: 0.4rem;
    padding: 0.7rem;
    border: 1px solid rgba(24, 33, 38, 0.08);
    border-radius: 24px;
    background: rgba(255, 250, 242, 0.96);
    box-shadow: var(--shadow);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: opacity 180ms ease, transform 180ms ease, visibility 180ms ease;
  }

  .site-nav.is-open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .site-nav a {
    padding: 1rem 1.1rem;
    border-radius: 18px;
  }

  .contact-dock {
    right: 0.85rem;
    bottom: 0.85rem;
  }

  .floating-action {
    width: 58px;
    height: 58px;
  }

  .floating-icon {
    width: 38px;
    height: 38px;
  }

  .floating-label {
    display: none;
  }

  .hero-card,
  .hero-side,
  .panel,
  .service-card,
  .contact-card,
  .info-card {
    padding: 1.35rem;
  }

  .hero h1,
  .page-intro h1 {
    font-size: clamp(2.1rem, 12vw, 3rem);
  }
}
