/* Reset */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Variables */
:root {
  --primary: #1a1a1a;
  --secondary: #4a4a4a;
  --accent: #5b8db8;
  --light: #f8f9fa;
  --white: #ffffff;
  --border: #e5e7eb;
  --success: #10b981;
  --whatsapp: #25d366;
}

/* Base */
html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--primary);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 300;
  line-height: 1.2;
  color: var(--primary);
}

h1 { font-size: clamp(2.5rem, 6vw, 4rem); letter-spacing: -0.02em; }
h2 { font-size: clamp(2rem, 4vw, 3rem); letter-spacing: -0.01em; }
h3 { font-size: clamp(1.5rem, 3vw, 2rem); }
h4 { font-size: clamp(1.125rem, 2vw, 1.5rem); }
h5 { font-size: 0.875rem; text-transform: uppercase; letter-spacing: 0.1em; }

p { font-size: 1.0625rem; line-height: 1.7; color: var(--secondary); }

a {
  color: inherit;
  text-decoration: none;
  transition: opacity 0.3s ease;
}

a:hover { opacity: 0.7; }

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Navigation */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: transparent;
  transition: background 0.3s ease, border-color 0.3s ease;
}

.nav.scrolled {
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.nav-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 1.75rem 3rem;
  display: grid;
  grid-template-columns: 1fr 2fr 1fr;
  align-items: center;
  gap: 2rem;
}

.nav-logo {
  font-size: 1.5rem;
  font-weight: 400;
  letter-spacing: -0.02em;
  color: var(--white);
  transition: color 0.3s ease;
}

.nav.scrolled .nav-logo {
  color: var(--primary);
}

.nav-center {
  display: flex;
  justify-content: center;
  gap: 2.5rem;
}

.nav-center a {
  font-size: 0.9375rem;
  letter-spacing: 0.02em;
  color: var(--white);
  font-weight: 400;
  transition: color 0.3s ease;
}

.nav.scrolled .nav-center a {
  color: var(--primary);
}

.nav-center a:hover {
  opacity: 0.7;
}

.nav-right {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 1.5rem;
}

.btn-primary {
  padding: 0.75rem 1.75rem;
  background: transparent;
  color: var(--white);
  font-size: 0.9375rem;
  letter-spacing: 0.02em;
  border: 1px solid var(--white);
  border-radius: 4px;
  transition: all 0.3s ease;
  cursor: pointer;
}

.nav.scrolled .btn-primary {
  background: var(--accent);
  color: var(--white);
  border-color: var(--accent);
}

.btn-primary:hover {
  background: var(--white);
  color: var(--primary);
  opacity: 1;
}

.nav.scrolled .btn-primary:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: var(--white);
}

.menu-toggle {
  background: none;
  border: none;
  font-size: 0.9375rem;
  letter-spacing: 0.02em;
  cursor: pointer;
  color: var(--white);
  font-weight: 400;
  transition: color 0.3s ease;
  display: none;
}

.nav.scrolled .menu-toggle {
  color: var(--primary);
}

.menu-toggle:hover {
  opacity: 0.7;
}

/* Hero Video Section */
.hero-video {
  position: relative;
  height: 100vh;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.video-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.video-wrapper video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  margin: 0 auto;
  padding: 0 3rem;
  text-align: center;
}

.hero-content h1 {
  color: var(--white);
  margin-bottom: 1.5rem;
  font-weight: 300;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.hero-content p {
  color: rgba(255, 255, 255, 0.95);
  font-size: 1.25rem;
  margin-bottom: 3rem;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.hero-actions {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  flex-wrap: wrap;
}

.btn-hero {
  padding: 1rem 2.5rem;
  background: var(--white);
  color: var(--accent);
  font-size: 1.0625rem;
  font-weight: 500;
  border-radius: 4px;
  transition: all 0.3s ease;
  border: 2px solid var(--white);
}

.btn-hero:hover {
  background: transparent;
  color: var(--white);
  opacity: 1;
}

.btn-secondary {
  padding: 1rem 2.5rem;
  background: transparent;
  color: var(--white);
  font-size: 1.0625rem;
  border: 2px solid var(--white);
  border-radius: 4px;
  transition: all 0.3s ease;
}

.btn-secondary:hover {
  background: var(--white);
  color: var(--accent);
  opacity: 1;
}

.scroll-down {
  position: absolute;
  bottom: 3rem;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  color: var(--white);
  z-index: 2;
}

.scroll-down span {
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.scroll-line {
  width: 1px;
  height: 40px;
  background: var(--white);
  margin: 1rem auto 0;
  opacity: 0.6;
}

/* Intro Section */
.intro-section {
  max-width: 1000px;
  margin: 0 auto;
  padding: 8rem 3rem;
  text-align: center;
}

.intro-subtitle {
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--accent);
  margin-bottom: 1.5rem;
}

.intro-section h2 {
  margin-bottom: 2rem;
}

.intro-text {
  font-size: 1.125rem;
  max-width: 800px;
  margin: 0 auto;
}

/* Section Intro */
.section-intro {
  max-width: 900px;
  margin: 0 auto 4rem;
  padding: 0 3rem;
  text-align: center;
}

.section-label {
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--accent);
  margin-bottom: 1.5rem;
}

.section-intro h2 {
  margin-bottom: 1.5rem;
}

.section-description {
  font-size: 1.125rem;
  max-width: 700px;
  margin: 0 auto;
}

/* Services Section */
.services-section {
  padding: 8rem 3rem;
  background: var(--light);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
  max-width: 1400px;
  margin: 0 auto;
}

.service-card {
  background: var(--white);
  padding: 2.5rem;
  border-radius: 8px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.08);
}

