/* ============================================================
   Rumo Verdadeiro – Escola Náutica
   Folha de estilos principal
   ============================================================ */

/* ── Custom Properties ────────────────────────────────────── */
:root {
  --navy-dark:   #061a2e;
  --navy:        #0a2342;
  --navy-mid:    #0d3060;
  --ocean:       #0077b6;
  --ocean-light: #00b4d8;
  --sky:         #90e0ef;
  --gold:        #f9a825;
  --gold-light:  #fdd835;
  --white:       #ffffff;
  --off-white:   #f8fafc;
  --gray-100:    #f1f5f9;
  --gray-200:    #e2e8f0;
  --gray-300:    #cbd5e1;
  --gray-500:    #64748b;
  --gray-700:    #334155;
  --text:        #1e293b;
  --text-muted:  #64748b;
  --success:     #16a34a;
  --error:       #dc2626;

  --font-head: 'Montserrat', sans-serif;
  --font-body: 'Open Sans', sans-serif;

  --radius-sm: 6px;
  --radius:    12px;
  --radius-lg: 20px;
  --radius-xl: 32px;

  --shadow-sm: 0 1px 3px rgba(0,0,0,.12), 0 1px 2px rgba(0,0,0,.08);
  --shadow:    0 4px 16px rgba(0,0,0,.12);
  --shadow-lg: 0 12px 40px rgba(0,0,0,.18);
  --shadow-xl: 0 24px 60px rgba(0,0,0,.22);

  --transition: .3s cubic-bezier(.4,0,.2,1);
  --max-width: 1200px;
}

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

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

body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--white);
  line-height: 1.7;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a   { color: inherit; text-decoration: none; }
ul  { list-style: none; }

/* ── Typography helpers ───────────────────────────────────── */
h1, h2, h3, h4, h5 {
  font-family: var(--font-head);
  line-height: 1.25;
  color: var(--navy);
}

.section-tag {
  display: inline-block;
  font-family: var(--font-head);
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--ocean);
  background: rgba(0,119,182,.1);
  border-radius: 50px;
  padding: .3rem .9rem;
  margin-bottom: .9rem;
}

.section-title {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 800;
  margin-bottom: 1rem;
  color: var(--navy);
}

.section-title span { color: var(--ocean); }

.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 580px;
  margin: 0 auto;
}

.section-header {
  text-align: center;
  margin-bottom: 3.5rem;
}

/* ── Layout helpers ───────────────────────────────────────── */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section {
  padding: 5rem 0;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-family: var(--font-head);
  font-size: .9rem;
  font-weight: 700;
  padding: .8rem 1.8rem;
  border-radius: 50px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
  text-transform: uppercase;
  letter-spacing: .06em;
}

.btn-primary {
  background: var(--gold);
  color: var(--navy-dark);
  border-color: var(--gold);
}
.btn-primary:hover {
  background: var(--gold-light);
  border-color: var(--gold-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(249,168,37,.4);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,.6);
}
.btn-outline:hover {
  background: rgba(255,255,255,.15);
  border-color: var(--white);
  transform: translateY(-2px);
}

.btn-ocean {
  background: var(--ocean);
  color: var(--white);
  border-color: var(--ocean);
}
.btn-ocean:hover {
  background: var(--navy-mid);
  border-color: var(--navy-mid);
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

/* ── Scroll-reveal animations ─────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity .7s ease, transform .7s ease;
}
.reveal.visible {
  opacity: 1;
  transform: none;
}
.reveal-left  { transform: translateX(-40px); }
.reveal-right { transform: translateX( 40px); }
.reveal-left.visible,
.reveal-right.visible { transform: none; }

/* ── Navbar ───────────────────────────────────────────────── */
#navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 1.1rem 0;
  transition: background var(--transition), padding var(--transition), box-shadow var(--transition);
}

#navbar.scrolled {
  background: var(--navy-dark);
  padding: .65rem 0;
  box-shadow: 0 4px 24px rgba(0,0,0,.35);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: .75rem;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.15rem;
  color: var(--white);
  letter-spacing: .03em;
}

