:root{
  /* brand */
  --c-sand: #FFF0BA; 
  --c-sea:  #2B66BD;
  --c-deep: #19417B;
  --c-ink:  #000;

  /* type scale (fluid) */
  --fs-100: clamp(0.85rem, 0.8rem + 0.2vw, 0.95rem);
  --fs-200: clamp(1rem, 0.95rem + 0.5vw, 1.125rem);
  --fs-300: clamp(1.125rem, 1rem + 0.9vw, 1.25rem);
  --fs-400: clamp(1.35rem, 1.1rem + 1.4vw, 1.6rem);
  --fs-500: clamp(1.6rem, 1.25rem + 2vw, 2rem);
  --fs-600: clamp(1.9rem, 1.6rem + 2.6vw, 2.6rem);

  /* spacing */
  --sp-1: 0.5rem; --sp-2: 0.75rem; --sp-3: 1rem; --sp-4: 1.5rem; 
  --sp-5: 2rem;   --sp-6: 3rem;    --sp-7: 4rem;  --sp-8: 6rem;

  /* layout */
  --container: min(1100px, 92vw);


  /* Sent Modal */
  --modal-bg: rgba(17, 24, 39, .55);
  --modal-card-bg: #fff;
  --modal-radius: 12px;
  --modal-elev: 0 20px 60px rgba(0,0,0,.25);
  --modal-accent: var(--c-sea);
  --modal-accent-ink: #fff;

}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body{ line-height: 1.45;margin: 0;overflow-x: hidden;overflow-y: auto;}

.section{
  width: 100%;
  display: grid;
  place-items: center;
  padding: var(--sp-7) 0;
}

.container{
  width: var(--container);
  margin-inline: auto;
  padding-inline: var(--sp-3);
}

.main-section{
    display: flex;
    flex-direction: column;
    width: 100vw;
}
/* ABOUT-US SECTION */
.about-us{
    display: flex;   
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    position: relative;
    text-align: center;
    background-color: var(--c-sand);
    color: var(--c-sea);
    padding: 0 4vw;
    z-index: 0;
}

.logo {
    transform: scale(0);
    opacity: 0;
}

.logo h1{
    font-size: 4.2rem; /*checks if it needs the important*/
    letter-spacing: 1.5px;
    font-weight: bold;
}

.tagline{
    margin-top: 6rem;
    font-size: 1.2rem;
    transform: translateY(80px);
    opacity: 0;
    z-index: 2;

}

.wave-bg {
    top: 82vh;
    width: 100%;
    height: 100%;
    background-image: url('../assets/images/waves/waves-home.png');
    background-repeat: repeat-x;
    background-size: cover;
    opacity: 0;
    position: absolute; 
    z-index: 1;
    transition: transform 0.3s ease;
}

/* .tagline h2{font-size: 2rem !important;} */
.tagline h2{ font-size: var(--fs-500) !important; }

.description{
  width: 100%;    
  max-width: 60ch;
  margin: var(--sp-3) auto 0;
  font-size: var(--fs-200);
  padding-inline: var(--sp-3);
}
/* Table devices */
@media (max-width: 900px) {
    .about-us{ padding: 3vh 2vw;}
}

@media (max-width: 768px) {
    .about-us {
        padding: 2rem 1rem;
        height: auto;
    }

    .tagline {
        font-size: 1.25rem;
        padding: 0 1rem;
        max-width: 90vw;
    }

    .description {
        width: 305.50px;
        text-align: center;
    }
    .logo h1{
        font-size: 4rem;
    }
    .logo{
        padding-top: 5px;
    }
    .wave-bg {
        top: 91vh;
    }
}
/* END ABOUT-US SECTION  */

/* CREATURES SECTION */

.sea-creatures {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: flex-end;
    width: 100%;
}

.creatures-row{
    display: flex;
    flex-direction: row;
    gap: 6vw;
    justify-content: center;
    width: 100%;
}

.creature{
    position: relative; 
    cursor: pointer;
    display: flex;
    flex-direction: column;
}

