/* ============================================================
   KERNER FAMILY OFFICE – Main Stylesheet
   RTL Hebrew | Plain CSS | Responsive
   ============================================================ */

/* ---- Custom Properties ---- */
:root {
  --accent:        #78c442;
  --accent-dark:   #5ea030;
  --accent-light:  #e8f5db;
  --dark:          #444444;
  --darker:        #222222;
  --text:          #333333;
  --text-muted:    #777777;
  --bg:            #ffffff;
  --bg-alt:        #f5f7f3;
  --bg-dark:       #1e2329;
  --bg-footer:     #161b20;
  --border:        #e0e0e0;
  --nav-h:         140px;
  --container:     1100px;
  --radius:        12px;
  --radius-sm:     8px;
  --shadow:        0 4px 24px rgba(0, 0, 0, 0.08);
  --shadow-hover:  0 8px 40px rgba(0, 0, 0, 0.14);
  --transition:    0.25s ease;
  --font:          'Heebo', sans-serif;
}

/* ---- Reset & Base ---- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition), opacity var(--transition);
}

ul, ol {
  list-style: none;
}

button {
  font-family: var(--font);
  cursor: pointer;
  border: none;
  background: none;
}

/* ---- Container ---- */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---- Typography Helpers ---- */
.section-label {
  display: block;
  font-size: 1.02rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 10px;
}

.section-label.light {
  color: var(--accent);
}

.section-title {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 700;
  color: var(--darker);
  line-height: 1.25;
  margin-bottom: 16px;
}

.section-title.light {
  color: #ffffff;
}

.section-desc {
  color: var(--text-muted);
  font-size: 1rem;
  margin-top: 8px;
}

.accent-bar {
  width: 48px;
  height: 4px;
  background: var(--accent);
  border-radius: 2px;
  margin-bottom: 24px;
}

.accent-bar.centered {
  margin-left: auto;
  margin-right: auto;
}

.section-header-centered {
  text-align: center;
  margin-bottom: 52px;
}

/* ---- Buttons ---- */
.btn-primary {
  display: inline-block;
  padding: 14px 36px;
  background: var(--accent);
  color: #fff;
  font-weight: 700;
  font-size: 1rem;
  border-radius: 50px;
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
  box-shadow: 0 4px 16px rgba(120, 196, 66, 0.35);
}

.btn-primary:hover,
.btn-primary:focus-visible {
  background: var(--accent-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(120, 196, 66, 0.4);
  outline: none;
}

.btn-outline {
  display: inline-block;
  padding: 12px 32px;
  border: 2px solid var(--accent);
  color: var(--accent);
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: 50px;
  transition: background var(--transition), color var(--transition);
  margin-top: 8px;
}

.btn-outline:hover,
.btn-outline:focus-visible {
  background: var(--accent);
  color: #fff;
  outline: none;
}

/* ---- Placeholder Notes (dev only) ---- */
.placeholder-note {
  background: #fff8e1;
  border-right: 4px solid #ffc107;
  padding: 12px 16px;
  color: #666;
  font-style: italic;
  font-size: 0.9rem;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  margin: 16px 0;
}

/* ============================================================
   NAV
   ============================================================ */
#navbar {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 1000;
  height: var(--nav-h);
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--transition), box-shadow var(--transition);
}

#navbar.scrolled {
  border-bottom-color: var(--border);
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.06);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--nav-h);
}

.nav-logo img {
  height: 128px;
  width: auto;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-links li a {
  display: block;
  padding: 8px 14px;
  font-size: 1.3rem;
  font-weight: 500;
  color: var(--dark);
  border-radius: var(--radius-sm);
  transition: color var(--transition), background var(--transition);
}

.nav-links li a:hover,
.nav-links li a:focus-visible {
  color: var(--accent);
  background: var(--accent-light);
  outline: none;
}

.nav-links li a.nav-cta {
  background: var(--accent);
  color: #fff;
  padding: 10px 24px;
  border-radius: 50px;
  font-weight: 700;
  margin-right: 8px;
}

.nav-links li a.nav-cta:hover,
.nav-links li a.nav-cta:focus-visible {
  background: var(--accent-dark);
  color: #fff;
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  padding: 6px;
  border-radius: var(--radius-sm);
  transition: background var(--transition);
}

.hamburger:hover {
  background: var(--bg-alt);
}

.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--dark);
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile Nav */
@media (max-width: 820px) {
  .hamburger {
    display: flex;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: var(--nav-h);
    right: 0;
    left: 0;
    flex-direction: column;
    background: #fff;
    border-bottom: 1px solid var(--border);
    padding: 16px 0 20px;
    gap: 0;
    box-shadow: 0 8px 24px rgba(0,0,0,0.08);
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links li a {
    padding: 12px 24px;
    border-radius: 0;
    font-size: 1rem;
  }

  .nav-links li a.nav-cta {
    margin: 12px 24px 0;
    text-align: center;
    border-radius: 50px;
  }
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;

.hero-portal-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  padding: 0.8rem 1.4rem;
  border: 1px solid rgba(12, 34, 64, 0.16);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.76);
  color: var(--primary-dark);
  font-size: 0.98rem;
  font-weight: 600;
  text-decoration: none;
  box-shadow: 0 10px 28px rgba(18, 38, 63, 0.1);
  transition: transform 0.25s ease, box-shadow 0.25s ease, background-color 0.25s ease;
}

