/*
  DELIFISH ECUADOR — Temporary corporate landing page
  Mobile-first stylesheet with breakpoints at 480px, 768px and 1200px.
*/

/* =========================================================
   1. Design tokens and reset
   ========================================================= */
:root {
  --navy: #16235e;
  --navy-deep: #101949;
  --navy-secondary: #1a237e;
  --cyan: #00a8e8;
  --cyan-secondary: #1ca3d6;
  --background: #fafcff;
  --surface: #ffffff;
  --text: #16235e;
  --muted: #5f6b91;
  --line: rgba(22, 35, 94, 0.14);
  --shadow-soft: 0 18px 50px rgba(22, 35, 94, 0.09);
  --shadow-button: 0 12px 28px rgba(0, 168, 232, 0.24);
  --radius-large: 28px;
  --radius-medium: 18px;
  --content-width: 1120px;
  --reading-width: 900px;
  --transition: 280ms ease;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  margin: 0;
  color: var(--text);
  background:
    radial-gradient(circle at 50% 15%, rgba(28, 163, 214, 0.07), transparent 30rem),
    linear-gradient(180deg, #ffffff 0%, var(--background) 64%, #ffffff 100%);
  font-family:
    "Montserrat",
    "Poppins",
    Inter,
    ui-sans-serif,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    Arial,
    sans-serif;
  font-size: 16px;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

::selection {
  color: #ffffff;
  background: var(--navy);
}

/* =========================================================
   2. Accessibility helpers
   ========================================================= */
.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 100;
  padding: 10px 14px;
  color: #ffffff;
  background: var(--navy);
  border-radius: 8px;
  transform: translateY(-160%);
  transition: transform var(--transition);
}

.skip-link:focus {
  transform: translateY(0);
}

:focus-visible {
  outline: 3px solid rgba(0, 168, 232, 0.48);
  outline-offset: 4px;
}

/* =========================================================
   3. Page structure
   ========================================================= */
.site-shell {
  width: min(100%, 1440px);
  min-height: 100vh;
  margin-inline: auto;
  overflow: hidden;
}

.site-header,
.brand-section,
.product-section,
.information-section,
.site-footer {
  width: min(calc(100% - 32px), var(--content-width));
  margin-inline: auto;
}

.site-header {
  padding-top: clamp(24px, 7vw, 56px);
  text-align: center;
}

.eyebrow {
  margin: 0;
  color: var(--navy);
  font-size: clamp(0.92rem, 3.8vw, 1.2rem);
  font-weight: 800;
  letter-spacing: -0.02em;
}

/* =========================================================
   4. Brand area
   ========================================================= */
.brand-section {
  position: relative;
  isolation: isolate;
  padding-top: clamp(20px, 5vw, 44px);
}

.marine-glow {
  position: absolute;
  z-index: -1;
  top: 16%;
  left: 50%;
  width: min(86vw, 780px);
  aspect-ratio: 2 / 1;
  border-radius: 50%;
  background:
    radial-gradient(
      ellipse at center,
      rgba(0, 168, 232, 0.11) 0%,
      rgba(28, 163, 214, 0.05) 42%,
      transparent 72%
    );
  filter: blur(12px);
  transform: translateX(-50%);
}

.brand-image {
  width: 100%;
  margin-inline: auto;
  object-fit: contain;
}

/* =========================================================
   5. Product showcase
   ========================================================= */
.product-section {
  padding-top: clamp(8px, 2vw, 22px);
}

.product-image {
  width: 100%;
  margin-inline: auto;
  object-fit: contain;
  filter: drop-shadow(0 20px 24px rgba(22, 35, 94, 0.08));
}

/* =========================================================
   6. Information section
   ========================================================= */
.information-section {
  width: min(calc(100% - 32px), var(--reading-width));
  padding: clamp(34px, 8vw, 76px) 0 clamp(36px, 8vw, 72px);
  text-align: center;
}

.section-heading {
  margin-bottom: 20px;
}

.section-kicker {
  display: inline-block;
  margin-bottom: 8px;
  color: var(--cyan-secondary);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

h1 {
  max-width: 820px;
  margin: 0 auto;
  color: var(--navy);
  font-size: clamp(1.55rem, 6vw, 2.6rem);
  line-height: 1.14;
  letter-spacing: -0.035em;
}

.copy-block {
  max-width: 880px;
  margin-inline: auto;
}

.copy-block p {
  margin: 0;
  color: var(--text);
  font-size: clamp(0.98rem, 2.8vw, 1.06rem);
}

.copy-block p + p {
  margin-top: 12px;
}

.highlighted-statement {
  margin-top: 18px !important;
  color: var(--navy-deep) !important;
}

.contact-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  margin-top: 28px;
  padding: 12px 22px;
  color: #ffffff;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-secondary) 58%, #26359b 100%);
  border: 1px solid transparent;
  border-radius: 999px;
  box-shadow: var(--shadow-button);
  font-weight: 800;
  line-height: 1.2;
  text-decoration: none;
  transition:
    transform var(--transition),
    box-shadow var(--transition),
    background-color var(--transition);
}

.contact-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 34px rgba(22, 35, 94, 0.25);
}

