:root {
  --primary: #1e88e5;
  --primary-600: #1565c0;
  --accent: #ff8f00;
  --bg: #0b1020;
  --surface: #10162a;
  --muted: #8a94a7;
  --text: #e6e9ef;
  --success: #16a34a;
  --danger: #ef4444;
  --border: #232b42;
  --card: #0f1427;
}

* {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Poppins", system-ui, -apple-system, Segoe UI, Roboto, Ubuntu, Cantarell, "Helvetica Neue", Arial, "Noto Sans", "Apple Color Emoji", "Segoe UI Emoji";
  line-height: 1.5;
}

.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Hero */
.hero {
  position: relative;
  padding: 80px 0 60px;
  background: radial-gradient(1200px 400px at 50% -120px, rgba(30, 136, 229, 0.35), transparent 60%);
  overflow: hidden;
}

/* Hero Logo and Animations */
.hero__logo {
  text-align: center;
  margin-bottom: 60px;
}

.logo-animation {
  position: relative;
  display: inline-block;
  margin-bottom: 20px;
}

.logo-text {
  display: inline-block;
  font-size: 64px;
  font-weight: 800;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  position: relative;
  z-index: 2;
  animation: logoFloat 3s ease-in-out infinite;
}

.logo-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 120px;
  height: 120px;
  background: radial-gradient(circle, rgba(30, 136, 229, 0.3), transparent 70%);
  border-radius: 50%;
  animation: logoGlow 4s ease-in-out infinite;
}

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

@keyframes logoGlow {
  0%, 100% { opacity: 0.3; transform: translate(-50%, -50%) scale(1); }
  50% { opacity: 0.6; transform: translate(-50%, -50%) scale(1.1); }
}

