/* =========================================================
   RESET & BASE
   ========================================================= */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

:root {
  --bg: #0b1020;
  --bg-alt: #0f172a;
  --card: #111827;
  --card-alt: #020617;
  --text: #e5e7eb;
  --text-muted: #6b7280;
  --accent: #0ea5e9;
  --accent-soft: rgba(14, 165, 233, 0.12);
  --border: #1f2937;
  --teal: #14b8a6;
  --teal-dark: #0d9488;
  --danger: #ef4444;
  --radius-lg: 1rem;
  --radius-md: 0.75rem;
  --radius-sm: 0.5rem;
  --shadow-soft: 0 18px 45px rgba(15, 23, 42, 0.2);
  --shadow-card: 0 14px 30px rgba(15, 23, 42, 0.16);
  --shadow-light: 0 10px 25px rgba(15, 23, 42, 0.12);
}

/* LIGHT THEME (default) */

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: #ffffff;
  color: #111827;
  line-height: 1.6;
}

/* DARK THEME */

body.theme-dark {
  background: radial-gradient(circle at top, #111827 0%, #020617 50%, #000 100%);
  color: var(--text);
}

/* Generic text helpers */

.section-sub {
  font-size: 0.96rem;
  color: var(--text-muted);
  max-width: 52rem;
  margin: 0.35rem 0 1.4rem;
}

.section-sub-link {
  margin-top: 1.2rem;
}

.link-underline-teal {
  color: var(--teal-dark);
  text-decoration: underline;
}

/* Layout */

.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

/* =========================================================
   HEADER & NAV
   ========================================================= */

header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(18px);
  background: linear-gradient(
    to bottom,
    rgba(248, 250, 252, 0.96),
    rgba(248, 250, 252, 0.9),
    rgba(248, 250, 252, 0.85)
  );
  border-bottom: 1px solid rgba(148, 163, 184, 0.4);
}

body.theme-dark header {
  background: linear-gradient(
    to bottom,
    rgba(15, 23, 42, 0.96),
    rgba(15, 23, 42, 0.9),
    rgba(15, 23, 42, 0.85)
  );
  border-bottom-color: rgba(30, 64, 175, 0.7);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 64px;
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
}

/* Logo */