.nav-logo .logo-icon {
  width: 46px;
  height: 46px;
  background: var(--gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
  color: var(--navy-dark);
  box-shadow: 0 2px 12px rgba(249,168,37,.5);
}

.nav-logo .logo-text span {
  display: block;
  font-size: .65rem;
  font-weight: 400;
  letter-spacing: .15em;
  color: var(--sky);
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: .2rem;
}

.nav-links a {
  color: rgba(255,255,255,.85);
  font-family: var(--font-head);
  font-size: .82rem;
  font-weight: 600;
  padding: .45rem .85rem;
  border-radius: var(--radius-sm);
  transition: var(--transition);
  text-transform: uppercase;
  letter-spacing: .07em;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--gold);
  background: rgba(255,255,255,.08);
}

.nav-cta {
  background: var(--gold) !important;
  color: var(--navy-dark) !important;
  border-radius: 50px !important;
  padding: .45rem 1.1rem !important;
}
.nav-cta:hover {
  background: var(--gold-light) !important;
  transform: translateY(-1px);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: .4rem;
  background: none;
  border: none;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: var(--transition);
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── Hero ─────────────────────────────────────────────────── */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 40%, var(--navy-mid) 70%, var(--ocean) 100%);
}

.hero-bg-anim {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 20% 50%, rgba(0,119,182,.35) 0%, transparent 60%),
    radial-gradient(ellipse at 80% 20%, rgba(0,180,216,.25) 0%, transparent 55%),
    radial-gradient(ellipse at 60% 80%, rgba(144,224,239,.12) 0%, transparent 50%);
  animation: heroGlow 8s ease-in-out infinite alternate;
}

@keyframes heroGlow {
  0%   { opacity: .6; }
  100% { opacity: 1; }
}

/* floating bubbles */
.hero-bubbles {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.bubble {
  position: absolute;
  border-radius: 50%;
  background: rgba(255,255,255,.06);
  animation: floatUp linear infinite;
}
.bubble:nth-child(1)  { width: 8px;  height: 8px;  left: 10%; animation-duration: 8s;  animation-delay: 0s;  }
.bubble:nth-child(2)  { width: 12px; height: 12px; left: 25%; animation-duration: 11s; animation-delay: 2s;  }
.bubble:nth-child(3)  { width: 6px;  height: 6px;  left: 40%; animation-duration: 7s;  animation-delay: 4s;  }
.bubble:nth-child(4)  { width: 16px; height: 16px; left: 55%; animation-duration: 13s; animation-delay: 1s;  }
.bubble:nth-child(5)  { width: 10px; height: 10px; left: 70%; animation-duration: 9s;  animation-delay: 3s;  }
.bubble:nth-child(6)  { width: 7px;  height: 7px;  left: 85%; animation-duration: 12s; animation-delay: 5s;  }
.bubble:nth-child(7)  { width: 14px; height: 14px; left: 15%; animation-duration: 10s; animation-delay: 6s;  }
.bubble:nth-child(8)  { width: 9px;  height: 9px;  left: 90%; animation-duration: 14s; animation-delay: 2s;  }

@keyframes floatUp {
  0%   { bottom: -20px; opacity: 0; }
  10%  { opacity: 1; }
  90%  { opacity: .6; }
  100% { bottom: 110%; opacity: 0; }
}

.hero-content {
  position: relative;
  z-index: 2;
  color: var(--white);
  max-width: 700px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: rgba(249,168,37,.18);
  border: 1px solid rgba(249,168,37,.4);
  border-radius: 50px;
  padding: .4rem 1rem;
  font-size: .78rem;
  font-weight: 700;
  font-family: var(--font-head);
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 1.5rem;
}

.hero-badge i { font-size: .85rem; }

.hero h1 {
  font-size: clamp(2.2rem, 5.5vw, 4rem);
  font-weight: 900;
  color: var(--white);
  line-height: 1.1;
  margin-bottom: 1.4rem;
}

.hero h1 .highlight {
  color: var(--gold);
  position: relative;
}

.hero p {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: rgba(255,255,255,.82);
  max-width: 560px;
  margin-bottom: 2.5rem;
  line-height: 1.75;
}

.hero-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 3.5rem;
}