.creature img {
    position: relative; /*it was absolute, lets try*/
    width: clamp(50px, 20vw, 100px);
    transition: transform 0.3s ease;

}

.normal {
    opacity: 0;
    transform: scale(0);
}

.squish {
    display: none;
    pointer-events: none;
}


@keyframes popIn {
  0% { transform: scale(0.5); opacity: 0; }
  100% { transform: scale(1); opacity: 1; }
}

.floating {
    animation: float 4s ease-in-out infinite;
}

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

.shell img {
    bottom: 79vh;
    right: 44vh;
    width: 81px;
}

.octopus img {
    bottom: 75vh;
    left: 66vh;
    width: 94px;
}   
/* eyes creatures */
.eye{
    width: 8px;
    height: 8px;
    background: black;
    border-radius: 50%;
    position: absolute;
    z-index: 2;
    transition: transform  0.1s ease;
    opacity: 0;
    transform: scale(0);
    pointer-events: none;
}

.left-eye-shell{
    bottom: 80vh;
    right: 52vh;
}

.right-eye-shell {
    bottom: 80vh;
    right: 48vh;
}

.left-eye-octopus{
    bottom: 83vh;
    left: 71.3vh;
}

.right-eye-octopus{
    bottom: 83vh;
    left: 74.8vh;
}

/* Carab */
.crab-container {
    position: absolute;
    left: 50%;
    transform: translateX(-50%); /* center baseline inside about-us */
    opacity: 0;
    z-index: 10;
    bottom: 12vh;
}

.crab-container img {display: block;}

.crab-body {
    width: 112px;
}

.left-eye-crab, .right-eye-crab {
  position: absolute;
  z-index: 11;
  opacity: 1 !important;
}

/* crab's eyes should be bigger than the other*/
.eye-crab {
    width: 12px;
    height: 12px;
}

.left-eye-crab{
    bottom: 7vh;
    right: 11vh;
}
.right-eye-crab{
    bottom: 7vh;
    right: 6vh;
}

.leg {
    width: 20px;
    position: absolute;
    top: 10px;
}

.ll-1 {
    top: 47px;
    left: 16px;
}
.ll-2 {
    top: 47px;
    left: 7px;
}
.lr-1 {
    top: 47px;
    right: 13px;
}
.lr-2 {
    top: 47px;
    right: 3px;
} 


/* Table devices */
@media (max-width: 900px) {
    .octopus img {
        bottom: 82vh;
        left: 37vh;
    }

     .left-eye-octopus {
        bottom: 90.8vh;
        left: 42vh;
    }

    .right-eye-octopus{
        bottom: 90.8vh;
        left: 47.3vh;
    }

}

@media (max-width: 768px) {
    .octopus img {
        bottom: 92vh;
        left: 11vh;
        width: 80px;
    }

    .shell img {
        bottom: 26vh;
        right: 7vh;
        width: 75px;
    }

    .crab-container{
        position: fixed;
        right: 183px;
        bottom: 122vw;
    }

    .left-eye-octopus {
        bottom: 98.7vh;
        left: 15vh;
    }

    .right-eye-octopus{
        bottom: 98.7vh;
        left: 18vh;
    }

    .left-eye-shell {
        bottom: 27vh;
        right: 13.5vh;
    }

    .right-eye-shell {
        bottom: 27vh;
        right: 10.5vh;
    }

    .crab-container{
        visibility:  hidden;
    }
}
/* END CREATURES SECTION */

.bubble-container{
    position: absolute;
    bottom: 0;
    left: -72%;
    height: 200px;
    width: 200px;
    transform: translateX(-50%);
    pointer-events: auto;
}

.speech-bubble {
    position: absolute;
    bottom: 9vh;
    left: 50%;
    width: 196px;
    opacity: 0;
    transform: translateX(-50%) scale(0);
    transition: transform 0.3s ease, opacity 0.3s ease;
    pointer-events: auto;
}