.logo-link {
  text-decoration: none;
  color: inherit;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.logo-circle {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid rgba(45, 212, 191, 0.8);
  box-shadow: 0 0 0 2px rgba(15, 23, 42, 0.1);
  background: radial-gradient(circle at top left, #22d3ee 0%, #1d4ed8 40%, #020617 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo-circle img {
  width: 80%;
  height: 80%;
  object-fit: contain;
}

.logo-text-main {
  letter-spacing: 0.16em;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  color: #0f172a;
}

body.theme-dark .logo-text-main {
  color: #e5f1ff;
}

.logo-text-sub {
  font-size: 0.78rem;
  color: #6b7280;
}

body.theme-dark .logo-text-sub {
  color: var(--text-muted);
}

/* Nav links */

.nav-right {
  display: flex;
  align-items: center;
  gap: 1.2rem;
}

.nav-links {
  display: flex;
  gap: 1.2rem;
  font-size: 0.9rem;
}

.nav-links a {
  color: #111827;
  text-decoration: none;
  position: relative;
  padding-bottom: 0.25rem;
}

body.theme-dark .nav-links a {
  color: #d1d5db;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(to right, #22c55e, #22d3ee);
  transition: width 0.18s ease-out;
}

.nav-links a:hover::after {
  width: 100%;
}

/* Nav CTA */

.nav-cta {
  font-size: 0.86rem;
}

.portal-menu {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.portal-menu__toggle {
  appearance: none;
  border: 1px solid rgba(15, 23, 42, 0.1);
  border-radius: 999px;
  padding: 0.66rem 1.05rem;
  background: linear-gradient(135deg, rgba(15, 118, 110, 0.12), rgba(14, 165, 233, 0.12));
  color: #0f172a;
  font: inherit;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.08);
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.portal-menu__toggle::after {
  content: "\25BE";
  display: inline-block;
  margin-left: 0.5rem;
  font-size: 0.7rem;
}

.portal-menu:hover .portal-menu__toggle,
.portal-menu:focus-within .portal-menu__toggle,
.portal-menu.is-open .portal-menu__toggle {
  transform: translateY(-1px);
  border-color: rgba(14, 165, 233, 0.34);
  box-shadow: 0 16px 34px rgba(14, 165, 233, 0.14);
}

.portal-menu__dropdown {
  position: absolute;
  top: calc(100% + 0.7rem);
  right: 0;
  min-width: 200px;
  padding: 0.45rem;
  border-radius: 18px;
  border: 1px solid rgba(148, 163, 184, 0.24);
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 22px 50px rgba(15, 23, 42, 0.16);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  pointer-events: none;
  z-index: 60;
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0s linear 0.18s;
}

.portal-menu:hover .portal-menu__dropdown,
.portal-menu:focus-within .portal-menu__dropdown,
.portal-menu.is-open .portal-menu__dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
  transition-delay: 0s;
}

.portal-menu__dropdown a {
  display: block;
  padding: 0.78rem 0.85rem;
  border-radius: 12px;
  color: #0f172a;
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 600;
  white-space: nowrap;
}

.portal-menu__dropdown a:hover,
.portal-menu__dropdown a:focus-visible {
  background: rgba(34, 211, 238, 0.12);
  outline: none;
}

body.theme-dark .portal-menu__toggle {
  background: linear-gradient(135deg, rgba(8, 145, 178, 0.2), rgba(6, 95, 70, 0.22));
  border-color: rgba(148, 163, 184, 0.2);
  color: #e2e8f0;
}

body.theme-dark .portal-menu__dropdown {
  background: rgba(2, 6, 23, 0.98);
  border-color: rgba(148, 163, 184, 0.16);
}

body.theme-dark .portal-menu__dropdown a {
  color: #e2e8f0;
}

body.theme-dark .portal-menu__dropdown a:hover,
body.theme-dark .portal-menu__dropdown a:focus-visible {
  background: rgba(34, 211, 238, 0.16);
}

/* Theme toggle */

.theme-toggle {
  border: none;
  background: transparent;
  cursor: pointer;
  font-size: 1.1rem;
  line-height: 1;
  padding: 0.25rem;
}

/* Hamburger */

.nav-toggle {
  display: none;
  border: none;
  background: transparent;
  cursor: pointer;
  width: 40px;
  height: 40px;
  padding: 0;
  align-items: center;
  justify-content: center;
}

.nav-toggle-bar {
  position: relative;
  width: 20px;
  height: 2px;
  border-radius: 999px;
  background: #111827;
}

body.theme-dark .nav-toggle-bar {
  background: #e5e7eb;
}

.nav-toggle-bar::before,
.nav-toggle-bar::after {
  content: "";
  position: absolute;
  width: 20px;
  height: 2px;
  left: 0;
  border-radius: 999px;
  background: inherit;
  transition: transform 0.2s ease, top 0.2s ease, opacity 0.2s ease;
}

.nav-toggle-bar::before {
  top: -6px;
}

.nav-toggle-bar::after {
  top: 6px;
}

.nav-toggle.active .nav-toggle-bar {
  background: transparent;
}

.nav-toggle.active .nav-toggle-bar::before {
  top: 0;
  transform: rotate(45deg);
}

.nav-toggle.active .nav-toggle-bar::after {
  top: 0;
  transform: rotate(-45deg);
}

/* Mobile nav */

.mobile-nav {
  display: none;
  flex-direction: column;
  padding: 0 1.25rem 0.75rem;
  background: #f9fafb;
  border-bottom: 1px solid rgba(148, 163, 184, 0.4);
}

body.theme-dark .mobile-nav {
  background: radial-gradient(circle at top left, #0b1120 0%, #020617 50%);
  border-bottom-color: rgba(148, 163, 184, 0.2);
}

.mobile-nav a {
  color: #111827;
  text-decoration: none;
  padding: 0.45rem 0;
  font-size: 0.95rem;
}

body.theme-dark .mobile-nav a {
  color: #e5e7eb;
}

.mobile-nav-cta {
  margin-top: 0.4rem;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  padding: 0.48rem 1.2rem;
  border-radius: 999px;
  border: 1px solid rgba(45, 212, 191, 0.9);
  color: #0f172a;
  font-size: 0.86rem;
  background: radial-gradient(circle at top left, #bbf7d0, #4ade80 40%, #22c55e 100%);
}

body.theme-dark .mobile-nav-cta {
  color: #e0fdf9;
  background: radial-gradient(circle at top left, #059669, #0f766e 40%, #065f46 100%);
}

.mobile-nav.open {
  display: flex;
}

/* =========================================================
   BUTTONS
   ========================================================= */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem 1.4rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  transition: transform 0.1s ease, box-shadow 0.1s ease, background 0.15s ease,
    border-color 0.15s ease, color 0.15s ease;
  background: #f3f4f6;
  color: #111827;
}

body.theme-dark .btn {
  background: rgba(15, 23, 42, 0.8);
  color: #e5e7eb;
}

.btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.15);
}

body.theme-dark .btn:hover {
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.5);
}

.btn-primary {
  background: radial-gradient(circle at top left, #22c55e, #22d3ee);
  border-color: rgba(34, 211, 238, 0.9);
  color: #0f172a;
}

.btn-primary:hover {
  background: radial-gradient(circle at top left, #22c55e, #06b6d4);
}

.btn-outline {
  background: transparent;
  border-color: rgba(148, 163, 184, 0.7);
  color: #111827;
}

body.theme-dark .btn-outline {
  color: #e5e7eb;
}

.btn-outline:hover {
  background: #e5e7eb;
}

body.theme-dark .btn-outline:hover {
  background: rgba(15, 23, 42, 0.9);
}

.btn-whatsapp {
  background: #22c55e;
  border-color: #16a34a;
  color: #052e16;
}

.btn-whatsapp:hover {
  background: #16a34a;
}

.btn-form-link {
  display: inline-flex;
  margin-top: 0.6rem;
}

/* =========================================================
   HERO SECTION
   ========================================================= */

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 3rem;
  align-items: center;
  padding-top: 2.6rem;
  padding-bottom: 2.8rem;
}

.hero h1 {
  font-size: clamp(2rem, 3.3vw, 2.7rem);
  line-height: 1.15;
  margin: 0.4rem 0 1rem;
}

.hero h1 span {
  background: linear-gradient(120deg, #38bdf8, #22c55e, #f97316);
  -webkit-background-clip: text;
  color: transparent;
}

.hero-sub {
  font-size: 0.98rem;
  color: var(--text-muted);
  max-width: 36rem;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin: 1.3rem 0 1.2rem;
}

.badge {
  padding: 0.18rem 0.7rem;
  border-radius: 999px;
  font-size: 0.78rem;
  background: #f3f4f6;
  border: 1px solid rgba(148, 163, 184, 0.8);
  color: #111827;
}

body.theme-dark .badge {
  background: rgba(15, 23, 42, 0.9);
  border-color: rgba(148, 163, 184, 0.6);
  color: #e5e7eb;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-bottom: 0.85rem;
}

.hero-meta {
  font-size: 0.86rem;
  color: var(--text-muted);
}

/* Pill */

.pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.75rem;
  padding: 0.16rem 0.6rem 0.16rem 0.28rem;
  border-radius: 999px;
  background: #ecfeff;
  border: 1px solid rgba(148, 163, 184, 0.6);
  color: #0f172a;
}

body.theme-dark .pill {
  background: rgba(15, 23, 42, 0.85);
  color: #e5e7eb;
}

.pill .pill-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1rem;
  height: 1rem;
  font-size: .92rem;
  line-height: 1;
  background: transparent;
}

/* Hero image */

.hero-image {
  justify-self: flex-end;
}

.hero-image-inner {
  width: 260px;
  height: 260px;
  border-radius: 999px;
  padding: 0.45rem;
  background:
    conic-gradient(from 140deg, rgba(34, 197, 94, 0.4), rgba(56, 189, 248, 0.4), rgba(249, 115, 22, 0.5), rgba(34, 197, 94, 0.4));
  box-shadow: var(--shadow-soft);
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-image-inner img {
  width: 100%;
  height: 100%;
  border-radius: 999px;
  object-fit: cover;
  background: radial-gradient(circle at top, #f9fafb 0%, #e5e7eb 60%);
  border: 3px solid #e5e7eb;
}

/* =========================================================
   GRID, CARDS, TAGS
   ========================================================= */

.grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.3rem;
}

.card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(203, 213, 225, 0.9);
  box-shadow: var(--shadow-card);
  padding: 1.1rem 1.1rem 1.15rem;
  font-size: 0.93rem;
  position: relative;
  overflow: hidden;
}

body.theme-dark .card {
  background: radial-gradient(circle at top left, #020617 0%, #020617 45%, #000 100%);
  border-color: rgba(30, 64, 175, 0.5);
}

.card::before {
  content: "";
  position: absolute;
  inset: -40%;
  background:
    radial-gradient(circle at top left, rgba(56, 189, 248, 0.06), transparent 60%),
    radial-gradient(circle at bottom right, rgba(34, 197, 94, 0.06), transparent 55%);
  opacity: 0.9;
  pointer-events: none;
}

.card h3 {
  margin: 0 0 0.45rem;
  font-size: 1rem;
}

.card p {
  margin: 0 0 0.7rem;
  color: #4b5563;
}

body.theme-dark .card p {
  color: #cbd5f5;
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}

.tag {
  font-size: 0.78rem;
  padding: 0.12rem 0.55rem;
  border-radius: 999px;
  background: #f9fafb;
  border: 1px solid rgba(148, 163, 184, 0.8);
  color: #111827;
}

body.theme-dark .tag {
  background: rgba(15, 23, 42, 0.9);
  border-color: rgba(148, 163, 184, 0.6);
  color: #d1d5db;
}

/* Store cards */

.store-card .store-title {
  font-weight: 600;
  margin-bottom: 0.35rem;
}

.store-card .store-meta {
  font-size: 0.86rem;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
}

.store-card .price {
  font-size: 0.9rem;
  font-weight: 500;
  margin-bottom: 0.6rem;
}

/* Store pagination */

.store-pagination {
  margin-top: 1.5rem;
  text-align: center;
}

.store-page-label {
  margin: 0 1rem;
  font-weight: 600;
}

/* =========================================================
   REVIEWS
   ========================================================= */

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.1rem;
}

.review-card {
  background: #f9fafb;
  border-radius: var(--radius-md);
  border: 1px solid rgba(203, 213, 225, 0.9);
  padding: 0.9rem 1rem;
  font-size: 0.88rem;
}

body.theme-dark .review-card {
  background: rgba(15, 23, 42, 0.92);
  border-color: rgba(148, 163, 184, 0.4);
}

.review-name {
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.review-stars {
  color: #facc15;
  font-size: 0.85rem;
  margin-bottom: 0.45rem;
}

.review-source {
  margin-top: 0.4rem;
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* =========================================================
   SOCIAL SECTION
   ========================================================= */

.social-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-bottom: 1rem;
}

.social-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
  font-size: 0.86rem;
  text-decoration: none;
  background: #f3f4f6;
  border: 1px solid rgba(148, 163, 184, 0.7);
  color: #111827;
}

body.theme-dark .social-btn {
  background: rgba(15, 23, 42, 0.9);
  border-color: rgba(148, 163, 184, 0.7);
  color: #e5e7eb;
}

.social-btn:hover {
  background: #e5e7eb;
}

body.theme-dark .social-btn:hover {
  background: rgba(15, 23, 42, 0.98);
}

.social-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 0.8rem;
}