.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem 3rem;
}

.hero-stat {
  text-align: center;
}

.hero-stat .num {
  display: block;
  font-family: var(--font-head);
  font-size: 2rem;
  font-weight: 800;
  color: var(--gold);
  line-height: 1;
}

.hero-stat .label {
  font-size: .78rem;
  color: rgba(255,255,255,.65);
  text-transform: uppercase;
  letter-spacing: .08em;
  margin-top: .25rem;
}

/* wave divider */
.hero-wave {
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  z-index: 2;
  line-height: 0;
}

/* ── Stats strip ──────────────────────────────────────────── */
.stats-strip {
  background: var(--navy);
  padding: 2.5rem 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  text-align: center;
}

.stat-item {
  padding: 1.5rem 1rem;
  border-right: 1px solid rgba(255,255,255,.1);
}
.stat-item:last-child { border-right: none; }

.stat-item .stat-icon {
  font-size: 2rem;
  color: var(--gold);
  margin-bottom: .6rem;
}

.stat-item .stat-num {
  font-family: var(--font-head);
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--white);
  line-height: 1;
}

.stat-item .stat-label {
  font-size: .82rem;
  color: rgba(255,255,255,.6);
  margin-top: .35rem;
  text-transform: uppercase;
  letter-spacing: .07em;
}

/* ── Courses ──────────────────────────────────────────────── */
.courses-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.75rem;
}

.course-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  border: 1px solid var(--gray-200);
}

.course-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.card-header {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 60%, var(--ocean) 100%);
  padding: 2rem 1.75rem 1.5rem;
  position: relative;
  overflow: hidden;
}

.card-header::before {
  content: '';
  position: absolute;
  top: -30px; right: -30px;
  width: 120px; height: 120px;
  background: rgba(255,255,255,.06);
  border-radius: 50%;
}

.card-icon {
  width: 58px;
  height: 58px;
  background: var(--gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  color: var(--navy-dark);
  margin-bottom: 1rem;
  box-shadow: 0 4px 16px rgba(249,168,37,.4);
}

.card-header h3 {
  color: var(--white);
  font-size: 1.2rem;
  font-weight: 800;
  margin-bottom: .3rem;
}

.card-header .card-level {
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--sky);
}

.card-body {
  padding: 1.75rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.card-body p {
  color: var(--text-muted);
  font-size: .95rem;
  margin-bottom: 1.3rem;
  flex: 1;
}

.card-features {
  display: flex;
  flex-direction: column;
  gap: .55rem;
  margin-bottom: 1.5rem;
}

.card-features li {
  display: flex;
  align-items: flex-start;
  gap: .55rem;
  font-size: .88rem;
  color: var(--gray-700);
}

.card-features li i {
  color: var(--ocean);
  margin-top: .1rem;
  flex-shrink: 0;
  font-size: .85rem;
}

.card-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--gray-200);
}

.card-badge {
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--ocean);
  background: rgba(0,119,182,.1);
  border-radius: 50px;
  padding: .25rem .75rem;
}

.card-link {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  font-size: .82rem;
  font-weight: 700;
  font-family: var(--font-head);
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: .07em;
  transition: var(--transition);
}
.card-link:hover { color: var(--ocean); gap: .65rem; }

/* ── Services ─────────────────────────────────────────────── */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.75rem;
}

.service-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2.25rem 2rem;
  text-align: center;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-200);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.service-card::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--ocean), var(--gold));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition);
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--ocean-light);
}

.service-card:hover::after { transform: scaleX(1); }

.service-icon {
  width: 72px;
  height: 72px;
  background: linear-gradient(135deg, var(--navy), var(--ocean));
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  color: var(--white);
  margin: 0 auto 1.25rem;
  transition: var(--transition);
}

.service-card:hover .service-icon {
  transform: scale(1.1) rotate(-5deg);
}

.service-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: .7rem;
  color: var(--navy);
}

