/* Tintum.app - Estilos principales */

:root {
  --primary-color: #4a148c;
  --primary-dark: #38006b;
  --primary-light: #6a1b9a;
  --secondary-color: #000;
  --text-color: #333;
  --text-light: #666;
  --bg-color: #fff;
  --bg-light: #f8f9fa;
  --border-color: #e0e0e0;
  --shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 4px 16px rgba(0, 0, 0, 0.15);
  --transition: all 0.3s ease;
}

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

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  font-weight: 400;
  color: var(--text-color);
  background-color: var(--bg-color);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Header - Oculto */
.site-header {
  display: none;
}

.header-content {
  display: flex;
  justify-content: center;
  align-items: center;
}

.main-nav ul {
  display: flex;
  list-style: none;
  gap: 2rem;
}

.main-nav a {
  color: #fff;
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  letter-spacing: 0.01em;
  transition: var(--transition);
  position: relative;
}

.main-nav a:hover {
  color: var(--primary-light);
}

.main-nav a::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--primary-light);
  transition: var(--transition);
}

.main-nav a:hover::after {
  width: 100%;
}

.menu-toggle {
  display: none;
  flex-direction: column;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  gap: 4px;
}

.menu-toggle span {
  width: 25px;
  height: 3px;
  background-color: #fff;
  transition: var(--transition);
}

/* Hero Section */
.hero {
  position: relative;
  color: #fff;
  padding: 6rem 0;
  text-align: center;
  overflow: hidden;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-video-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  overflow: hidden;
}

.hero-video {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  object-fit: cover;
  z-index: 1;
}

.hero-video-desktop {
  display: block;
}

.hero-video-mobile {
  display: none;
}

.hero-video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: transparent;
  z-index: 2;
}

.hero .container {
  position: relative;
  z-index: 3;
}

.hero-content {
  max-width: 800px;
  margin: 0 auto;
}

.hero-brand {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  margin-bottom: 0.5rem;
  animation: fadeInUp 0.8s ease 0.1s both;
  flex-wrap: wrap;
}

.hero-logo-image {
  width: auto;
  height: clamp(140px, 18vw, 220px);
  display: block;
  background: transparent;
  filter: drop-shadow(0 8px 24px rgba(0, 0, 0, 0.4)) 
          drop-shadow(0 0 20px rgba(255, 255, 255, 0.3));
  flex-shrink: 0;
  animation: logoFloat 3s ease-in-out infinite;
  transition: transform 0.3s ease;
}

.hero-logo-image:hover {
  transform: scale(1.05);
}

@keyframes logoFloat {
  0%, 100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-10px);
  }
}

.hero-title {
  font-family: 'Dancing Script', cursive;
  font-size: clamp(4rem, 8vw, 7rem);
  font-weight: 700;
  margin: 0;
  letter-spacing: 0.02em;
  line-height: 1.1;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
  white-space: nowrap;
  align-self: center;
  -webkit-text-stroke: 0.5px rgba(255, 255, 255, 0.3);
  text-rendering: optimizeLegibility;
}

.hero-subtitle {
  font-family: 'Dancing Script', cursive;
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  margin-bottom: 2.5rem;
  margin-top: -0.5rem;
  font-weight: 500;
  opacity: 0.95;
  letter-spacing: 0.02em;
  line-height: 1.4;
  animation: fadeInUp 0.8s ease 0.2s both;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  animation: fadeInUp 0.8s ease 0.4s both;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 0.875rem 2.25rem;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: 0.01em;
  transition: var(--transition);
  border: none;
  cursor: pointer;
  line-height: 1.5;
}

.btn-primary {
  background-color: var(--primary-color);
  color: #fff;
  border: 2px solid var(--primary-color);
}