.social-post {
  background: #f9fafb;
  border-radius: var(--radius-md);
  border: 1px solid rgba(203, 213, 225, 0.9);
  padding: 0.8rem 0.9rem;
  font-size: 0.86rem;
}

body.theme-dark .social-post {
  background: rgba(15, 23, 42, 0.94);
  border-color: rgba(148, 163, 184, 0.5);
}

.social-post-header {
  display: flex;
  justify-content: space-between;
  margin-bottom: 0.3rem;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.social-platform {
  font-weight: 600;
  color: #111827;
}

body.theme-dark .social-platform {
  color: #e5e7eb;
}

.social-date {
  color: var(--text-muted);
}

.social-text {
  font-size: 0.86rem;
}

.social-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.7rem;
  margin-top: 1rem;
}

.social-pagination button {
  border-radius: 999px;
  padding: 0.35rem 0.9rem;
  background: #f3f4f6;
  border: 1px solid rgba(148, 163, 184, 0.7);
  color: #111827;
  font-size: 0.82rem;
  cursor: pointer;
}

body.theme-dark .social-pagination button {
  background: rgba(15, 23, 42, 0.9);
  color: #e5e7eb;
}

.social-pagination button:disabled {
  opacity: 0.4;
  cursor: default;
}

/* =========================================================
   ABOUT SECTION
   ========================================================= */