.contact-button:active {
  transform: translateY(0);
}

/* =========================================================
   7. Footer
   ========================================================= */
.site-footer {
  width: min(calc(100% - 32px), var(--reading-width));
  padding-bottom: 26px;
  text-align: center;
}

.footer-card {
  padding: 26px 20px;
  background: rgba(255, 255, 255, 0.84);
  border: 1px solid var(--line);
  border-radius: var(--radius-medium);
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(10px);
}

.footer-card h2 {
  margin: 0 0 10px;
  color: var(--navy);
  font-size: clamp(1.05rem, 4vw, 1.25rem);
  line-height: 1.25;
}

address {
  font-style: normal;
}

address p {
  margin: 4px 0;
  color: var(--text);
  font-size: 0.83rem;
  line-height: 1.55;
}

address a,
.credits a {
  color: var(--navy);
  font-weight: 700;
  text-decoration-color: rgba(0, 168, 232, 0.58);
  text-decoration-thickness: 1.5px;
  text-underline-offset: 3px;
  transition:
    color var(--transition),
    text-decoration-color var(--transition);
}

address a:hover,
.credits a:hover {
  color: var(--cyan-secondary);
  text-decoration-color: currentColor;
}

.separator {
  margin-inline: 5px;
  color: var(--cyan-secondary);
}

.credits {
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 0.55rem;
  line-height: 1.5;
}

/* =========================================================
   8. Reveal animations
   ========================================================= */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition:
    opacity 720ms ease,
    transform 720ms cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Respect the visitor's operating-system motion preference. */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}

/* =========================================================
   9. Breakpoint: 480px
   ========================================================= */
@media (min-width: 480px) {
  .site-header,
  .brand-section,
  .product-section,
  .information-section,
  .site-footer {
    width: min(calc(100% - 48px), var(--content-width));
  }

  .information-section,
  .site-footer {
    width: min(calc(100% - 48px), var(--reading-width));
  }

  .footer-card {
    padding: 30px 28px;
  }

  address p {
    font-size: 0.88rem;
  }
}

/* =========================================================
   10. Breakpoint: 768px
   ========================================================= */
@media (min-width: 768px) {
  .site-header {
    padding-top: 36px;
  }

  .brand-section {
    padding-top: 24px;
  }

  .brand-image {
    width: min(100%, 1050px);
  }

  .product-image {
    width: min(100%, 1100px);
  }

  .information-section {
    padding-top: 54px;
  }

  .copy-block p + p {
    margin-top: 10px;
  }

  .footer-card {
    border-radius: var(--radius-large);
  }

  .credits {
    font-size: 0.76rem;
  }
}

/* =========================================================
   11. Breakpoint: 1200px
   ========================================================= */
@media (min-width: 1200px) {
  .site-header {
    padding-top: 28px;
  }

  .brand-section {
    padding-top: 20px;
  }

  .brand-image {
    width: 100%;
  }

  .product-section {
    margin-top: -10px;
  }

  .information-section {
    padding-top: 48px;
  }

  .footer-card {
    padding: 28px 42px;
  }
}

.whatsapp-float {
  position: fixed;
  right: 22px;
  bottom: calc(22px + env(safe-area-inset-bottom, 0px));
  z-index: 9999;

  display: flex;
  align-items: center;
  justify-content: center;

  width: 56px;
  height: 56px;

  color: #ffffff;
  background-color: #25d366;
  border-radius: 50%;
  box-shadow: 0 10px 28px rgba(22, 35, 94, 0.25);

  text-decoration: none;

  transition:
    transform 220ms ease,
    box-shadow 220ms ease,
    background-color 220ms ease;
}

.whatsapp-float svg {
  width: 31px;
  height: 31px;
}

.whatsapp-float:hover {
  background-color: #20bd5a;
  box-shadow: 0 14px 34px rgba(22, 35, 94, 0.32);
  transform: translateY(-3px) scale(1.04);
}

.whatsapp-float:active {
  transform: translateY(0) scale(0.98);
}

.whatsapp-float:focus-visible {
  outline: 3px solid rgba(0, 168, 232, 0.55);
  outline-offset: 4px;
}

@media (min-width: 768px) {
  .whatsapp-float {
    width: 60px;
    height: 60px;
  }

  .whatsapp-float svg {
    width: 34px;
    height: 34px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .whatsapp-float {
    transition: none;
  }
}