.btn-primary:hover {
  background-color: var(--primary-dark);
  border-color: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn-primary:active {
  transform: translateY(0);
}

.btn-secondary {
  background-color: transparent;
  color: #fff;
  border: 2px solid #fff;
}

.btn-secondary:hover {
  background-color: #fff;
  color: var(--primary-color);
}

/* Sections */
section {
  padding: 4rem 0;
}

.section-title {
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 700;
  text-align: center;
  margin-bottom: 3rem;
  color: var(--primary-color);
  letter-spacing: -0.02em;
  line-height: 1.2;
}

/* Services */
.services {
  background-color: var(--bg-light);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.service-card {
  background: #fff;
  padding: 2rem;
  border-radius: 10px;
  box-shadow: var(--shadow);
  transition: var(--transition);
  text-align: center;
}

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

.service-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.service-card h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: var(--primary-color);
}

.service-card p {
  color: var(--text-light);
}

/* About */
.about {
  background-color: #fff;
}

.about-content {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.about-text {
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  line-height: 1.8;
  color: var(--text-color);
  margin-bottom: 1.75rem;
  font-weight: 400;
  letter-spacing: -0.01em;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.about-quote {
  max-width: 800px;
  margin: 0 auto 2.5rem;
  padding: 0;
  border: none;
  position: relative;
}

.about-quote:last-child {
  margin-bottom: 0;
}

.about-quote p {
  font-size: clamp(1.15rem, 2.5vw, 1.5rem);
  line-height: 1.7;
  color: var(--text-color);
  font-weight: 400;
  font-style: italic;
  letter-spacing: -0.01em;
  position: relative;
  padding: 0 2rem;
  margin: 0;
}

.about-quote p::before {
  content: '"';
  position: absolute;
  left: 0;
  top: -0.5rem;
  font-size: 4rem;
  line-height: 1;
  color: var(--primary-color);
  opacity: 0.3;
  font-family: 'Dancing Script', cursive;
}

.about-quote p::after {
  content: '"';
  position: absolute;
  right: 0;
  bottom: -1.5rem;
  font-size: 4rem;
  line-height: 1;
  color: var(--primary-color);
  opacity: 0.3;
  font-family: 'Dancing Script', cursive;
}

/* Contact */
.contact {
  background-color: var(--bg-light);
  padding: 5rem 0;
}

.contact-content {
  max-width: 800px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-info p {
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  line-height: 1.8;
  font-weight: 400;
  color: var(--text-color);
  margin-bottom: 0.5rem;
}

.contact-info a {
  color: var(--primary-color);
  text-decoration: none;
}

.contact-info a:hover {
  text-decoration: underline;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.contact-form .btn-primary {
  align-self: flex-start;
  margin-top: 0.5rem;
  padding: 1.125rem 3rem;
  font-size: 1rem;
  font-weight: 600;
  font-family: 'Montserrat', sans-serif;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  border-radius: 50px;
  box-shadow: 0 4px 12px rgba(74, 20, 140, 0.25);
}

.contact-form .btn-primary:hover {
  box-shadow: 0 6px 20px rgba(74, 20, 140, 0.35);
  transform: translateY(-2px);
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  position: relative;
}

.form-group label {
  font-weight: 600;
  font-size: 0.875rem;
  color: var(--text-color);
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
  display: block;
  font-family: 'Montserrat', sans-serif;
}

.form-group input,
.form-group textarea {
  padding: 1.125rem 1.5rem;
  border: 2px solid var(--border-color);
  border-radius: 12px;
  font-size: 1rem;
  font-family: 'Montserrat', sans-serif;
  font-weight: 400;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  background-color: #fff;
  color: var(--text-color);
  width: 100%;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.04);
}

.form-group input:hover,
.form-group textarea:hover {
  border-color: var(--primary-light);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.08);
  transform: translateY(-1px);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 4px rgba(74, 20, 140, 0.12), 0 4px 12px rgba(0, 0, 0, 0.1);
  background-color: #fff;
  transform: translateY(-1px);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--text-light);
  opacity: 0.5;
  font-weight: 400;
}

.form-group textarea {
  resize: vertical;
  min-height: 160px;
  line-height: 1.7;
  font-family: 'Montserrat', sans-serif;
}

/* Footer */
.site-footer {
  background-color: var(--secondary-color);
  color: #fff;
  padding: 3rem 0 1rem;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-section h3,
.footer-section h4 {
  margin-bottom: 1rem;
  color: #fff;
}

.footer-section ul {
  list-style: none;
}

.footer-section ul li {
  margin-bottom: 0.5rem;
}

.footer-section a {
  color: #fff;
  text-decoration: none;
  opacity: 0.8;
  transition: var(--transition);
}

.footer-section a:hover {
  opacity: 1;
  color: var(--primary-light);
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  opacity: 0.7;
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive */
@media (max-width: 768px) {
  .main-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: var(--secondary-color);
    padding: 1rem;
  }

  .main-nav.active {
    display: block;
  }

  .main-nav ul {
    flex-direction: column;
    gap: 1rem;
  }

  .menu-toggle {
    display: flex;
  }

  .hero {
    min-height: 80vh;
    padding: 4rem 0;
  }

  .hero-video-desktop {
    display: none;
  }

  .hero-video-mobile {
    display: block;
  }

  .hero-brand {
    gap: 0.5rem;
    flex-direction: column;
    margin-bottom: 0.75rem;
  }

  .hero-logo-image {
    height: clamp(120px, 25vw, 180px);
  }
  
  .hero-title {
    font-size: clamp(3.5rem, 10vw, 5.5rem);
  }
  
  .hero-subtitle {
    margin-top: -0.25rem;
    margin-bottom: 2rem;
    font-size: clamp(1.5rem, 4vw, 2rem);
  }
  
  .hero-brand {
    margin-bottom: 0.25rem;
  }

  .hero-title {
    font-size: clamp(2.5rem, 8vw, 4rem);
    white-space: normal;
  }

  .hero-actions {
    flex-direction: column;
    align-items: center;
  }

  .section-title {
    font-size: 2rem;
  }

  .about-quote {
    margin-bottom: 2rem;
  }

  .about-quote p {
    font-size: clamp(1.1rem, 3vw, 1.35rem);
    padding: 0 1.5rem;
  }

  .about-quote p::before,
  .about-quote p::after {
    font-size: 3rem;
  }

  .contact-content {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .contact-form {
    gap: 1.75rem;
  }

  .contact-form .btn-primary {
    align-self: stretch;
    text-align: center;
  }

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

@media (max-width: 480px) {
  .container {
    padding: 0 1rem;
  }

  .hero {
    min-height: 70vh;
    padding: 3rem 0;
  }

  section {
    padding: 3rem 0;
  }
}

/* Smooth Scroll */
html {
  scroll-behavior: smooth;
}