.about-grid {
  /* existing rules... */
  margin-top: 0.4rem;  /* add this or lower this number if it already exists */
}

.timeline {
  border-left: 1px solid rgba(148, 163, 184, 0.7);
  padding-left: 1.1rem;
  margin-top: 0.4rem;
}

.timeline-item {
  position: relative;
  margin-bottom: 1.1rem;
  font-size: 0.9rem;
}

.timeline-item::before {
  content: "";
  position: absolute;
  left: -1.35rem;
  top: 0.3rem;
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: radial-gradient(circle at center, #22c55e 0%, #0ea5e9 80%);
  box-shadow: 0 0 0 4px rgba(34, 197, 94, 0.1);
}

.timeline-year {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
}

.timeline-title {
  font-weight: 600;
  margin: 0.1rem 0 0.2rem;
}

..about-card h3 {
  margin-top: 0;
}
  background: #f9fafb;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(203, 213, 225, 0.9);
  padding: 1rem 1.15rem;
  font-size: 0.9rem;
  box-shadow: var(--shadow-light);
}

body.theme-dark .about-card {
  background: rgba(15, 23, 42, 0.94);
  border-color: rgba(148, 163, 184, 0.5);
}

.about-list {
  padding-left: 1.1rem;
  margin: 0.45rem 0;
  font-size: 0.9rem;
}