.bf {
  opacity: 1;
  z-index: 2;
}

.af {
    opacity: 0;
    z-index: 3;
    left: 0%;
}

.bubble-container:hover .bf{
    opacity: 0;
}
 
.bubble-container:hover .af{
    opacity: 1;
    transform: scale(1.08);
} 
/* SPEECh BUBBLE  CRAB */


/* INDUSTRY SECTION */
.industries-section{
    text-align: center;
    position: relative;
    z-index: 2;
    background-color: var(--c-sea);
}

.industries-title{
    padding-bottom: 17vh;
}

.industries-title h1 {
    color: var(--c-sand);
    position: absolute;
    font-size: 2.5rem;
    /* margin-bottom: 5vh; */
    z-index: 3;
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.4s, transform 0.4s;
}

.industry-container {
    position: relative;
    width: 100%;
    height: 100vh;
}

.industry-shape {
    position: absolute;
    transition: transform 0.3s ease-in-out;
    text-align: center;
}

.industry-shape img {
    width: 100%;
    display: block;
    height: auto;
    transition: transform 0.4s ease-in-out;
    pointer-events: none;
}

.industry-text h3 {
    margin: 0 0 .35rem;
    line-height: 1.1;
    font-size: clamp(1.15rem, 1rem + .6vw, 1.6rem);
    color: var(--c-sand);
}

.industry-text p{
    margin: 0;
    line-height: 1.3;
    font-size: clamp(.9rem, .85rem + .25vw, 1rem);
    color: var(--c-sand);
    opacity: .95;
    max-width: 32ch;
}

.industry-text {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    text-align: center;
    padding: 10% 12%;
    color: var(--c-sand);
    pointer-events: none;
    width: 324px;
    align-content: center;
}

.industry-shape.hovered{
    transform: scale(1.2);
    z-index: 2;
}
.industry-shape.dimmed:not(.hovered){
    transform: scale(0.9);
    opacity: 0.7;
}
/* Posicionamiento  */
.snail { top: 10%; left: 9%; width: 318px;}
.circle { top: 53%; left: 9%; width: 326px; }
.seashell { top: 20%; left: 37%; width: 358px; }
.jellyfish { top: 12%; left: 68%;width: 354px; }
.starfish { top: 54%;left: 67%;width: 332px;}

/* Shapes text */
.soccer {
    top: -24%;
    left: 9px;
}


@media (max-width: 768px) {
    .industries-section{
        padding: 4vh 4vw;
        text-align: center;
    }

    .industries-title{
        padding-bottom: 18px;
        margin-bottom: 0;
    }

    .industries-title h1 {
        position: static !important;
        display: block !important;
        text-align: center !important;
        font-size: 1.4rem !important;
        /* margin-bottom: 0 auto 26px auto !important; */
        padding: 0 2vw !important; 
        opacity: 1 !important;
        transform: none !important;
        line-height: 1.2 !important;
    }

    .industry-container {
        position: static !important;
        height: auto !important;
        display: flex !important;
        flex-direction: column !important;
        gap: 26px !important;
        align-items: center !important;
        justify-content: center !important;
        margin: 0 auto !important;
        z-index: 2;
    }
    
    .industry-shape {
        position: relative !important;
        width: 76vw !important;
        max-width: 325px !important;
        margin: 0 auto !important;
        display: flex !important;
        justify-content: center !important;
        align-items: center !important;
    }

    .industry-shape img {
        width: 100% !important;
        height: auto !important;
        /* margin-bottom: 0.7em; */
        display: block;
    }

    .industry-text {
        position: absolute !important;
        inset: 0 !important;
        width: 100% !important;
        height: 100% !important;
        color: var(--c-sand) !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        pointer-events: none !important; 
        font-size: 1.01rem !important;
        z-index: 2 !important;
        padding: 0 10px !important;
        background: none !important;
        text-align: center !important;
    }

    .industry-shape:hover img,
    .industry-container:hover .industry-shape img {
        transform: none !important;
    }

    .snail { top: 0; left: 0;}
    .circle { top: 0; left: 0;}
    .seashell { top: 0; left: 0;}
    .jellyfish { top: 0; left: 0;}
    .starfish { top: 0; left: 0;}

    .industry-text h3 { font-size: var(--fs-300) !important; margin: 0 0 .35rem; }
    .industry-text p  { font-size: var(--fs-200) !important; margin: 0; max-width: 30ch; }
    .industry-shape   { will-change: transform; } /* smoother hover scaling */

    .soccer { top: -9% !important;}
    .soccer p { width: 133px !important; }
}