.hero-portal-link:hover,
.hero-portal-link:focus-visible {
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 16px 34px rgba(18, 38, 63, 0.14);
  transform: translateY(-2px);
}
  justify-content: center;
  text-align: center;
  padding: calc(var(--nav-h) + 40px) 24px 60px;
  background: url('main_image.jpg') center center / cover no-repeat;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.62);
  z-index: 0;
}

.hero-bg-circle {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

.hero-bg-circle--1 {
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(120,196,66,0.10) 0%, transparent 70%);
  top: -100px;
  left: -150px;
}

.hero-bg-circle--2 {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(120,196,66,0.07) 0%, transparent 70%);
  bottom: -80px;
  right: -80px;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 640px;
}

.hero-logo {
  height: 70px;
  width: auto;
  margin: 0 auto 40px;
}

.hero h1 {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 800;
  color: var(--darker);
  line-height: 1.2;
  margin-bottom: 20px;
}

.hero-tagline {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: var(--text-muted);
  font-weight: 400;
  line-height: 1.7;
  margin-bottom: 36px;
}

.hero-scroll-hint {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  color: var(--text-muted);
  font-size: 0.75rem;
  animation: fadeInUp 1s ease 1.5s both;
}

.scroll-arrow {
  width: 20px;
  height: 20px;
  border-right: 2px solid var(--accent);
  border-bottom: 2px solid var(--accent);
  transform: rotate(45deg);
  animation: bounce 1.6s ease infinite;
}

@keyframes bounce {
  0%, 100% { transform: rotate(45deg) translateY(0); }
  50%       { transform: rotate(45deg) translateY(5px); }
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateX(-50%) translateY(12px); }
  to   { opacity: 1; transform: translateX(-50%) translateY(0); }
}

/* ============================================================
   SECTIONS – Base
   ============================================================ */
.section {
  padding: 96px 0;
}

.section.section-alt {
  background: var(--bg-alt);
}

.section.section-dark {
  background: var(--bg-dark);
}

/* ============================================================
   TWO-COLUMN GRID (About & Doron)
   ============================================================ */
.two-col-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.two-col-grid.reverse {
  direction: rtl; /* ensures RTL reversal is maintained */
}

.col-text p {
  color: var(--text-muted);
  margin-bottom: 16px;
  font-size: 1.05rem;
}

.doron-subtitle {
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--accent);
  margin-bottom: 4px;
  margin-top: -10px;
}

/* Image Placeholder */
.img-placeholder {
  background: var(--bg-alt);
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  border: 2px dashed var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
}

.img-placeholder.person {
  aspect-ratio: 3 / 4;
  max-width: 320px;
  margin: 0 auto;
  border-radius: 50% 50% var(--radius) var(--radius);
}

.img-placeholder-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  color: #aaa;
  font-size: 0.8rem;
  text-align: center;
  padding: 24px;
}

@media (max-width: 768px) {
  .two-col-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .two-col-grid.reverse .col-image {
    order: -1;
  }

  .img-placeholder.person {
    max-width: 220px;
  }
}

/* ============================================================
   VALUES
   ============================================================ */
.values-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}

.value-card {
  flex: 0 1 calc(25% - 15px);
  min-width: 200px;
  min-height: 190px;
  position: relative;
  z-index: 1;
  overflow: visible;
  cursor: default;
}

.value-card:hover {
  z-index: 20;
}

.vc-inner {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 20px 24px;
  text-align: center;
  width: 100%;
  min-height: inherit;
  position: relative;
  box-sizing: border-box;
  transition: width var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.value-card:hover .vc-inner {
  position: absolute;
  width: 200%;
  right: 0;
  top: 0;
  z-index: 10;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
  border-color: var(--accent);
}

.value-num {
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: var(--accent);
  margin-bottom: 10px;
}

.value-card h3 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--dark);
  line-height: 1.4;
  margin-bottom: 10px;
  transition: color var(--transition), font-size var(--transition);
}

.value-card:hover .vc-inner h3 {
  color: var(--accent);
  font-size: 1.15rem;
}

.value-card p {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin: 0;
  transition: font-size var(--transition);
}

.value-card:hover .vc-inner p {
  font-size: 0.97rem;
}

