/* Main Styles - Mobile First */

:root {
  --primary: #FF7F00;
  --dark: #0a0a0a;
  --light: #1e1e1e;
  --gray: #2a2a2a;
  --gray-light: #3a3a3a;
  --gray-dark: #1a1a1a;
  --text: #ffffff;
  --text-light: #b0b0b0;
  --border: #3a3a3a;
  --shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
  --shadow-lg: 0 4px 16px rgba(0, 0, 0, 0.7);
  --transition: all 0.3s ease;
}

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

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  line-height: 1.6;
  color: var(--text);
  background: var(--dark);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

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

/* Header */
.header {
  background: var(--light);
  border-bottom: 1px solid var(--border);
  padding: 1rem 0;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: var(--shadow);
}

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

.logo-link {
  display: inline-block;
  text-decoration: none;
  flex-shrink: 0;
}

.logo {
  height: 50px;
  width: auto;
  display: block;
}

.visit-website {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: var(--primary);
  color: var(--dark);
  text-decoration: none;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.9rem;
  transition: var(--transition);
  flex-shrink: 0;
}

.visit-website:hover,
.visit-website:focus {
  background: #e67000;
  transform: translateY(-2px);
  box-shadow: var(--shadow);
  outline: none;
}

.visit-website .icon {
  width: 20px;
  height: 20px;
  fill: currentColor;
  flex-shrink: 0;
}

.visit-text {
  display: none;
}

@media (min-width: 768px) {
  .visit-text {
    display: inline;
  }
}

/* Main Content */
.main {
  flex: 1;
  padding: 2rem 0;
}

/* QR Section */
.qr-section {
  text-align: center;
  padding: 2rem 0;
  margin-bottom: 3rem;
}

.qr-container {
  display: inline-block;
  padding: 1.5rem;
  background: var(--light);
  border: 1px solid var(--border);
  border-radius: 12px;
  box-shadow: var(--shadow-lg);
}

.qr-link {
  display: block;
  text-decoration: none;
  transition: transform 0.2s ease;
}

.qr-link:hover {
  transform: scale(1.05);
}

.qr-link:focus {
  outline: 3px solid var(--primary);
  outline-offset: 4px;
  border-radius: 8px;
}

.qr-code {
  display: block;
  width: 200px;
  height: 200px;
  margin: 0 auto;
}

.qr-hint {
  margin-top: 1rem;
  color: var(--text-light);
  font-size: 0.9rem;
}

/* Actions */
.actions {
  margin-bottom: 3rem;
}

.action-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  border: 2px solid var(--primary);
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  transition: var(--transition);
  cursor: pointer;
  background: var(--light);
  color: var(--primary);
  font-family: inherit;
}

button.btn {
  border: 2px solid var(--primary);
}

.btn .icon {
  width: 20px;
  height: 20px;
  fill: currentColor;
  flex-shrink: 0;
}

.btn-secondary {
  background: var(--gray);
  color: var(--text);
  border-color: var(--border);
}

.btn-primary {
  background: var(--primary);
  color: var(--dark);
}

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