.about-list li {
  margin-bottom: 0.35rem;
}

.about-note {
  margin-top: 0.6rem;
  font-size: 0.9rem;
}

/* =========================================================
   CONTACT SECTION
   ========================================================= */

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 1.6rem;
  margin-top: 0.6rem;
}

.contact-info p {
  margin: 0.25rem 0;
  font-size: 0.92rem;
}

.contact-info a {
  color: inherit;
  text-decoration: none;
}

.contact-info a:hover {
  text-decoration: underline;
}

.contact-area-note {
  margin-top: 0.6rem;
  font-size: 0.88rem;
  color: var(--text-muted);
}

.contact-map-link {
  margin-top: 0.8rem;
}

.clients-text {
  margin-top: 0.6rem;
  font-size: 0.86rem;
  color: var(--text-muted);
}

.clients-text .label {
  font-weight: 600;
  margin-right: 0.25rem;
}

/* Contact form */

#contact-form {
  background: #f9fafb;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(203, 213, 225, 0.9);
  padding: 1.05rem 1.15rem;
  font-size: 0.9rem;
  box-shadow: var(--shadow-light);
}

body.theme-dark #contact-form {
  background: rgba(15, 23, 42, 0.94);
  border-color: rgba(148, 163, 184, 0.5);
}

#contact-form > div {
  margin-bottom: 0.65rem;
}