/* END INDUSTRY SECTION */

/* BOAT SECTION */

.boat-section {
    position: relative;
    background-color:var(--c-sea);
}

.wave-darkblue-bg{
    position: absolute;
    width: 100%;
    height: 76%;
    background-image: url('../assets/images/waves/waves-darkblue.png');
    background-repeat: repeat-x;
    background-size: cover;
    z-index: 3; 
    top: 98vh;
    transition: transform 0.3s ease;
}

.boat-content, .boat-title, .arrow-icons{
    position: relative;

}

.boat-title {
    padding: 20vh 0 30vh 0;
    z-index: 3;
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.4s, transform 0.4s;
    text-align: center;
}

.boat-title h1 {
    color: var(--c-sand);
    font-size: 2rem;
    padding: 0 5vw; 
}

.boat-title p {
    color: var(--c-sand);
    font-size: 1.5rem;
}


.boat-content {
    position: relative;
    margin: 0 auto;
    bottom: auto;
    right: auto;
    max-width: 939px;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2;
    opacity: 0;
    transform: translate(-28vw, -99px);
    transition: none;
}

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

.company-info{
  position: absolute;
  inset: 0;
  display: block;
  align-content: center;
  justify-items: center;
  /* gap: 6px; */
  padding: clamp(8px, 2vw, 16px) clamp(12px, 3vw, 24px);
  color: var(--c-deep);
  pointer-events: auto;
  align-content: center;
}

.logo-company img{ height: 32px; width: auto; display: block; }
.name-company{ font-weight: 700; font-size: clamp(18px, 1.4vw, 22px); }
.description-company{ font-size: clamp(14px, 1.05vw, 16px); opacity: .9; max-width: 42ch; }

/* left circular chip (24–40px in your mock) */
.logo-chip{
  width: 45px; height: 45px; border-radius: 999px;
  position: relative; left: -208px; bottom: 36px;
}
.logo-chip img{ max-width: 70%; height: auto; display:block; }

/* name pill */
.name-pill{
  display: inline-flex; align-items: center; gap: 10px;
  padding: 10px 14px; border-radius: 10px;
  color: var(--c-deep); font-weight: 700;
  text-decoration: none;
  position: relative;
  font-size: 20px;
  left: -20px;
  bottom: 92px;
}
.name-pill .open-icon{ color: var(--c-deep); opacity: .8; }

/* blurb on deck */
.project-blurb{
  margin-top: 16px;
  color: var(--c-deep);
  font-weight: 700;
  max-width: 42ch;
  position: relative;
  left: 32px;
  bottom: 20px;
}

/* badge row (star + label) */
.project-badge{
  display: inline-flex; align-items: center; gap: 8px;
  margin-top: 10px;
  color: var(--c-sea);
  font-weight: 700;
}
.project-badge img{
  width: 16px; height: 16px; display:block;
}

.arrow-icons {
  display: grid; gap: 12px;
  position: absolute; 
  right: 6vw; top: 50%;
  transform: translateY(-50%);
  margin-right: 270px;
}

.arrow {
  position: relative;
  background: none; /*transparent*/
  border: none;
  padding: 0;
  cursor: pointer;
  width: 48px;
  height: 48px;
  border-radius: 999px;
} 

.arrow-base {
  display: block;
  width: 100%;
  height: 100%;
}

.arrow-base-mobile {
    display: inline-table;
    width: 100%;
    height: 100%;
}