.btn-secondary:hover,
.btn-secondary:focus {
  background: var(--gray-light);
  border-color: var(--primary);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn:focus {
  outline: 3px solid var(--primary);
  outline-offset: 2px;
}

/* Contact Info */
.contact-info {
  margin-bottom: 3rem;
  padding: 2rem;
  background: var(--light);
  border: 1px solid var(--border);
  border-radius: 12px;
}

.contact-info h2 {
  font-size: 1.75rem;
  margin-bottom: 1.5rem;
  color: var(--text);
}

.contact-grid {
  display: grid;
  gap: 1.5rem;
}

.contact-card {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.2rem 1.25rem;
  background: var(--gray-dark);
  border-radius: 12px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.contact-card-icon {
  width: 40px;
  height: 40px;
  border-radius: 999px;
  background: var(--gray);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  flex-shrink: 0;
}

.contact-card-icon .icon {
  width: 22px;
  height: 22px;
}

.contact-card-body {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.contact-card-label {
  font-weight: 600;
  color: var(--text);
  font-size: 0.95rem;
}

.contact-card-value {
  font-size: 0.9rem;
  color: var(--text-light);
}

.contact-card a {
  color: var(--primary);
  text-decoration: none;
  word-break: break-all;
  transition: var(--transition);
}

.contact-card a:visited {
  color: var(--primary);
}

.contact-card a:hover,
.contact-card a:focus {
  text-decoration: underline;
  outline: none;
}

.contact-card-address .contact-card-value {
  line-height: 1.6;
}

.contact-card-map {
  grid-column: 1 / -1;
}

.map-whatsapp-layout {
  display: grid;
  gap: 1.5rem;
  margin-top: 0.75rem;
}

.map-address {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.map-right-column {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.map-link {
  margin-top: 0.5rem;
  display: inline-block;
}

.map-embed {
  margin-top: 1.5rem;
  width: 100%;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.map-embed iframe {
  display: block;
  width: 100%;
  height: 300px;
  border: none;
}

/* Social */
.social {
  margin-bottom: 3rem;
  text-align: center;
}

.social h2 {
  font-size: 1.75rem;
  margin-bottom: 1.5rem;
  color: var(--text);
}

.social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}

.social-inline {
  margin-top: 1.5rem;
}

.social-inline-title {
  font-size: 1.1rem;
  margin-bottom: 0.75rem;
  color: var(--text);
}

.social-inline .social-links {
  justify-content: flex-start;
}

.social-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  background: var(--light);
  border: 1px solid var(--border);
  border-radius: 8px;
  text-decoration: none;
  color: var(--text);
  font-weight: 500;
  transition: var(--transition);
}

.social-link .icon {
  width: 20px;
  height: 20px;
  fill: currentColor;
  flex-shrink: 0;
}

.social-text-only {
  font-weight: 500;
}

.icon-inline {
  display: inline-block;
  vertical-align: middle;
  width: 16px;
  height: 16px;
  fill: currentColor;
  margin-right: 0.25rem;
}

.social-link:hover,
.social-link:focus {
  background: var(--primary);
  color: var(--dark);
  border-color: var(--primary);
  transform: translateY(-2px);
  box-shadow: var(--shadow);
  outline: none;
}

/* Footer */
.footer {
  background: var(--dark);
  color: var(--text);
  padding: 2rem 0;
  text-align: center;
  margin-top: auto;
}

.footer p {
  margin: 0.5rem 0;
}

.footer a {
  color: var(--primary);
  text-decoration: none;
  transition: var(--transition);
}

.footer a:hover,
.footer a:focus {
  text-decoration: underline;
  outline: none;
}

/* WhatsApp CTA */
.whatsapp-card {
  max-width: 520px;
  margin: 0 auto;
  padding: 1.5rem 1.75rem;
  border-radius: 14px;
  background: linear-gradient(
    135deg,
    rgba(37, 211, 102, 0.16),
    rgba(10, 10, 10, 0.95)
  );
  border: 1px solid rgba(37, 211, 102, 0.4);
  box-shadow: var(--shadow-lg);
}

.whatsapp-card-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

.whatsapp-avatar {
  width: 40px;
  height: 40px;
  border-radius: 999px;
  background: #25d366;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--dark);
  flex-shrink: 0;
}

.whatsapp-avatar .icon {
  width: 22px;
  height: 22px;
}

.whatsapp-meta {
  display: flex;
  flex-direction: column;
}

.whatsapp-title {
  font-weight: 600;
  font-size: 1rem;
}

.whatsapp-number {
  font-size: 0.9rem;
  color: var(--text-light);
}

.whatsapp-copy {
  font-size: 0.9rem;
  color: var(--text-light);
  margin-bottom: 1rem;
}

.whatsapp-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.6rem 1.2rem;
  border-radius: 999px;
  background: #25d366;
  color: #ffffff !important;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  border: none;
  transition: var(--transition);
}

.whatsapp-cta:hover,
.whatsapp-cta:focus {
  background: #1ebe5b;
  color: #ffffff !important;
  transform: translateY(-1px);
  box-shadow: var(--shadow);
  outline: none;
}

/* Screen Reader Only */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

/* Tablet and Up */
@media (min-width: 768px) {
  .container {
    padding: 0 2rem;
  }

  .contact-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* Desktop */
@media (min-width: 1024px) {
  .contact-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .map-whatsapp-layout {
    grid-template-columns: minmax(0, 3fr) minmax(0, 2fr);
    align-items: stretch;
  }

  .map-whatsapp-layout .whatsapp-card {
    max-width: none;
    margin: 0;
    height: 100%;
  }
}