.hero__title {
  font-size: 48px;
  font-weight: 700;
  margin: 0 0 16px 0;
  background: linear-gradient(135deg, var(--text), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: titleFadeIn 1s ease-out 0.5s both;
}

.hero__subtitle {
  font-size: 20px;
  color: var(--muted);
  margin: 0;
  animation: titleFadeIn 1s ease-out 0.7s both;
}

.hero__location {
  font-size: 18px;
  color: var(--accent);
  margin: 8px 0 0 0;
  font-weight: 500;
  animation: titleFadeIn 1s ease-out 0.8s both;
}

.hero__contact {
  text-align: center;
  animation: titleFadeIn 1s ease-out 0.9s both;
}

.hero__contact h2 {
  font-size: 36px;
  margin: 0 0 16px 0;
  color: var(--text);
}

.hero__contact p {
  font-size: 18px;
  color: var(--muted);
  margin: 0;
}

@keyframes titleFadeIn {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Floating Shapes Background */
.hero__bg {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  overflow: hidden;
  z-index: -1;
}

.floating-shapes {
  position: relative;
  width: 100%;
  height: 100%;
}

.shape {
  position: absolute;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(30, 136, 229, 0.1), rgba(255, 143, 0, 0.1));
  animation: float 6s ease-in-out infinite;
}

.shape--1 {
  width: 80px;
  height: 80px;
  top: 20%;
  left: 10%;
  animation-delay: 0s;
}

.shape--2 {
  width: 120px;
  height: 120px;
  top: 60%;
  right: 15%;
  animation-delay: 2s;
}

.shape--3 {
  width: 60px;
  height: 60px;
  bottom: 30%;
  left: 20%;
  animation-delay: 4s;
}

.shape--4 {
  width: 100px;
  height: 100px;
  top: 40%;
  right: 40%;
  animation-delay: 1s;
}

@keyframes float {
  0%, 100% { transform: translateY(0px) rotate(0deg); }
  33% { transform: translateY(-20px) rotate(120deg); }
  66% { transform: translateY(10px) rotate(240deg); }
}

/* Section Headers */
.section-header {
  text-align: center;
  margin-bottom: 40px;
}

.section-header h2 {
  font-size: 32px;
  margin: 0 0 12px 0;
  background: linear-gradient(135deg, var(--text), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-header p {
  color: var(--muted);
  font-size: 18px;
  margin: 0;
}

/* Highlights */
.contact-highlights {
  padding: 40px 0 60px;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 24px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(30, 136, 229, 0.1), transparent);
  transition: left 0.5s ease;
}

.card:hover::before {
  left: 100%;
}

.card:hover {
  transform: translateY(-8px);
  border-color: var(--primary);
  box-shadow: 0 20px 40px rgba(30, 136, 229, 0.15);
}

.card--animated {
  opacity: 0;
  transform: translateY(30px);
  animation: cardSlideUp 0.8s ease-out forwards;
}

@keyframes cardSlideUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.card__icon {
  width: 48px;
  height: 48px;
  color: var(--primary);
  margin-bottom: 16px;
}

.card__title {
  margin: 0 0 12px 0;
  font-size: 18px;
  font-weight: 600;
  color: var(--text);
}

.card__text {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.card__text a {
  color: var(--accent);
  text-decoration: none;
  transition: color 0.3s ease;
}

.card__text a:hover {
  color: var(--primary);
}

/* Contact Section */
.contact-section { 
  padding: 40px 0 80px; 
  background: linear-gradient(180deg, transparent, rgba(30, 136, 229, 0.05));
}

.contact-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
}

.form-wrapper {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 32px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(10px);
}

.form-header {
  margin-bottom: 24px;
}

.form-wrapper h2 { 
  margin: 0 0 8px 0;
  font-size: 28px;
  background: linear-gradient(135deg, var(--text), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.muted { 
  color: var(--muted); 
  margin: 0 0 18px 0;
  font-size: 16px;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.field { display: flex; flex-direction: column; gap: 6px; }
.field--full { grid-column: 1 / -1; }

label { font-size: 13px; color: var(--text); }

input[type="text"],
input[type="email"],
input[type="tel"],
textarea {
  background: #0b1224;
  color: var(--text);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 16px;
  outline: none;
  transition: all 0.3s ease;
  font-size: 16px;
}

input:focus, textarea:focus { 
  border-color: var(--primary); 
  box-shadow: 0 0 0 4px rgba(30,136,229,0.2);
  transform: translateY(-2px);
}

.checkbox { align-items: flex-start; }
.checkbox label { display: inline-flex; gap: 10px; align-items: flex-start; }
.checkbox input { margin-top: 3px; }

.error { color: var(--danger); font-size: 12px; min-height: 16px; }
.invalid input, .invalid textarea { border-color: var(--danger); }

.actions { display: flex; align-items: center; gap: 12px; margin-top: 6px; flex-wrap: wrap; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  border: 1px solid transparent;
  border-radius: 12px;
  padding: 16px 24px;
  cursor: pointer;
  text-decoration: none;
  color: white;
  font-weight: 600;
  font-size: 16px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  transition: left 0.5s ease;
}

.btn:hover::before {
  left: 100%;
}

.btn--primary { 
  background: linear-gradient(135deg, var(--primary), var(--primary-600));
  box-shadow: 0 8px 25px rgba(30, 136, 229, 0.3);
}

.btn--primary:hover { 
  transform: translateY(-3px);
  box-shadow: 0 12px 35px rgba(30, 136, 229, 0.4);
}

.btn--whatsapp { 
  background: linear-gradient(135deg, #128c7e, #0f776c);
  box-shadow: 0 8px 25px rgba(18, 140, 126, 0.3);
}

.btn--whatsapp:hover { 
  transform: translateY(-3px);
  box-shadow: 0 12px 35px rgba(18, 140, 126, 0.4);
}

.btn__spinner {
  width: 16px; height: 16px; border-radius: 50%; border: 2px solid rgba(255,255,255,0.45); border-top-color: white; display: none; animation: spin 1s linear infinite;
}

.btn.loading .btn__spinner { display: inline-block; }

@keyframes spin { to { transform: rotate(360deg); } }

.form-note { color: var(--muted); font-size: 13px; }

.form-status { margin-top: 12px; font-size: 14px; }
.form-status.success { color: var(--success); }
.form-status.error { color: var(--danger); }

.map-wrapper { 
  display: flex; 
  flex-direction: column; 
  gap: 24px; 
}

.map { 
  border-radius: 20px; 
  overflow: hidden; 
  border: 1px solid var(--border);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease;
}

.map:hover {
  transform: scale(1.02);
}

.map iframe { 
  width: 100%; 
  height: 360px; 
  border: 0; 
}

.hours { 
  background: var(--surface); 
  border: 1px solid var(--border); 
  border-radius: 20px; 
  padding: 24px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(10px);
}

.hours h3 { 
  margin: 0 0 16px 0;
  font-size: 20px;
  background: linear-gradient(135deg, var(--text), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hours ul { 
  list-style: none; 
  padding: 0; 
  margin: 0; 
  color: var(--muted); 
}

.hours li { 
  margin-bottom: 12px;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  transition: color 0.3s ease;
}

.hours li:hover {
  color: var(--accent);
}

/* Footer */
.footer { border-top: 1px solid var(--border); background: #0b1224; }
.footer__inner { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 18px 0; }
.footer__links { display: inline-flex; gap: 14px; }
.footer__links a { color: var(--muted); text-decoration: none; }
.footer__links a:hover { color: var(--accent); }

/* Enhanced Animations */
@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}

@keyframes slideInFromBottom {
  from {
    opacity: 0;
    transform: translateY(50px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Enhanced Form Animations */
.form-grid .field {
  animation: slideInFromBottom 0.6s ease-out forwards;
  opacity: 0;
}

.form-grid .field:nth-child(1) { animation-delay: 0.1s; }
.form-grid .field:nth-child(2) { animation-delay: 0.2s; }
.form-grid .field:nth-child(3) { animation-delay: 0.3s; }
.form-grid .field:nth-child(4) { animation-delay: 0.4s; }
.form-grid .field:nth-child(5) { animation-delay: 0.5s; }
.form-grid .field:nth-child(6) { animation-delay: 0.6s; }

/* Enhanced Button Animations */
.btn:active {
  transform: translateY(1px);
}

/* Enhanced Card Hover Effects */
.card:hover .card__icon {
  animation: pulse 1s ease-in-out infinite;
}

/* Responsive */
@media (max-width: 960px) {
  .grid-3 { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .map iframe { height: 300px; }
  
  .hero__title { font-size: 36px; }
  .logo-text { font-size: 48px; }
}

@media (max-width: 520px) {
  .hero__title { font-size: 28px; }
  .logo-text { font-size: 36px; }
  .form-grid { grid-template-columns: 1fr; }
  .hero { padding: 60px 0 40px; }
  
  .btn {
    padding: 14px 20px;
    font-size: 14px;
  }
} 