.service-icon {
  width: 56px;
  height: 56px;
  margin-bottom: 1.5rem;
  color: var(--accent);
}

.service-icon svg {
  width: 100%;
  height: 100%;
}

.service-card h3 {
  margin-bottom: 1rem;
  font-size: 1.5rem;
}

.service-card p {
  font-size: 1rem;
  line-height: 1.6;
}

/* About Section */
.about-section {
  padding: 8rem 3rem;
  background: var(--white);
}

.about-content {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.about-text p {
  margin-bottom: 1.5rem;
}

.about-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
}

.feature-item {
  text-align: center;
  padding: 2rem;
  background: var(--light);
  border-radius: 8px;
}

.feature-item h4 {
  font-size: 2.5rem;
  font-weight: 300;
  color: var(--accent);
  margin-bottom: 0.75rem;
}

.feature-item p {
  font-size: 0.9375rem;
}

/* Features Section */
.features-section {
  padding: 8rem 3rem;
  background: var(--light);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 3rem;
  max-width: 1200px;
  margin: 0 auto;
}

.feature-card {
  background: var(--white);
  padding: 3rem;
  border-left: 3px solid var(--accent);
}

.feature-card h3 {
  margin-bottom: 1rem;
  font-size: 1.5rem;
}

.feature-card p {
  font-size: 1rem;
}

/* Contact Section */
.contact-section {
  padding: 8rem 3rem;
  background: var(--white);
}

.contact-container {
  max-width: 1200px;
  margin: 0 auto;
}

.contact-info {
  text-align: center;
}

.contact-block {
  margin-bottom: 4rem;
}

.contact-block h2 {
  margin-bottom: 1.5rem;
}

.contact-block p {
  max-width: 600px;
  margin: 0 auto;
}

.contact-details {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 3rem;
  margin-bottom: 4rem;
  text-align: center;
}

.detail-label {
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--primary);
  margin-bottom: 0.75rem;
  font-weight: 500;
}

.detail-group p:not(.detail-label) {
  font-size: 1rem;
}

.contact-actions {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  flex-wrap: wrap;
}

.btn-contact {
  padding: 1rem 2.5rem;
  background: var(--accent);
  color: var(--white);
  font-size: 1.0625rem;
  border-radius: 4px;
  transition: all 0.3s ease;
  border: 2px solid var(--accent);
}

.btn-contact:hover {
  background: var(--primary);
  border-color: var(--primary);
  opacity: 1;
}

.btn-whatsapp {
  padding: 1rem 2.5rem;
  background: var(--whatsapp);
  color: var(--white);
  font-size: 1.0625rem;
  border-radius: 4px;
  transition: all 0.3s ease;
  border: 2px solid var(--whatsapp);
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
}

.btn-whatsapp svg {
  width: 24px;
  height: 24px;
}

.btn-whatsapp:hover {
  background: #1faa59;
  border-color: #1faa59;
  opacity: 1;
}

/* Footer */
.footer {
  background: var(--primary);
  color: var(--white);
  padding: 5rem 3rem 2rem;
}

.footer-content {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 5rem;
  margin-bottom: 3rem;
}

.footer-logo {
  font-size: 1.75rem;
  font-weight: 400;
  margin-bottom: 1rem;
  color: var(--white);
}

.footer-brand p {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9375rem;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 3rem;
}

.footer-col h5 {
  margin-bottom: 1.5rem;
  color: var(--white);
}

.footer-col a {
  display: block;
  margin-bottom: 0.75rem;
  font-size: 0.9375rem;
  color: rgba(255, 255, 255, 0.7);
}

.footer-col a:hover {
  color: var(--white);
}

.footer-col p {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.6;
  margin-bottom: 1rem;
}

.footer-col p strong {
  color: var(--white);
  display: block;
  margin-bottom: 0.25rem;
}