@media (max-width: 900px) {
  .value-card {
    flex: 0 1 calc(33.333% - 14px);
  }
  .value-card:hover .vc-inner {
    width: 180%;
    right: 0;
  }
}

@media (max-width: 560px) {
  .value-card {
    flex: 0 1 calc(50% - 10px);
  }
  .value-card:hover .vc-inner {
    width: 150%;
    right: 0;
  }
}

/* ============================================================
   SERVICES – Flip Cards
   ============================================================ */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.service-card {
  height: 290px;
  perspective: 1200px;
  cursor: pointer;
}

.service-card:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 4px;
  border-radius: var(--radius);
}

.service-card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
  transition: transform 0.6s cubic-bezier(0.4, 0.2, 0.2, 1);
}

.service-card:hover .service-card-inner,
.service-card.flipped .service-card-inner {
  transform: rotateY(180deg);
}

.service-front,
.service-back {
  position: absolute;
  inset: 0;
  border-radius: var(--radius);
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 32px 28px;
  text-align: center;
}

.service-front {
  background: var(--bg);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.service-back {
  background: var(--accent);
  transform: rotateY(180deg);
  color: #fff;
}

.service-icon {
  width: 64px;
  height: 64px;
  margin-bottom: 20px;
  color: var(--accent);
}

.service-icon svg {
  width: 100%;
  height: 100%;
}

.service-front h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--darker);
  margin-bottom: 10px;
}

.flip-hint {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-top: auto;
  padding-top: 8px;
}

.service-back h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 14px;
}

.service-back p {
  font-size: 0.9rem;
  line-height: 1.7;
  opacity: 0.95;
}

@media (max-width: 768px) {
  .services-grid {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin: 0 auto;
  }

  .service-card {
    height: auto;
  }

  .service-card-inner {
    transform: none !important;
    display: flex;
    flex-direction: column;
    height: auto;
  }

  .service-front,
  .service-back {
    position: static;
    transform: none;
    backface-visibility: visible;
  }

  .service-front {
    border-radius: var(--radius) var(--radius) 0 0;
    border-bottom: none;
    padding-bottom: 16px;
  }

  .service-back {
    border-radius: 0 0 var(--radius) var(--radius);
    padding-top: 20px;
  }

  .flip-hint {
    display: none;
  }
}

/* ============================================================
   PROCESS – Circular Wheel
   ============================================================ */

/* Desktop wheel */
.process-wheel {
  position: relative;
  width: 560px;
  height: 560px;
  margin: 0 auto;
}

.process-ring {
  position: absolute;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  border: 2px dashed rgba(120, 196, 66, 0.45);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.process-hub {
  position: absolute;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: #fff;
  border: 3px solid var(--accent);
  box-shadow: 0 4px 20px rgba(120, 196, 66, 0.2);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 14px;
  z-index: 2;
}

.process-hub img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

/* Process items – pentagon positions (560×560, center 280,280, ring radius 210) */
.process-item {
  position: absolute;
  width: 140px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

/* Step 1 – top (280, 70) */
.pi-1 { left: 210px; top: 46px; }
/* Step 2 – upper right (480, 215) */
.pi-2 { left: 410px; top: 191px; }
/* Step 3 – lower right (403, 450) */
.pi-3 { left: 333px; top: 426px; }
/* Step 4 – lower left (157, 450) */
.pi-4 { left: 87px; top: 426px; }
/* Step 5 – upper left (80, 215) */
.pi-5 { left: 10px; top: 191px; }

.pi-bubble {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  font-weight: 800;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(120, 196, 66, 0.35);
  flex-shrink: 0;
}

.pi-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.pi-text strong {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--darker);
  line-height: 1.3;
}

.pi-text span {
  font-size: 0.68rem;
  color: var(--text-muted);
  line-height: 1.4;
}

/* Mobile list */
.process-list-mobile {
  display: none;
}

@media (max-width: 900px) {
  .process-wheel {
    display: none;
  }

  .process-list-mobile {
    display: flex;
    flex-direction: column;
    gap: 0;
    max-width: 520px;
    margin: 0 auto;
  }

  .process-list-mobile li {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    padding: 20px 0;
    position: relative;
  }

  .process-list-mobile li:not(:last-child)::after {
    content: '';
    position: absolute;
    right: 23px;
    top: 68px;
    bottom: 0;
    width: 2px;
    background: rgba(120, 196, 66, 0.3);
  }

  .pm-bubble {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--accent);
    color: #fff;
    font-weight: 800;
    font-size: 1.05rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(120, 196, 66, 0.3);
  }

  .pm-text {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding-top: 10px;
  }

  .pm-text strong {
    font-size: 1rem;
    font-weight: 700;
    color: var(--darker);
  }

  .pm-text span {
    font-size: 0.88rem;
    color: var(--text-muted);
    line-height: 1.6;
  }
}

