@import url('https://api.fontshare.com/v2/css?f[]=satoshi@400,500,700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Cinzel+Decorative:wght@400;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Caveat:wght@400;500&display=swap');

:root {
  /* Colors */
  --bg-primary: #FAFAFA;
  --bg-card: #FFFFFF;
  --text-main: #262626;
  --text-secondary: #575757;
  --accent-badge: #E3D5CA;
  --border-color: #EBEBEB;

  /* Typography */
  --font-main: 'Satoshi', sans-serif;
  --font-brand: 'Cinzel Decorative', serif;

  /* Layout */
  --container-width: 1100px;
  --radius-lg: 24px;
  --radius-md: 16px;
  --radius-pill: 100px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

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

h1,
h2,
h3,
h4 {
  color: var(--text-main);
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.font-brand {
  font-family: var(--font-brand);
  font-weight: 400;
}

.signature {
  font-family: 'Caveat', cursive;
  color: #B52828;
  /* Matches the red handwriting from the screenshot */
  font-size: 36px;
  text-align: center;
  margin-top: -8px;
  /* Pulled closer to the image */
  letter-spacing: 1px;
}

a {
  text-decoration: none;
  color: inherit;
  transition: all 0.3s ease;
}

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

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

/* Badge */
.badge {
  display: inline-block;
  padding: 8px 16px;
  background-color: var(--accent-badge);
  color: var(--text-main);
  border-radius: var(--radius-pill);
  font-size: 14px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 24px;
}

/* Button */
.btn {
  display: inline-block;
  padding: 16px 32px;
  background-color: var(--text-main);
  color: #FFFFFF;
  border-radius: var(--radius-pill);
  font-size: 16px;
  font-weight: 500;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border: none;
  cursor: pointer;
}

.btn:hover {
  background-color: #000000;
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.btn-secondary {
  background-color: #FFFFFF;
  color: var(--text-main);
  border: 1px solid var(--border-color);
}

.btn-secondary:hover {
  background-color: var(--bg-primary);
  color: var(--text-main);
}

/* Navigation */
.navbar {
  padding: 24px 0;
  position: sticky;
  top: 0;
  background-color: rgba(250, 250, 250, 0.8);
  backdrop-filter: blur(12px);
  z-index: 100;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.navbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.navbar-brand {
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.navbar-nav {
  display: flex;
  gap: 32px;
}

.navbar-nav a {
  font-size: 15px;
  font-weight: 500;
  color: var(--text-secondary);
}

.navbar-nav a:hover {
  color: var(--text-main);
}

/* Dropdown Menu */
.nav-dropdown {
  position: relative;
  display: inline-block;
}

.nav-dropdown-content {
  visibility: hidden;
  opacity: 0;
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  min-width: 200px;
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.05);
  border-radius: 12px;
  padding: 8px 0;
  z-index: 200;
  border: 1px solid rgba(0, 0, 0, 0.05);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  text-align: center;
}

.nav-dropdown:hover .nav-dropdown-content {
  visibility: visible;
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.nav-dropdown-content a {
  display: block;
  padding: 12px 24px;
  font-size: 14px;
  color: var(--text-secondary);
  text-decoration: none;
  transition: all 0.2s;
}

.nav-dropdown-content a:hover {
  color: var(--text-main);
  background-color: rgba(0, 0, 0, 0.02);
}

/* Hero Section */
.hero {
  padding: 80px 0 60px;
}

.hero .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.hero-content {
  text-align: left;
}

.hero-title {
  font-size: 64px;
  margin-bottom: 24px;
}

.hero-subtitle {
  font-size: 20px;
  color: var(--text-secondary);
  margin-bottom: 40px;
}

.hero-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.05);
}

.hero-image img {
  width: 100%;
  height: 600px;
  object-fit: cover;
}

/* About Section */
.section {
  padding: 100px 0;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: stretch;
}

.about-text h2 {
  font-size: 48px;
  margin-bottom: 24px;
}

.about-text p {
  font-size: 18px;
  color: var(--text-secondary);
  margin-bottom: 24px;
}

.about-stats {
  display: flex;
  gap: 40px;
  margin-top: 40px;
  padding-top: 40px;
  border-top: 1px solid var(--border-color);
}

.stat-item h3 {
  font-size: 32px;
  margin-bottom: 8px;
}

.stat-item p {
  color: var(--text-secondary);
  font-size: 14px;
}

.about-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.about-image img {
  width: 100%;
  height: 700px;
  object-fit: cover;
}

/* Cards Section */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 60px;
}

.card {
  background-color: var(--bg-card);
  padding: 48px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 32px 64px rgba(0, 0, 0, 0.08);
  border-color: var(--accent-badge);
}

.card h3 {
  font-size: 24px;
  margin-bottom: 16px;
}

.card p {
  color: var(--text-secondary);
  font-size: 16px;
}

/* Process Section Custom Layout */
.process-grid-custom {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-top: 60px;
  position: relative;
  gap: 20px;
}

.process-item {
  flex: 1;
  text-align: center;
}

.process-number {
  font-size: 64px;
  font-weight: 400;
  margin-bottom: 16px;
  line-height: 1;
}

.process-arrow {
  margin-top: 40px;
  width: 80px;
  opacity: 0.5;
}

/* Pricing Grid */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.pricing-card {
  background-color: var(--bg-card);
  padding: 48px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
  text-align: center;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.pricing-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 32px 64px rgba(0, 0, 0, 0.08);
  border-color: var(--accent-badge);
}

.pricing-title {
  font-size: 24px;
  margin-bottom: 16px;
  font-weight: 500;
}

.pricing-price {
  font-size: 56px;
  font-weight: 500;
  margin-bottom: 24px;
  letter-spacing: -0.02em;
}

.pricing-desc {
  color: var(--text-secondary);
  margin-bottom: 40px;
  font-size: 16px;
  line-height: 1.6;
}

/* Reviews Marquee */
.reviews-marquee {
  overflow: hidden;
  white-space: nowrap;
  padding: 20px 0;
  position: relative;
  width: 100vw;
  left: 50%;
  transform: translateX(-50%);
}

.reviews-track {
  display: inline-flex;
  gap: 24px;
  animation: scroll 40s linear infinite;
  padding-left: 24px;
}

.reviews-track:hover {
  animation-play-state: paused;
}

.review-card {
  background-color: var(--bg-card);
  padding: 32px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
  width: 400px;
  white-space: normal;
  display: inline-block;
  flex-shrink: 0;
}

@keyframes scroll {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }

  /* Assuming we duplicate the content for seamless scroll */
}

/* Overlay/Sticky Sections */
#metodologia {
  position: sticky;
  top: 0;
  z-index: 1;
}