.arrow-hover {
  width: 48px;
  height: 48px;
}

.arrow-hover{
    opacity: 0; position: absolute;
    inset: 0;
    transition: opacity .15s ease;
}
.arrow:hover .arrow-base  { opacity: 0;; }
.arrow:hover .arrow-hover  { opacity: 1; }

.arrow-base-mobile { opacity: 0;}

/* Responsive */
@media (max-width: 768px) {
  .boat-section {
    height: 500px;
  }
  .boat-title {
        padding: 39px 6vw !important;
        opacity: 1 !important;
        transform: none !important;
        line-height: 1.2 !important;
    }

    .boat-title h1 {
        font-size: 1.7rem;
         padding: 0;
    }
    
    .boat-content{
        bottom: -26vh;
        right: -44vh;
        max-width: 427vw !important;
    }
    
    .wave-darkblue-bg{
        top: 70vh;
    }

    .company-info{
        justify-items: center;
        text-align: center;
        gap: 8px;
    }
    .boat-img{
        width: 122%;
    }

    .project-blurb {
        left: 22px;
        bottom: 44px;
        max-width: 29ch;
        text-align: justify;
    }
    
    .name-pill {
        font-size: 16px;
        left: -4px;
        bottom: 52px;
    }

    .name-pill .open-icon  {
        opacity: 0;
    }

    .arrow-icons { 
        z-index: 6;
        top: 100%;
        display: flex;
        right: 0;
        transform: translateX(112%);
    }

    .arrow-hover{ transform: translateY(103%)}
    .arrow-base { opacity: 0;}
    
    .arrow-base-mobile { opacity: 1; }
    .arrow:hover .arrow-base-mobile { opacity: 0; } 
    .arrow:hover .arrow-hover { opacity: 1; } 
}

/* PORTFOLIO SECTION */

.portfolio-title {
    color: var(--c-sand);
    position: relative;
    text-align: center;
    bottom: 35vh;
    z-index: 3;
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.4s, transform 0.4s;
    margin-top: 150px;
}

.domain-marquee {
  position: relative;
  z-index: 3;
  width: 100vw;
  overflow: hidden;
  padding: 24px 0 24px 0;
  bottom: 8vh;
} 

.domain-bar {
    background-color: var(--c-sea);
    color: var(--c-sand);
    border-radius: 32px;
    padding: 13px 40px;
    margin: 0 10px;
    font-size: 1.2rem;
    cursor: pointer;
    transition: background 0.23s, color 0.22s, box-shadow 0.22s;
    box-shadow: 0 2px 18px 0 rgb(0,0,0,0.5);
    display: inline-block;
}

.domain-bar:hover{
    background-color: black;
    color: var(--c-sand);
    box-shadow: 0 2px 18px 0 rgb(0,0,0,0.5);
}

.marquee-inner {
    display: flex;
    gap: 48px;
    white-space: nowrap;
    align-items: center;
}

@media (max-width: 768px) {
    .portfolio-title{
        bottom: 3vh;
    }

    .domain-marquee {
        bottom: -12vh;
        padding: 0;
    }

    .marquee-inner{
        gap: 1px;
    }
}

/* END PORTFOLIO SECTION */

/* FOUNDER SECTION */

/* ===== Founder — Desktop FIX ===== */
.founder-section{
  position: relative;
  background: var(--c-deep);
  padding: clamp(20px, 30vw, 36px) 0;
}

/* wave sits at the bottom of the section */
.wave-black-bg{
  position: absolute; left: 0; right: 0; bottom: 0;
  height: 120px;                       /* adjust to your art if needed */
  background: url('../assets/images/waves/waves-black.png') repeat-x; 
  background-size: cover;
  z-index: 4; transition: transform .3s ease;
  opacity: 1;
  width: 100%;
}

.founder-title h3{
  position: relative; z-index: 3;
  text-align: center; color: var(--c-sand);
  transform: 1; opacity: 1;
  line-height: 1.22; 
  margin: 0 0 26px; 
  padding: 0 16px;
  font-size: clamp(1.2rem, 0.9rem + 0.6vw, 1.6rem);
}