#contact-form label {
  display: block;
  margin-bottom: 0.2rem;
  font-size: 0.84rem;
}

#contact-form input,
#contact-form select,
#contact-form textarea {
  width: 100%;
  padding: 0.45rem 0.6rem;
  border-radius: 0.6rem;
  border: 1px solid rgba(148, 163, 184, 0.8);
  background: #ffffff;
  color: #111827;
  font-size: 0.9rem;
}

body.theme-dark #contact-form input,
body.theme-dark #contact-form select,
body.theme-dark #contact-form textarea {
  background: rgba(15, 23, 42, 0.95);
  color: #e5e7eb;
}

#contact-form textarea {
  min-height: 120px;
  resize: vertical;
}

.contact-note {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 0.4rem;
}

/* =========================================================
   FLOATING BUTTONS
   ========================================================= */

#back-to-top {
  position: fixed;
  right: 1.4rem;
  bottom: 1.4rem;
  width: 38px;
  height: 38px;
  border-radius: 999px;
  background: #f3f4f6;
  border: 1px solid rgba(148, 163, 184, 0.8);
  color: #111827;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.15s ease, transform 0.15s ease;
  z-index: 60;
}

body.theme-dark #back-to-top {
  background: rgba(15, 23, 42, 0.95);
  border-color: rgba(148, 163, 184, 0.8);
  color: #e5e7eb;
}

#back-to-top.show {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(-4px);
}

#whatsapp-float {
  position: fixed;
  right: 1.4rem;
  bottom: 5.1rem;
  width: 46px;
  height: 46px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle at top left, #22c55e, #16a34a);
  box-shadow: 0 14px 35px rgba(22, 163, 74, 0.5);
  border: 2px solid rgba(22, 163, 74, 0.7);
  text-decoration: none;
  z-index: 60;
}

/* =========================================================
   FOOTER & POLICY LINKS
   ========================================================= */

footer {
  text-align: center;
  font-size: 0.8rem;
  color: var(--text-muted);
  padding: 0.9rem 1.25rem 1.4rem;
  border-top: 1px solid rgba(229, 231, 235, 1);
  background: #f9fafb;
}

body.theme-dark footer {
  background: radial-gradient(circle at top, rgba(15, 23, 42, 0.98), #020617 70%);
  border-top-color: rgba(15, 23, 42, 0.95);
}

/* Policy footer block (used on index) */

.policy-links {
  margin-top: 0.75rem;
}

.policy-links-index {
  margin: 0.35rem auto 0.2rem;
  text-align: center;
}

.policy-title {
  font-weight: 700;
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
}

.policy-links-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem 1.2rem;
  justify-content: center;   /* CENTER LINKS */
}

.policy-links-row a {
  font-size: 0.88rem;
  color: #0d9488;
  text-decoration: none;
  font-weight: 500;
}

.policy-links-row a:hover {
  text-decoration: underline;
}

/* =========================================================
   REVEAL ANIMATION
   ========================================================= */

.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.45s ease, transform 0.45s ease;
}

.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

/* =========================================================
   POLICY / FORM PAGES
   ========================================================= */

body.policy-page {
  background: #f4f6fa;
  color: #111827;
}

/* Wrapper */
.policy-wrapper {
  max-width: 860px;
  margin: 0 auto;
  padding: 2rem 1.25rem;
}

/* Page headings */
.policy-wrapper h1 {
  font-size: 1.6rem;
  margin-bottom: 0.4rem;
  font-weight: 700;
}

.policy-wrapper h2 {
  font-size: 1.2rem;
  font-weight: 600;
  margin-top: 1.6rem;
  margin-bottom: 0.4rem;
}