.service-card p {
  color: var(--text-muted);
  font-size: .9rem;
  line-height: 1.65;
}

.service-card .service-link {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  margin-top: 1.2rem;
  font-size: .82rem;
  font-weight: 700;
  font-family: var(--font-head);
  color: var(--ocean);
  text-transform: uppercase;
  letter-spacing: .07em;
  transition: var(--transition);
}
.service-card .service-link:hover { color: var(--gold); gap: .65rem; }

/* ── About ────────────────────────────────────────────────── */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about-visual {
  position: relative;
}

.about-img-wrap {
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  aspect-ratio: 4/3;
  background: linear-gradient(135deg, var(--navy) 0%, var(--ocean) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}

.about-img-placeholder {
  text-align: center;
  color: rgba(255,255,255,.6);
}

.about-img-placeholder i {
  font-size: 5rem;
  display: block;
  margin-bottom: 1rem;
  color: var(--gold);
}

.about-img-placeholder p {
  font-size: .9rem;
  color: rgba(255,255,255,.5);
}

.about-badge {
  position: absolute;
  bottom: -20px;
  right: -20px;
  background: var(--gold);
  color: var(--navy-dark);
  border-radius: var(--radius-lg);
  padding: 1.2rem 1.5rem;
  text-align: center;
  box-shadow: var(--shadow-lg);
  font-family: var(--font-head);
}

.about-badge .badge-num {
  display: block;
  font-size: 2.2rem;
  font-weight: 900;
  line-height: 1;
}

.about-badge .badge-text {
  font-size: .7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
}

.about-content .section-tag { text-align: left; }
.about-content .section-title { text-align: left; }

.about-content p {
  color: var(--text-muted);
  margin-bottom: 1.2rem;
  font-size: .97rem;
}

.about-values {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin: 1.75rem 0 2rem;
}

.value-item {
  display: flex;
  align-items: flex-start;
  gap: .75rem;
}

.value-item .val-icon {
  width: 38px;
  height: 38px;
  background: rgba(0,119,182,.1);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ocean);
  font-size: .95rem;
  flex-shrink: 0;
}

.value-item h4 {
  font-size: .88rem;
  font-weight: 700;
  margin-bottom: .15rem;
  color: var(--navy);
}

.value-item p {
  font-size: .82rem;
  color: var(--text-muted);
  margin: 0;
}

/* ── Testimonials ─────────────────────────────────────────── */
.testimonials-section {
  background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 100%);
  padding: 5rem 0;
  position: relative;
  overflow: hidden;
}

.testimonials-section::before {
  content: '';
  position: absolute;
  top: -80px; right: -80px;
  width: 350px; height: 350px;
  background: rgba(0,119,182,.2);
  border-radius: 50%;
}

.testimonials-section .section-tag {
  background: rgba(249,168,37,.15);
  color: var(--gold-light);
}

.testimonials-section .section-title { color: var(--white); }
.testimonials-section .section-subtitle { color: rgba(255,255,255,.65); }

.testimonials-slider {
  position: relative;
  overflow: hidden;
}

.testimonials-track {
  display: flex;
  gap: 1.75rem;
  transition: transform .5s cubic-bezier(.4,0,.2,1);
}

.testimonial-card {
  flex: 0 0 calc(33.333% - 1.2rem);
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radius-lg);
  padding: 2rem;
  backdrop-filter: blur(8px);
}

.t-stars {
  color: var(--gold);
  font-size: .9rem;
  margin-bottom: .85rem;
}

.t-text {
  color: rgba(255,255,255,.85);
  font-size: .95rem;
  line-height: 1.75;
  margin-bottom: 1.25rem;
  font-style: italic;
}

.t-text::before { content: '"'; font-size: 1.2rem; color: var(--gold); }
.t-text::after  { content: '"'; font-size: 1.2rem; color: var(--gold); }

.t-author {
  display: flex;
  align-items: center;
  gap: .85rem;
}