/* two columns: [silhouette] | [bubble] */
.founder-visual{
  position: relative;
  z-index: 3;
  width: min(1200px, 92vw);
  margin: 20px 0 0 197px;
  display: grid;
  grid-template-columns: minmax(142px, 0) minmax(1300px, 560px);
  align-items: center;                 /* vertical alignment like Figma */
  column-gap: clamp(18px, 3vw, 44px);
  left: 0 !important; bottom: 0 !important; height: auto;
  padding-top: 24px;
}

.silhouette{ width: 100%; height: auto; display: block; align-self: end; }

/* eyes: percentages relative to the silhouette column (nudge if needed) */
.eyes{
  position: absolute; width: 7px; height: 7px; background:#000; border-radius:50%;
  box-shadow: 0 2px 8px #0002; z-index: 4;
}
.left-eye-founder  { left: 70px; top: 10.4%; }
.right-eye-founder { left: 87px; top: 10.4%; }

/* bubble container (right column) */
.dialog-content{
  position: relative;
  width: 100%;
  max-width: 850px;                    /* hard cap bubble width */
  justify-self: start;                 /* keep near silhouette */
  transform: translate(-71px, -81px);         /* small lift to align to face */
}

/* show desktop bubble only */
.dialog-founder{ display:block; width: 100%; height: auto;
  filter: drop-shadow(0 8px 26px rgba(0,0,0,.18));
}
.dialog-founder-mobile{ display:none; }

/* text INSIDE bubble */
.dialog-text{
  position: absolute; inset: 0; margin: 0;
  color:#000; font-weight:600; text-align:justify;
  line-height:1.42;
  font-size: clamp(.95rem, .8rem + .25vw, 1.05rem);
  padding: 2% 7% 18% 24%;
  max-width: 100%;
  max-height: 74%;
}
.dialog-text p{ margin:0; }

/* ---------- Founder: mobile layout ---------- */
@media (max-width: 768px) {
  /* Section padding so the title/bubble/silhouette breathe */
  .founder-section {
    background-color: var(--c-deep);
    padding: 24px 0 24px;
  }

  /* Title: visible, readable */
  .founder-title h3 {
    transform: none !important;
    opacity: 1 !important;
    font-size: clamp(1.11rem, 2.8vw, 1.25rem);
    line-height: 1.25;
    padding: 0 16px;
    margin: 0 0 16px;
    text-align: center;
    color: var(--c-sand);
    bottom: 98px;
  }

  /* Wave divider must sit at the bottom on mobile (no overlap) */
  .wave-black-bg {
    position: relative !important;
    top: auto !important;
    bottom: -196vh !important;
    height: 283px; /* adjust to match your art */
    margin-top: 8px;
  }

  /* Visual stack: bubble (with text) above silhouette */
  .founder-visual {
    position: relative;
    z-index: 3;
    width: 100%;
    max-width: 420px;
    margin: 0 auto;
    left: 0;      /* undo desktop left:35vh */
    bottom: 0;    /* undo desktop bottom:-4vh */
    height: auto; /* let content define height */
    display: grid;
    grid-template-rows: auto auto;
    grid-template-columns: auto !important;
    row-gap: 12px;
    justify-items: center;
    padding: 81px 87px 0 79px;
  }

  /* Bubble container turns into a positioned wrapper */
  .dialog-content {
    position: relative;
    width: 100%;
    height: auto;
    bottom: 53vh;
  }

  /* Desktop bubble hidden on mobile */
  .dialog-founder {
    display: none !important;
    visibility: hidden !important;
  }

  /* Show the mobile bubble image */
  .dialog-founder-mobile {
    display: block !important;
    width: 100%;
    max-width: 360px !important;
    height: 592px !important;
    margin: 0 auto;
    bottom: 246px;
    position: relative;
  }

  /* Text sits inside the mobile bubble art */
  .dialog-text {
    position: absolute !important;
    inset: 0;                 /* fill bubble area */
    display: block;
    padding: 6% 3.2% 22% 3.2%;
    color: #000;
    text-align: justify;
    font-weight: 600;
    font-size: 0.95rem;
    line-height: 1.25;
    margin: 0;
    width: auto !important;
    max-width: none !important;
    left: auto !important;
  }

  .dialog-text p {
    position: relative;
    bottom: 31vh;
  }

  /* Silhouette centered & scaled */
  .silhouette {
    width: min(38%, 260px) !important;
    max-width: 260px;
    height: auto;
    margin: 0 auto;
    display: block;
    position: relative;
    top: 77vh;
    margin-right: 171px;
    align-self: auto;
  }

  /* Founder visual */
  .eyes { display: block !important; }
  .left-eye-founder, .right-eye-founder {
    position: absolute;
    /* Place relative to founder-visual box; tune these */
    top: 52.5%;
    left: 53%;
    width: 7px; height: 7px;
  }
  .right-eye-founder { left: 57%; }

  /* Clean up any stray desktop offsets */
  .founder-visual img { max-width: 100%; width: auto; }
}
/* END FOUNDER SECTION */