/* ============================================================
   PARTNERS
   ============================================================ */
.partners-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 20px;
  align-items: center;
}

.partner-placeholder {
  height: 70px;
  background: var(--bg);
  border: 1px dashed var(--border);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #bbb;
  font-size: 0.75rem;
  transition: border-color var(--transition);
}

.partner-placeholder:hover {
  border-color: var(--accent);
}

@media (max-width: 900px) {
  .partners-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 480px) {
  .partners-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ============================================================
   CONTACT
   ============================================================ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 64px;
  align-items: start;
}

.contact-intro {
  color: rgba(255, 255, 255, 0.75);
  font-size: 1rem;
  margin-bottom: 32px;
  line-height: 1.7;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 32px;
}

.contact-details li,
.contact-details li a {
  display: flex;
  align-items: center;
  gap: 12px;
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.95rem;
  transition: color var(--transition);
}

.contact-details li a:hover {
  color: var(--accent);
}

.contact-details li.address {
  align-items: flex-start;
}

.contact-details li.address span {
  line-height: 1.5;
}

.ci-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  color: var(--accent);
}

.social-row {
  display: flex;
  gap: 12px;
}

.social-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.8);
  transition: background var(--transition), color var(--transition), transform var(--transition);
}

.social-btn svg {
  width: 20px;
  height: 20px;
}

.social-btn:hover,
.social-btn:focus-visible {
  background: var(--accent);
  color: #fff;
  transform: translateY(-2px);
  outline: none;
}

/* Form */
.contact-form-wrap {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius);
  padding: 36px 32px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 20px;
}

.form-group label {
  font-size: 0.88rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.85);
}

.form-group label span {
  color: var(--accent);
}

.form-group input,
.form-group textarea {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  font-family: var(--font);
  font-size: 0.95rem;
  color: #fff;
  transition: border-color var(--transition), background var(--transition);
  width: 100%;
  direction: rtl;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: rgba(255, 255, 255, 0.35);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent);
  background: rgba(255, 255, 255, 0.12);
}

.form-group input.invalid,
.form-group textarea.invalid {
  border-color: #f87171;
}

.field-error {
  font-size: 0.78rem;
  color: #f87171;
  min-height: 18px;
}

.form-group textarea {
  resize: vertical;
  min-height: 100px;
}

.form-legal {
  font-size: 0.76rem;
  color: rgba(255, 255, 255, 0.45);
  line-height: 1.6;
  margin-bottom: 20px;
}

.btn-submit {
  width: 100%;
  padding: 14px;
  background: var(--accent);
  color: #fff;
  font-family: var(--font);
  font-size: 1rem;
  font-weight: 700;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: background var(--transition), transform var(--transition);
}

.btn-submit:hover,
.btn-submit:focus-visible {
  background: var(--accent-dark);
  transform: translateY(-1px);
  outline: none;
}

.btn-submit:disabled {
  opacity: 0.65;
  cursor: not-allowed;
  transform: none;
}

.form-feedback {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 16px;
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  font-weight: 500;
}

.form-feedback[hidden] {
  display: none;
}

.form-success {
  background: rgba(120, 196, 66, 0.15);
  border: 1px solid var(--accent);
  color: #a8e063;
}

.form-success svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  color: var(--accent);
}

.form-error-msg {
  background: rgba(248, 113, 113, 0.15);
  border: 1px solid #f87171;
  color: #f87171;
}

@media (max-width: 860px) {
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

@media (max-width: 480px) {
  .contact-form-wrap {
    padding: 24px 20px;
  }
}

/* ============================================================
   FOOTER
   ============================================================ */
#footer {
  background: var(--bg-footer);
  padding: 40px 0;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 20px;
}

.footer-logo img {
  height: 36px;
  width: auto;
  filter: brightness(0) invert(1);
  opacity: 0.6;
}

.footer-legal {
  max-width: 680px;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.35);
  line-height: 1.7;
}

.footer-copy {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.4);
}

/* ============================================================
   FLOATING WHATSAPP
   ============================================================ */
.whatsapp-float {
  position: fixed;
  bottom: 28px;
  left: 28px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25D366;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.45);
  z-index: 900;
  transition: transform var(--transition), box-shadow var(--transition);
}

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

.whatsapp-float:hover,
.whatsapp-float:focus-visible {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 8px 28px rgba(37, 211, 102, 0.55);
  outline: none;
}

/* ============================================================
   SCROLL REVEAL ANIMATION
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================================
   RESPONSIVE MISC
   ============================================================ */
@media (max-width: 480px) {
  .section {
    padding: 64px 0;
  }

  .hero-logo {
    height: 50px;
  }

  .hero-scroll-hint {
    display: none;
  }
}