.t-avatar {
  width: 44px;
  height: 44px;
  background: var(--gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1rem;
  color: var(--navy-dark);
  flex-shrink: 0;
}

.t-author h4 {
  font-size: .9rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: .1rem;
}

.t-author span {
  font-size: .78rem;
  color: rgba(255,255,255,.55);
  text-transform: uppercase;
  letter-spacing: .07em;
}

.slider-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-top: 2.5rem;
}

.slider-btn {
  width: 44px;
  height: 44px;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 50%;
  color: var(--white);
  font-size: 1rem;
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
}
.slider-btn:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--navy-dark);
}

.slider-dots {
  display: flex;
  gap: .5rem;
}

.slider-dot {
  width: 8px;
  height: 8px;
  background: rgba(255,255,255,.3);
  border-radius: 50%;
  cursor: pointer;
  transition: var(--transition);
}
.slider-dot.active {
  background: var(--gold);
  width: 24px;
  border-radius: 4px;
}

/* ── Contact ──────────────────────────────────────────────── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 4rem;
  align-items: start;
}

.contact-info h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.contact-info > p {
  color: var(--text-muted);
  margin-bottom: 2rem;
}

.contact-items {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-bottom: 2rem;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.c-icon {
  width: 44px;
  height: 44px;
  background: rgba(0,119,182,.1);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ocean);
  font-size: 1.05rem;
  flex-shrink: 0;
}

.contact-item h4 {
  font-size: .82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--text-muted);
  margin-bottom: .2rem;
}

.contact-item a,
.contact-item p {
  font-size: .97rem;
  color: var(--text);
  transition: color var(--transition);
}
.contact-item a:hover { color: var(--ocean); }

.social-links {
  display: flex;
  gap: .75rem;
}

.social-link {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.05rem;
  transition: var(--transition);
  border: 1px solid var(--gray-200);
  color: var(--gray-500);
}
.social-link:hover {
  background: var(--ocean);
  border-color: var(--ocean);
  color: var(--white);
  transform: translateY(-3px);
}
.social-link.instagram:hover { background: linear-gradient(45deg,#f09433,#e6683c,#dc2743,#cc2366,#bc1888); border-color: transparent; }
.social-link.facebook:hover  { background: #1877f2; border-color: transparent; }
.social-link.youtube:hover   { background: #ff0000; border-color: transparent; }
.social-link.whatsapp:hover  { background: #25d366; border-color: transparent; }

/* Contact Form */
.contact-form-wrap {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--gray-200);
}

.contact-form-wrap h3 {
  font-size: 1.3rem;
  margin-bottom: 1.75rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-group label {
  display: block;
  font-size: .82rem;
  font-weight: 700;
  color: var(--gray-700);
  margin-bottom: .45rem;
  text-transform: uppercase;
  letter-spacing: .06em;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: .8rem 1rem;
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: .97rem;
  color: var(--text);
  background: var(--gray-100);
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--ocean);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(0,119,182,.12);
}

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

.form-msg {
  display: none;
  padding: .9rem 1.1rem;
  border-radius: var(--radius-sm);
  font-size: .92rem;
  font-weight: 600;
  margin-top: 1rem;
  align-items: center;
  gap: .6rem;
}
.form-msg.success { background: rgba(22,163,74,.1); color: var(--success); border: 1px solid rgba(22,163,74,.3); display: flex; }
.form-msg.error   { background: rgba(220,38,38,.1); color: var(--error);   border: 1px solid rgba(220,38,38,.3); display: flex; }

/* ── Footer ───────────────────────────────────────────────── */
footer {
  background: var(--navy-dark);
  color: rgba(255,255,255,.7);
  padding: 4rem 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255,255,255,.1);
}

.footer-brand .nav-logo {
  margin-bottom: 1.25rem;
}

.footer-brand p {
  font-size: .9rem;
  line-height: 1.7;
  margin-bottom: 1.5rem;
  color: rgba(255,255,255,.55);
}

.footer-col h4 {
  color: var(--white);
  font-size: .85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  margin-bottom: 1.25rem;
}

.footer-col ul { display: flex; flex-direction: column; gap: .6rem; }