/* CONTACT-FORM SECTION */
.contact-form {
    width: 100%;
    background-color: black;
    z-index: 4;
    display: flex;
    flex-direction: column;
    align-items: center;
    /* justify-content: center; */
    /* align-items: flex-start; */
    position: relative;
}

.contact-title h2{
    font-size: 2rem;
    color: white;
    animation: fadeInUp 1s both 0.7s;
    bottom: 2vh;
    position: relative;
}

form {
    display: flex;
    flex-direction: column;
    gap: 1.4rem;
    animation: fadeInUp 1s both 0.7s;
}

input, textarea{
    border: none;
    background-color: #313131;
    border-radius: 16px;
    padding: 1rem 1.2rem;
    font-size: 1.1rem;
    color: #b3b5b8;
    box-shadow: 0 2px 8px #0001;
    outline: none;
    resize: none;
    transition: box-shadow .2s;

}

input:focus, text:focus{
    box-shadow: 0 2px 20px #2B66BD22
}

textarea{
    min-height: 263px;
}

.send-btn {
    background: #b3b6bb;
    color: #747679;
    border:none;
    border-radius: 50px;
    padding: 0.8rem 2.2rem;
    font-size: 1.18rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s, coolor 0.2s, transform 0.15s cubic-bezier(.23,1.15,.81,1.12);
    height: 51px;
    width: 135px;
    position: static;
    /* bottom: 15vh;
    left: 80vh; */
    /* left: auto;
    bottom: auto; */
}

.send-btn:hover, .send-btn:focus{
    background: black;
    color: white;
    transform: scale(1.07);
}

.sea-creatures-form {
    position: relative;
    display: flex;
    justify-content: space-between; /*center*/
    align-items: flex-end;
    z-index: 5;
}

.eye-form{
    width: 8px;
    height: 8px;
}
.shell-form img{
    bottom: 64vh;
    right: 12vh;
    width: 15vh;
}

.left-eye-shell-form{
    bottom: 65.5vh;
    right: 21vh;
}

.right-eye-shell-form{
    bottom: 65.5vh;
    right: 17vh;
}

.snail-form img{
    bottom: 31vh;
    width: 15vh;
    right: 64vh;
}

.left-eye-snail-form {
    right: 73vh;
    bottom: 41vh;
}

.right-eye-snail-form {
    right: 69vh;
    bottom: 41vh;
}

.star-form img{
    width: 16vh;
    bottom: 74vh;
    left: 49vh;
}

.left-eye-star-form {
    bottom: 84vh;
    right: -40vh;
}

.right-eye-star-form {
    bottom: 84vh;
    right: -43vh;
}

.octopus-form img {
    bottom: 36vh;
    width: 15vh;
    left: -4vh;
}