.content-overlay {
  position: relative;
  z-index: 2;
  background-color: var(--bg-primary);
  /* Ensures it covers the sticky section */
  box-shadow: 0 -20px 40px rgba(0, 0, 0, 0.03);
  /* Subtle shadow for overlay depth */
}

.cta-section {
  text-align: center;
}

/* Footer */
.footer {
  padding: 60px 0;
  border-top: 1px solid var(--border-color);
  margin-top: 60px;
}

.footer .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* Overlay/Sticky Sections */
#metodologia {
  position: sticky;
  top: 0;
  z-index: 1;
}

#proces {
  position: relative;
  z-index: 2;
  background-color: var(--bg-primary);
  /* Ensures it covers the sticky section */
  box-shadow: 0 -20px 40px rgba(0, 0, 0, 0.03);
  /* Subtle shadow for overlay depth */
}

/* Typewriter Cursor */
.typewriter-cursor {
  /* Removed blinking line as requested */
}

@keyframes blink-caret {

  from,
  to {
    border-color: transparent
  }

  50% {
    border-color: transparent;
  }
}

/* Responsive */
@media (max-width: 992px) {
  .hero .container {
    grid-template-columns: 1fr;
    text-align: center;
  }

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

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

  .cards-grid,
  .process-grid {
    grid-template-columns: 1fr;
  }

  .hero-title {
    font-size: 48px;
  }
}

/* Framer Reveal Animations */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

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

/* Modal Styles */
.modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.modal.is-open {
  opacity: 1;
  visibility: visible;
}

.modal-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(4px);
}

.modal-container {
  position: relative;
  width: 90%;
  max-width: 800px;
  max-height: 90vh;
  background-color: var(--bg-card);
  border-radius: var(--radius-lg);
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  z-index: 2;
  transform: translateY(20px) scale(0.98);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
}

.modal.is-open .modal-container {
  transform: translateY(0) scale(1);
}

.modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: rgba(0, 0, 0, 0.05);
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: background-color 0.2s ease;
}

.modal-close:hover {
  background-color: rgba(0, 0, 0, 0.1);
}

.modal-content {
  overflow-y: auto;
  padding: 20px;
  flex: 1;
}