.footer-col ul a {
  font-size: .88rem;
  color: rgba(255,255,255,.55);
  transition: color var(--transition);
}
.footer-col ul a:hover { color: var(--gold); }

.footer-contact-list {
  display: flex;
  flex-direction: column;
  gap: .85rem;
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: .7rem;
  font-size: .88rem;
  color: rgba(255,255,255,.55);
}

.footer-contact-item i {
  color: var(--gold);
  margin-top: .15rem;
  width: 14px;
  flex-shrink: 0;
}

.footer-bottom {
  padding: 1.5rem 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: .82rem;
  color: rgba(255,255,255,.35);
}

.footer-bottom a { color: var(--gold); }

/* ── WhatsApp FAB ─────────────────────────────────────────── */
.whatsapp-fab {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 999;
  width: 60px;
  height: 60px;
  background: #25d366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.65rem;
  color: var(--white);
  box-shadow: 0 4px 20px rgba(37,211,102,.5);
  transition: var(--transition);
  animation: waPulse 2.5s ease-in-out infinite;
}

.whatsapp-fab:hover {
  transform: scale(1.12);
  box-shadow: 0 8px 32px rgba(37,211,102,.6);
  animation: none;
}

@keyframes waPulse {
  0%, 100% { box-shadow: 0 4px 20px rgba(37,211,102,.5); }
  50% { box-shadow: 0 4px 32px rgba(37,211,102,.8), 0 0 0 8px rgba(37,211,102,.15); }
}

/* ── Back to top ──────────────────────────────────────────── */
#back-top {
  position: fixed;
  bottom: 5.5rem;
  right: 2rem;
  z-index: 999;
  width: 42px;
  height: 42px;
  background: var(--navy);
  color: var(--white);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  opacity: 0;
  pointer-events: none;
  transition: var(--transition);
  box-shadow: var(--shadow);
}

#back-top.visible {
  opacity: 1;
  pointer-events: auto;
}

#back-top:hover {
  background: var(--ocean);
  transform: translateY(-3px);
}

/* ── Responsive ───────────────────────────────────────────── */
@media (max-width: 1024px) {
  .about-grid   { gap: 2.5rem; }
  .contact-grid { gap: 2.5rem; }
  .footer-grid  { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .testimonial-card { flex: 0 0 calc(50% - .9rem); }
}

@media (max-width: 768px) {
  .section { padding: 3.5rem 0; }

  .nav-links, .nav-cta-wrap {
    display: none;
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: var(--navy-dark);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    z-index: 999;
    padding: 2rem;
  }
  .nav-links.open { display: flex; }
  .nav-links a {
    font-size: 1.1rem;
    padding: .7rem 1.5rem;
  }
  .nav-toggle { display: flex; z-index: 1000; }

  .hero h1 { font-size: clamp(1.9rem, 7vw, 3rem); }
  .hero-btns { flex-direction: column; align-items: flex-start; }
  .hero-stats { gap: 1rem 2rem; }

  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-item { border-right: none; border-bottom: 1px solid rgba(255,255,255,.1); }
  .stat-item:nth-child(3), .stat-item:nth-child(4) { border-bottom: none; }

  .about-grid    { grid-template-columns: 1fr; }
  .about-visual  { order: -1; }
  .about-badge   { right: 0; bottom: -10px; }
  .about-values  { grid-template-columns: 1fr; }

  .contact-grid  { grid-template-columns: 1fr; }
  .form-row      { grid-template-columns: 1fr; }

  .testimonial-card { flex: 0 0 100%; }

  .footer-grid   { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom { flex-direction: column; text-align: center; }

  .whatsapp-fab { bottom: 1.25rem; right: 1.25rem; }
  #back-top     { bottom: 4.5rem;  right: 1.25rem; }
}

@media (max-width: 480px) {
  .hero { min-height: auto; padding: 7rem 0 4rem; }
  .courses-grid   { grid-template-columns: 1fr; }
  .services-grid  { grid-template-columns: 1fr; }
  .contact-form-wrap { padding: 1.5rem; }
}