/* Section text */
.policy-wrapper .section-sub {
  font-size: 0.92rem;
  color: #4b5563;
  margin-bottom: 1.2rem;
}

/* Each form row */
.policy-form > div {
  margin-bottom: 0.9rem;
}

/* Form inputs */
.policy-form label {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 0.28rem;
}

.policy-form input[type="text"],
.policy-form input[type="email"],
.policy-form input[type="tel"],
.policy-form input[type="number"],
.policy-form input[type="date"] {
  width: 100%;
  max-width: 420px;
  padding: 0.46rem 0.55rem;
  border-radius: 8px;
  border: 1px solid #cbd5e1;
  font-size: 0.9rem;
  box-sizing: border-box;
}

/* Textareas (reduced height) */
.policy-form textarea {
  width: 100%;
  max-width: 600px;
  min-height: 65px;
  padding: 0.46rem 0.55rem;
  border-radius: 8px;
  border: 1px solid #cbd5e1;
  font-size: 0.9rem;
  resize: vertical;
  box-sizing: border-box;
}

/* Bullet points */
.policy-form ul {
  margin: 0.4rem 0 0.4rem 1.2rem;
  padding: 0;
  font-size: 0.9rem;
  color: #374151;
}

.policy-form ul li {
  margin-bottom: 0.22rem;
}

/* AGREEMENT CHECKBOX */

.agree-row {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  margin-top: 0.9rem;
  max-width: 700px;
}

.agree-row input[type="checkbox"] {
  flex: 0 0 18px;
  width: 18px;
  height: 18px;
  margin-top: 2px;
  cursor: pointer;
}

.agree-row label {
  flex: 1;
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.45;
  cursor: pointer;
}

/* Small grey note */
.policy-note {
  font-size: 0.78rem;
  color: #6b7280;
  margin-top: 0.3rem;
}

/* Submit Button */
.policy-form button {
  padding: 0.55rem 1.6rem;
  border-radius: 8px;
  background: #0d9488;
  color: #fff;
  border: none;
  cursor: pointer;
  font-size: 0.92rem;
  margin-top: 1rem;
}

.policy-form button:hover {
  background: #0f766e;
}

/* Card on policy page */

.policy-card {
  background: #ffffff;
  padding: 1.25rem 1rem;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.07);
  border: 1px solid #e5e7eb;
  margin-bottom: 1.2rem;
}

/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 960px) {
  .hero {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero-image {
    justify-self: center;
  }

  .grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .reviews-grid,
  .social-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .about-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .contact-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .nav-links,
  .nav-cta,
  .portal-menu {
    display: none;
  }

  .nav-toggle {
    display: inline-flex;
  }
}

@media (max-width: 640px) {
  .grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .reviews-grid,
  .social-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero {
    gap: 2rem;
    padding-top: 1.8rem;
  }

  .hero-image-inner {
    width: 220px;
    height: 220px;
  }

  .policy-wrapper {
    padding: 1.5rem 1rem;
  }

  .policy-links-row {
    flex-direction: column;
    gap: 0.4rem;
  }

  #whatsapp-float,
  #back-to-top {
    right: 1rem;
  }
}

/* ===== Mobile fix for Thank-you / action buttons ===== */
.thank-actions{
  display:flex;
  gap:12px;
  flex-wrap:wrap;
  margin-top:1.5rem;
}

.thank-actions .btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  padding:0.85rem 1.2rem;
  border-radius:999px;
  text-decoration:none;
}

@media (max-width:600px){
  .thank-actions{
    flex-direction:column;
    gap:10px;
  }
  .thank-actions .btn{
    width:100%;
  }
}
.footer-heart {
  display: inline-block;
  color: #dc2626;
  font-size: 1.15em;
  line-height: 1;
  animation: footer-heartbeat 1.4s ease-in-out infinite;
  transform-origin: center;
}