.right-eye-octopus-form {
    bottom: 40.3vh;
    left: 1.5vh;
}

.left-eye-octopus-form {
    bottom: 40.3vh;
    left: 4.7vh;
}

/* ---------------- Contact form — Mobile only ---------------- */
@media (max-width: 768px){
  .contact-form{
    background:#000;
    padding: 16px 0 24px;
  }

  .contact-content{
    width: min(520px, 92vw);
    margin: 0 auto;
    padding: 0 12px;
    position: relative;
  }

  .contact-title h2{
    font-size: clamp(1.2rem, 3.8vw, 1.5rem);
    line-height: 1.25;
    color:#fff;
    text-align: center;
    margin: 8px 0 14px;
    bottom: 5vh;
  }

  /* Form block */
  .contact-content form{
    display: grid;
    gap: 12px;
    width: 100%;
    margin: 0 auto;
  }

  .contact-content input,
  .contact-content textarea{
    width: 100%;
    font-size: 0.95rem;
    border-radius: 14px;
    padding: 12px 14px;
    background:#313131;
    color:#b3b5b8;
  }

  .contact-content textarea{
    min-height: 220px;       /* comfy typing area */
  }

  .send-btn{
    position: static;        /* kill absolute left/bottom from desktop */
    display: block;
    margin: 8px auto 0;
    width: min(220px, 70%);
    height: 46px;
    border-radius: 999px;
  }


  /* Sea creatures: anchor decor safely inside the section */
  .sea-creatures-form{
    position: relative;
    width: 100%;
    height: 0;               /* let them sit over the form/footer area */
    pointer-events: none;
  }
  .sea-creatures-form .creature{
    position: absolute;
    transform-origin: center;
    /* eyes are decorative; hide on small screens */
  }

  .shell-form{ left: -11px;  bottom: 41px; transform: scale(.70); }
  .snail-form{ right: 33vh; bottom: 83vh; transform: scale(.70); }
  .star-form{  right: 28px; bottom: -6px;  transform: scale(.78); }
  .octopus-form{ left: 33vh; bottom: 81vh; transform: scale(.60); }

  .right-eye-snail-form { right: 2vh; bottom: 7vh;}
  .left-eye-snail-form { right: 5vh; bottom: 7vh;}
  .left-eye-shell-form { right: 5.2vh; bottom: 1vh;}
  .right-eye-shell-form { right: 3vh; bottom: 1vh;}
  .left-eye-star-form { right: 5.2vh; bottom: 5.3vh;}
  .right-eye-star-form { right: 3.5vh; bottom: 5.3vh;}
  .left-eye-octopus-form { left: 3vh; bottom: 3vh;}
  .right-eye-octopus-form { left: 5.46vh; bottom: 3vh;}
  .eye-mob  { width: 6px !important; height: 6px !important;}
  

  /* Ensure the images themselves don't try to use old absolute rules */
  .sea-creatures-form .creature img.normal{
    position: static !important;
    transform: none !important;
    opacity: 1 !important;
    display: block;
    width: auto;
    height: auto;
    max-width: 64px;         /* keeps them small & cute */
  }

  /* Footer spacing under the form */
  .footer{
    padding: 18px 0 26px;
  }
  .footer p{
    font-size: .9rem;
  }
}

/* END CONTACT-FORM SECTION */

/* FOOTER */
.footer p{
    color: white !important;
    font-size: 1.2rem;
    justify-content: center;
    text-align: center;
    margin-bottom: 0;
}
.footer{
    background-color: black;
}


.error {
display: block;
font-size: 0.9rem;
color: #b00020;
margin-top: 1px;
}

.input-error {
border: 2px solid #d32f2f !important;
outline: none;
box-shadow: 0 0 0 3px rgba(211, 47, 47, .12);
}

.input-ok {
order: 2px solid #2e7d32 !important;
outline: none;
box-shadow: 0 0 0 3px rgba(46, 125, 50, .12);
}

input-error::placeholder { color: #c06b6b;}