.footer-bottom {
  max-width: 1400px;
  margin: 0 auto;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  text-align: center;
}

.footer-bottom p {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.5);
}

/* Appointment Page */
.appointment-section {
  padding: 8rem 3rem 5rem;
  background: var(--light);
  min-height: 100vh;
}

.appointment-container {
  max-width: 900px;
  margin: 0 auto;
}

.appointment-intro {
  text-align: center;
  margin-bottom: 4rem;
}

.appointment-intro h1 {
  margin-bottom: 1.5rem;
}

.appointment-intro p {
  max-width: 700px;
  margin: 0 auto 2rem;
}

.quick-contact {
  margin-top: 2rem;
}

.btn-whatsapp-alt {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.875rem 2rem;
  background: var(--whatsapp);
  color: var(--white);
  font-size: 1rem;
  border-radius: 4px;
  border: 2px solid var(--whatsapp);
  transition: all 0.3s ease;
}

.btn-whatsapp-alt svg {
  width: 22px;
  height: 22px;
}

.btn-whatsapp-alt:hover {
  background: #1faa59;
  border-color: #1faa59;
  opacity: 1;
}

/* Form Styles */
.appointment-form {
  background: var(--white);
  padding: 3rem;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.form-section {
  margin-bottom: 3rem;
}

.form-section h3 {
  margin-bottom: 1.5rem;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid var(--border);
  font-size: 1.5rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--primary);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.875rem 1rem;
  font-size: 1rem;
  border: 1px solid var(--border);
  border-radius: 4px;
  font-family: inherit;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(91, 141, 184, 0.1);
}

.form-group textarea {
  resize: vertical;
}

.form-actions {
  text-align: center;
  margin-top: 2rem;
}

.btn-submit {
  padding: 1rem 3rem;
  background: var(--accent);
  color: var(--white);
  font-size: 1.0625rem;
  font-weight: 500;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-submit:hover {
  background: var(--primary);
}

.form-note {
  margin-top: 1rem;
  font-size: 0.875rem;
  color: var(--secondary);
}

.form-success {
  background: var(--white);
  padding: 4rem 3rem;
  border-radius: 8px;
  text-align: center;
}

.form-success svg {
  width: 80px;
  height: 80px;
  color: var(--success);
  margin: 0 auto 2rem;
  stroke-width: 1.5;
}

.form-success h3 {
  margin-bottom: 1rem;
  color: var(--success);
}

.form-success p {
  max-width: 600px;
  margin: 0 auto;
}

/* Info Section */
.info-section {
  padding: 5rem 3rem;
  background: var(--white);
}

.info-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3rem;
}

.info-card {
  background: var(--light);
  padding: 2.5rem;
  border-radius: 8px;
}

.info-card h4 {
  margin-bottom: 1.5rem;
  font-size: 1.25rem;
}

.info-card ul {
  list-style: none;
}

.info-card li {
  padding: 0.5rem 0;
  padding-left: 1.5rem;
  position: relative;
  font-size: 0.9375rem;
  color: var(--secondary);
}

.info-card li::before {
  content: '•';
  position: absolute;
  left: 0;
  color: var(--accent);
  font-size: 1.5rem;
  line-height: 1;
}

.info-card p {
  margin-bottom: 1rem;
}

.contact-methods {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.contact-methods a {
  font-size: 0.9375rem;
  color: var(--accent);
}

.contact-methods a:hover {
  opacity: 0.7;
}

/* Responsive */
@media (max-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .about-content {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .footer-content {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .footer-links {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  .nav-container {
    grid-template-columns: auto 1fr;
    padding: 1.5rem 1.5rem;
  }

  .nav-center {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    padding: 2rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  }

  .nav-center.active {
    display: flex;
  }

  .nav-center a {
    color: var(--primary);
  }

  .menu-toggle {
    display: block;
  }

  .hero-video {
    height: 80vh;
  }

  .hero-content {
    padding: 0 1.5rem;
  }

  .hero-content h1 {
    font-size: 2.5rem;
  }

  .hero-content p {
    font-size: 1.125rem;
  }

  .hero-actions {
    flex-direction: column;
  }

  .btn-hero,
  .btn-secondary {
    width: 100%;
  }

  .scroll-down {
    bottom: 2rem;
  }

  .services-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .features-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .contact-details {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .info-container {
    grid-template-columns: 1fr;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .appointment-form {
    padding: 2rem 1.5rem;
  }

  .footer-links {
    grid-template-columns: 1fr;
  }

  .intro-section,
  .section-intro,
  .appointment-section {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }
}

@media (max-width: 480px) {
  .about-features {
    grid-template-columns: 1fr;
  }

  .contact-actions {
    flex-direction: column;
  }

  .btn-contact,
  .btn-whatsapp {
    width: 100%;
  }
}