@keyframes footer-heartbeat {
  0%, 100% {
    transform: scale(1);
  }
  14% {
    transform: scale(1.18);
  }
  28% {
    transform: scale(1);
  }
  42% {
    transform: scale(1.12);
  }
  70% {
    transform: scale(1);
  }
}


.social-icon {
  display: inline-block;
  vertical-align: middle;
}

.social-icon-instagram {
  color: #e1306c;
}

.social-icon-facebook {
  color: #1877f2;
}

.social-icon-youtube {
  color: #ff0000;
}


/* =========================================================
   PORTFOLIO SECTION
   ========================================================= */

#portfolio {
  padding: 0.4rem 0 0;
}

.portfolio-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: 1.2rem;
  margin: 1rem 0 1.4rem;
}

.portfolio-hero-copy,
.portfolio-highlight,
.portfolio-card {
  background: #ffffff;
  border: 1px solid rgba(203, 213, 225, 0.9);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
}

.portfolio-hero-copy {
  padding: 1.2rem 1.3rem;
}

.portfolio-hero-copy h3 {
  margin: 0.3rem 0 0.55rem;
  font-size: 1.25rem;
}

.portfolio-hero-copy p {
  margin: 0;
  color: #4b5563;
}

.portfolio-eyebrow {
  display: inline-flex;
  padding: 0.22rem 0.7rem;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
  color: #0f766e;
  background: rgba(20, 184, 166, 0.12);
}

.portfolio-highlights {
  display: grid;
  gap: 0.9rem;
}

.portfolio-highlight {
  padding: 1rem 1.05rem;
}

.portfolio-highlight strong {
  display: block;
  margin-bottom: 0.2rem;
}

.portfolio-highlight span {
  color: var(--text-muted);
  font-size: 0.92rem;
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.2rem;
}

.portfolio-card {
  padding: 1.15rem;
}

.portfolio-card h3 {
  margin: 0 0 0.45rem;
  font-size: 1.02rem;
}

.portfolio-card p {
  margin: 0 0 1rem;
  color: #4b5563;
}

.portfolio-card-head {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-bottom: 0.7rem;
}

.portfolio-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.18rem 0.62rem;
  border-radius: 999px;
  font-size: 0.76rem;
  font-weight: 700;
  background: rgba(14, 165, 233, 0.12);
  color: #075985;
}

.portfolio-badge-muted {
  background: rgba(15, 23, 42, 0.06);
  color: #334155;
}

.portfolio-actions {
  display: flex;
  gap: 0.65rem;
  flex-wrap: wrap;
}

.portfolio-card-empty {
  grid-column: 1 / -1;
  text-align: center;
}

.contact-prefill-note {
  margin: 0 0 0.2rem;
  padding: 0.8rem 0.9rem;
  border-radius: 0.9rem;
  background: rgba(20, 184, 166, 0.08);
  border: 1px solid rgba(20, 184, 166, 0.24);
  color: #0f766e;
  font-size: 0.88rem;
}

body.theme-dark .portfolio-hero-copy,
body.theme-dark .portfolio-highlight,
body.theme-dark .portfolio-card {
  background: rgba(15, 23, 42, 0.94);
  border-color: rgba(148, 163, 184, 0.36);
}

body.theme-dark .portfolio-hero-copy p,
body.theme-dark .portfolio-card p {
  color: #cbd5f5;
}

body.theme-dark .portfolio-badge {
  background: rgba(34, 211, 238, 0.16);
  color: #a5f3fc;
}

body.theme-dark .portfolio-badge-muted {
  background: rgba(148, 163, 184, 0.14);
  color: #cbd5e1;
}

body.theme-dark .contact-prefill-note {
  color: #99f6e4;
  background: rgba(13, 148, 136, 0.14);
  border-color: rgba(45, 212, 191, 0.28);
}

@media (max-width: 960px) {
  .portfolio-hero,
  .portfolio-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .portfolio-hero-copy {
    grid-column: 1 / -1;
  }
}

@media (max-width: 640px) {
  .portfolio-hero,
  .portfolio-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}
